package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.wZ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2815wZ implements InterfaceC3023yi0 {
    public boolean a = false;
    public boolean b = false;
    public C0412Px c;
    public final C2720vZ d;

    public C2815wZ(C2720vZ c2720vZ) {
        this.d = c2720vZ;
    }

    @Override // o.InterfaceC3023yi0
    public final InterfaceC3023yi0 e(String str) {
        if (this.a) {
            throw new C0644Yv("Cannot encode a second value in the ValueEncoderContext");
        }
        this.a = true;
        this.d.h(this.c, str, this.b);
        return this;
    }

    @Override // o.InterfaceC3023yi0
    public final InterfaceC3023yi0 f(boolean z) {
        if (this.a) {
            throw new C0644Yv("Cannot encode a second value in the ValueEncoderContext");
        }
        this.a = true;
        this.d.f(this.c, z ? 1 : 0, this.b);
        return this;
    }
}
