package com.tencent.mm.plugin.wallet.pay.ui;

import com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI.30;
import com.tencent.mm.plugin.wallet_core.ui.l.b;

class WalletPayUI$30$1 implements b {
    final /* synthetic */ 30 tqo;

    WalletPayUI$30$1(30 30) {
        this.tqo = 30;
    }

    /* JADX WARNING: Removed duplicated region for block: B:24:0x00f9  */
    /* JADX WARNING: Removed duplicated region for block: B:26:0x011b  */
    public final void a(com.tencent.mm.plugin.wallet_core.model.FavorPayInfo r11) {
        /*
        r10 = this;
        r9 = 46071; // 0xb3f7 float:6.4559E-41 double:2.2762E-319;
        r3 = 1;
        r8 = 8;
        r1 = 0;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r9);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0.toH = r11;
        r0 = r10.tqo;
        r0 = r0.tqj;
        r2 = r0.TAG;
        r4 = "WalletFavorDialog onSelectionDone %s";
        r5 = new java.lang.Object[r3];
        if (r11 != 0) goto L_0x012f;
    L_0x001d:
        r0 = "";
    L_0x0020:
        r5[r1] = r0;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r4, r5);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.toH;
        if (r0 == 0) goto L_0x012b;
    L_0x002d:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.pVL;
        if (r0 != 0) goto L_0x0135;
    L_0x0035:
        r0 = r1;
    L_0x0036:
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.pVL;
        if (r2 != 0) goto L_0x013f;
    L_0x003e:
        r2 = "";
    L_0x0041:
        r4 = 15;
        r5 = r10.tqo;
        r5 = r5.tqj;
        r5 = r5.toH;
        r5 = r5.tzb;
        com.tencent.mm.wallet_core.c.ad.e(r0, r2, r4, r5);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tgC;
        if (r0 == 0) goto L_0x0068;
    L_0x0056:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.toH;
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.tgC;
        r0 = com.tencent.mm.plugin.wallet_core.ui.b.a(r0, r2);
        if (r0 == 0) goto L_0x0149;
    L_0x0068:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpJ;
        r0.setVisibility(r8);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.pTi;
        r2 = new com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI$30$1$1;
        r2.<init>(r10);
        r0.setOnClickListener(r2);
        r0 = r3;
    L_0x0080:
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.TAG;
        r4 = "needBindBankCard %s";
        r5 = new java.lang.Object[r3];
        r6 = java.lang.Boolean.valueOf(r0);
        r5[r1] = r6;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r4, r5);
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI.c(r2);
        r2.setVisibility(r1);
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI.d(r2);
        r2.setVisibility(r1);
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.toH;
        if (r2 == 0) goto L_0x01a2;
    L_0x00b2:
        r2 = r10.tqo;
        r2 = r2.tqj;
        r4 = com.tencent.mm.plugin.wallet_core.ui.c.tDU;
        r5 = r10.tqo;
        r5 = r5.tqj;
        r5 = r5.pWy;
        r4 = r4.a(r5);
        r2.tpu = r4;
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.tpu;
        r4 = r10.tqo;
        r4 = r4.tqj;
        r4 = r4.toH;
        r4 = r4.tzb;
        r2 = r2.acU(r4);
        if (r2 == 0) goto L_0x01a2;
    L_0x00d8:
        r4 = r2.tmT;
        r6 = 0;
        r2 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r2 != 0) goto L_0x01a2;
    L_0x00e0:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI.c(r0);
        r0.setVisibility(r8);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI.d(r0);
        r0.setVisibility(r8);
        r0 = r1;
    L_0x00f7:
        if (r0 != 0) goto L_0x0119;
    L_0x00f9:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpI;
        r0.setVisibility(r8);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpJ;
        r0.setVisibility(r1);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.pTi;
        r1 = new com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI$30$1$3;
        r1.<init>(r10);
        r0.setOnClickListener(r1);
    L_0x0119:
        if (r3 == 0) goto L_0x0124;
    L_0x011b:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpJ;
        r0.setVisibility(r8);
    L_0x0124:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0.cOa();
    L_0x012b:
        com.tencent.matrix.trace.core.AppMethodBeat.o(r9);
        return;
    L_0x012f:
        r0 = r11.toString();
        goto L_0x0020;
    L_0x0135:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.pVL;
        r0 = r0.cIf;
        goto L_0x0036;
    L_0x013f:
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.pVL;
        r2 = r2.czZ;
        goto L_0x0041;
    L_0x0149:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpu;
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.toH;
        r2 = r2.tzb;
        r0 = r0.acU(r2);
        if (r0 == 0) goto L_0x01a5;
    L_0x015d:
        r2 = r10.tqo;
        r2 = r2.tqj;
        r2 = r2.tgC;
        r2 = r2.cPc();
        if (r2 == 0) goto L_0x01a5;
    L_0x0169:
        com.tencent.mm.plugin.wallet.a.s.cNC();
        r2 = com.tencent.mm.plugin.wallet.a.s.cND();
        r2 = r2.thy;
        r4 = r0.tmT;
        if (r2 == 0) goto L_0x01a5;
    L_0x0176:
        r6 = r2.twS;
        r0 = (r6 > r4 ? 1 : (r6 == r4 ? 0 : -1));
        if (r0 >= 0) goto L_0x01a5;
    L_0x017c:
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.TAG;
        r2 = "balance not meet";
        com.tencent.mm.sdk.platformtools.ab.i(r0, r2);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.tpJ;
        r0.setVisibility(r8);
        r0 = r10.tqo;
        r0 = r0.tqj;
        r0 = r0.pTi;
        r2 = new com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI$30$1$2;
        r2.<init>(r10);
        r0.setOnClickListener(r2);
        r0 = r3;
        goto L_0x0080;
    L_0x01a2:
        r3 = r1;
        goto L_0x00f7;
    L_0x01a5:
        r0 = r1;
        goto L_0x0080;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI$30$1.a(com.tencent.mm.plugin.wallet_core.model.FavorPayInfo):void");
    }
}
