package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Dw0 extends Yn0 {
    public final boolean n;

    /* renamed from: o, reason: collision with root package name */
    public final boolean f91o;
    public final /* synthetic */ Bs0 p;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Dw0(Bs0 bs0, boolean z, boolean z2) {
        super("log");
        this.p = bs0;
        this.n = z;
        this.f91o = z2;
    }

    /* JADX WARN: Removed duplicated region for block: B:20:0x0081  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x0092  */
    @Override // o.Yn0
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final o.InterfaceC1991no0 g(o.C2062oc0 r18, java.util.List r19) {
        /*
            r17 = this;
            r0 = r17
            r1 = r18
            r2 = r19
            java.lang.String r3 = "log"
            r4 = 1
            o.AbstractC2378rs0.p0(r3, r4, r2)
            int r3 = r2.size()
            r5 = 0
            o.uo0 r6 = o.InterfaceC1991no0.d
            o.Bs0 r7 = r0.p
            if (r3 != r4) goto L39
            java.lang.Object r2 = r2.get(r5)
            o.no0 r2 = (o.InterfaceC1991no0) r2
            java.lang.Object r3 = r1.b
            o.ym0 r3 = (o.C3031ym0) r3
            o.no0 r1 = r3.h(r1, r2)
            java.lang.String r10 = r1.zzc()
            java.util.List r11 = java.util.Collections.EMPTY_LIST
            java.lang.Object r1 = r7.f59o
            r8 = r1
            o.kj0 r8 = (o.C1696kj0) r8
            r9 = 3
            boolean r12 = r0.n
            boolean r13 = r0.f91o
            r8.p(r9, r10, r11, r12, r13)
            return r6
        L39:
            java.lang.Object r3 = r2.get(r5)
            o.no0 r3 = (o.InterfaceC1991no0) r3
            java.lang.Object r5 = r1.b
            o.ym0 r5 = (o.C3031ym0) r5
            java.lang.Object r8 = r1.b
            o.ym0 r8 = (o.C3031ym0) r8
            o.no0 r3 = r5.h(r1, r3)
            java.lang.Double r3 = r3.zzd()
            double r9 = r3.doubleValue()
            int r3 = o.AbstractC2378rs0.u0(r9)
            r5 = 5
            r9 = 2
            if (r3 == r9) goto L6b
            r10 = 3
            if (r3 == r10) goto L69
            if (r3 == r5) goto L67
            r11 = 6
            if (r3 == r11) goto L65
        L63:
            r12 = r10
            goto L6d
        L65:
            r12 = r9
            goto L6d
        L67:
            r12 = r5
            goto L6d
        L69:
            r12 = r4
            goto L6d
        L6b:
            r10 = 4
            goto L63
        L6d:
            java.lang.Object r3 = r2.get(r4)
            o.no0 r3 = (o.InterfaceC1991no0) r3
            o.no0 r3 = r8.h(r1, r3)
            java.lang.String r13 = r3.zzc()
            int r3 = r2.size()
            if (r3 != r9) goto L92
            java.util.List r14 = java.util.Collections.EMPTY_LIST
            java.lang.Object r1 = r7.f59o
            r11 = r1
            o.kj0 r11 = (o.C1696kj0) r11
            boolean r15 = r0.n
            boolean r1 = r0.f91o
            r16 = r1
            r11.p(r12, r13, r14, r15, r16)
            return r6
        L92:
            java.util.ArrayList r14 = new java.util.ArrayList
            r14.<init>()
        L97:
            int r3 = r2.size()
            int r3 = java.lang.Math.min(r3, r5)
            if (r9 >= r3) goto Lb5
            java.lang.Object r3 = r2.get(r9)
            o.no0 r3 = (o.InterfaceC1991no0) r3
            o.no0 r3 = r8.h(r1, r3)
            java.lang.String r3 = r3.zzc()
            r14.add(r3)
            int r9 = r9 + 1
            goto L97
        Lb5:
            java.lang.Object r1 = r7.f59o
            r11 = r1
            o.kj0 r11 = (o.C1696kj0) r11
            boolean r15 = r0.n
            boolean r1 = r0.f91o
            r16 = r1
            r11.p(r12, r13, r14, r15, r16)
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: o.Dw0.g(o.oc0, java.util.List):o.no0");
    }
}
