package defpackage;

import java.lang.reflect.Method;
import java.util.Map;

/* renamed from: ᵻᵧˁ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5215 extends ˋˌ {

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public final boolean f19454;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public final int f19455;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final Method f19456;

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

    public /* synthetic */ C5215(Method method, int i, boolean z, int i2) {
        this.f19457 = i2;
        this.f19456 = method;
        this.f19455 = i;
        this.f19454 = z;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m10775(C1607 c1607, Object obj) {
        int i = this.f19457;
        boolean z = this.f19454;
        Method method = this.f19456;
        int i2 = this.f19455;
        switch (i) {
            case 0:
                Map map = (Map) obj;
                if (map == null) {
                    throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Field map was null.", new Object[0]);
                }
                for (Map.Entry entry : map.entrySet()) {
                    String str = (String) entry.getKey();
                    if (str == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Field map contained null key.", new Object[0]);
                    }
                    Object value = entry.getValue();
                    if (value == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, AbstractC4486.m9550("Field map contained null value for key '", str, "'."), new Object[0]);
                    }
                    String string = value.toString();
                    if (string == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Field map value '" + value + "' converted to null by " + ᵥᵵ.class.getName() + " for key '" + str + "'.", new Object[0]);
                    }
                    c1607.m4595(str, string, z);
                }
                return;
            case 1:
                Map map2 = (Map) obj;
                if (map2 == null) {
                    throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Header map was null.", new Object[0]);
                }
                for (Map.Entry entry2 : map2.entrySet()) {
                    String str2 = (String) entry2.getKey();
                    if (str2 == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Header map contained null key.", new Object[0]);
                    }
                    Object value2 = entry2.getValue();
                    if (value2 == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, AbstractC4486.m9550("Header map contained null value for key '", str2, "'."), new Object[0]);
                    }
                    c1607.m4596(str2, value2.toString(), z);
                }
                return;
            default:
                Map map3 = (Map) obj;
                if (map3 == null) {
                    throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Query map was null", new Object[0]);
                }
                for (Map.Entry entry3 : map3.entrySet()) {
                    String str3 = (String) entry3.getKey();
                    if (str3 == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Query map contained null key.", new Object[0]);
                    }
                    Object value3 = entry3.getValue();
                    if (value3 == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, AbstractC4486.m9550("Query map contained null value for key '", str3, "'."), new Object[0]);
                    }
                    String string2 = value3.toString();
                    if (string2 == null) {
                        throw ᵯᵽᵦ.ᵧـˌᵎ(method, i2, "Query map value '" + value3 + "' converted to null by " + ᵥᵵ.class.getName() + " for key '" + str3 + "'.", new Object[0]);
                    }
                    c1607.m4597(str3, string2, z);
                }
                return;
        }
    }
}
