package o;

import android.content.Context;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ru, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C2381ru implements NC {
    public final /* synthetic */ int l;
    public final /* synthetic */ InterfaceC1191fR m;
    public final /* synthetic */ InterfaceC0065Cn n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ InterfaceC1191fR f708o;
    public final /* synthetic */ InterfaceC1191fR p;
    public final /* synthetic */ Context q;
    public final /* synthetic */ QC r;
    public final /* synthetic */ Object s;
    public final /* synthetic */ InterfaceC1191fR t;

    public /* synthetic */ C2381ru(SC sc, InterfaceC0065Cn interfaceC0065Cn, InterfaceC1191fR interfaceC1191fR, InterfaceC1191fR interfaceC1191fR2, InterfaceC1191fR interfaceC1191fR3, Context context, InterfaceC1191fR interfaceC1191fR4, InterfaceC1191fR interfaceC1191fR5) {
        this.l = 2;
        this.r = sc;
        this.n = interfaceC0065Cn;
        this.m = interfaceC1191fR;
        this.f708o = interfaceC1191fR2;
        this.p = interfaceC1191fR3;
        this.q = context;
        this.t = interfaceC1191fR4;
        this.s = interfaceC1191fR5;
    }

    /* JADX WARN: Removed duplicated region for block: B:9:0x0055  */
    @Override // o.NC
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object a() {
        /*
            r18 = this;
            r0 = r18
            int r1 = r0.l
            o.Oh0 r2 = o.Oh0.a
            java.lang.Object r3 = r0.s
            o.fR r4 = r0.t
            o.QC r5 = r0.r
            switch(r1) {
                case 0: goto L86;
                case 1: goto L5e;
                default: goto Lf;
            }
        Lf:
            o.SC r5 = (o.SC) r5
            o.fR r3 = (o.InterfaceC1191fR) r3
            o.fR r8 = r0.m
            java.lang.Object r1 = r8.getValue()
            java.lang.String r1 = (java.lang.String) r1
            int r1 = r1.length()
            if (r1 <= 0) goto L55
            o.fR r9 = r0.f708o
            java.lang.Object r1 = r9.getValue()
            java.lang.String r1 = (java.lang.String) r1
            int r1 = r1.length()
            if (r1 <= 0) goto L55
            java.lang.Boolean r1 = java.lang.Boolean.TRUE
            o.fR r3 = r0.p
            r3.setValue(r1)
            java.lang.Object r1 = r8.getValue()
            java.lang.String r1 = (java.lang.String) r1
            java.lang.Object r3 = r9.getValue()
            java.lang.String r3 = (java.lang.String) r3
            r5.f(r1, r3)
            o.de r6 = new o.de
            r11 = 0
            android.content.Context r7 = r0.q
            r10 = 0
            r6.<init>(r7, r8, r9, r10, r11)
            r1 = 3
            o.Cn r3 = r0.n
            o.AbstractC1692kh0.C(r3, r10, r6, r1)
            goto L5d
        L55:
            java.lang.Boolean r1 = java.lang.Boolean.TRUE
            r4.setValue(r1)
            r3.setValue(r1)
        L5d:
            return r2
        L5e:
            r10 = r5
            o.NC r10 = (o.NC) r10
            o.rN r3 = (o.C2328rN) r3
            int r1 = o.Fi0.h
            o.fR r11 = r0.m
            java.lang.Object r1 = r11.getValue()
            java.lang.Boolean r1 = (java.lang.Boolean) r1
            boolean r1 = r1.booleanValue()
            if (r1 == 0) goto L74
            goto L85
        L74:
            o.su r5 = new o.su
            r12 = 1
            o.Cn r6 = r0.n
            o.fR r7 = r0.f708o
            o.fR r8 = r0.p
            android.content.Context r9 = r0.q
            r5.<init>()
            o.Fi0.e(r9, r5, r3, r4)
        L85:
            return r2
        L86:
            r15 = r5
            o.NC r15 = (o.NC) r15
            o.rN r3 = (o.C2328rN) r3
            o.fR r1 = r0.m
            java.lang.Object r5 = r1.getValue()
            java.lang.Boolean r5 = (java.lang.Boolean) r5
            boolean r5 = r5.booleanValue()
            if (r5 == 0) goto L9a
            goto Lae
        L9a:
            o.su r10 = new o.su
            r17 = 0
            o.Cn r11 = r0.n
            o.fR r12 = r0.f708o
            o.fR r13 = r0.p
            android.content.Context r14 = r0.q
            r16 = r1
            r10.<init>()
            o.AbstractC2378rs0.v(r14, r10, r3, r4)
        Lae:
            return r2
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2381ru.a():java.lang.Object");
    }

    public /* synthetic */ C2381ru(InterfaceC1191fR interfaceC1191fR, InterfaceC0065Cn interfaceC0065Cn, InterfaceC1191fR interfaceC1191fR2, InterfaceC1191fR interfaceC1191fR3, Context context, NC nc, C2328rN c2328rN, InterfaceC1191fR interfaceC1191fR4, int i) {
        this.l = i;
        this.m = interfaceC1191fR;
        this.n = interfaceC0065Cn;
        this.f708o = interfaceC1191fR2;
        this.p = interfaceC1191fR3;
        this.q = context;
        this.r = nc;
        this.s = c2328rN;
        this.t = interfaceC1191fR4;
    }
}
