package h.b.p.a0;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final h.b.p.a f4517c;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(x xVar, h.b.p.a aVar) {
        super(xVar);
        g.h0.c.l.f(xVar, "writer");
        g.h0.c.l.f(aVar, "json");
        this.f4517c = aVar;
    }

    @Override // h.b.p.a0.e
    public void a() {
        this.f4514b = true;
        this.f4518d++;
    }

    @Override // h.b.p.a0.e
    public void b() {
        this.f4514b = false;
        f("\n");
        int i2 = this.f4518d;
        for (int i3 = 0; i3 < i2; i3++) {
            f(this.f4517c.f4485b.f4567g);
        }
    }

    @Override // h.b.p.a0.e
    public void i() {
        this.a.a(' ');
    }

    @Override // h.b.p.a0.e
    public void j() {
        this.f4518d--;
    }
}
