package R1;

import O6.p;
import java.io.IOException;

/* JADX INFO: loaded from: classes.dex */
public final class b implements Q1.b, AutoCloseable {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final P.g f6028q;

    public b(P.g gVar) {
        this.f6028q = gVar;
    }

    @Override // java.lang.AutoCloseable
    public final void close() throws IOException {
        ((Y1.b) this.f6028q.f5246r).close();
    }

    @Override // Q1.b
    public final Object e0(boolean z8, p pVar, G6.c cVar) {
        Y1.b bVar = (Y1.b) this.f6028q.f5246r;
        bVar.getClass();
        return pVar.k(new d(new a(bVar.c0())), cVar);
    }
}
