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

import a.a.ad;
import a.a.v;
import a.f.b.j;
import a.i.b.a.c.a.g;
import a.i.b.a.c.b.ar;
import a.i.b.a.c.f.b;
import a.i.b.a.c.i.b.a;
import a.i.b.a.c.i.b.i;
import a.i.b.a.c.i.b.s;
import a.o;
import a.u;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.ttpic.util.ActUtil;
import com.tencent.ytcommon.BuildConfig;
import java.util.Collection;
import java.util.List;

public final class f {
    private static final a.i.b.a.c.f.f BfC;
    private static final a.i.b.a.c.f.f BfD;
    private static final a.i.b.a.c.f.f BfE;
    private static final a.i.b.a.c.f.f BfF;
    private static final a.i.b.a.c.f.f BfG;
    private static final b BfH = new b("kotlin.internal.InlineOnly");

    public static /* synthetic */ c b(g gVar, String str) {
        AppMethodBeat.i(119324);
        String str2 = BuildConfig.FLAVOR;
        String str3 = "WARNING";
        j.p(gVar, "receiver$0");
        j.p(str, "message");
        j.p(str2, "replaceWith");
        j.p(str3, "level");
        b bVar = g.Bag.BaM;
        j.o(bVar, "KotlinBuiltIns.FQ_NAMES.replaceWith");
        j jVar = new j(gVar, bVar, ad.a(new o[]{u.I(BfF, new s(str2)), u.I(BfG, new a.i.b.a.c.i.b.b((List) v.AUP, (a.f.a.b) new a(gVar)))}));
        bVar = g.Bag.BaK;
        j.o(bVar, "KotlinBuiltIns.FQ_NAMES.deprecated");
        o[] oVarArr = new o[3];
        oVarArr[0] = u.I(BfC, new s(str));
        oVarArr[1] = u.I(BfD, new a((c) jVar));
        a.i.b.a.c.f.f fVar = BfE;
        a.i.b.a.c.f.a n = a.i.b.a.c.f.a.n(g.Bag.BaL);
        j.o(n, "ClassId.topLevel(KotlinB…Q_NAMES.deprecationLevel)");
        a.i.b.a.c.f.f avX = a.i.b.a.c.f.f.avX(str3);
        j.o(avX, "Name.identifier(level)");
        oVarArr[2] = u.I(fVar, new i(n, avX));
        c cVar = (c) new j(gVar, bVar, ad.a(oVarArr));
        AppMethodBeat.o(119324);
        return cVar;
    }

    static {
        AppMethodBeat.i(119328);
        a.i.b.a.c.f.f avX = a.i.b.a.c.f.f.avX("message");
        j.o(avX, "Name.identifier(\"message\")");
        BfC = avX;
        avX = a.i.b.a.c.f.f.avX("replaceWith");
        j.o(avX, "Name.identifier(\"replaceWith\")");
        BfD = avX;
        avX = a.i.b.a.c.f.f.avX("level");
        j.o(avX, "Name.identifier(\"level\")");
        BfE = avX;
        avX = a.i.b.a.c.f.f.avX(ActUtil.EXPRESSION);
        j.o(avX, "Name.identifier(\"expression\")");
        BfF = avX;
        avX = a.i.b.a.c.f.f.avX("imports");
        j.o(avX, "Name.identifier(\"imports\")");
        BfG = avX;
        AppMethodBeat.o(119328);
    }

