package g2;

import java.io.IOException;

/* JADX INFO: compiled from: BERApplicationSpecificParser.java */
/* JADX INFO: loaded from: classes.dex */
public class a0 implements d, s1 {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private final int f4671e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private final w f4672f;

    a0(int i3, w wVar) {
        this.f4671e = i3;
        this.f4672f = wVar;
    }

    @Override // g2.s1
    public s a() throws IOException {
        return new z(this.f4671e, this.f4672f.d());
    }

    @Override // g2.d
    public s c() {
        try {
            return a();
        } catch (IOException e3) {
            throw new r(e3.getMessage(), e3);
        }
    }
}
