package defpackage;

/* renamed from: ᵬᵢˌ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final /* synthetic */ class C4052 implements InterfaceC0362 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final /* synthetic */ String f15210;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f15211;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ int f15212;

    public /* synthetic */ C4052(int i, int i2, String str) {
        this.f15211 = i2;
        this.f15210 = str;
        this.f15212 = i;
    }

    public /* synthetic */ C4052(int i, String str) {
        this.f15211 = 2;
        this.f15212 = i;
        this.f15210 = str;
    }

    @Override // defpackage.InterfaceC0362
    /* renamed from: ᵴᵳ */
    public final Object mo1588(Object obj) throws Exception {
        InterfaceC1171 interfaceC1171Mo1850;
        C2450 c2450;
        int i = this.f15211;
        C3637 c3637 = C3637.f13536;
        String str = this.f15210;
        int i2 = this.f15212;
        switch (i) {
            case 0:
                interfaceC1171Mo1850 = ((InterfaceC3042) obj).mo1850("SELECT * FROM SystemIdInfo WHERE work_spec_id=? AND generation=?");
                try {
                    interfaceC1171Mo1850.mo3682(1, str);
                    interfaceC1171Mo1850.mo3680(i2, 2);
                    int i3 = ˉˇʨ.ᵳٴᵶ(interfaceC1171Mo1850, "work_spec_id");
                    int i4 = ˉˇʨ.ᵳٴᵶ(interfaceC1171Mo1850, "generation");
                    int i5 = ˉˇʨ.ᵳٴᵶ(interfaceC1171Mo1850, "system_id");
                    if (interfaceC1171Mo1850.mo3681()) {
                        c2450 = new C2450((int) interfaceC1171Mo1850.getLong(i4), (int) interfaceC1171Mo1850.getLong(i5), interfaceC1171Mo1850.mo3674(i3));
                    } else {
                        c2450 = null;
                    }
                    return c2450;
                } finally {
                }
            case 1:
                interfaceC1171Mo1850 = ((InterfaceC3042) obj).mo1850("UPDATE workspec SET next_schedule_time_override=9223372036854775807 WHERE (id=? AND next_schedule_time_override_generation=?)");
                try {
                    interfaceC1171Mo1850.mo3682(1, str);
                    interfaceC1171Mo1850.mo3680(i2, 2);
                    interfaceC1171Mo1850.mo3681();
                    return c3637;
                } finally {
                }
            default:
                interfaceC1171Mo1850 = ((InterfaceC3042) obj).mo1850("UPDATE workspec SET stop_reason=? WHERE id=?");
                try {
                    interfaceC1171Mo1850.mo3680(i2, 1);
                    interfaceC1171Mo1850.mo3682(2, str);
                    interfaceC1171Mo1850.mo3681();
                    return c3637;
                } finally {
                }
        }
    }
}
