package defpackage;

import android.net.Uri;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;

/* renamed from: ˎᵪˏ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1770 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public ArrayList f7145;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public InterfaceC3824 f7146;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public AbstractC2692 f7147;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public Uri f7148;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public ArrayList m5046(OutputStream outputStream) {
        ArrayList arrayList = new ArrayList();
        arrayList.add(outputStream);
        ArrayList arrayList2 = this.f7145;
        if (!arrayList2.isEmpty()) {
            int i = C5089.f19017;
            ArrayList arrayList3 = new ArrayList();
            Iterator it = arrayList2.iterator();
            if (it.hasNext()) {
                it.next().getClass();
                C0910.m3050();
                return null;
            }
            C5089 c5089 = !arrayList3.isEmpty() ? new C5089(outputStream, arrayList3) : null;
            if (c5089 != null) {
                arrayList.add(c5089);
            }
        }
        Iterator it2 = this.f7147.iterator();
        if (!it2.hasNext()) {
            Collections.reverse(arrayList);
            return arrayList;
        }
        if (it2.next() != null) {
            C0910.m3050();
            return null;
        }
        throw null;
    }
}
