package yn;

/* loaded from: classes3.dex */
public final class q extends f implements io.m {

    /* renamed from: c, reason: collision with root package name */
    private final Enum f52896c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public q(ro.f fVar, Enum value) {
        super(fVar, null);
        kotlin.jvm.internal.t.g(value, "value");
        this.f52896c = value;
    }

    @Override // io.m
    public ro.b b() {
        Class<?> cls = this.f52896c.getClass();
        if (!cls.isEnum()) {
            cls = cls.getEnclosingClass();
        }
        kotlin.jvm.internal.t.d(cls);
        return d.a(cls);
    }

    @Override // io.m
    public ro.f d() {
        return ro.f.s(this.f52896c.name());
    }
}
