package F7;

import java.lang.reflect.Method;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class G extends b0 {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ int f2606d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final Method f2607e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f2608f;

    public /* synthetic */ G(Method method, int i, int i5) {
        this.f2606d = i5;
        this.f2607e = method;
        this.f2608f = i;
    }

    @Override // F7.b0
    public final void a(P p3, Object obj) {
        switch (this.f2606d) {
            case u0.f15495q /* 0 */:
                k7.o oVar = (k7.o) obj;
                if (oVar == null) {
                    throw b0.o(this.f2607e, this.f2608f, "Headers parameter must not be null.", new Object[0]);
                }
                N0.c cVar = p3.f2636f;
                cVar.getClass();
                int size = oVar.size();
                for (int i = 0; i < size; i++) {
                    cVar.g(oVar.c(i), oVar.g(i));
                }
                return;
            default:
                if (obj == null) {
                    throw b0.o(this.f2607e, this.f2608f, "@Url parameter is null.", new Object[0]);
                }
                p3.f2633c = obj.toString();
                return;
        }
    }
}
