package com.ss.android.ugc.aweme.compliance.privacy.settings.video;

import X.AnonymousClass3SI;
import X.C07562fU;
import com.bytedance.covode.number.Covode;
import com.bytedance.router.route.IRouteAction;

public final class PrivacySettingDialogRouter implements IRouteAction {
    static {
        Covode.recordClassIndex(61870);
    }

    public static void INVOKEVIRTUAL_com_ss_android_ugc_aweme_compliance_privacy_settings_video_PrivacySettingDialogRouter_com_ss_android_ugc_tiktok_security_lancet_DialogLancet_show(AnonymousClass3SI r1) {
        r1.show();
        C07562fU.LIZ.LIZ(r1);
    }

    /* JADX WARNING: Removed duplicated region for block: B:12:0x0017  */
    /* JADX WARNING: Removed duplicated region for block: B:9:0x0012  */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final java.lang.Object open(android.content.Context r8, java.lang.String r9, android.os.Bundle r10) {
        /*
            r7 = this;
            com.ss.android.ugc.aweme.feed.model.Aweme r4 = X.AnonymousClass43V.LIZ
            r6 = 0
            if (r4 != 0) goto L_0x0006
            return r6
        L_0x0006:
            if (r8 == 0) goto L_0x0073
        L_0x0008:
            boolean r0 = r8 instanceof android.app.Activity
            if (r0 == 0) goto L_0x0066
            android.app.Activity r8 = (android.app.Activity) r8
        L_0x000e:
            boolean r0 = r8 instanceof X.1hK
            if (r0 != 0) goto L_0x0013
            r8 = r6
        L_0x0013:
            X.1hK r8 = (X.1hK) r8
            if (r8 == 0) goto L_0x0065
            X.3SI r0 = new X.3SI
            r0.<init>(r8)
            INVOKEVIRTUAL_com_ss_android_ugc_aweme_compliance_privacy_settings_video_PrivacySettingDialogRouter_com_ss_android_ugc_tiktok_security_lancet_DialogLancet_show(r0)
            X.41h r5 = new X.41h
            r5.<init>(r0, r8, r4, r10)
            X.41q r3 = new X.41q
            r3.<init>(r0, r8)
            X.M12.LIZ(r4, r5, r3)
            java.lang.String r1 = r4.getAid()
            java.lang.String r0 = ""
            kotlin.h.b.n.LIZIZ(r1, r0)
            X.M12.LIZ(r1)
            X.Crj r0 = com.ss.android.ugc.aweme.compliance.privacy.data.PrivacyVideoRestrictionApi.LIZ
            java.lang.Object r0 = r0.getValue()
            com.ss.android.ugc.aweme.compliance.privacy.data.PrivacyVideoRestrictionApi$API r0 = (com.ss.android.ugc.aweme.compliance.privacy.data.PrivacyVideoRestrictionApi.API) r0
            X.PgU r1 = r0.fetchVideoRestriction(r1)
            X.PlG r0 = X.PlI.LIZJ
            X.PlG r0 = X.PhE.LIZIZ(r0)
            X.PgU r1 = r1.LIZIZ(r0)
            X.PlG r0 = X.Mk3.LIZ
            X.PlG r0 = X.Mk2.LIZ(r0)
            X.PgU r2 = r1.LIZ(r0)
            X.41m r1 = new X.41m
            r1.<init>(r4, r5, r3)
            X.42B r0 = new X.42B
            r0.<init>(r3)
            r2.LIZ(r1, r0)
        L_0x0065:
            return r6
        L_0x0066:
            boolean r0 = r8 instanceof android.content.ContextWrapper
            if (r0 == 0) goto L_0x0073
            android.content.ContextWrapper r8 = (android.content.ContextWrapper) r8
            android.content.Context r8 = r8.getBaseContext()
            if (r8 == 0) goto L_0x0073
            goto L_0x0008
        L_0x0073:
            r8 = r6
            goto L_0x000e
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.compliance.privacy.settings.video.PrivacySettingDialogRouter.open(android.content.Context, java.lang.String, android.os.Bundle):java.lang.Object");
    }
}