    /* JADX WARNING: Removed duplicated region for block: B:16:0x0060  */
    /* JADX WARNING: Missing block: B:11:0x0058, code skipped:
            if (f(r0) == false) goto L_0x005a;
     */
    /* JADX WARNING: Missing block: B:13:0x005b, code skipped:
            if (r0 == null) goto L_0x00e4;
     */
    /* JADX WARNING: Missing block: B:34:0x00b7, code skipped:
            if (a.f.b.j.j(((a.i.b.a.c.b.t) r5).dYf(), a.i.b.a.c.b.ay.BeW) == false) goto L_0x00e9;
     */
    public static final boolean a(a.i.b.a.c.b.v r5) {
        /*
        r4 = 119325; // 0x1d21d float:1.6721E-40 double:5.89544E-319;
        r3 = 1;
        r2 = 0;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r4);
        r0 = "receiver$0";
        a.f.b.j.p(r5, r0);
        r0 = "receiver$0";
        a.f.b.j.p(r5, r0);
        r0 = r5 instanceof a.i.b.a.c.b.b;
        if (r0 == 0) goto L_0x00e4;
    L_0x0018:
        r0 = r5;
        r0 = (a.i.b.a.c.b.b) r0;
        r0 = e(r0);
        if (r0 != 0) goto L_0x005d;
    L_0x0021:
        r0 = r5;
        r0 = (a.i.b.a.c.b.b) r0;
        r0 = a.i.b.a.c.i.d.v(r0);
        r1 = "DescriptorUtils.getDirectMember(this)";
        a.f.b.j.o(r0, r1);
        r0 = e(r0);
        if (r0 != 0) goto L_0x005d;
    L_0x0034:
        r0 = "receiver$0";
        a.f.b.j.p(r5, r0);
        r0 = r5 instanceof a.i.b.a.c.b.t;
        if (r0 == 0) goto L_0x005a;
    L_0x003e:
        r0 = r5;
        r0 = (a.i.b.a.c.b.b) r0;
        r0 = f(r0);
        if (r0 != 0) goto L_0x00be;
    L_0x0047:
        r0 = r5;
        r0 = (a.i.b.a.c.b.b) r0;
        r0 = a.i.b.a.c.i.d.v(r0);
        r1 = "DescriptorUtils.getDirectMember(this)";
        a.f.b.j.o(r0, r1);
        r0 = f(r0);
        if (r0 != 0) goto L_0x00be;
    L_0x005a:
        r0 = r2;
    L_0x005b:
        if (r0 == 0) goto L_0x00e4;
    L_0x005d:
        r0 = r3;
    L_0x005e:
        if (r0 != 0) goto L_0x00b9;
    L_0x0060:
        r0 = r5 instanceof a.i.b.a.c.b.t;
        if (r0 == 0) goto L_0x00e9;
    L_0x0064:
        r0 = r5;
        r0 = (a.i.b.a.c.b.t) r0;
        r0 = r0.dZv();
        if (r0 == 0) goto L_0x00e9;
    L_0x006d:
        r0 = r5;
        r0 = (a.i.b.a.c.b.t) r0;
        r0 = r0.dYj();
        if (r0 == 0) goto L_0x00e9;
    L_0x0076:
        r0 = r5;
        r0 = (a.i.b.a.c.b.t) r0;
        r0 = r0.dYV();
        r1 = "valueParameters";
        a.f.b.j.o(r0, r1);
        r0 = (java.lang.Iterable) r0;
        r1 = r0 instanceof java.util.Collection;
        if (r1 == 0) goto L_0x0092;
    L_0x0089:
        r1 = r0;
        r1 = (java.util.Collection) r1;
        r1 = r1.isEmpty();
        if (r1 != 0) goto L_0x00e7;
    L_0x0092:
        r1 = r0.iterator();
    L_0x0096:
        r0 = r1.hasNext();
        if (r0 == 0) goto L_0x00e7;
    L_0x009c:
        r0 = r1.next();
        r0 = (a.i.b.a.c.b.au) r0;
        r0 = r0.dZX();
        if (r0 == 0) goto L_0x0096;
    L_0x00a8:
        r0 = r3;
    L_0x00a9:
        if (r0 != 0) goto L_0x00b9;
    L_0x00ab:
        r5 = (a.i.b.a.c.b.t) r5;
        r0 = r5.dYf();
        r1 = a.i.b.a.c.b.ay.BeW;
        r0 = a.f.b.j.j(r0, r1);
        if (r0 == 0) goto L_0x00e9;
    L_0x00b9:
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        r0 = r3;
    L_0x00bd:
        return r0;
    L_0x00be:
        r0 = r5;
        r0 = (a.i.b.a.c.b.t) r0;
        r0 = r0.dYj();
        r1 = a.aa.AUz;
        if (r1 == 0) goto L_0x00e1;
    L_0x00c9:
        if (r0 != 0) goto L_0x00e1;
    L_0x00cb:
        r0 = "Function is not inline: ";
        r1 = java.lang.String.valueOf(r5);
        r1 = r0.concat(r1);
        r0 = new java.lang.AssertionError;
        r0.<init>(r1);
        r0 = (java.lang.Throwable) r0;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        throw r0;
    L_0x00e1:
        r0 = r3;
        goto L_0x005b;
    L_0x00e4:
        r0 = r2;
        goto L_0x005e;
    L_0x00e7:
        r0 = r2;
        goto L_0x00a9;
    L_0x00e9:
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        r0 = r2;
        goto L_0x00bd;
        */
        throw new UnsupportedOperationException("Method not decompiled: a.i.b.a.c.b.a.f.a(a.i.b.a.c.b.v):boolean");
    }

    private static final boolean e(a.i.b.a.c.b.b bVar) {
        AppMethodBeat.i(119326);
        List dYS = bVar.dYS();
        j.o(dYS, "typeParameters");
        Iterable<ar> iterable = dYS;
        if (!((iterable instanceof Collection) && ((Collection) iterable).isEmpty())) {
            for (ar arVar : iterable) {
                j.o(arVar, "it");
                if (arVar.dZi()) {
                    AppMethodBeat.o(119326);
                    return true;
                }
            }
        }
        AppMethodBeat.o(119326);
        return false;
    }

    private static final boolean f(a.i.b.a.c.b.b bVar) {
        AppMethodBeat.i(119327);
        boolean j = bVar.dYn().j(BfH);
        AppMethodBeat.o(119327);
        return j;
    }
}
