package K4;

import r4.AbstractC0983h;

/* JADX INFO: loaded from: classes.dex */
public final class t {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public F3.e f1211a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public s f1212b;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public String f1214d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public k f1215e;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public w f1217g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public u f1218h;
    public u i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public u f1219j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public long f1220k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public long f1221l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public O4.c f1222m;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public int f1213c = -1;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public l f1216f = new l(0);

    public static void b(u uVar, String str) {
        if (uVar == null) {
            return;
        }
        if (uVar.q != null) {
            throw new IllegalArgumentException(AbstractC0983h.h(str, ".body != null").toString());
        }
        if (uVar.f1228r != null) {
            throw new IllegalArgumentException(AbstractC0983h.h(str, ".networkResponse != null").toString());
        }
        if (uVar.f1229s != null) {
            throw new IllegalArgumentException(AbstractC0983h.h(str, ".cacheResponse != null").toString());
        }
        if (uVar.f1230t != null) {
            throw new IllegalArgumentException(AbstractC0983h.h(str, ".priorResponse != null").toString());
        }
    }

    public final u a() {
        int i = this.f1213c;
        if (i < 0) {
            throw new IllegalStateException(AbstractC0983h.h("code < 0: ", Integer.valueOf(i)).toString());
        }
        F3.e eVar = this.f1211a;
        if (eVar == null) {
            throw new IllegalStateException("request == null");
        }
        s sVar = this.f1212b;
        if (sVar == null) {
            throw new IllegalStateException("protocol == null");
        }
        String str = this.f1214d;
        if (str != null) {
            return new u(eVar, sVar, str, i, this.f1215e, this.f1216f.b(), this.f1217g, this.f1218h, this.i, this.f1219j, this.f1220k, this.f1221l, this.f1222m);
        }
        throw new IllegalStateException("message == null");
    }
}
