package A4;

import java.util.Map;
import n4.u0;
import x4.C1717b;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class e implements x4.d {

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

    @Override // x4.InterfaceC1716a
    public final void a(Object obj, Object obj2) {
        switch (this.f400a) {
            case u0.f15495q /* 0 */:
                Map.Entry entry = (Map.Entry) obj;
                x4.e eVar = (x4.e) obj2;
                eVar.d(f.f402g, entry.getKey());
                eVar.d(f.f403h, entry.getValue());
                return;
            case 1:
                throw new C1717b("Couldn't find encoder for type " + obj.getClass().getCanonicalName());
            default:
                throw new C1717b("Couldn't find encoder for type " + obj.getClass().getCanonicalName());
        }
    }
}
