package com.ss.android.ugc.aweme.profile.ui.v2;

import X.0Bs;
import X.0Bv;
import X.0Bx;
import X.0By;
import X.0CC;
import X.0CD;
import X.1hK;
import X.2GD;
import X.2GO;
import X.2HZ;
import X.2I4;
import X.2I5;
import X.2OW;
import X.2aD;
import X.2kf;
import X.2or;
import X.2tE;
import X.4OI;
import X.80W;
import X.8YD;
import X.9a7;
import X.9a9;
import X.ATv;
import X.AU4;
import X.AoK;
import X.Ar5;
import X.B62;
import X.BbQ;
import X.C0312Csa;
import X.C0330Css;
import X.C0334Csw;
import X.C0336Csy;
import X.C0670D5u;
import X.C1278DTe;
import X.C1279DTf;
import X.C1282DTi;
import X.C2735Dud;
import X.C2922Dxe;
import X.C2932Dxo;
import X.C2935Dxr;
import X.C2938Dxu;
import X.C2941Dxx;
import X.C2943Dxz;
import X.C2958DyE;
import X.C3164E3s;
import X.C4686El0;
import X.C5380EwC;
import X.CxC;
import X.D1G;
import X.DGB;
import X.DGC;
import X.DGD;
import X.DLA;
import X.DTA;
import X.ISm;
import X.KEM;
import X.LH5;
import X.M12;
import X.MHh;
import X.P8Q;
import X.P8R;
import X.Qw9;
import X.Rc9;
import android.content.Context;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.SparseArray;
import android.view.View;
import androidx.fragment.app.Fragment;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.analysis.Analysis;
import com.ss.android.ugc.aweme.feed.model.Aweme;
import com.ss.android.ugc.aweme.friends.model.MutualStruct;
import com.ss.android.ugc.aweme.homepage.api.data.HomePageDataViewModel;
import com.ss.android.ugc.aweme.homepage.api.interaction.ScrollSwitchStateManager;
import com.ss.android.ugc.aweme.profile.model.User;
import com.ss.android.ugc.aweme.profile.widgets.common.UserProfileInfoVM;
import java.util.HashMap;
import java.util.Map;
import kotlin.h.b.n;
import kotlin.o.z;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.ThreadMode;

public final class I18nUserProfileFragmentV2 extends Hilt_I18nUserProfileFragmentV2 implements C5380EwC, LH5, C0670D5u, 2HZ, 2GO {
    public static final C2941Dxx LJJIJL = new C2941Dxx((byte) 0);
    public String LJIJJLI;
    public String LJIL = "";
    public String LJJ = "";
    public String LJJI;
    public MutualStruct LJJIFFI;
    public String LJJII;
    public String LJJIII;
    public boolean LJJIIJ;
    public Aweme LJJIIJZLJL;
    public String LJJIIZ = "";
    public String LJJIIZI = "";
    public String LJJIJ = "";
    public String LJJIJIIJI = "";
    public C2922Dxe LJJIJIIJIL = C2922Dxe.LOAD_IDLE;
    public String LJJIJIL = "";
    public boolean LJJIJLIJ = true;
    public int LJJIL;
    public String LJJIZ = "";
    public final C0312Csa LJJJ;
    public boolean LJJJI;
    public boolean LJJJIL;
    public C2943Dxz LJJJJ;
    public SparseArray LJJJJI;

    static {
        Covode.recordClassIndex(99364);
    }

    public final View LIZIZ(int i) {
        if (this.LJJJJI == null) {
            this.LJJJJI = new SparseArray();
        }
        View view = (View) this.LJJJJI.get(i);
        if (view != null) {
            return view;
        }
        View view2 = getView();
        if (view2 == null) {
            return null;
        }
        View findViewById = view2.findViewById(i);
        this.LJJJJI.put(i, findViewById);
        return findViewById;
    }

    public final int LJIIJJI() {
        return 2131560802;
    }

    public final boolean LJIIL() {
        return false;
    }

