package androidx.lifecycle; import androidx.annotation.RestrictTo; import java.util.HashMap; import java.util.Map; import kotlin.jvm.internal.Intrinsics; @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX}) /* loaded from: classes.dex */ public class MethodCallsLogger { private final Map calledMethods = new HashMap(); @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX}) public boolean approveCall(String name, int i) { Intrinsics.checkNotNullParameter(name, "name"); Integer num = this.calledMethods.get(name); int intValue = num != null ? num.intValue() : 0; boolean z = (intValue & i) != 0; this.calledMethods.put(name, Integer.valueOf(i | intValue)); return !z; } }