package g1;

import kotlin.jvm.internal.t;
import y0.j2;
import y0.k2;
import y0.m;
import y0.p;

/* loaded from: classes.dex */
public abstract class c {

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

    public static final int a(int i10, int i11) {
        return i10 << (((i11 % 10) * 3) + 1);
    }

    public static final a b(m mVar, int i10, boolean z10, Object obj) {
        b bVar;
        mVar.s(Integer.rotateLeft(i10, 1), f19022a);
        Object f10 = mVar.f();
        if (f10 == m.f51621a.a()) {
            bVar = new b(i10, z10, obj);
            mVar.I(bVar);
        } else {
            t.e(f10, "null cannot be cast to non-null type androidx.compose.runtime.internal.ComposableLambdaImpl");
            bVar = (b) f10;
            bVar.h(obj);
        }
        mVar.L();
        return bVar;
    }

    public static final a c(int i10, boolean z10, Object obj) {
        return new b(i10, z10, obj);
    }

    public static final int d(int i10) {
        return a(2, i10);
    }

    public static final a e(int i10, boolean z10, Object obj, m mVar, int i11) {
        if (p.H()) {
            p.Q(-1573003438, i11, -1, "androidx.compose.runtime.internal.rememberComposableLambda (ComposableLambda.kt:628)");
        }
        Object f10 = mVar.f();
        if (f10 == m.f51621a.a()) {
            f10 = new b(i10, z10, obj);
            mVar.I(f10);
        }
        b bVar = (b) f10;
        bVar.h(obj);
        if (p.H()) {
            p.P();
        }
        return bVar;
    }

    public static final boolean f(j2 j2Var, j2 j2Var2) {
        if (j2Var != null) {
            if ((j2Var instanceof k2) && (j2Var2 instanceof k2)) {
                k2 k2Var = (k2) j2Var;
                if (!k2Var.r() || t.b(j2Var, j2Var2) || t.b(k2Var.i(), ((k2) j2Var2).i())) {
                }
            }
            return false;
        }
        return true;
    }

    public static final int g(int i10) {
        return a(1, i10);
    }
}
