package D;

import F.W;
import F.a0;
import Q0.C0589d;
import androidx.compose.runtime.SnapshotStateKt;
import androidx.compose.runtime.State;
import w4.C3137A;
import x.EnumC3207z0;

/* JADX INFO: renamed from: D.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0136g implements W {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final State f820a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ H f821b;

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

    public C0136g(H h5, boolean z6) {
        this.f821b = h5;
        this.f822c = z6;
        this.f820a = SnapshotStateKt.derivedStateOf(new C0135f(h5, 0));
    }

    @Override // F.W
    public final int a() {
        H h5 = this.f821b;
        return (int) (h5.i().f904o == EnumC3207z0.f25984a ? h5.i().e() & 4294967295L : h5.i().e() >> 32);
    }

    @Override // F.W
    public final float b() {
        H h5 = this.f821b;
        return (h5.g() * 500) + h5.h();
    }

    @Override // F.W
    public final int c() {
        H h5 = this.f821b;
        return (-h5.i().l) + h5.i().f905p;
    }

    @Override // F.W
    public final float d() {
        H h5 = this.f821b;
        int iG = h5.g();
        int iH = h5.h();
        return h5.c() ? (iG * 500) + iH + 100 : (iG * 500) + iH;
    }

    @Override // F.W
    public final C0589d e() {
        State state = this.f820a;
        return this.f822c ? new C0589d(((Number) state.getValue()).intValue(), 1) : new C0589d(1, ((Number) state.getValue()).intValue());
    }

    @Override // F.W
    public final Object f(int i6, a0 a0Var) {
        Object objK = H.k(this.f821b, i6, a0Var);
        return objK == B4.a.f492a ? objK : C3137A.f25453a;
    }
}
