package defpackage;

import android.graphics.ImageDecoder;
import android.graphics.drawable.AnimatedImageDrawable;
import android.graphics.drawable.Drawable;
import java.io.IOException;
import java.util.ArrayList;

/* renamed from: ᵗˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2434 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final ArrayList f9499;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final C4805 f9500;

    public C2434(ArrayList arrayList, C4805 c4805) {
        this.f9499 = arrayList;
        this.f9500 = c4805;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static C2766 m6216(ImageDecoder.Source source, int i, int i2, C0210 c0210) throws IOException {
        Drawable drawableDecodeDrawable = ImageDecoder.decodeDrawable(source, new C2029(i, i2, c0210));
        if (drawableDecodeDrawable instanceof AnimatedImageDrawable) {
            return new C2766((AnimatedImageDrawable) drawableDecodeDrawable);
        }
        C1260.m3812(drawableDecodeDrawable, "Received unexpected drawable type for animated image, failing: ");
        return null;
    }
}
