package o;

import android.widget.LinearLayout;
import ir.devixor.app.service.ForegroundService;
import java.io.File;
import java.io.UnsupportedEncodingException;
import org.json.JSONException;
import org.json.JSONObject;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Vc, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0547Vc extends Sb0 implements SC {
    public final /* synthetic */ int p;
    public /* synthetic */ Object q;
    public final /* synthetic */ Object r;
    public final /* synthetic */ Object s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C0547Vc(Object obj, Object obj2, Object obj3, InterfaceC0220Im interfaceC0220Im, int i) {
        super(2, interfaceC0220Im);
        this.p = i;
        this.q = obj;
        this.r = obj2;
        this.s = obj3;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) throws JSONException, UnsupportedEncodingException {
        InterfaceC0065Cn interfaceC0065Cn = (InterfaceC0065Cn) obj;
        InterfaceC0220Im interfaceC0220Im = (InterfaceC0220Im) obj2;
        switch (this.p) {
            case 0:
                C0547Vc c0547Vc = (C0547Vc) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh0 = Oh0.a;
                c0547Vc.n(oh0);
                break;
            case 1:
                C0547Vc c0547Vc2 = (C0547Vc) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh02 = Oh0.a;
                c0547Vc2.n(oh02);
                break;
            case 2:
                C0547Vc c0547Vc3 = (C0547Vc) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh03 = Oh0.a;
                c0547Vc3.n(oh03);
                break;
        }
        return ((C0547Vc) l(interfaceC0065Cn, interfaceC0220Im)).n(Oh0.a);
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.p) {
            case 0:
                return new C0547Vc((C0599Xc) this.q, (LinearLayout) this.r, (LinearLayout) this.s, interfaceC0220Im, 0);
            case 1:
                return new C0547Vc((ForegroundService) this.q, (String) this.r, (File) this.s, interfaceC0220Im, 1);
            case 2:
                C0547Vc c0547Vc = new C0547Vc((ForegroundService) this.r, (JSONObject) this.s, interfaceC0220Im, 2);
                c0547Vc.q = obj;
                return c0547Vc;
            case 3:
                C0547Vc c0547Vc2 = new C0547Vc((ForegroundService) this.r, (File) this.s, interfaceC0220Im, 3);
                c0547Vc2.q = obj;
                return c0547Vc2;
            default:
                C0547Vc c0547Vc3 = new C0547Vc((MX) this.r, (Bd0) this.s, interfaceC0220Im, 4);
                c0547Vc3.q = obj;
                return c0547Vc3;
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:32:0x0090  */
    /* JADX WARN: Type inference failed for: r13v0, types: [o.Im] */
    /* JADX WARN: Type inference failed for: r13v10 */
    /* JADX WARN: Type inference failed for: r13v11 */
    /* JADX WARN: Type inference failed for: r13v3, types: [o.yV] */
    /* JADX WARN: Type inference failed for: r13v4 */
    /* JADX WARN: Type inference failed for: r13v8 */
    /* JADX WARN: Type inference failed for: r13v9 */
    /* JADX WARN: Type inference failed for: r6v5, types: [o.H20] */
    @Override // o.AbstractC0728ad
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object n(java.lang.Object r19) throws org.json.JSONException, java.io.UnsupportedEncodingException {
        /*
            Method dump skipped, instructions count: 888
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C0547Vc.n(java.lang.Object):java.lang.Object");
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C0547Vc(Object obj, Object obj2, InterfaceC0220Im interfaceC0220Im, int i) {
        super(2, interfaceC0220Im);
        this.p = i;
        this.r = obj;
        this.s = obj2;
    }
}
