package b3;

import kotlin.jvm.internal.v;
import s1.g0;
import s1.n1;
import s1.s1;
import s1.y;

/* loaded from: classes.dex */
public interface n {

    /* renamed from: a, reason: collision with root package name */
    public static final a f6713a = a.f6714a;

    /* loaded from: classes.dex */
    public static final class a {

        /* renamed from: a, reason: collision with root package name */
        static final /* synthetic */ a f6714a = new a();

        private a() {
        }

        public final n a(y yVar, float f10) {
            if (yVar == null) {
                return b.f6715b;
            }
            if (yVar instanceof s1) {
                return b(m.c(((s1) yVar).b(), f10));
            }
            if (yVar instanceof n1) {
                return new b3.c((n1) yVar, f10);
            }
            throw new rm.t();
        }

        public final n b(long j10) {
            return (j10 > 16L ? 1 : (j10 == 16L ? 0 : -1)) != 0 ? new b3.d(j10, null) : b.f6715b;
        }
    }

    /* loaded from: classes.dex */
    public static final class b implements n {

        /* renamed from: b, reason: collision with root package name */
        public static final b f6715b = new b();

        private b() {
        }

        @Override // b3.n
        public float b() {
            return Float.NaN;
        }

        @Override // b3.n
        public long c() {
            return g0.f35254b.f();
        }

        @Override // b3.n
        public y f() {
            return null;
        }
    }

    /* loaded from: classes.dex */
    static final class c extends v implements dn.a {
        c() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Float invoke() {
            return Float.valueOf(n.this.b());
        }
    }

    /* loaded from: classes.dex */
    static final class d extends v implements dn.a {
        d() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final n invoke() {
            return n.this;
        }
    }

    float b();

    long c();

    default n d(n nVar) {
        boolean z10 = nVar instanceof b3.c;
        return (z10 && (this instanceof b3.c)) ? new b3.c(((b3.c) nVar).a(), m.a(nVar.b(), new c())) : (!z10 || (this instanceof b3.c)) ? (z10 || !(this instanceof b3.c)) ? nVar.e(new d()) : this : nVar;
    }

    default n e(dn.a aVar) {
        return !kotlin.jvm.internal.t.b(this, b.f6715b) ? this : (n) aVar.invoke();
    }

    y f();
}
