package defpackage;

import com.google.common.util.concurrent.ListenableFuture;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.Future;

/* renamed from: ᵿʕﾞ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final /* synthetic */ class C5469 implements InterfaceC1293 {

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

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f20528 = 0;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ C0050 f20529;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final /* synthetic */ int f20530;

    public /* synthetic */ C5469(C0050 c0050, int i, ArrayList arrayList) {
        this.f20529 = c0050;
        this.f20530 = i;
        this.f20527 = arrayList;
    }

    public /* synthetic */ C5469(C0050 c0050, ArrayList arrayList, int i) {
        this.f20529 = c0050;
        this.f20527 = arrayList;
        this.f20530 = i;
    }

    @Override // defpackage.InterfaceC1293
    public final ListenableFuture apply(Object obj) {
        int i = this.f20528;
        int i2 = this.f20530;
        ArrayList arrayList = this.f20527;
        C0050 c0050 = this.f20529;
        switch (i) {
            case 0:
                ArrayList arrayList2 = new ArrayList(i2);
                for (int i3 = 0; i3 < i2; i3++) {
                    if (((Boolean) AbstractC2725.m6769((Future) arrayList.get(i3))).booleanValue()) {
                        ((List) c0050.f1220).get(i3).getClass();
                        C0910.m3050();
                        return null;
                    }
                }
                AbstractC2692 abstractC2692M6693 = AbstractC2692.m6693(arrayList2);
                CallableC2770 callableC2770 = new CallableC2770();
                C3960 c3960 = new C3960(abstractC2692M6693, true);
                c3960.f14940 = new C3643(c3960, callableC2770);
                c3960.m8762();
                return c3960;
            default:
                AbstractC2692 abstractC2692M66932 = AbstractC2692.m6693(arrayList);
                C0553 c0553M9619 = AbstractC4530.m9619(new ʽʽﹶ(c0050, (AbstractC1126) obj, i2, arrayList));
                Executor executor = (Executor) c0050.f1218;
                C3960 c39602 = new C3960(abstractC2692M66932, false);
                c39602.f14940 = new C3643(c39602, c0553M9619, executor);
                c39602.m8762();
                return c39602;
        }
    }
}
