package a.i.b.a.c.b;

import a.f.a.b;
import a.f.b.k;

final class aa$c extends k implements b<aa$a, aa$b> {
    final /* synthetic */ aa BeN;

    aa$c(aa aaVar) {
        this.BeN = aaVar;
        super(1);
    }

    /* JADX WARNING: Removed duplicated region for block: B:15:0x008b  */
    /* JADX WARNING: Removed duplicated region for block: B:11:0x006c  */
    public final /* synthetic */ java.lang.Object am(java.lang.Object r9) {
        /*
        r8 = this;
        r7 = 119288; // 0x1d1f8 float:1.67158E-40 double:5.8936E-319;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r7);
        r9 = (a.i.b.a.c.b.aa$a) r9;
        r0 = "<name for destructuring parameter 0>";
        a.f.b.j.p(r9, r0);
        r3 = r9.BcB;
        r5 = r9.BeJ;
        r0 = r3.ByO;
        if (r0 == 0) goto L_0x002c;
    L_0x0016:
        r0 = new java.lang.UnsupportedOperationException;
        r1 = "Unresolved local class: ";
        r2 = java.lang.String.valueOf(r3);
        r1 = r1.concat(r2);
        r0.<init>(r1);
        r0 = (java.lang.Throwable) r0;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r7);
        throw r0;
    L_0x002c:
        r1 = r3.ehC();
        if (r1 == 0) goto L_0x0077;
    L_0x0032:
        r2 = r8.BeN;
        r0 = "outerClassId";
        a.f.b.j.o(r1, r0);
        r0 = r5;
        r0 = (java.lang.Iterable) r0;
        r0 = a.a.j.j(r0);
        r0 = r2.a(r1, r0);
        if (r0 == 0) goto L_0x0077;
    L_0x0047:
        r0 = (a.i.b.a.c.b.g) r0;
        r2 = r0;
    L_0x004a:
        r4 = r3.ehD();
        r0 = new a.i.b.a.c.b.aa$b;
        r1 = r8.BeN;
        r1 = r1.Baf;
        r2 = (a.i.b.a.c.b.l) r2;
        r3 = r3.ByN;
        r3 = r3.ByQ;
        r3 = r3.ehK();
        r6 = "classId.shortClassName";
        a.f.b.j.o(r3, r6);
        r5 = a.a.j.fK(r5);
        r5 = (java.lang.Integer) r5;
        if (r5 == 0) goto L_0x008b;
    L_0x006c:
        r5 = r5.intValue();
    L_0x0070:
        r0.<init>(r1, r2, r3, r4, r5);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r7);
        return r0;
    L_0x0077:
        r0 = r8.BeN;
        r0 = r0.BeH;
        r1 = r3.BcW;
        r2 = "classId.packageFqName";
        a.f.b.j.o(r1, r2);
        r0 = r0.am(r1);
        r0 = (a.i.b.a.c.b.g) r0;
        r2 = r0;
        goto L_0x004a;
    L_0x008b:
        r5 = 0;
        goto L_0x0070;
        */
        throw new UnsupportedOperationException("Method not decompiled: a.i.b.a.c.b.aa$c.am(java.lang.Object):java.lang.Object");
    }
}
