package B;

import G0.InterfaceC0273s;
import G0.InterfaceC0274t;
import h1.C2069a;

/* JADX INFO: renamed from: B.q0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0082q0 extends AbstractC0085s0 {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public EnumC0083r0 f360b;

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

    @Override // B.AbstractC0085s0, I0.InterfaceC0315y
    public final int maxIntrinsicHeight(InterfaceC0274t interfaceC0274t, InterfaceC0273s interfaceC0273s, int i6) {
        return this.f360b == EnumC0083r0.f365a ? interfaceC0273s.j0(i6) : interfaceC0273s.d(i6);
    }

    @Override // B.AbstractC0085s0, I0.InterfaceC0315y
    public final int minIntrinsicHeight(InterfaceC0274t interfaceC0274t, InterfaceC0273s interfaceC0273s, int i6) {
        return this.f360b == EnumC0083r0.f365a ? interfaceC0273s.j0(i6) : interfaceC0273s.d(i6);
    }

    @Override // B.AbstractC0085s0
    public final long t0(G0.Z z6, long j4) {
        int iJ0 = this.f360b == EnumC0083r0.f365a ? z6.j0(C2069a.h(j4)) : z6.d(C2069a.h(j4));
        if (iJ0 < 0) {
            iJ0 = 0;
        }
        if (iJ0 < 0) {
            h1.i.a("height must be >= 0");
        }
        return h1.b.h(0, Integer.MAX_VALUE, iJ0, iJ0);
    }

    @Override // B.AbstractC0085s0
    public final boolean u0() {
        return this.f361c;
    }
}
