package defpackage;

import kotlin.KotlinNullPointerException;
import kotlinx.coroutines.DispatchException;
import retrofit2.HttpException;

/* JADX INFO: renamed from: ˉᵛᵠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C1221 implements InterfaceC2564, InterfaceC2942 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final /* synthetic */ C3453 f5172;

    @Override // defpackage.InterfaceC2564
    /* JADX INFO: renamed from: ᵨᵣ */
    public void mo2772(Throwable th) throws DispatchException {
        this.f5172.mo3530(new C2586(th));
    }

    @Override // defpackage.InterfaceC2564
    /* JADX INFO: renamed from: ᵯᵷʽ */
    public void mo2776(InterfaceC4415 interfaceC4415, C1034 c1034) throws DispatchException {
        boolean z = c1034.f4488.f4783;
        C3453 c3453 = this.f5172;
        if (!z) {
            c3453.mo3530(new C2586(new HttpException(c1034)));
            return;
        }
        Object obj = c1034.f4487;
        if (obj != null) {
            c3453.mo3530(obj);
            return;
        }
        C4402 c4402Mo2619 = interfaceC4415.mo2619();
        c4402Mo2619.getClass();
        C4397 c4397M7898 = AbstractC3463.m7898(C0351.class);
        C0351 c0351 = (C0351) c4397M7898.f16695.cast(c4402Mo2619.f16707.ˊᵙᵾᵲ(c4397M7898));
        c3453.mo3530(new C2586(new KotlinNullPointerException("Response from " + c0351.f2132.getName() + '.' + c0351.f2131.getName() + " was null but response body type was declared as non-null")));
    }

    @Override // defpackage.InterfaceC2942
    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public void mo3700(C1300 c1300) throws DispatchException {
        Exception excM3830 = c1300.m3830();
        if (excM3830 != null) {
            this.f5172.mo3530(new C2586(excM3830));
            return;
        }
        boolean z = c1300.f5423;
        C3453 c3453 = this.f5172;
        if (z) {
            c3453.m7885(null);
        } else {
            c3453.mo3530(c1300.m3826());
        }
    }
}
