package h.b.p.a0;

/* JADX INFO: compiled from: Composers.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class f extends e {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final boolean f4516c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public f(x xVar, boolean z) {
        super(xVar);
        g.h0.c.l.f(xVar, "writer");
        this.f4516c = z;
    }

    @Override // h.b.p.a0.e
    public void c(byte b2) {
        boolean z = this.f4516c;
        String strA = g.q.a(b2);
        if (z) {
            h(strA);
        } else {
            f(strA);
        }
    }

    @Override // h.b.p.a0.e
    public void d(int i2) {
        boolean z = this.f4516c;
        String unsignedString = Integer.toUnsignedString(i2);
        if (z) {
            h(unsignedString);
        } else {
            f(unsignedString);
        }
    }

    @Override // h.b.p.a0.e
    public void e(long j2) {
        boolean z = this.f4516c;
        String unsignedString = Long.toUnsignedString(j2);
        if (z) {
            h(unsignedString);
        } else {
            f(unsignedString);
        }
    }

    @Override // h.b.p.a0.e
    public void g(short s) {
        boolean z = this.f4516c;
        String strA = g.x.a(s);
        if (z) {
            h(strA);
        } else {
            f(strA);
        }
    }
}