    public final Map<Integer, Object> getSubscriberEventTypes() {
        HashMap hashMap = new HashMap();
        hashMap.put(101, new Rc9(I18nUserProfileFragmentV2.class, "onUpdateUserEvent", C2958DyE.class, ThreadMode.POSTING, 0, false));
        hashMap.put(52, new Rc9(I18nUserProfileFragmentV2.class, "onAntiCrawlerEvent", C4686El0.class, ThreadMode.POSTING, 0, false));
        return hashMap;
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final String LJI() {
        return this.LIZ;
    }

    /* JADX WARNING: type inference failed for: r6v0, types: [X.0CH, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Code restructure failed: missing block: B:54:0x013b, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00e1;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(java.lang.String r15, java.lang.String r16) {
        /*
            r14 = this;
            r6 = r14
            r1 = r15
            r6.LIZ = r1
            r0 = r16
            r6.LIZIZ = r0
            X.Dxl r3 = new X.Dxl
            r3.<init>(r1, r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x0020
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x0021
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x0021
        L_0x0020:
            return
        L_0x0021:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0031:
            if (r4 >= r7) goto L_0x0046
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0043
            r5.add(r2)
        L_0x0043:
            int r4 = r4 + 1
            goto L_0x0031
        L_0x0046:
            java.util.List r5 = (java.util.List) r5
        L_0x0048:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x007a
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x016a
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0062:
            if (r4 >= r7) goto L_0x0077
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0074
            r5.add(r2)
        L_0x0074:
            int r4 = r4 + 1
            goto L_0x0062
        L_0x0077:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0048
        L_0x007a:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x0083
            kotlin.h.b.n.LIZIZ()
        L_0x0083:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0156
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00ae
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00ae:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00cd:
            r8 = 0
            if (r9 >= r10) goto L_0x0141
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013e
        L_0x00dd:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x0130
        L_0x00e1:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e9:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x0143
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00fb:
            if (r8 >= r11) goto L_0x0110
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x010d
            r12.add(r7)
        L_0x010d:
            int r8 = r8 + 1
            goto L_0x00fb
        L_0x0110:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0116:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0129
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0116
        L_0x0129:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0143
            goto L_0x00e9
        L_0x0130:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0143
            goto L_0x00e1
        L_0x013e:
            int r9 = r9 + 1
            goto L_0x00cd
        L_0x0141:
            r7 = r8
            goto L_0x00dd
        L_0x0143:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setUserId$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setUserId$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0156:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0020
        L_0x016a:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(java.lang.String, java.lang.String):void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x0137, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00dd;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(java.lang.String r15) {
        /*
            r14 = this;
            r6 = r14
            r0 = r15
            r6.LJJIIZI = r0
            X.Dxf r3 = new X.Dxf
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x001c
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001d
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001d
        L_0x001c:
            return
        L_0x001d:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x002d:
            if (r4 >= r7) goto L_0x0042
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x003f
            r5.add(r2)
        L_0x003f:
            int r4 = r4 + 1
            goto L_0x002d
        L_0x0042:
            java.util.List r5 = (java.util.List) r5
        L_0x0044:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0076
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0166
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x005e:
            if (r4 >= r7) goto L_0x0073
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0070
            r5.add(r2)
        L_0x0070:
            int r4 = r4 + 1
            goto L_0x005e
        L_0x0073:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0044
        L_0x0076:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x007f
            kotlin.h.b.n.LIZIZ()
        L_0x007f:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0152
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00aa
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00aa:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00c9:
            r8 = 0
            if (r9 >= r10) goto L_0x013d
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013a
        L_0x00d9:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012c
        L_0x00dd:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e5:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x013f
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00f7:
            if (r8 >= r11) goto L_0x010c
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0109
            r12.add(r7)
        L_0x0109:
            int r8 = r8 + 1
            goto L_0x00f7
        L_0x010c:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0112:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0125
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0112
        L_0x0125:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x013f
            goto L_0x00e5
        L_0x012c:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x013f
            goto L_0x00dd
        L_0x013a:
            int r9 = r9 + 1
            goto L_0x00c9
        L_0x013d:
            r7 = r8
            goto L_0x00d9
        L_0x013f:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setEventType$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setEventType$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0152:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001c
        L_0x0166:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(java.lang.String):void");
    }

    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r20v0, resolved type: androidx.fragment.app.Fragment} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v0, resolved type: X.0CH} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v1, resolved type: X.0CH} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v2, resolved type: X.0CH} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v3, resolved type: X.0CH} */
    /* JADX WARNING: Code restructure failed: missing block: B:105:0x01f2, code lost:
        r0 = (com.bytedance.android.live.base.model.user.User) r1.get(0);
     */
    /* JADX WARNING: Code restructure failed: missing block: B:77:0x0189, code lost:
        if (r7.LIZIZ.containsKey(new X.7eS(r5, (java.lang.String) null)) == false) goto L_0x012d;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* JADX WARNING: Removed duplicated region for block: B:114:0x0213 A[SYNTHETIC, Splitter:B:114:0x0213] */
    /* JADX WARNING: Removed duplicated region for block: B:130:0x02a6  */
    /* JADX WARNING: Removed duplicated region for block: B:137:0x02bf  */
    /* JADX WARNING: Removed duplicated region for block: B:140:0x02c8  */
    /* JADX WARNING: Removed duplicated region for block: B:145:0x02df  */
    /* JADX WARNING: Removed duplicated region for block: B:150:0x02ec  */
    /* JADX WARNING: Removed duplicated region for block: B:95:0x01de A[SYNTHETIC, Splitter:B:95:0x01de] */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(boolean r22) {
        /*
            r21 = this;
            r20 = r21
            r4 = r20
            java.lang.String r19 = "others_photo"
            java.lang.String r18 = "enter_method"
            java.lang.String r17 = "others_homepage"
            java.lang.String r16 = "enter_from_merge"
            r3 = r22
            r4.LJJIIJ = r3
            r0 = r20
            r0.setUserVisibleHint(r3)
            java.lang.String r2 = ""
            r6 = 0
            if (r3 != 0) goto L_0x0029
            X.2aD r5 = X.2aD.LIZJ
            java.lang.String r1 = r4.LIZ
            if (r1 != 0) goto L_0x0021
            r1 = r2
        L_0x0021:
            java.lang.String r0 = r4.LJJIIZ
            if (r0 != 0) goto L_0x0026
            r0 = r2
        L_0x0026:
            r5.LIZ(r6, r1, r0)
        L_0x0029:
            X.DLw r9 = new X.DLw
            r9.<init>(r3)
            X.1hK r0 = r20.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x0041
            X.1hK r0 = r20.getActivity()
            if (r0 == 0) goto L_0x006c
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x006c
        L_0x0041:
            r7 = 2
            if (r3 == 0) goto L_0x024f
            boolean r0 = r4.LJJJI
            if (r0 == 0) goto L_0x0060
            r0 = 0
            r4.LJJJI = r0
        L_0x004b:
            r20.LJIILIIL()
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI
            if (r0 == 0) goto L_0x02d2
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI
            kotlin.h.b.n.LIZIZ(r0, r2)
            boolean r0 = r0.isLive()
            if (r0 == 0) goto L_0x02d2
            r6 = 3
            goto L_0x01b8
        L_0x0060:
            r1 = 0
            boolean r0 = r4.LJJJIL
            if (r0 == 0) goto L_0x0068
            r4.LJJJIL = r1
            goto L_0x004b
        L_0x0068:
            r20.LJIIZILJ()
            goto L_0x004b
        L_0x006c:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r10 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r10.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r11 = new java.util.ArrayList
            r11.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x007c:
            if (r6 >= r7) goto L_0x0093
            r5 = r8[r6]
            r1 = r5
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x008e
            r11.add(r5)
        L_0x008e:
            int r6 = r6 + 1
            r0 = 0
            r0 = 1
            goto L_0x007c
        L_0x0093:
            java.util.List r11 = (java.util.List) r11
        L_0x0095:
            boolean r0 = r11.isEmpty()
            if (r0 == 0) goto L_0x00c7
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x02ee
            java.lang.Class[] r8 = r10.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r11 = new java.util.ArrayList
            r11.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x00af:
            if (r6 >= r7) goto L_0x00c4
            r5 = r8[r6]
            r1 = r5
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x00c1
            r11.add(r5)
        L_0x00c1:
            int r6 = r6 + 1
            goto L_0x00af
        L_0x00c4:
            java.util.List r11 = (java.util.List) r11
            goto L_0x0095
        L_0x00c7:
            X.1hK r0 = r20.getActivity()
            if (r0 != 0) goto L_0x00d0
            kotlin.h.b.n.LIZIZ()
        L_0x00d0:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r12 = r1.LIZ(r0)
            X.M12.LIZ(r12)
            com.bytedance.assem.arch.core.Assembler r12 = (com.bytedance.assem.arch.core.Assembler) r12
            X.2sG r10 = new X.2sG
            r10.<init>()
            X.CxE r0 = r12.LIZJ(r4)
            r10.element = r0
            java.lang.Object r0 = r10.element
            if (r0 != 0) goto L_0x01a4
            androidx.fragment.app.Fragment r0 = r20.getParentFragment()
            if (r0 != 0) goto L_0x00fb
            X.1hK r0 = r20.requireActivity()
            X.M12.LIZ(r0)
        L_0x00fb:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r12.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r10.element = r0
            java.lang.Object r7 = r10.element
            X.CxE r7 = (X.CxE) r7
            r4 = r4
            java.lang.Class r0 = r4.getClass()
            java.lang.Class[] r13 = r0.getInterfaces()
            X.M12.LIZ(r13)
            int r8 = r13.length
            r6 = 0
        L_0x011a:
            if (r6 >= r8) goto L_0x018f
            r5 = r13[r6]
            r1 = r5
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x018c
        L_0x0129:
            java.lang.Class r5 = (java.lang.Class) r5
            if (r5 != 0) goto L_0x017d
        L_0x012d:
            java.lang.Object r15 = r10.element
            X.CxE r15 = (X.CxE) r15
            java.lang.Class r14 = r4.getClass()
        L_0x0135:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r14 == r0) goto L_0x0191
            java.lang.Class[] r13 = r14.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r8 = new java.util.ArrayList
            r8.<init>()
            int r7 = r13.length
            r6 = 0
        L_0x0147:
            if (r6 >= r7) goto L_0x015c
            r5 = r13[r6]
            r1 = r5
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0159
            r8.add(r5)
        L_0x0159:
            int r6 = r6 + 1
            goto L_0x0147
        L_0x015c:
            java.util.List r8 = (java.util.List) r8
            java.util.Iterator r1 = r8.iterator()
        L_0x0162:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0175
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r15.LIZ((java.lang.Class<?>) r0, (X.2up) r4)
            goto L_0x0162
        L_0x0175:
            java.lang.Class r14 = r14.getSuperclass()
            if (r14 == 0) goto L_0x0191
            r0 = 0
            goto L_0x0135
        L_0x017d:
            X.7eS r1 = new X.7eS
            r0 = 0
            r1.<init>(r5, r0)
            java.util.Map<X.7eS, X.2up> r0 = r7.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0191
            goto L_0x012d
        L_0x018c:
            int r6 = r6 + 1
            goto L_0x011a
        L_0x018f:
            r5 = 0
            goto L_0x0129
        L_0x0191:
            X.0CD r1 = r20.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setVisible$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setVisible$$inlined$setAssemServiceState$1
            r0.<init>(r10, r4, r12)
            r1.LIZ(r0)
            java.lang.Object r0 = r10.element
            X.CxE r0 = (X.CxE) r0
            r12.LIZ((X.0CH) r4, (X.CxE) r0)
        L_0x01a4:
            java.lang.Object r5 = r10.element
            X.CxE r5 = (X.CxE) r5
            java.lang.Object r1 = X.Lea.LJII(r11)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r5.LIZ(r1, r9)
            goto L_0x0041
        L_0x01b8:
            X.2sH r5 = X.2sH.LIZ     // Catch:{ Exception -> 0x024b }
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI     // Catch:{ Exception -> 0x024b }
            java.lang.String r1 = r0.roomData     // Catch:{ Exception -> 0x024b }
            java.lang.Class<com.bytedance.android.livesdkapi.depend.model.live.SlimRoom> r0 = com.bytedance.android.livesdkapi.depend.model.live.SlimRoom.class
            java.lang.Object r8 = r5.LIZ(r1, r0)     // Catch:{ Exception -> 0x024b }
            com.bytedance.android.livesdkapi.depend.model.live.SlimRoom r8 = (com.bytedance.android.livesdkapi.depend.model.live.SlimRoom) r8     // Catch:{ Exception -> 0x024b }
            if (r8 == 0) goto L_0x01da
            X.2mP r1 = r8.getLinkMic()     // Catch:{ Exception -> 0x024b }
            if (r1 == 0) goto L_0x01db
            java.util.List r0 = r1.LIZIZ     // Catch:{ Exception -> 0x024b }
            if (r0 == 0) goto L_0x01db
            int r0 = r0.size()     // Catch:{ Exception -> 0x024b }
            if (r0 <= 0) goto L_0x01db
            r9 = 1
            goto L_0x01dc
        L_0x01da:
            r1 = 0
        L_0x01db:
            r9 = 0
        L_0x01dc:
            if (r1 == 0) goto L_0x020f
            java.util.List r0 = r1.LIZ     // Catch:{ Exception -> 0x0268 }
            if (r0 == 0) goto L_0x020f
            int r0 = r0.size()     // Catch:{ Exception -> 0x0268 }
            if (r0 <= 0) goto L_0x020f
            if (r1 == 0) goto L_0x020f
            java.util.List r5 = r1.LIZIZ     // Catch:{ Exception -> 0x0268 }
            if (r5 == 0) goto L_0x020f
            java.util.List r1 = r1.LIZ     // Catch:{ Exception -> 0x0268 }
            if (r1 == 0) goto L_0x020d
            r0 = 0
            java.lang.Object r0 = r1.get(r0)     // Catch:{ Exception -> 0x0268 }
            com.bytedance.android.live.base.model.user.User r0 = (com.bytedance.android.live.base.model.user.User) r0     // Catch:{ Exception -> 0x0268 }
            if (r0 == 0) goto L_0x020d
            long r0 = r0.getId()     // Catch:{ Exception -> 0x0268 }
            java.lang.Long r0 = java.lang.Long.valueOf(r0)     // Catch:{ Exception -> 0x0268 }
        L_0x0203:
            boolean r1 = r5.contains(r0)     // Catch:{ Exception -> 0x0268 }
            r0 = 1
            if (r1 != r0) goto L_0x020f
            java.lang.String r5 = "guest"
            goto L_0x0211
        L_0x020d:
            r0 = 0
            goto L_0x0203
        L_0x020f:
            java.lang.String r5 = "anchor"
        L_0x0211:
            if (r8 == 0) goto L_0x026a
            X.Cwu[] r6 = new X.C0436Cwu[r6]     // Catch:{ Exception -> 0x026a }
            r1 = r16
            r0 = r17
            X.Cwu r1 = X.CwZ.LIZ(r1, r0)     // Catch:{ Exception -> 0x026a }
            r0 = 0
            r6[r0] = r1     // Catch:{ Exception -> 0x026a }
            r1 = r18
            r0 = r19
            X.Cwu r1 = X.CwZ.LIZ(r1, r0)     // Catch:{ Exception -> 0x026a }
            r0 = 1
            r6[r0] = r1     // Catch:{ Exception -> 0x026a }
            java.lang.String r1 = "stream_info"
            java.lang.String r0 = r8.getMultiStreamData()     // Catch:{ Exception -> 0x026a }
            X.Cwu r0 = X.CwZ.LIZ(r1, r0)     // Catch:{ Exception -> 0x026a }
            r6[r7] = r0     // Catch:{ Exception -> 0x026a }
            java.util.Map r6 = X.LWw.LIZ(r6)     // Catch:{ Exception -> 0x026a }
            com.ss.android.ugc.aweme.live.ILiveOuterService r0 = com.ss.android.ugc.aweme.live.LiveOuterService.LJJI()     // Catch:{ Exception -> 0x026a }
            kotlin.h.b.n.LIZIZ(r0, r2)     // Catch:{ Exception -> 0x026a }
            X.3P1 r1 = r0.LJ()     // Catch:{ Exception -> 0x026a }
            r0 = 1
            r1.LIZ(r0, r6)     // Catch:{ Exception -> 0x026a }
            goto L_0x026a
        L_0x024b:
            r0 = 0
            r5 = r2
            r9 = 0
            goto L_0x026a
        L_0x024f:
            r20.LJIILJJIL()
            X.DyI r1 = X.C2938Dxu.LIZ
            if (r1 == 0) goto L_0x0266
            java.lang.String r0 = "homepage_other_profile_info"
            r5 = 1
            r1.LIZ(r0, r7, r5)
        L_0x025c:
            X.DyI r1 = X.C2940Dxw.LIZ
            if (r1 == 0) goto L_0x02d2
            java.lang.String r0 = "homepage_other_aweme_post"
            r1.LIZ(r0, r7, r5)
            goto L_0x02d2
        L_0x0266:
            r5 = 1
            goto L_0x025c
        L_0x0268:
            r0 = 0
            r5 = r2
        L_0x026a:
            X.2UX r6 = new X.2UX
            r6.<init>()
            r1 = r16
            r0 = r17
            r6.LIZ(r1, r0)
            java.lang.String r1 = "action_type"
            java.lang.String r0 = "click"
            r6.LIZ(r1, r0)
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI
            kotlin.h.b.n.LIZIZ(r0, r2)
            java.lang.String r1 = r0.getUid()
            java.lang.String r0 = "anchor_id"
            r6.LIZ(r0, r1)
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI
            long r0 = r0.roomId
            java.lang.String r8 = "room_id"
            r6.LIZ(r8, r0)
            com.ss.android.ugc.aweme.profile.model.User r0 = r4.LJIIJJI
            kotlin.h.b.n.LIZIZ(r0, r2)
            java.lang.String r1 = r0.getRequestId()
            java.lang.String r0 = "request_id"
            r6.LIZ(r0, r1)
            com.ss.android.ugc.aweme.profile.model.User r8 = r4.LJIIJJI
            if (r8 == 0) goto L_0x02ec
            int r1 = r8.getFollowStatus()
            if (r1 == 0) goto L_0x02b1
            r0 = 1
            if (r1 == r0) goto L_0x02b1
            if (r1 != r7) goto L_0x02e2
        L_0x02b1:
            java.lang.String r0 = "follow_status"
            r6.LIZ(r0, r1)
            r1 = r18
            r0 = r19
            r6.LIZ(r1, r0)
            if (r9 == 0) goto L_0x02df
            java.lang.String r1 = "1"
        L_0x02c1:
            java.lang.String r0 = "is_guest_connection"
            r6.LIZ(r0, r1)
            if (r9 == 0) goto L_0x02cd
            java.lang.String r0 = "distribution_type"
            r6.LIZ(r0, r5)
        L_0x02cd:
            java.util.Map r0 = r6.LIZ
            X.C3570EJi.LIZ((java.util.Map<java.lang.String, java.lang.String>) r0)
        L_0x02d2:
            com.ss.android.ugc.aweme.base.component.AnalysisStayTimeFragmentComponent r0 = r4.LJIIZILJ
            if (r0 == 0) goto L_0x02de
            com.ss.android.ugc.aweme.base.component.AnalysisStayTimeFragmentComponent r0 = r4.LJIIZILJ
            kotlin.h.b.n.LIZIZ(r0, r2)
            r0.LIZIZ(r3)
        L_0x02de:
            return
        L_0x02df:
            java.lang.String r1 = "0"
            goto L_0x02c1
        L_0x02e2:
            int r0 = r8.getFollowerStatus()
            if (r0 != 0) goto L_0x02ea
            r1 = 0
            goto L_0x02b1
        L_0x02ea:
            r1 = 3
            goto L_0x02b1
        L_0x02ec:
            r1 = -1
            goto L_0x02b1
        L_0x02ee:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(boolean):void");
    }

    public final /* synthetic */ 4OI LIZ() {
        return new DLA();
    }

    public final String LIZJ() {
        return Qw9.LIZ(this);
    }

    public final void LJIILLIIL() {
        this.LJJIJIIJIL = C2922Dxe.LOAD_IDLE;
    }

    public final boolean aD_() {
        M12.LIZ(this);
        return true;
    }

    public final Analysis cU_() {
        Analysis analysis = new Analysis();
        analysis.setLabelName("others_homepage");
        n.LIZIZ(analysis, "");
        return analysis;
    }

    public final /* synthetic */ void onDestroyView() {
        I18nUserProfileFragmentV2.super.onDestroyView();
        SparseArray sparseArray = this.LJJJJI;
        if (sparseArray != null) {
            sparseArray.clear();
        }
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.common.component.fragment.ComponentFragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onPause() {
        I18nUserProfileFragmentV2.super.onPause();
        if (this.LJJIIJ) {
            LJIILJJIL();
        }
    }

    public final void onStop() {
        I18nUserProfileFragmentV2.super.onStop();
        Ar5.LIZ.LIZJ();
    }

    public final P8R LIZIZ() {
        P8Q p8q = P8R.LIZ;
        Context context = getContext();
        if (context == null) {
            n.LIZIZ();
        }
        n.LIZIZ(context, "");
        return p8q.LIZ(context, this);
    }

    public final boolean LJIIIIZZ() {
        Bundle arguments = getArguments();
        if (arguments == null || !TextUtils.equals(arguments.getString("profile_from", ""), "feed_detail")) {
            return true;
        }
        return false;
    }

    public final boolean aC_() {
        0CD lifecycle = getLifecycle();
        n.LIZIZ(lifecycle, "");
        return lifecycle.LIZ().isAtLeast(0CC.RESUMED);
    }

    /* JADX WARNING: type inference failed for: r4v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.common.component.fragment.ComponentFragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onDestroy() {
        I18nUserProfileFragmentV2.super.onDestroy();
        2aD r3 = 2aD.LIZJ;
        String str = this.LIZ;
        String str2 = "";
        if (str == null) {
            str = str2;
        }
        String str3 = this.LJJIIZ;
        if (str3 != null) {
            str2 = str3;
        }
        r3.LIZ(false, str, str2);
    }

    /* JADX WARNING: type inference failed for: r2v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onResume() {
        I18nUserProfileFragmentV2.super.onResume();
        if (this.LJIIJJI != null) {
            User user = this.LJIIJJI;
            n.LIZIZ(user, "");
            if (user.isLive()) {
                LIZJ(false);
            }
        }
    }

    public final void LJ() {
        DGC.LIZ((DGB) CxC.LIZ((Fragment) this, KEM.LIZ.LIZ(DGB.class)), (BbQ) null, 3);
        C2932Dxo LIZLLL = CxC.LIZLLL((Fragment) this, KEM.LIZ.LIZ(C2932Dxo.class));
        if (LIZLLL != null) {
            LIZLLL.LJJJJLI();
        }
    }

    public final void LJIILL() {
        C2932Dxo LIZLLL = CxC.LIZLLL((Fragment) this, KEM.LIZ.LIZ(C2932Dxo.class));
        if (LIZLLL != null) {
            LIZLLL.LJJJJJ();
        }
        if (TextUtils.equals(this.LJJIII, "feed_detail") || TextUtils.equals(this.LJJIII, "post_mode")) {
            C2943Dxz dxz = this.LJJJJ;
            if (dxz != null) {
                dxz.LIZ();
                return;
            }
            return;
        }
        C2735Dud.LIZ.LIZ(this);
    }

    public I18nUserProfileFragmentV2() {
        C0312Csa csa;
        C0336Csy csy = C0336Csy.LIZ;
        ATv aTv = new ATv(this);
        D1G LIZ = KEM.LIZ.LIZ(UserProfileInfoVM.class);
        AU4 au4 = new AU4(LIZ);
        DGD dgd = DGD.INSTANCE;
        if (n.LIZ(csy, C0334Csw.LIZ)) {
            csa = new C0312Csa(LIZ, au4, C0330Css.LIZ, AoK.LIZ(this, true), AoK.LIZ(this, true), aTv, dgd, AoK.LIZ(this, true), AoK.LIZIZ(this, true));
        } else if (csy != null && !n.LIZ(csy, C0336Csy.LIZ)) {
            throw new IllegalArgumentException("Do not support this scope here.");
        } else {
            csa = new C0312Csa(LIZ, au4, C0330Css.LIZ, AoK.LIZ(this, false), AoK.LIZ(this, false), aTv, dgd, AoK.LIZ(this, false), AoK.LIZIZ(this, false));
        }
        this.LJJJ = csa;
    }

    /* JADX WARNING: Code restructure failed: missing block: B:59:0x0152, code lost:
        if (r13.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00f8;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    private final void LJIIZILJ() {
        /*
            r15 = this;
            r6 = r15
            X.MHh r0 = X.MHh.LIZIZ
            boolean r0 = r0.LIZIZ()
            if (r0 == 0) goto L_0x0037
            X.Qx2 r1 = new X.Qx2
            r0 = 100
            r2 = 1
            r1.<init>(r2, r0)
            X.Paq r0 = X.Pap.Default
            int r1 = X.Qx3.LIZ(r1, r0)
            X.MHh r0 = X.MHh.LIZIZ
            int r0 = r0.LIZJ()
            if (r1 > r0) goto L_0x0181
            r0 = 1
        L_0x0020:
            X.Dxn r3 = new X.Dxn
            r3.<init>(r0)
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0037
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0038
            boolean r0 = r0.isFinishing()
            if (r0 != r2) goto L_0x0038
        L_0x0037:
            return
        L_0x0038:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0048:
            if (r4 >= r7) goto L_0x005d
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x005a
            r5.add(r2)
        L_0x005a:
            int r4 = r4 + 1
            goto L_0x0048
        L_0x005d:
            java.util.List r5 = (java.util.List) r5
        L_0x005f:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0091
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0184
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0079:
            if (r4 >= r7) goto L_0x008e
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x008b
            r5.add(r2)
        L_0x008b:
            int r4 = r4 + 1
            goto L_0x0079
        L_0x008e:
            java.util.List r5 = (java.util.List) r5
            goto L_0x005f
        L_0x0091:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x009a
            kotlin.h.b.n.LIZIZ()
        L_0x009a:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x016d
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x00c5
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x00c5:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r13 = r2.element
            X.CxE r13 = (X.CxE) r13
            r8 = r6
            java.lang.Class r0 = r8.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r11 = r12.length
            r10 = 0
        L_0x00e4:
            r9 = 0
            if (r10 >= r11) goto L_0x0158
            r7 = r12[r10]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0155
        L_0x00f4:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x0147
        L_0x00f8:
            java.lang.Object r11 = r2.element
            X.CxE r11 = (X.CxE) r11
            java.lang.Class r10 = r8.getClass()
        L_0x0100:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r10 == r0) goto L_0x015a
            java.lang.Class[] r14 = r10.getInterfaces()
            X.M12.LIZ(r14)
            java.util.ArrayList r13 = new java.util.ArrayList
            r13.<init>()
            int r12 = r14.length
            r9 = 0
        L_0x0112:
            if (r9 >= r12) goto L_0x0127
            r7 = r14[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0124
            r13.add(r7)
        L_0x0124:
            int r9 = r9 + 1
            goto L_0x0112
        L_0x0127:
            java.util.List r13 = (java.util.List) r13
            java.util.Iterator r1 = r13.iterator()
        L_0x012d:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0140
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r11.LIZ((java.lang.Class<?>) r0, (X.2up) r8)
            goto L_0x012d
        L_0x0140:
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x015a
            goto L_0x0100
        L_0x0147:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r9)
            java.util.Map<X.7eS, X.2up> r0 = r13.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x015a
            goto L_0x00f8
        L_0x0155:
            int r10 = r10 + 1
            goto L_0x00e4
        L_0x0158:
            r7 = r9
            goto L_0x00f4
        L_0x015a:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$updateShouldHideInfoForUserProfile$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$updateShouldHideInfoForUserProfile$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x016d:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0037
        L_0x0181:
            r0 = 0
            goto L_0x0020
        L_0x0184:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LJIIZILJ():void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:57:0x0145, code lost:
        if (r13.LIZIZ.containsKey(new X.7eS(r8, (java.lang.String) null)) == false) goto L_0x00ea;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZLLL() {
        /*
            r15 = this;
            r6 = r15
            boolean r0 = X.C2935Dxr.LIZIZ
            if (r0 != 0) goto L_0x0011
            X.Dxs r1 = X.C2935Dxr.LIZLLL
            java.lang.String r0 = "user_profile"
            r1.LIZ(r0)
            java.lang.String r0 = X.C2935Dxr.LIZ
            X.2or.LIZ(r0)
        L_0x0011:
            r0 = 0
            X.C2935Dxr.LIZIZ = r0
            X.DLt r3 = X.C1085DLt.LIZ
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0029
            X.1hK r0 = r15.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x002a
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x002a
        L_0x0029:
            return
        L_0x002a:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x003a:
            if (r4 >= r7) goto L_0x004f
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x004c
            r5.add(r2)
        L_0x004c:
            int r4 = r4 + 1
            goto L_0x003a
        L_0x004f:
            java.util.List r5 = (java.util.List) r5
        L_0x0051:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0083
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0174
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x006b:
            if (r4 >= r7) goto L_0x0080
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x007d
            r5.add(r2)
        L_0x007d:
            int r4 = r4 + 1
            goto L_0x006b
        L_0x0080:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0051
        L_0x0083:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x008c
            kotlin.h.b.n.LIZIZ()
        L_0x008c:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0160
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x00b7
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x00b7:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r13 = r2.element
            X.CxE r13 = (X.CxE) r13
            r7 = r6
            java.lang.Class r0 = r7.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r11 = r12.length
            r10 = 0
        L_0x00d6:
            r9 = 0
            if (r10 >= r11) goto L_0x014b
            r8 = r12[r10]
            r1 = r8
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0148
        L_0x00e6:
            java.lang.Class r8 = (java.lang.Class) r8
            if (r8 != 0) goto L_0x013a
        L_0x00ea:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r7.getClass()
        L_0x00f2:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x014d
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x0104:
            if (r8 >= r11) goto L_0x011a
            r14 = r13[r8]
            r1 = r14
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0116
            r12.add(r14)
        L_0x0116:
            int r8 = r8 + 1
            r0 = 0
            goto L_0x0104
        L_0x011a:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0120:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0133
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r7)
            goto L_0x0120
        L_0x0133:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x014d
            goto L_0x00f2
        L_0x013a:
            X.7eS r1 = new X.7eS
            r1.<init>(r8, r9)
            java.util.Map<X.7eS, X.2up> r0 = r13.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x014d
            goto L_0x00ea
        L_0x0148:
            int r10 = r10 + 1
            goto L_0x00d6
        L_0x014b:
            r8 = r9
            goto L_0x00e6
        L_0x014d:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setLazyData$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setLazyData$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0160:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0029
        L_0x0174:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZLLL():void");
    }

    /* JADX WARNING: type inference failed for: r15v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Code restructure failed: missing block: B:56:0x0138, code lost:
        if (r13.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00de;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LJIIJ() {
        /*
            r15 = this;
            r4 = r15
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.super.LJIIJ()
            X.DLs r3 = X.C1084DLs.LIZ
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0019
            X.1hK r0 = r15.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001e
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001e
        L_0x0019:
            X.Dxe r0 = X.C2922Dxe.LOAD_IDLE
            r4.LJJIJIIJIL = r0
            return
        L_0x001e:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x002e:
            if (r6 >= r7) goto L_0x0043
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0040
            r5.add(r2)
        L_0x0040:
            int r6 = r6 + 1
            goto L_0x002e
        L_0x0043:
            java.util.List r5 = (java.util.List) r5
        L_0x0045:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0077
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0167
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x005f:
            if (r6 >= r7) goto L_0x0074
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0071
            r5.add(r2)
        L_0x0071:
            int r6 = r6 + 1
            goto L_0x005f
        L_0x0074:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0045
        L_0x0077:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x0080
            kotlin.h.b.n.LIZIZ()
        L_0x0080:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r6 = r1.LIZ(r0)
            X.M12.LIZ(r6)
            com.bytedance.assem.arch.core.Assembler r6 = (com.bytedance.assem.arch.core.Assembler) r6
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r6.LIZJ(r4)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0153
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x00ab
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x00ab:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r6.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r13 = r2.element
            X.CxE r13 = (X.CxE) r13
            r8 = r4
            java.lang.Class r0 = r8.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r11 = r12.length
            r10 = 0
        L_0x00ca:
            r9 = 0
            if (r10 >= r11) goto L_0x013e
            r7 = r12[r10]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013b
        L_0x00da:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012d
        L_0x00de:
            java.lang.Object r11 = r2.element
            X.CxE r11 = (X.CxE) r11
            java.lang.Class r10 = r8.getClass()
        L_0x00e6:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r10 == r0) goto L_0x0140
            java.lang.Class[] r14 = r10.getInterfaces()
            X.M12.LIZ(r14)
            java.util.ArrayList r13 = new java.util.ArrayList
            r13.<init>()
            int r12 = r14.length
            r9 = 0
        L_0x00f8:
            if (r9 >= r12) goto L_0x010d
            r7 = r14[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x010a
            r13.add(r7)
        L_0x010a:
            int r9 = r9 + 1
            goto L_0x00f8
        L_0x010d:
            java.util.List r13 = (java.util.List) r13
            java.util.Iterator r1 = r13.iterator()
        L_0x0113:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0126
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r11.LIZ((java.lang.Class<?>) r0, (X.2up) r8)
            goto L_0x0113
        L_0x0126:
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x0140
            goto L_0x00e6
        L_0x012d:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r9)
            java.util.Map<X.7eS, X.2up> r0 = r13.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0140
            goto L_0x00de
        L_0x013b:
            int r10 = r10 + 1
            goto L_0x00ca
        L_0x013e:
            r7 = r9
            goto L_0x00da
        L_0x0140:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$clearData$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$clearData$$inlined$setAssemServiceState$1
            r0.<init>(r2, r4, r6)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r6.LIZ((X.0CH) r4, (X.CxE) r0)
        L_0x0153:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0019
        L_0x0167:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LJIIJ():void");
    }

    public static 0Bx LIZ(1hK r2) {
        0Bx LIZ = 0By.LIZ(r2, (0Bv) null);
        if (2GD.LIZ) {
            0Bs.LIZ(LIZ, r2);
        }
        return LIZ;
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void LIZIZ(User user) {
        String str = this.LJIJJLI;
        if (!(str == null || user == null)) {
            user.setRequestId(str);
        }
        this.LJIIJJI = user;
    }

    public final void LIZ(C2943Dxz dxz) {
        M12.LIZ(dxz);
        this.LJJJJ = dxz;
    }

    public final void LJ(String str) {
        C2932Dxo LIZLLL = CxC.LIZLLL((Fragment) this, KEM.LIZ.LIZ(C2932Dxo.class));
        if (LIZLLL != null) {
            LIZLLL.LIZIZ(str);
        }
    }

    /* JADX WARNING: type inference failed for: r2v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onSaveInstanceState(Bundle bundle) {
        M12.LIZ(bundle);
        bundle.putString("uid", this.LIZ);
        bundle.putString("sec_user_id", this.LIZIZ);
        I18nUserProfileFragmentV2.super.onSaveInstanceState(bundle);
    }

    public final /* synthetic */ void LIZ(Boolean bool) {
        LIZJ(bool.booleanValue());
    }

    /* JADX WARNING: type inference failed for: r2v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.bytedance.ies.uikit.base.AbsFragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void LIZJ(User user) {
        M12.LIZ(user);
        if (aq_()) {
            this.LJIJ.LIZ(user);
            this.LJJIJIIJIL = C2922Dxe.LOAD_DONE;
            this.LJIIJJI = user;
            if (!(!B62.LIZ.LIZIZ() || this.LJIIJJI == null || this.LJJIFFI == null)) {
                User user2 = this.LJIIJJI;
                n.LIZIZ(user2, "");
                user2.setMutualStruct(this.LJJIFFI);
            }
            LIZ(user.getUid(), user.getSecUid());
        }
    }

    @ISm
    public final void onAntiCrawlerEvent(C4686El0 el0) {
        String str;
        if (el0 != null && (str = el0.LIZ) != null) {
            if (z.LIZ(str, "/aweme/v1/user/profile/other/?", false) || z.LIZ(str, "/aweme/v1/aweme/post/?", false) || z.LIZ(str, "/aweme/v1/aweme/favorite/?", false)) {
                EventBus.LIZ().LIZLLL(el0);
                LJ();
            }
        }
    }

    public final void onAttach(Context context) {
        I18nUserProfileFragmentV2.super.onAttach(context);
        if (C3164E3s.LIZ(this.LJJ)) {
            LIZIZ(this.LJJ);
        }
        if (C3164E3s.LIZ(this.LJJI)) {
            LIZJ(this.LJJI);
        }
        if (C3164E3s.LIZ(this.LJJIIZI)) {
            LIZ(this.LJJIIZI);
        }
        if (C3164E3s.LIZ(this.LJJIIZ)) {
            LIZLLL(this.LJJIIZ);
        }
    }

    /* JADX WARNING: type inference failed for: r5v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    @ISm
    public final void onUpdateUserEvent(C2958DyE dyE) {
        if (dyE != null && dyE.LIZ != null) {
            User user = dyE.LIZ;
            n.LIZIZ(user, "");
            if (TextUtils.equals(user.getUid(), this.LIZ)) {
                LIZIZ(dyE.LIZ);
                DGB dgb = (DGB) CxC.LIZIZ((Fragment) this, KEM.LIZ.LIZ(DGB.class));
                if (dgb != null) {
                    DGC.LIZ(dgb, dyE.LIZ, (BbQ) null, false, 6);
                }
            }
        }
    }

    /* JADX WARNING: type inference failed for: r4v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.bytedance.ies.uikit.base.AbsFragment, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void LIZ(User user) {
        String str;
        if (aq_()) {
            if (user != null) {
                this.LJIJ.LIZ(user);
                LIZIZ(user);
                if (((Boolean) MHh.LIZ.getValue()).booleanValue()) {
                    this.LJJJIL = true;
                    LJIIZILJ();
                }
                DGB dgb = (DGB) CxC.LIZIZ((Fragment) this, KEM.LIZ.LIZ(DGB.class));
                if (dgb != null) {
                    DGC.LIZ(dgb, user, (BbQ) null, true, 2);
                }
            }
            if (80W.LIZ()) {
                C1279DTf LIZLLL = CxC.LIZLLL((Fragment) this, KEM.LIZ.LIZ(C1279DTf.class));
                if (LIZLLL != null) {
                    LIZLLL.LJIL();
                }
            } else {
                8YD.LIZJ.LIZ().post(new C1278DTe(this));
            }
            DTA dta = DTA.LIZ;
            if (user == null || (str = user.getUid()) == null) {
                str = "";
            }
            dta.LIZ("others_homepage", str, "simple");
        }
    }

    /* JADX WARNING: type inference failed for: r3v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void LIZIZ(Aweme aweme) {
        if (aweme != null && !TextUtils.equals(this.LIZ, aweme.getAuthorUid())) {
            LJIIJ();
            String authorUid = aweme.getAuthorUid();
            User author = aweme.getAuthor();
            n.LIZIZ(author, "");
            LIZ(authorUid, author.getSecUid());
            LIZ(aweme);
            LIZ(aweme.getAuthor());
            LIZJ(false);
        }
    }

    /* JADX WARNING: type inference failed for: r2v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onCreate(Bundle bundle) {
        String string;
        String str;
        C2935Dxr.LIZLLL.LIZ("new_user_profile");
        C2935Dxr.LIZIZ = true;
        2or.LIZ(C2935Dxr.LIZ);
        String str2 = "";
        if (TextUtils.isEmpty(this.LIZ)) {
            if (bundle == null || (str = bundle.getString("uid")) == null) {
                str = str2;
            }
            this.LIZ = str;
        }
        if (TextUtils.isEmpty(this.LIZIZ)) {
            if (!(bundle == null || (string = bundle.getString("sec_user_id")) == null)) {
                str2 = string;
            }
            this.LIZIZ = str2;
        }
        I18nUserProfileFragmentV2.super.onCreate(bundle);
        Bundle arguments = getArguments();
        if (arguments != null) {
            this.LJJIJLIJ = arguments.getBoolean("is_response_home_feed_scroll");
        }
        9a7.LIZ(9a9.PERSONAL_DETAIL);
    }

    /* JADX WARNING: type inference failed for: r5v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    private final void LJFF(String str) {
        1hK activity;
        String str2;
        String str3;
        String str4;
        if (2OW.LIZ && this.LJJIJLIJ && (activity = getActivity()) != null) {
            2I4 r1 = HomePageDataViewModel.LJIILJJIL;
            n.LIZIZ(activity, "");
            Aweme aweme = r1.LIZ(activity).LJIIJ;
            if (aweme != null) {
                String aid = aweme.getAid();
                Aweme aweme2 = this.LJJIIJZLJL;
                String str5 = null;
                if (aweme2 != null) {
                    str2 = aweme2.getAid();
                } else {
                    str2 = null;
                }
                if (TextUtils.equals(aid, str2)) {
                    String secAuthorUid = aweme.getSecAuthorUid();
                    Aweme aweme3 = this.LJJIIJZLJL;
                    if (aweme3 != null) {
                        str4 = aweme3.getSecAuthorUid();
                    } else {
                        str4 = null;
                    }
                    if (TextUtils.equals(secAuthorUid, str4)) {
                        return;
                    }
                }
                StringBuilder sb = new StringBuilder("I18nUserProfileFragmentV2 ");
                sb.append(str);
                sb.append(" invalid aweme, aid: ");
                Aweme aweme4 = this.LJJIIJZLJL;
                if (aweme4 != null) {
                    str3 = aweme4.getAid();
                } else {
                    str3 = null;
                }
                sb.append(str3);
                sb.append(", aweme_secUid: ");
                Aweme aweme5 = this.LJJIIJZLJL;
                if (aweme5 != null) {
                    str5 = aweme5.getSecAuthorUid();
                }
                sb.append(str5);
                sb.append(", secUid: ");
                sb.append(this.LIZIZ);
                sb.append("; homepage_aid: ");
                sb.append(aweme.getAid());
                sb.append(", homepage_secUid: ");
                sb.append(aweme.getSecAuthorUid());
                2kf.LIZIZ(4, "feed2profile", sb.toString());
            }
        }
    }

    public final void LIZIZ(boolean z) {
        C2932Dxo LIZLLL = CxC.LIZLLL((Fragment) this, KEM.LIZ.LIZ(C2932Dxo.class));
        if (LIZLLL != null) {
            LIZLLL.LIZ(z, false);
        }
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x0137, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00dd;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    private void LJI(java.lang.String r15) {
        /*
            r14 = this;
            r6 = r14
            r0 = r15
            r6.LJJIJ = r0
            X.Dxj r3 = new X.Dxj
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x001c
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001d
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001d
        L_0x001c:
            return
        L_0x001d:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x002d:
            if (r4 >= r7) goto L_0x0042
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x003f
            r5.add(r2)
        L_0x003f:
            int r4 = r4 + 1
            goto L_0x002d
        L_0x0042:
            java.util.List r5 = (java.util.List) r5
        L_0x0044:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0076
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0166
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x005e:
            if (r4 >= r7) goto L_0x0073
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0070
            r5.add(r2)
        L_0x0070:
            int r4 = r4 + 1
            goto L_0x005e
        L_0x0073:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0044
        L_0x0076:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x007f
            kotlin.h.b.n.LIZIZ()
        L_0x007f:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0152
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00aa
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00aa:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00c9:
            r8 = 0
            if (r9 >= r10) goto L_0x013d
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013a
        L_0x00d9:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012c
        L_0x00dd:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e5:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x013f
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00f7:
            if (r8 >= r11) goto L_0x010c
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0109
            r12.add(r7)
        L_0x0109:
            int r8 = r8 + 1
            goto L_0x00f7
        L_0x010c:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0112:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0125
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0112
        L_0x0125:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x013f
            goto L_0x00e5
        L_0x012c:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x013f
            goto L_0x00dd
        L_0x013a:
            int r9 = r9 + 1
            goto L_0x00c9
        L_0x013d:
            r7 = r8
            goto L_0x00d9
        L_0x013f:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setRoomId$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setRoomId$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0152:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001c
        L_0x0166:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LJI(java.lang.String):void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x0135, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00db;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    private final void LJII(java.lang.String r15) {
        /*
            r14 = this;
            r6 = r14
            X.Dxk r3 = new X.Dxk
            r0 = r15
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x001a
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001b
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001b
        L_0x001a:
            return
        L_0x001b:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x002b:
            if (r4 >= r7) goto L_0x0040
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x003d
            r5.add(r2)
        L_0x003d:
            int r4 = r4 + 1
            goto L_0x002b
        L_0x0040:
            java.util.List r5 = (java.util.List) r5
        L_0x0042:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0074
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0164
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x005c:
            if (r4 >= r7) goto L_0x0071
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x006e
            r5.add(r2)
        L_0x006e:
            int r4 = r4 + 1
            goto L_0x005c
        L_0x0071:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0042
        L_0x0074:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x007d
            kotlin.h.b.n.LIZIZ()
        L_0x007d:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0150
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00a8
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00a8:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00c7:
            r8 = 0
            if (r9 >= r10) goto L_0x013b
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0138
        L_0x00d7:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012a
        L_0x00db:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e3:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x013d
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00f5:
            if (r8 >= r11) goto L_0x010a
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0107
            r12.add(r7)
        L_0x0107:
            int r8 = r8 + 1
            goto L_0x00f5
        L_0x010a:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0110:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0123
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0110
        L_0x0123:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x013d
            goto L_0x00e3
        L_0x012a:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x013d
            goto L_0x00db
        L_0x0138:
            int r9 = r9 + 1
            goto L_0x00c7
        L_0x013b:
            r7 = r8
            goto L_0x00d7
        L_0x013d:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setShowWindowSource$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setShowWindowSource$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0150:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001a
        L_0x0164:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LJII(java.lang.String):void");
    }

    /* JADX WARNING: type inference failed for: r5v0, types: [androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Code restructure failed: missing block: B:15:0x004a, code lost:
        if (r0.isFinishing() == true) goto L_0x004c;
     */
    /* JADX WARNING: Code restructure failed: missing block: B:74:0x01b6, code lost:
        if (r10.LIZIZ.containsKey(new X.7eS(r8, (java.lang.String) null)) == false) goto L_0x015a;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* JADX WARNING: Unknown variable types count: 1 */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(int r17) {
        /*
            r16 = this;
            r5 = r16
            com.ss.android.ugc.aweme.profile.model.User r1 = r5.LJIIJJI
            r3 = 0
            r6 = 1
            r4 = r17
            if (r4 != r6) goto L_0x01f0
            r0 = 1
        L_0x000b:
            r1.setBlock(r0)
            X.3af r2 = new X.3af
            r2.<init>(r5)
            android.content.res.Resources r1 = r16.getResources()
            if (r4 != r6) goto L_0x01eb
            r0 = 2131821549(0x7f1103ed, float:1.9275844E38)
        L_0x001c:
            java.lang.String r0 = r1.getString(r0)
            r2.LIZ(r0)
            X.3af.LIZ(r2)
            if (r4 != r6) goto L_0x01e6
            com.ss.android.ugc.aweme.profile.model.User r0 = r5.LJIIJJI
            java.lang.String r4 = ""
            kotlin.h.b.n.LIZIZ(r0, r4)
            r0.setFollowStatus(r3)
            boolean r0 = r16.aq_()
            if (r0 == 0) goto L_0x0050
            X.DLH r3 = X.DLH.LIZ
            X.1hK r0 = r16.getActivity()
            if (r0 == 0) goto L_0x004c
            X.1hK r0 = r16.getActivity()
            if (r0 == 0) goto L_0x009a
            boolean r0 = r0.isFinishing()
            if (r0 != r6) goto L_0x009a
        L_0x004c:
            X.Dxe r0 = X.C2922Dxe.LOAD_IDLE
            r5.LJJIJIIJIL = r0
        L_0x0050:
            X.9oX r1 = new X.9oX
            r1.<init>()
            com.ss.android.ugc.aweme.profile.model.User r0 = r5.LJIIJJI
            r1.LIZ = r0
            X.CqM.LIZ(r1)
            com.ss.android.ugc.aweme.profile.model.User r0 = r5.LJIIJJI
            if (r0 == 0) goto L_0x006f
            X.Dxy r1 = new X.Dxy
            java.lang.String r0 = r0.getUid()
            kotlin.h.b.n.LIZIZ(r0, r4)
            r1.<init>(r0)
            X.CqM.LIZ(r1)
        L_0x006f:
            r0 = 0
            com.ss.android.ugc.aweme.im.service.IIMService r1 = com.ss.android.ugc.aweme.im.sdk.common.controller.providedservices.IMService.createIIMServicebyMonsterPlugin(r0)
            com.ss.android.ugc.aweme.profile.model.User r0 = r5.LJIIJJI
            if (r0 != 0) goto L_0x0095
            r0 = 0
        L_0x0079:
            r1.updateIMUser(r0)
            java.lang.Class<X.DGB> r1 = X.DGB.class
            X.KEN r0 = X.KEM.LIZ
            X.D1G r0 = r0.LIZ(r1)
            X.CxD r4 = X.CxC.LIZIZ((androidx.fragment.app.Fragment) r5, r0)
            X.DGB r4 = (X.DGB) r4
            if (r4 == 0) goto L_0x0094
            com.ss.android.ugc.aweme.profile.model.User r3 = r5.LJIIJJI
            r2 = 6
            r1 = 0
            r0 = 0
            X.DGC.LIZ(r4, r3, r1, r0, r2)
        L_0x0094:
            return
        L_0x0095:
            com.ss.android.ugc.aweme.im.service.model.IMUser r0 = com.ss.android.ugc.aweme.im.service.model.IMUser.fromUser(r0)
            goto L_0x0079
        L_0x009a:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r10 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r9 = r10.getInterfaces()
            X.M12.LIZ(r9)
            java.util.ArrayList r6 = new java.util.ArrayList
            r6.<init>()
            int r8 = r9.length
            r7 = 0
        L_0x00aa:
            if (r7 >= r8) goto L_0x00bf
            r2 = r9[r7]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x00bc
            r6.add(r2)
        L_0x00bc:
            int r7 = r7 + 1
            goto L_0x00aa
        L_0x00bf:
            java.util.List r6 = (java.util.List) r6
        L_0x00c1:
            boolean r0 = r6.isEmpty()
            if (r0 == 0) goto L_0x00f3
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x01f3
            java.lang.Class[] r9 = r10.getInterfaces()
            X.M12.LIZ(r9)
            java.util.ArrayList r6 = new java.util.ArrayList
            r6.<init>()
            int r8 = r9.length
            r7 = 0
        L_0x00db:
            if (r7 >= r8) goto L_0x00f0
            r2 = r9[r7]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x00ed
            r6.add(r2)
        L_0x00ed:
            int r7 = r7 + 1
            goto L_0x00db
        L_0x00f0:
            java.util.List r6 = (java.util.List) r6
            goto L_0x00c1
        L_0x00f3:
            X.1hK r0 = r16.getActivity()
            if (r0 != 0) goto L_0x00fc
            kotlin.h.b.n.LIZIZ()
        L_0x00fc:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r7 = r1.LIZ(r0)
            X.M12.LIZ(r7)
            com.bytedance.assem.arch.core.Assembler r7 = (com.bytedance.assem.arch.core.Assembler) r7
            X.2sG r2 = new X.2sG
            r2.<init>()
            r5 = r5
            X.CxE r0 = r7.LIZJ(r5)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x01d2
            androidx.fragment.app.Fragment r0 = r16.getParentFragment()
            if (r0 != 0) goto L_0x0128
            X.1hK r0 = r16.requireActivity()
            X.M12.LIZ(r0)
        L_0x0128:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r7.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            r15 = r5
            java.lang.Class r0 = r15.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r11 = r12.length
            r9 = 0
        L_0x0147:
            if (r9 >= r11) goto L_0x01bd
            r8 = r12[r9]
            r1 = r8
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x01b9
        L_0x0156:
            java.lang.Class r8 = (java.lang.Class) r8
            if (r8 != 0) goto L_0x01aa
        L_0x015a:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r15.getClass()
        L_0x0162:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x01bf
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x0174:
            if (r8 >= r11) goto L_0x0189
            r1 = r13[r8]
            r14 = r1
            java.lang.Class r14 = (java.lang.Class) r14
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r14)
            if (r0 == 0) goto L_0x0186
            r12.add(r1)
        L_0x0186:
            int r8 = r8 + 1
            goto L_0x0174
        L_0x0189:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r8 = r12.iterator()
        L_0x018f:
            boolean r0 = r8.hasNext()
            if (r0 == 0) goto L_0x01a3
            java.lang.Object r1 = r8.next()
            java.lang.Class r1 = (java.lang.Class) r1
            X.M12.LIZ(r1)
            r0 = r15
            r10.LIZ((java.lang.Class<?>) r1, (X.2up) r0)
            goto L_0x018f
        L_0x01a3:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x01bf
            goto L_0x0162
        L_0x01aa:
            X.7eS r1 = new X.7eS
            r0 = 0
            r1.<init>(r8, r0)
            java.util.Map<X.7eS, X.2up> r0 = r10.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x01bf
            goto L_0x015a
        L_0x01b9:
            int r9 = r9 + 1
            r0 = 0
            goto L_0x0147
        L_0x01bd:
            r8 = 0
            goto L_0x0156
        L_0x01bf:
            X.0CD r1 = r16.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$clearDataForBlock$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$clearDataForBlock$$inlined$setAssemServiceState$1
            r0.<init>(r2, r5, r7)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r7.LIZ((X.0CH) r5, (X.CxE) r0)
        L_0x01d2:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r6)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x004c
        L_0x01e6:
            r16.LJ()
            goto L_0x006f
        L_0x01eb:
            r0 = 2131834412(0x7f11362c, float:1.9301934E38)
            goto L_0x001c
        L_0x01f0:
            r0 = 0
            goto L_0x000b
        L_0x01f3:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(int):void");
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZIZ(android.view.View r21) {
        /*
            r20 = this;
            r0 = r20
            r1 = r0
            r2 = r21
            X.M12.LIZ(r2)
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.super.LIZIZ(r2)
            android.os.Bundle r5 = r0.getArguments()
            r3 = 1
            java.lang.String r0 = ""
            if (r5 == 0) goto L_0x014f
            java.lang.String r6 = "recommend_enter_profile_params"
            java.io.Serializable r4 = r5.getSerializable(r6)
            boolean r4 = r4 instanceof X.C3158E3m
            if (r4 == 0) goto L_0x014c
            java.io.Serializable r6 = r5.getSerializable(r6)
            java.lang.String r4 = "null cannot be cast to non-null type com.ss.android.ugc.aweme.recommend.RecommendEnterProfileParams"
            java.util.Objects.requireNonNull(r6, r4)
            X.E3m r6 = (X.C3158E3m) r6
        L_0x0029:
            X.E3q r11 = new X.E3q
            java.lang.String r4 = "request_id"
            java.lang.String r12 = r5.getString(r4, r0)
            java.lang.String r4 = "room_id"
            java.lang.String r13 = r5.getString(r4, r0)
            java.lang.String r4 = "room_owner_id"
            java.lang.String r14 = r5.getString(r4, r0)
            java.lang.String r4 = "user_type"
            java.lang.String r15 = r5.getString(r4, r0)
            java.lang.String r4 = "enter_from"
            java.lang.String r16 = r5.getString(r4, r0)
            java.lang.String r4 = "position"
            java.lang.String r18 = r5.getString(r4, r0)
            r17 = r6
            r11.<init>(r12, r13, r14, r15, r16, r17, r18)
            java.lang.String r4 = "general_search_card_type"
            r6 = 0
            int r12 = r5.getInt(r4, r6)
            java.lang.String r4 = "extra_from_mutual"
            boolean r10 = r5.getBoolean(r4, r6)
            java.lang.String r4 = "isFromFeed"
            boolean r7 = r5.getBoolean(r4, r3)
            java.lang.String r4 = "event_keys"
            java.lang.String r13 = r5.getString(r4)
            if (r13 != 0) goto L_0x0070
            r13 = r0
        L_0x0070:
            kotlin.h.b.n.LIZIZ(r13, r0)
            X.DMe r5 = new X.DMe
            java.lang.String r6 = r1.LJ
            java.lang.String r8 = r1.LJJIJIL
            java.lang.String r9 = r1.LJJIII
            r5.<init>(r6, r7, r8, r9, r10, r11, r12, r13)
        L_0x007e:
            X.DFt r4 = new X.DFt
            r4.<init>(r1, r5, r2)
            X.BDb.LIZ(r1, r4)
            X.Dxc r1 = X.C2920Dxc.LIZ
            boolean r1 = r1.LIZ()
            if (r1 == 0) goto L_0x0136
            android.content.res.Resources r1 = android.content.res.Resources.getSystem()
            kotlin.h.b.n.LIZIZ(r1, r0)
            android.util.DisplayMetrics r1 = r1.getDisplayMetrics()
            r6 = 1094713344(0x41400000, float:12.0)
            float r1 = android.util.TypedValue.applyDimension(r3, r6, r1)
            int r4 = X.LnI.LIZ(r1)
            r5 = 1082130432(0x40800000, float:4.0)
            android.content.res.Resources r1 = android.content.res.Resources.getSystem()
            kotlin.h.b.n.LIZIZ(r1, r0)
            android.util.DisplayMetrics r1 = r1.getDisplayMetrics()
            float r1 = android.util.TypedValue.applyDimension(r3, r5, r1)
            int r5 = X.LnI.LIZ(r1)
            android.content.res.Resources r1 = android.content.res.Resources.getSystem()
            kotlin.h.b.n.LIZIZ(r1, r0)
            android.util.DisplayMetrics r0 = r1.getDisplayMetrics()
            float r0 = android.util.TypedValue.applyDimension(r3, r6, r0)
            int r3 = X.LnI.LIZ(r0)
            r0 = 2131367344(0x7f0a15b0, float:1.8354607E38)
            android.view.View r6 = r2.findViewById(r0)
            android.widget.LinearLayout r6 = (android.widget.LinearLayout) r6
            r0 = 2131364691(0x7f0a0b53, float:1.8349226E38)
            android.view.View r13 = r2.findViewById(r0)
            android.widget.LinearLayout r13 = (android.widget.LinearLayout) r13
            r0 = 2131372637(0x7f0a2a5d, float:1.8365343E38)
            android.view.View r0 = r2.findViewById(r0)
            X.3KD r0 = (X.3KD) r0
            r1 = 2131362181(0x7f0a0185, float:1.8344135E38)
            android.view.View r1 = r2.findViewById(r1)
            android.widget.LinearLayout r1 = (android.widget.LinearLayout) r1
            if (r6 == 0) goto L_0x00fe
            r7 = 0
            java.lang.Integer r8 = java.lang.Integer.valueOf(r4)
            r9 = 0
            r10 = 0
            r11 = 0
            r12 = 29
            X.Qen.LIZIZ(r6, r7, r8, r9, r10, r11, r12)
        L_0x00fe:
            if (r13 == 0) goto L_0x0110
            r14 = 0
            java.lang.Integer r15 = java.lang.Integer.valueOf(r4)
            r16 = 0
            r17 = 0
            r18 = 0
            r19 = 29
            X.Qen.LIZIZ(r13, r14, r15, r16, r17, r18, r19)
        L_0x0110:
            if (r0 == 0) goto L_0x0123
            r6 = 0
            java.lang.Integer r7 = java.lang.Integer.valueOf(r5)
            r8 = 0
            r9 = 0
            r10 = 0
            r11 = 29
            r5 = r0
            X.Qen.LIZ(r5, r6, r7, r8, r9, r10, r11)
            r0.setExpectedEmptyHeightPx(r4)
        L_0x0123:
            if (r1 == 0) goto L_0x0136
            java.lang.Integer r4 = java.lang.Integer.valueOf(r3)
            r5 = 0
            java.lang.Integer r6 = java.lang.Integer.valueOf(r3)
            r7 = 0
            r8 = 0
            r9 = 26
            r3 = r1
            X.Qen.LIZ(r3, r4, r5, r6, r7, r8, r9)
        L_0x0136:
            X.Dv6 r0 = X.C2764Dv6.LIZIZ
            boolean r0 = r0.LIZIZ()
            if (r0 == 0) goto L_0x014b
            X.DTA r2 = X.DTA.LIZ
            X.Dv6 r0 = X.C2764Dv6.LIZIZ
            boolean r1 = r0.LIZJ()
            java.lang.String r0 = "others_homepage"
            r2.LIZ((java.lang.String) r0, (int) r1)
        L_0x014b:
            return
        L_0x014c:
            r6 = 0
            goto L_0x0029
        L_0x014f:
            X.DMe r5 = new X.DMe
            java.lang.String r6 = r1.LJ
            java.lang.String r7 = r1.LJJIJIL
            java.lang.String r8 = r1.LJJIII
            r9 = 0
            r10 = 242(0xf2, float:3.39E-43)
            r5.<init>(r6, r7, r8, r9, r10)
            goto L_0x007e
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZIZ(android.view.View):void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x0137, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00dd;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZJ(java.lang.String r15) {
        /*
            r14 = this;
            r6 = r14
            r0 = r15
            r6.LJJI = r0
            X.Dxi r3 = new X.Dxi
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x001c
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001d
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001d
        L_0x001c:
            return
        L_0x001d:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x002d:
            if (r4 >= r7) goto L_0x0042
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x003f
            r5.add(r2)
        L_0x003f:
            int r4 = r4 + 1
            goto L_0x002d
        L_0x0042:
            java.util.List r5 = (java.util.List) r5
        L_0x0044:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0076
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0166
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x005e:
            if (r4 >= r7) goto L_0x0073
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0070
            r5.add(r2)
        L_0x0070:
            int r4 = r4 + 1
            goto L_0x005e
        L_0x0073:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0044
        L_0x0076:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x007f
            kotlin.h.b.n.LIZIZ()
        L_0x007f:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0152
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00aa
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00aa:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00c9:
            r8 = 0
            if (r9 >= r10) goto L_0x013d
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013a
        L_0x00d9:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012c
        L_0x00dd:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e5:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x013f
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00f7:
            if (r8 >= r11) goto L_0x010c
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0109
            r12.add(r7)
        L_0x0109:
            int r8 = r8 + 1
            goto L_0x00f7
        L_0x010c:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0112:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0125
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0112
        L_0x0125:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x013f
            goto L_0x00e5
        L_0x012c:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x013f
            goto L_0x00dd
        L_0x013a:
            int r9 = r9 + 1
            goto L_0x00c9
        L_0x013d:
            r7 = r8
            goto L_0x00d9
        L_0x013f:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setPreviousPagePosition$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setPreviousPagePosition$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0152:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001c
        L_0x0166:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZJ(java.lang.String):void");
    }

    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r19v0, resolved type: java.lang.Object} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v114, resolved type: X.2up} */
    /* JADX WARNING: type inference failed for: r15v1, types: [X.0CH, com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Code restructure failed: missing block: B:105:0x025d, code lost:
        if (r4.LIZIZ.containsKey(new X.7eS(r2, (java.lang.String) null)) == false) goto L_0x0202;
     */
    /* JADX WARNING: Code restructure failed: missing block: B:158:0x03b1, code lost:
        if (r4.LIZIZ.containsKey(new X.7eS(r2, (java.lang.String) null)) == false) goto L_0x0354;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* JADX WARNING: Unknown variable types count: 1 */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(android.view.View r21) {
        /*
            r20 = this;
            r15 = r20
            r15 = r15
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r18 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            r0 = r21
            X.M12.LIZ(r0)
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.super.LIZ((android.view.View) r0)
            android.os.Bundle r14 = r15.getArguments()
            if (r14 == 0) goto L_0x0144
            java.lang.String r0 = "unique_id"
            java.lang.String r13 = ""
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJJII = r0
            java.lang.String r0 = "profile_from"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJJIII = r0
            java.lang.String r0 = "enter_from"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJJIJIL = r0
            java.lang.String r0 = "from_discover"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJIL = r0
            java.lang.String r0 = "show_window_source"
            java.lang.String r0 = r14.getString(r0)
            if (r0 != 0) goto L_0x003e
            r0 = r13
        L_0x003e:
            r15.LJJIZ = r0
            java.lang.String r0 = "search_request_id"
            java.lang.String r0 = r14.getString(r0)
            if (r0 != 0) goto L_0x0049
            r0 = r13
        L_0x0049:
            r15.LJIJJLI = r0
            java.lang.String r0 = "room_id"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJJIJ = r0
            java.lang.String r0 = "source_content_id"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LJJIJIIJI = r0
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            java.lang.String r12 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.lang.String r17 = "Can not find target interface."
            r1 = 1
            if (r0 != 0) goto L_0x0081
            java.lang.String r0 = r15.LJJIJIIJI
            r15.LJJIJIIJI = r0
            X.DLn r11 = new X.DLn
            r11.<init>(r0)
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0081
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x028a
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x028a
        L_0x0081:
            java.lang.String r0 = r15.LJJIJ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 != 0) goto L_0x008e
            java.lang.String r0 = r15.LJJIJ
            r15.LJI(r0)
        L_0x008e:
            java.lang.String r0 = r15.LJIL
            boolean r0 = X.86a.LIZ(r0)
            if (r0 != 0) goto L_0x009b
            java.lang.String r0 = r15.LJIL
            r15.LIZIZ((java.lang.String) r0)
        L_0x009b:
            java.lang.String r0 = r15.LJJIJIL
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 != 0) goto L_0x00a8
            java.lang.String r0 = r15.LJJIJIL
            r15.LIZ((java.lang.String) r0)
        L_0x00a8:
            java.lang.String r0 = r15.LJJ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 != 0) goto L_0x00b5
            java.lang.String r0 = r15.LJJ
            r15.LIZIZ((java.lang.String) r0)
        L_0x00b5:
            java.lang.String r0 = r15.LJJIJIL
            java.lang.String r1 = "discovery_tab"
            boolean r0 = android.text.TextUtils.equals(r0, r1)
            if (r0 == 0) goto L_0x00c2
            r15.LIZIZ((java.lang.String) r1)
        L_0x00c2:
            java.lang.String r0 = r15.LJJIZ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 != 0) goto L_0x00cf
            java.lang.String r0 = r15.LJJIZ
            r15.LJII(r0)
        L_0x00cf:
            java.lang.String r0 = "extra_mutual_relation"
            java.io.Serializable r1 = r14.getSerializable(r0)
            boolean r0 = r1 instanceof com.ss.android.ugc.aweme.friends.model.MutualStruct
            if (r0 == 0) goto L_0x00dd
            com.ss.android.ugc.aweme.friends.model.MutualStruct r1 = (com.ss.android.ugc.aweme.friends.model.MutualStruct) r1
            r15.LJJIFFI = r1
        L_0x00dd:
            java.lang.String r1 = "extra_previous_page_position"
            java.lang.String r0 = "other_places"
            java.lang.String r0 = r14.getString(r1, r0)
            r15.LJJI = r0
            boolean r0 = X.C3164E3s.LIZ((java.lang.String) r0)
            if (r0 == 0) goto L_0x00f2
            java.lang.String r0 = r15.LJJI
            r15.LIZJ((java.lang.String) r0)
        L_0x00f2:
            java.lang.String r0 = r15.LIZ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 == 0) goto L_0x0102
            java.lang.String r0 = "uid"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LIZ = r0
        L_0x0102:
            java.lang.String r0 = r15.LIZIZ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 == 0) goto L_0x0112
            java.lang.String r0 = "sec_user_id"
            java.lang.String r0 = r14.getString(r0, r13)
            r15.LIZIZ = r0
        L_0x0112:
            java.lang.String r0 = r15.LJJIIZ
            boolean r0 = X.C3164E3s.LIZ((java.lang.String) r0)
            if (r0 == 0) goto L_0x011f
            java.lang.String r0 = r15.LJJIIZ
            r15.LIZLLL(r0)
        L_0x011f:
            X.DLK r7 = new X.DLK
            r7.<init>(r15)
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0137
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x0145
            boolean r1 = r0.isFinishing()
            r0 = 1
            if (r1 != r0) goto L_0x0145
        L_0x0137:
            com.ss.android.ugc.aweme.base.component.AnalysisStayTimeFragmentComponent r0 = r15.LJIIZILJ
            if (r0 == 0) goto L_0x0144
            com.ss.android.ugc.aweme.base.component.AnalysisStayTimeFragmentComponent r1 = r15.LJIIZILJ
            X.Dxp r0 = new X.Dxp
            r0.<init>(r15)
            r1.LIZIZ = r0
        L_0x0144:
            return
        L_0x0145:
            java.lang.Class[] r5 = r18.getInterfaces()
            X.M12.LIZ(r5)
            java.util.ArrayList r8 = new java.util.ArrayList
            r8.<init>()
            int r4 = r5.length
            r3 = 0
        L_0x0153:
            if (r3 >= r4) goto L_0x0168
            r2 = r5[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0165
            r8.add(r2)
        L_0x0165:
            int r3 = r3 + 1
            goto L_0x0153
        L_0x0168:
            java.util.List r8 = (java.util.List) r8
        L_0x016a:
            boolean r0 = r8.isEmpty()
            if (r0 == 0) goto L_0x019c
            java.lang.Class r18 = r18.getSuperclass()
            if (r18 == 0) goto L_0x03e2
            java.lang.Class[] r5 = r18.getInterfaces()
            X.M12.LIZ(r5)
            java.util.ArrayList r8 = new java.util.ArrayList
            r8.<init>()
            int r4 = r5.length
            r3 = 0
        L_0x0184:
            if (r3 >= r4) goto L_0x0199
            r2 = r5[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0196
            r8.add(r2)
        L_0x0196:
            int r3 = r3 + 1
            goto L_0x0184
        L_0x0199:
            java.util.List r8 = (java.util.List) r8
            goto L_0x016a
        L_0x019c:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x01a5
            kotlin.h.b.n.LIZIZ()
        L_0x01a5:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r9 = r1.LIZ(r0)
            X.M12.LIZ(r9)
            com.bytedance.assem.arch.core.Assembler r9 = (com.bytedance.assem.arch.core.Assembler) r9
            X.2sG r6 = new X.2sG
            r6.<init>()
            X.CxE r0 = r9.LIZJ(r15)
            r6.element = r0
            java.lang.Object r0 = r6.element
            if (r0 != 0) goto L_0x0278
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x01d0
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x01d0:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r9.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r6.element = r0
            java.lang.Object r4 = r6.element
            X.CxE r4 = (X.CxE) r4
            r14 = r15
            java.lang.Class r0 = r14.getClass()
            java.lang.Class[] r10 = r0.getInterfaces()
            X.M12.LIZ(r10)
            int r5 = r10.length
            r3 = 0
        L_0x01ef:
            if (r3 >= r5) goto L_0x0263
            r2 = r10[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0260
        L_0x01fe:
            java.lang.Class r2 = (java.lang.Class) r2
            if (r2 != 0) goto L_0x0251
        L_0x0202:
            java.lang.Object r13 = r6.element
            X.CxE r13 = (X.CxE) r13
            java.lang.Class r11 = r14.getClass()
        L_0x020a:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r11 == r0) goto L_0x0265
            java.lang.Class[] r10 = r11.getInterfaces()
            X.M12.LIZ(r10)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r4 = r10.length
            r3 = 0
        L_0x021c:
            if (r3 >= r4) goto L_0x0231
            r2 = r10[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x022e
            r5.add(r2)
        L_0x022e:
            int r3 = r3 + 1
            goto L_0x021c
        L_0x0231:
            java.util.List r5 = (java.util.List) r5
            java.util.Iterator r1 = r5.iterator()
        L_0x0237:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x024a
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r13.LIZ((java.lang.Class<?>) r0, (X.2up) r14)
            goto L_0x0237
        L_0x024a:
            java.lang.Class r11 = r11.getSuperclass()
            if (r11 == 0) goto L_0x0265
            goto L_0x020a
        L_0x0251:
            X.7eS r1 = new X.7eS
            r0 = 0
            r1.<init>(r2, r0)
            java.util.Map<X.7eS, X.2up> r0 = r4.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0265
            goto L_0x0202
        L_0x0260:
            int r3 = r3 + 1
            goto L_0x01ef
        L_0x0263:
            r2 = 0
            goto L_0x01fe
        L_0x0265:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$$special$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$$special$$inlined$setAssemServiceState$1
            r0.<init>(r6, r15, r9)
            r1.LIZ(r0)
            java.lang.Object r0 = r6.element
            X.CxE r0 = (X.CxE) r0
            r9.LIZ((X.0CH) r15, (X.CxE) r0)
        L_0x0278:
            java.lang.Object r1 = r6.element
            X.CxE r1 = (X.CxE) r1
            java.lang.Object r0 = X.Lea.LJII(r8)
            java.util.Objects.requireNonNull(r0, r12)
            java.lang.Class r0 = (java.lang.Class) r0
            r1.LIZ(r0, r7)
            goto L_0x0137
        L_0x028a:
            java.lang.Class[] r5 = r18.getInterfaces()
            X.M12.LIZ(r5)
            java.util.ArrayList r10 = new java.util.ArrayList
            r10.<init>()
            int r4 = r5.length
            r3 = 0
        L_0x0298:
            if (r3 >= r4) goto L_0x02ad
            r2 = r5[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x02aa
            r10.add(r2)
        L_0x02aa:
            int r3 = r3 + 1
            goto L_0x0298
        L_0x02ad:
            java.util.List r10 = (java.util.List) r10
            r6 = r18
        L_0x02b1:
            boolean r0 = r10.isEmpty()
            if (r0 == 0) goto L_0x02e5
            java.lang.Class r6 = r6.getSuperclass()
            if (r6 == 0) goto L_0x03ea
            java.lang.Class[] r5 = r6.getInterfaces()
            X.M12.LIZ(r5)
            java.util.ArrayList r10 = new java.util.ArrayList
            r10.<init>()
            int r4 = r5.length
            r3 = 0
        L_0x02cb:
            if (r3 >= r4) goto L_0x02e1
            r2 = r5[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x02dd
            r10.add(r2)
        L_0x02dd:
            int r3 = r3 + 1
            r0 = 1
            goto L_0x02cb
        L_0x02e1:
            java.util.List r10 = (java.util.List) r10
            r0 = 1
            goto L_0x02b1
        L_0x02e5:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x02ee
            kotlin.h.b.n.LIZIZ()
        L_0x02ee:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r16 = r1.LIZ(r0)
            X.M12.LIZ(r16)
            r0 = r16
            com.bytedance.assem.arch.core.Assembler r0 = (com.bytedance.assem.arch.core.Assembler) r0
            r16 = r0
            X.2sG r9 = new X.2sG
            r9.<init>()
            r0 = r16
            X.CxE r0 = r0.LIZJ(r15)
            r9.element = r0
            java.lang.Object r0 = r9.element
            if (r0 != 0) goto L_0x03d0
            androidx.fragment.app.Fragment r1 = r15.getParentFragment()
            if (r1 != 0) goto L_0x031f
            X.1hK r1 = r15.requireActivity()
            X.M12.LIZ(r1)
        L_0x031f:
            X.0CH r1 = (X.0CH) r1
            r0 = r16
            X.CxE r1 = r0.LIZJ(r1)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r9.element = r0
            java.lang.Object r4 = r9.element
            X.CxE r4 = (X.CxE) r4
            r19 = r15
            java.lang.Class r0 = r19.getClass()
            java.lang.Class[] r6 = r0.getInterfaces()
            X.M12.LIZ(r6)
            int r5 = r6.length
            r3 = 0
        L_0x0341:
            if (r3 >= r5) goto L_0x03b7
            r2 = r6[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x03b4
        L_0x0350:
            java.lang.Class r2 = (java.lang.Class) r2
            if (r2 != 0) goto L_0x03a5
        L_0x0354:
            java.lang.Object r8 = r9.element
            X.CxE r8 = (X.CxE) r8
            java.lang.Class r7 = r19.getClass()
        L_0x035c:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r7 == r0) goto L_0x03b9
            java.lang.Class[] r6 = r7.getInterfaces()
            X.M12.LIZ(r6)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r4 = r6.length
            r3 = 0
        L_0x036e:
            if (r3 >= r4) goto L_0x0383
            r2 = r6[r3]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0380
            r5.add(r2)
        L_0x0380:
            int r3 = r3 + 1
            goto L_0x036e
        L_0x0383:
            java.util.List r5 = (java.util.List) r5
            java.util.Iterator r2 = r5.iterator()
        L_0x0389:
            boolean r0 = r2.hasNext()
            if (r0 == 0) goto L_0x039e
            java.lang.Object r1 = r2.next()
            java.lang.Class r1 = (java.lang.Class) r1
            X.M12.LIZ(r1)
            r0 = r19
            r8.LIZ((java.lang.Class<?>) r1, (X.2up) r0)
            goto L_0x0389
        L_0x039e:
            java.lang.Class r7 = r7.getSuperclass()
            if (r7 == 0) goto L_0x03b9
            goto L_0x035c
        L_0x03a5:
            X.7eS r1 = new X.7eS
            r0 = 0
            r1.<init>(r2, r0)
            java.util.Map<X.7eS, X.2up> r0 = r4.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x03b9
            goto L_0x0354
        L_0x03b4:
            int r3 = r3 + 1
            goto L_0x0341
        L_0x03b7:
            r2 = 0
            goto L_0x0350
        L_0x03b9:
            X.0CD r2 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setSourceContentId$$inlined$setAssemServiceState$1 r1 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setSourceContentId$$inlined$setAssemServiceState$1
            r0 = r16
            r1.<init>(r9, r15, r0)
            r2.LIZ(r1)
            java.lang.Object r1 = r9.element
            X.CxE r1 = (X.CxE) r1
            r0 = r16
            r0.LIZ((X.0CH) r15, (X.CxE) r1)
        L_0x03d0:
            java.lang.Object r1 = r9.element
            X.CxE r1 = (X.CxE) r1
            java.lang.Object r0 = X.Lea.LJII(r10)
            java.util.Objects.requireNonNull(r0, r12)
            java.lang.Class r0 = (java.lang.Class) r0
            r1.LIZ(r0, r11)
            goto L_0x0081
        L_0x03e2:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            r0 = r17
            r1.<init>(r0)
            throw r1
        L_0x03ea:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            r0 = r17
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(android.view.View):void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x0137, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00dd;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZIZ(java.lang.String r15) {
        /*
            r14 = this;
            r6 = r14
            r0 = r15
            r6.LJJ = r0
            X.Dxh r3 = new X.Dxh
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x001c
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x001d
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x001d
        L_0x001c:
            return
        L_0x001d:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x002d:
            if (r4 >= r7) goto L_0x0042
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x003f
            r5.add(r2)
        L_0x003f:
            int r4 = r4 + 1
            goto L_0x002d
        L_0x0042:
            java.util.List r5 = (java.util.List) r5
        L_0x0044:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0076
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0166
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x005e:
            if (r4 >= r7) goto L_0x0073
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0070
            r5.add(r2)
        L_0x0070:
            int r4 = r4 + 1
            goto L_0x005e
        L_0x0073:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0044
        L_0x0076:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x007f
            kotlin.h.b.n.LIZIZ()
        L_0x007f:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0152
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00aa
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00aa:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00c9:
            r8 = 0
            if (r9 >= r10) goto L_0x013d
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013a
        L_0x00d9:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x012c
        L_0x00dd:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r6.getClass()
        L_0x00e5:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x013f
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x00f7:
            if (r8 >= r11) goto L_0x010c
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0109
            r12.add(r7)
        L_0x0109:
            int r8 = r8 + 1
            goto L_0x00f7
        L_0x010c:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0112:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0125
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0112
        L_0x0125:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x013f
            goto L_0x00e5
        L_0x012c:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x013f
            goto L_0x00dd
        L_0x013a:
            int r9 = r9 + 1
            goto L_0x00c9
        L_0x013d:
            r7 = r8
            goto L_0x00d9
        L_0x013f:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setPreviousPage$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setPreviousPage$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0152:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001c
        L_0x0166:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZIZ(java.lang.String):void");
    }

    /* JADX WARNING: type inference failed for: r4v0, types: [X.0CH, com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: Code restructure failed: missing block: B:88:0x01c5, code lost:
        if (r13.LIZIZ.containsKey(new X.7eS(r8, (java.lang.String) null)) == false) goto L_0x016a;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZJ(boolean r16) {
        /*
            r15 = this;
            r4 = r15
            boolean r0 = X.C2934Dxq.LIZ
            if (r0 == 0) goto L_0x000d
            r0 = 5000(0x1388, double:2.4703E-320)
            X.8aD.LIZ(r0)
            X.8aD.LIZJ(r0)
        L_0x000d:
            X.Dxe r1 = r4.LJJIJIIJIL
            X.Dxe r0 = X.C2922Dxe.LOAD_DONE
            r9 = 0
            if (r1 != r0) goto L_0x0032
            java.lang.Class<X.DxG> r1 = X.C2898DxG.class
            X.KEN r0 = X.KEM.LIZ
            X.D1G r0 = r0.LIZ(r1)
            X.2up r1 = X.CxC.LIZLLL((androidx.fragment.app.Fragment) r4, (X.D1G) r0)
            X.DxG r1 = (X.C2898DxG) r1
            if (r1 == 0) goto L_0x0029
            java.lang.String r0 = r4.LIZ
            r1.LIZ(r0)
        L_0x0029:
            if (r16 != 0) goto L_0x0031
            java.lang.String r1 = X.C2935Dxr.LIZ
            r0 = 6
            X.2or.LIZ(r1, r9, r0)
        L_0x0031:
            return
        L_0x0032:
            X.Dxe r1 = r4.LJJIJIIJIL
            X.Dxe r0 = X.C2922Dxe.LOAD_ING
            if (r1 != r0) goto L_0x0039
            return
        L_0x0039:
            boolean r0 = X.C2934Dxq.LJ
            if (r0 == 0) goto L_0x0040
            r15.LIZLLL()
        L_0x0040:
            android.os.Bundle r0 = r15.getArguments()
            r5 = 1
            if (r0 == 0) goto L_0x01f4
            java.lang.String r1 = "is_first_time"
            boolean r0 = r0.containsKey(r1)
            if (r0 != r5) goto L_0x01f4
            android.os.Bundle r0 = r15.getArguments()
            if (r0 == 0) goto L_0x0058
            r0.remove(r1)
        L_0x0058:
            X.DTh r3 = X.C1281DTh.LIZ
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x006c
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x00ab
            boolean r0 = r0.isFinishing()
            if (r0 != r5) goto L_0x00ab
        L_0x006c:
            java.lang.String r0 = r4.LIZ
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 == 0) goto L_0x007c
            java.lang.String r0 = r4.LJJII
            boolean r0 = android.text.TextUtils.isEmpty(r0)
            if (r0 != 0) goto L_0x009e
        L_0x007c:
            java.lang.String r0 = "setUserData"
            r4.LJFF(r0)
            java.lang.Class<X.DGB> r1 = X.DGB.class
            X.KEN r0 = X.KEM.LIZ
            X.D1G r0 = r0.LIZ(r1)
            X.CxD r2 = X.CxC.LIZIZ((androidx.fragment.app.Fragment) r4, r0)
            X.DGB r2 = (X.DGB) r2
            if (r2 == 0) goto L_0x0097
            X.BbQ r1 = X.BbQ.CHANGE_TAB
            r0 = 1
            X.DGC.LIZ(r2, r1, r0)
        L_0x0097:
            r0 = -1
            r4.LJIILL = r0
            X.Dxe r0 = X.C2922Dxe.LOAD_ING
            r4.LJJIJIIJIL = r0
        L_0x009e:
            boolean r0 = X.C2934Dxq.LIZIZ
            if (r0 == 0) goto L_0x0201
            X.DTg r0 = new X.DTg
            r0.<init>(r4)
            X.8aD.LIZ(r0)
            return
        L_0x00ab:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r10 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r10.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x00bb:
            if (r6 >= r7) goto L_0x00d0
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x00cd
            r5.add(r2)
        L_0x00cd:
            int r6 = r6 + 1
            goto L_0x00bb
        L_0x00d0:
            java.util.List r5 = (java.util.List) r5
        L_0x00d2:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x0104
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x0211
            java.lang.Class[] r8 = r10.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x00ec:
            if (r6 >= r7) goto L_0x0101
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x00fe
            r5.add(r2)
        L_0x00fe:
            int r6 = r6 + 1
            goto L_0x00ec
        L_0x0101:
            java.util.List r5 = (java.util.List) r5
            goto L_0x00d2
        L_0x0104:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x010d
            kotlin.h.b.n.LIZIZ()
        L_0x010d:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r6 = r1.LIZ(r0)
            X.M12.LIZ(r6)
            com.bytedance.assem.arch.core.Assembler r6 = (com.bytedance.assem.arch.core.Assembler) r6
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r6.LIZJ(r4)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x01e0
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x0138
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x0138:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r6.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r13 = r2.element
            X.CxE r13 = (X.CxE) r13
            r7 = r4
            java.lang.Class r0 = r7.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r11 = r12.length
            r10 = 0
        L_0x0157:
            if (r10 >= r11) goto L_0x01cb
            r8 = r12[r10]
            r1 = r8
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x01c8
        L_0x0166:
            java.lang.Class r8 = (java.lang.Class) r8
            if (r8 != 0) goto L_0x01ba
        L_0x016a:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r7.getClass()
        L_0x0172:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x01cd
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x0184:
            if (r8 >= r11) goto L_0x019a
            r14 = r13[r8]
            r1 = r14
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0196
            r12.add(r14)
        L_0x0196:
            int r8 = r8 + 1
            r0 = 1
            goto L_0x0184
        L_0x019a:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x01a0:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x01b3
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r7)
            goto L_0x01a0
        L_0x01b3:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x01cd
            goto L_0x0172
        L_0x01ba:
            X.7eS r1 = new X.7eS
            r1.<init>(r8, r9)
            java.util.Map<X.7eS, X.2up> r0 = r13.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x01cd
            goto L_0x016a
        L_0x01c8:
            int r10 = r10 + 1
            goto L_0x0157
        L_0x01cb:
            r8 = r9
            goto L_0x0166
        L_0x01cd:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setUserData$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setUserData$$inlined$setAssemServiceState$1
            r0.<init>(r2, r4, r6)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r6.LIZ((X.0CH) r4, (X.CxE) r0)
        L_0x01e0:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x006c
        L_0x01f4:
            X.Dxu r2 = X.C2938Dxu.LIZIZ
            X.DyL r1 = r2.LIZ()
            java.lang.String r0 = r4.LJJ
            r2.LIZ(r1, r0)
            goto L_0x0058
        L_0x0201:
            X.DTA r3 = X.DTA.LIZ
            java.lang.String r2 = r4.LIZ
            if (r2 != 0) goto L_0x0209
            java.lang.String r2 = ""
        L_0x0209:
            java.lang.String r1 = "others_homepage"
            java.lang.String r0 = "request"
            r3.LIZ((java.lang.String) r1, (java.lang.String) r2, (java.lang.String) r0)
            return
        L_0x0211:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZJ(boolean):void");
    }

    /* JADX WARNING: Code restructure failed: missing block: B:57:0x014b, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r8, (java.lang.String) null)) == false) goto L_0x00f1;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZLLL(java.lang.String r16) {
        /*
            r15 = this;
            r4 = r15
            r5 = r16
            r4.LJJIIZ = r5
            X.Dxg r3 = new X.Dxg
            r3.<init>(r5)
            X.1hK r0 = r15.getActivity()
            if (r0 == 0) goto L_0x001d
            X.1hK r0 = r15.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x0031
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x0031
        L_0x001d:
            java.lang.Class<X.Dxo> r1 = X.C2932Dxo.class
            X.KEN r0 = X.KEM.LIZ
            X.D1G r0 = r0.LIZ(r1)
            X.2up r0 = X.CxC.LIZLLL((androidx.fragment.app.Fragment) r4, (X.D1G) r0)
            X.Dxo r0 = (X.C2932Dxo) r0
            if (r0 == 0) goto L_0x0030
            r0.LIZ(r5)
        L_0x0030:
            return
        L_0x0031:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r10 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r9 = r10.getInterfaces()
            X.M12.LIZ(r9)
            java.util.ArrayList r6 = new java.util.ArrayList
            r6.<init>()
            int r8 = r9.length
            r7 = 0
        L_0x0041:
            if (r7 >= r8) goto L_0x0056
            r2 = r9[r7]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0053
            r6.add(r2)
        L_0x0053:
            int r7 = r7 + 1
            goto L_0x0041
        L_0x0056:
            java.util.List r6 = (java.util.List) r6
        L_0x0058:
            boolean r0 = r6.isEmpty()
            if (r0 == 0) goto L_0x008a
            java.lang.Class r10 = r10.getSuperclass()
            if (r10 == 0) goto L_0x017a
            java.lang.Class[] r9 = r10.getInterfaces()
            X.M12.LIZ(r9)
            java.util.ArrayList r6 = new java.util.ArrayList
            r6.<init>()
            int r8 = r9.length
            r7 = 0
        L_0x0072:
            if (r7 >= r8) goto L_0x0087
            r2 = r9[r7]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0084
            r6.add(r2)
        L_0x0084:
            int r7 = r7 + 1
            goto L_0x0072
        L_0x0087:
            java.util.List r6 = (java.util.List) r6
            goto L_0x0058
        L_0x008a:
            X.1hK r0 = r15.getActivity()
            if (r0 != 0) goto L_0x0093
            kotlin.h.b.n.LIZIZ()
        L_0x0093:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r7 = r1.LIZ(r0)
            X.M12.LIZ(r7)
            com.bytedance.assem.arch.core.Assembler r7 = (com.bytedance.assem.arch.core.Assembler) r7
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r7.LIZJ(r4)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0166
            androidx.fragment.app.Fragment r0 = r15.getParentFragment()
            if (r0 != 0) goto L_0x00be
            X.1hK r0 = r15.requireActivity()
            X.M12.LIZ(r0)
        L_0x00be:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r7.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r4 = r4
            java.lang.Class r0 = r4.getClass()
            java.lang.Class[] r13 = r0.getInterfaces()
            X.M12.LIZ(r13)
            int r11 = r13.length
            r10 = 0
        L_0x00dd:
            r9 = 0
            if (r10 >= r11) goto L_0x0151
            r8 = r13[r10]
            r1 = r8
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x014e
        L_0x00ed:
            java.lang.Class r8 = (java.lang.Class) r8
            if (r8 != 0) goto L_0x0140
        L_0x00f1:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r4.getClass()
        L_0x00f9:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x0153
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x010b:
            if (r8 >= r11) goto L_0x0120
            r1 = r13[r8]
            r14 = r1
            java.lang.Class r14 = (java.lang.Class) r14
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r14)
            if (r0 == 0) goto L_0x011d
            r12.add(r1)
        L_0x011d:
            int r8 = r8 + 1
            goto L_0x010b
        L_0x0120:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0126:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x0139
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r4)
            goto L_0x0126
        L_0x0139:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0153
            goto L_0x00f9
        L_0x0140:
            X.7eS r1 = new X.7eS
            r1.<init>(r8, r9)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0153
            goto L_0x00f1
        L_0x014e:
            int r10 = r10 + 1
            goto L_0x00dd
        L_0x0151:
            r8 = r9
            goto L_0x00ed
        L_0x0153:
            X.0CD r1 = r15.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setFeedsAwemeId$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setFeedsAwemeId$$inlined$setAssemServiceState$1
            r0.<init>(r2, r4, r7)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r7.LIZ((X.0CH) r4, (X.CxE) r0)
        L_0x0166:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r6)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x001d
        L_0x017a:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZLLL(java.lang.String):void");
    }

    /* JADX WARNING: type inference failed for: r4v1, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    /* JADX WARNING: type inference failed for: r4v4 */
    /* JADX WARNING: type inference failed for: r4v6 */
    /* JADX WARNING: type inference failed for: r4v7 */
    /* JADX WARNING: Code restructure failed: missing block: B:65:0x015d, code lost:
        if (r12.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x0103;
     */
    /* JADX WARNING: Code restructure failed: missing block: B:8:0x0021, code lost:
        if (r0.isFinishing() == true) goto L_0x0023;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(com.ss.android.ugc.aweme.feed.model.Aweme r15) {
        /*
            r14 = this;
            r4 = r14
            boolean r0 = r14.aq_()
            if (r0 != 0) goto L_0x0008
            return
        L_0x0008:
            r0 = r15
            r4.LJJIIJZLJL = r0
            X.Dxm r3 = new X.Dxm
            r3.<init>(r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x0023
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x0043
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x0043
        L_0x0023:
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r4.LJJIIJZLJL
            if (r0 != 0) goto L_0x002a
            kotlin.h.b.n.LIZIZ()
        L_0x002a:
            com.ss.android.ugc.aweme.profile.model.User r1 = r0.getAuthor()
            r0 = 0
            boolean r0 = X.ESC.LIZIZ(r1, r0)
            r4.LJIIL = r0
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r4.LJJIIJZLJL
            if (r0 != 0) goto L_0x003c
            kotlin.h.b.n.LIZIZ()
        L_0x003c:
            com.ss.android.ugc.aweme.friends.model.MutualStruct r0 = r0.getMutualRelation()
            r4.LJJIFFI = r0
            return
        L_0x0043:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x0053:
            if (r6 >= r7) goto L_0x0068
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0065
            r5.add(r2)
        L_0x0065:
            int r6 = r6 + 1
            goto L_0x0053
        L_0x0068:
            java.util.List r5 = (java.util.List) r5
        L_0x006a:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x009c
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x018c
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r6 = 0
        L_0x0084:
            if (r6 >= r7) goto L_0x0099
            r2 = r8[r6]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0096
            r5.add(r2)
        L_0x0096:
            int r6 = r6 + 1
            goto L_0x0084
        L_0x0099:
            java.util.List r5 = (java.util.List) r5
            goto L_0x006a
        L_0x009c:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x00a5
            kotlin.h.b.n.LIZIZ()
        L_0x00a5:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r6 = r1.LIZ(r0)
            X.M12.LIZ(r6)
            com.bytedance.assem.arch.core.Assembler r6 = (com.bytedance.assem.arch.core.Assembler) r6
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r6.LIZJ(r4)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0178
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00d0
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00d0:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r6.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r12 = r2.element
            X.CxE r12 = (X.CxE) r12
            r4 = r4
            java.lang.Class r0 = r4.getClass()
            java.lang.Class[] r11 = r0.getInterfaces()
            X.M12.LIZ(r11)
            int r10 = r11.length
            r9 = 0
        L_0x00ef:
            r8 = 0
            if (r9 >= r10) goto L_0x0163
            r7 = r11[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0160
        L_0x00ff:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x0152
        L_0x0103:
            java.lang.Object r10 = r2.element
            X.CxE r10 = (X.CxE) r10
            java.lang.Class r9 = r4.getClass()
        L_0x010b:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r9 == r0) goto L_0x0165
            java.lang.Class[] r13 = r9.getInterfaces()
            X.M12.LIZ(r13)
            java.util.ArrayList r12 = new java.util.ArrayList
            r12.<init>()
            int r11 = r13.length
            r8 = 0
        L_0x011d:
            if (r8 >= r11) goto L_0x0132
            r7 = r13[r8]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x012f
            r12.add(r7)
        L_0x012f:
            int r8 = r8 + 1
            goto L_0x011d
        L_0x0132:
            java.util.List r12 = (java.util.List) r12
            java.util.Iterator r1 = r12.iterator()
        L_0x0138:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x014b
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r10.LIZ((java.lang.Class<?>) r0, (X.2up) r4)
            goto L_0x0138
        L_0x014b:
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x0165
            goto L_0x010b
        L_0x0152:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r12.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0165
            goto L_0x0103
        L_0x0160:
            int r9 = r9 + 1
            goto L_0x00ef
        L_0x0163:
            r7 = r8
            goto L_0x00ff
        L_0x0165:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setmAweme$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$setmAweme$$inlined$setAssemServiceState$1
            r0.<init>(r2, r4, r6)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r6.LIZ((X.0CH) r4, (X.CxE) r0)
        L_0x0178:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0023
        L_0x018c:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.LIZ(com.ss.android.ugc.aweme.feed.model.Aweme):void");
    }

    /* JADX WARNING: type inference failed for: r4v0, types: [com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2, androidx.fragment.app.Fragment, com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2] */
    public final void onViewCreated(View view, Bundle bundle) {
        String str;
        int i;
        1hK activity;
        Boolean valueOf;
        String string;
        Integer LJ;
        M12.LIZ(view);
        Bundle arguments = getArguments();
        if (arguments == null || (str = arguments.getString("extra_previous_page")) == null) {
            str = "";
        }
        this.LJJ = str;
        Bundle arguments2 = getArguments();
        if (arguments2 == null || (string = arguments2.getString("profile_from_scene")) == null || (LJ = 2tE.LJ(string)) == null) {
            i = 0;
        } else {
            i = LJ.intValue();
        }
        this.LJJIL = i;
        I18nUserProfileFragmentV2.super.onViewCreated(view, bundle);
        this.LJJJI = true;
        LJIIZILJ();
        C2938Dxu dxu = C2938Dxu.LIZIZ;
        dxu.LIZ(dxu.LIZ(), this.LJJ);
        Bundle arguments3 = getArguments();
        if (arguments3 == null || (valueOf = Boolean.valueOf(arguments3.getBoolean("delay_profile_loading"))) == null || !valueOf.booleanValue()) {
            try {
                LJFF("onViewCreated verify assem");
                ((DGB) CxC.LIZ((Fragment) this, KEM.LIZ.LIZ(DGB.class))).LIZ(this.LJJIL, BbQ.CHANGE_TAB);
            } catch (Exception e) {
                2kf.LIZIZ("I18nUserProfileFragmentV2", "ProfileInfoService can't be find: ".concat(String.valueOf(e)));
                ((UserProfileInfoVM) this.LJJJ.getValue()).LIZ(this.LJJIL, BbQ.CHANGE_TAB);
            }
        }
        if (this.LJJIJLIJ && (activity = getActivity()) != null) {
            2I5 r0 = ScrollSwitchStateManager.LJIILL;
            n.LIZIZ(activity, "");
            r0.LIZ(activity).LIZLLL(this, new C1282DTi(this));
        }
    }

    /* JADX WARNING: Code restructure failed: missing block: B:54:0x013c, code lost:
        if (r11.LIZIZ.containsKey(new X.7eS(r7, (java.lang.String) null)) == false) goto L_0x00e2;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void onActivityResult(int r15, int r16, android.content.Intent r17) {
        /*
            r14 = this;
            r6 = r14
            r1 = r16
            r0 = r17
            r2 = r15
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.super.onActivityResult(r2, r1, r0)
            X.DLa r3 = new X.DLa
            r3.<init>(r2, r1, r0)
            X.1hK r0 = r14.getActivity()
            if (r0 == 0) goto L_0x0021
            X.1hK r0 = r14.getActivity()
            r1 = 1
            if (r0 == 0) goto L_0x0022
            boolean r0 = r0.isFinishing()
            if (r0 != r1) goto L_0x0022
        L_0x0021:
            return
        L_0x0022:
            java.lang.Class<com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2> r9 = com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.class
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0032:
            if (r4 >= r7) goto L_0x0047
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0044
            r5.add(r2)
        L_0x0044:
            int r4 = r4 + 1
            goto L_0x0032
        L_0x0047:
            java.util.List r5 = (java.util.List) r5
        L_0x0049:
            boolean r0 = r5.isEmpty()
            if (r0 == 0) goto L_0x007b
            java.lang.Class r9 = r9.getSuperclass()
            if (r9 == 0) goto L_0x016b
            java.lang.Class[] r8 = r9.getInterfaces()
            X.M12.LIZ(r8)
            java.util.ArrayList r5 = new java.util.ArrayList
            r5.<init>()
            int r7 = r8.length
            r4 = 0
        L_0x0063:
            if (r4 >= r7) goto L_0x0078
            r2 = r8[r4]
            r1 = r2
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.CxD> r0 = X.CxD.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x0075
            r5.add(r2)
        L_0x0075:
            int r4 = r4 + 1
            goto L_0x0063
        L_0x0078:
            java.util.List r5 = (java.util.List) r5
            goto L_0x0049
        L_0x007b:
            X.1hK r0 = r14.getActivity()
            if (r0 != 0) goto L_0x0084
            kotlin.h.b.n.LIZIZ()
        L_0x0084:
            X.0Bx r1 = LIZ((X.1hK) r0)
            java.lang.Class<com.bytedance.assem.arch.core.Assembler> r0 = com.bytedance.assem.arch.core.Assembler.class
            X.0Bt r4 = r1.LIZ(r0)
            X.M12.LIZ(r4)
            com.bytedance.assem.arch.core.Assembler r4 = (com.bytedance.assem.arch.core.Assembler) r4
            X.2sG r2 = new X.2sG
            r2.<init>()
            X.CxE r0 = r4.LIZJ(r6)
            r2.element = r0
            java.lang.Object r0 = r2.element
            if (r0 != 0) goto L_0x0157
            androidx.fragment.app.Fragment r0 = r14.getParentFragment()
            if (r0 != 0) goto L_0x00af
            X.1hK r0 = r14.requireActivity()
            X.M12.LIZ(r0)
        L_0x00af:
            X.0CH r0 = (X.0CH) r0
            X.CxE r1 = r4.LIZJ(r0)
            X.CxE r0 = new X.CxE
            r0.<init>(r1)
            r2.element = r0
            java.lang.Object r11 = r2.element
            X.CxE r11 = (X.CxE) r11
            r6 = r6
            java.lang.Class r0 = r6.getClass()
            java.lang.Class[] r12 = r0.getInterfaces()
            X.M12.LIZ(r12)
            int r10 = r12.length
            r9 = 0
        L_0x00ce:
            r8 = 0
            if (r9 >= r10) goto L_0x0142
            r7 = r12[r9]
            r1 = r7
            java.lang.Class r1 = (java.lang.Class) r1
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r1)
            if (r0 == 0) goto L_0x013f
        L_0x00de:
            java.lang.Class r7 = (java.lang.Class) r7
            if (r7 != 0) goto L_0x0131
        L_0x00e2:
            java.lang.Object r9 = r2.element
            X.CxE r9 = (X.CxE) r9
            java.lang.Class r8 = r6.getClass()
        L_0x00ea:
            java.lang.Class<java.lang.Object> r0 = java.lang.Object.class
            if (r8 == r0) goto L_0x0144
            java.lang.Class[] r12 = r8.getInterfaces()
            X.M12.LIZ(r12)
            java.util.ArrayList r11 = new java.util.ArrayList
            r11.<init>()
            int r10 = r12.length
            r7 = 0
        L_0x00fc:
            if (r7 >= r10) goto L_0x0111
            r1 = r12[r7]
            r13 = r1
            java.lang.Class r13 = (java.lang.Class) r13
            java.lang.Class<X.2up> r0 = X.2up.class
            boolean r0 = r0.isAssignableFrom(r13)
            if (r0 == 0) goto L_0x010e
            r11.add(r1)
        L_0x010e:
            int r7 = r7 + 1
            goto L_0x00fc
        L_0x0111:
            java.util.List r11 = (java.util.List) r11
            java.util.Iterator r1 = r11.iterator()
        L_0x0117:
            boolean r0 = r1.hasNext()
            if (r0 == 0) goto L_0x012a
            java.lang.Object r0 = r1.next()
            java.lang.Class r0 = (java.lang.Class) r0
            X.M12.LIZ(r0)
            r9.LIZ((java.lang.Class<?>) r0, (X.2up) r6)
            goto L_0x0117
        L_0x012a:
            java.lang.Class r8 = r8.getSuperclass()
            if (r8 == 0) goto L_0x0144
            goto L_0x00ea
        L_0x0131:
            X.7eS r1 = new X.7eS
            r1.<init>(r7, r8)
            java.util.Map<X.7eS, X.2up> r0 = r11.LIZIZ
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0144
            goto L_0x00e2
        L_0x013f:
            int r9 = r9 + 1
            goto L_0x00ce
        L_0x0142:
            r7 = r8
            goto L_0x00de
        L_0x0144:
            X.0CD r1 = r14.getLifecycle()
            com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$onActivityResult$$inlined$setAssemServiceState$1 r0 = new com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2$onActivityResult$$inlined$setAssemServiceState$1
            r0.<init>(r2, r6, r4)
            r1.LIZ(r0)
            java.lang.Object r0 = r2.element
            X.CxE r0 = (X.CxE) r0
            r4.LIZ((X.0CH) r6, (X.CxE) r0)
        L_0x0157:
            java.lang.Object r2 = r2.element
            X.CxE r2 = (X.CxE) r2
            java.lang.Object r1 = X.Lea.LJII(r5)
            java.lang.String r0 = "null cannot be cast to non-null type java.lang.Class<out com.bytedance.assem.arch.service.AssemObservableService<DATA of com.bytedance.assem.arch.service.AssemServiceExtKt.setAssemServiceState>>"
            java.util.Objects.requireNonNull(r1, r0)
            java.lang.Class r1 = (java.lang.Class) r1
            r2.LIZ(r1, r3)
            goto L_0x0021
        L_0x016b:
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = "Can not find target interface."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.profile.ui.v2.I18nUserProfileFragmentV2.onActivityResult(int, int, android.content.Intent):void");
    }
}
