package defpackage;

/* renamed from: ᵣˁʾ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3339 extends AbstractC0246 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final /* synthetic */ ˁˈᵸ f12450;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f12451;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ String f12452;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final /* synthetic */ C5371 f12453;

    public /* synthetic */ C3339(C5371 c5371, String str, ˁˈᵸ r3, int i) {
        this.f12451 = i;
        this.f12453 = c5371;
        this.f12452 = str;
        this.f12450 = r3;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public void m7729() {
        this.f12453.m11026(this.f12452);
    }

    @Override // defpackage.AbstractC0246
    /* renamed from: ᵴᵳ */
    public final void mo1569(Object obj, ᵱᵞᵪ r8) throws Exception {
        int i = this.f12451;
        String str = this.f12452;
        C5371 c5371 = this.f12453;
        ˁˈᵸ r6 = this.f12450;
        switch (i) {
            case 0:
                Integer num = (Integer) c5371.f20144.get(str);
                if (num == null) {
                    C3994.m8825("Attempting to launch an unregistered ActivityResultLauncher with contract ", r6, " and input ", obj, ". You must ensure the ActivityResultLauncher is registered before calling launch().");
                    return;
                }
                c5371.f20146.add(str);
                try {
                    c5371.m11029(num.intValue(), r6, obj, r8);
                    return;
                } catch (Exception e) {
                    c5371.f20146.remove(str);
                    throw e;
                }
            default:
                Integer num2 = (Integer) c5371.f20144.get(str);
                if (num2 == null) {
                    C3994.m8825("Attempting to launch an unregistered ActivityResultLauncher with contract ", r6, " and input ", obj, ". You must ensure the ActivityResultLauncher is registered before calling launch().");
                    return;
                }
                c5371.f20146.add(str);
                try {
                    c5371.m11029(num2.intValue(), r6, obj, r8);
                    return;
                } catch (Exception e2) {
                    c5371.f20146.remove(str);
                    throw e2;
                }
        }
    }
}
