package com.tencent.mm.plugin.appbrand.launching;

import com.tencent.mm.plugin.appbrand.ipc.MMToClientEvent.c;
import com.tencent.mm.plugin.appbrand.o;

public class ILaunchWxaAppInfoNotify$a$1 implements c {
    final /* synthetic */ o gQw;

    public ILaunchWxaAppInfoNotify$a$1(o oVar) {
        this.gQw = oVar;
    }

    /* JADX WARNING: Missing block: B:24:0x0099, code skipped:
            if (r0.uiu == false) goto L_0x0081;
     */
    public final void bk(java.lang.Object r9) {
        /*
        r8 = this;
        r7 = 2;
        r6 = 1;
        r5 = 0;
        r4 = 131826; // 0x202f2 float:1.84728E-40 double:6.51307E-319;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r4);
        r0 = r9 instanceof com.tencent.mm.plugin.appbrand.launching.ILaunchWxaAppInfoNotify.LaunchInfoIpcWrapper;
        if (r0 == 0) goto L_0x00fb;
    L_0x000d:
        r9 = (com.tencent.mm.plugin.appbrand.launching.ILaunchWxaAppInfoNotify.LaunchInfoIpcWrapper) r9;
        r0 = r8.gQw;
        r0 = r0.mAppId;
        r1 = r9.appId;
        r0 = r0.equals(r1);
        if (r0 == 0) goto L_0x00fb;
    L_0x001b:
        r0 = r8.gQw;
        r0 = r0.gNB;
        r0 = r0.gVs;
        r1 = r9.har;
        if (r0 != r1) goto L_0x00fb;
    L_0x0025:
        r0 = r9.ihd;
        if (r0 == 0) goto L_0x009c;
    L_0x0029:
        r0 = "MicroMsg.ILaunchWxaAppInfoNotify[permission]";
        r1 = "try notify update runtime(%s %d), error action %s ";
        r2 = 3;
        r2 = new java.lang.Object[r2];
        r3 = r8.gQw;
        r3 = r3.mAppId;
        r2[r5] = r3;
        r3 = r8.gQw;
        r3 = r3.gNB;
        r3 = r3.gVs;
        r3 = java.lang.Integer.valueOf(r3);
        r2[r6] = r3;
        r3 = r9.ihd;
        r3 = r3.getClass();
        r3 = r3.getName();
        r2[r7] = r3;
        com.tencent.mm.sdk.platformtools.ab.i(r0, r1, r2);
        r1 = r9.ihd;
        r0 = r8.gQw;
        if (r0 != 0) goto L_0x005f;
    L_0x0059:
        r0 = r1.appId;
        r0 = com.tencent.mm.plugin.appbrand.a.wI(r0);
    L_0x005f:
        if (r0 == 0) goto L_0x006b;
    L_0x0061:
        r2 = r1.har;
        r3 = r0.yf();
        r3 = r3.gVs;
        if (r2 == r3) goto L_0x0074;
    L_0x006b:
        r0 = r8.gQw;
        com.tencent.mm.plugin.appbrand.jsapi.fakenative.OpenBusinessViewUtil.m(r0);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
    L_0x0073:
        return;
    L_0x0074:
        r2 = r0.asU();
        r0.finish();
        if (r2 != 0) goto L_0x0085;
    L_0x007d:
        r0 = com.tencent.mm.sdk.platformtools.ah.getContext();
    L_0x0081:
        r1.cQ(r0);
        goto L_0x006b;
    L_0x0085:
        r0 = r2.asV();
        if (r0 == 0) goto L_0x006b;
    L_0x008b:
        r0 = r0.getContext();
        r0 = (com.tencent.mm.ui.MMActivity) r0;
        r2 = r0.isFinishing();
        if (r2 != 0) goto L_0x006b;
    L_0x0097:
        r2 = r0.uiu;
        if (r2 == 0) goto L_0x0081;
    L_0x009b:
        goto L_0x006b;
    L_0x009c:
        r0 = r8.gQw;
        r0 = r0.xY();
        if (r0 == 0) goto L_0x00ad;
    L_0x00a4:
        r1 = r9.bQt;
        r0.a(r1);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        goto L_0x0073;
    L_0x00ad:
        r0 = r8.gQw;
        r0 = r0.mFinished;
        if (r0 == 0) goto L_0x00d4;
    L_0x00b3:
        r0 = "MicroMsg.ILaunchWxaAppInfoNotify[permission]";
        r1 = "try notify update, runtime(%s %d) finished";
        r2 = new java.lang.Object[r7];
        r3 = r8.gQw;
        r3 = r3.mAppId;
        r2[r5] = r3;
        r3 = r8.gQw;
        r3 = r3.gNB;
        r3 = r3.gVs;
        r3 = java.lang.Integer.valueOf(r3);
        r2[r6] = r3;
        com.tencent.mm.sdk.platformtools.ab.e(r0, r1, r2);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        goto L_0x0073;
    L_0x00d4:
        r0 = "MicroMsg.ILaunchWxaAppInfoNotify[permission]";
        r1 = "try notify update, runtime(%s %d) add deferred action";
        r2 = new java.lang.Object[r7];
        r3 = r8.gQw;
        r3 = r3.mAppId;
        r2[r5] = r3;
        r3 = r8.gQw;
        r3 = r3.gNB;
        r3 = r3.gVs;
        r3 = java.lang.Integer.valueOf(r3);
        r2[r6] = r3;
        com.tencent.mm.sdk.platformtools.ab.i(r0, r1, r2);
        r0 = r8.gQw;
        r1 = new com.tencent.mm.plugin.appbrand.launching.ILaunchWxaAppInfoNotify$a$1$1;
        r1.<init>(r9);
        r0.A(r1);
    L_0x00fb:
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        goto L_0x0073;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.plugin.appbrand.launching.ILaunchWxaAppInfoNotify$a$1.bk(java.lang.Object):void");
    }
}
