package androidx.lifecycle; import java.util.HashMap; import java.util.Map; import kotlin.Metadata; import kotlin.jvm.internal.Intrinsics; /* compiled from: MethodCallsLogger.kt */ @Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u0017\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\u0006H\u0017R\u001a\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Landroidx/lifecycle/MethodCallsLogger;", "", "()V", "calledMethods", "", "", "", "approveCall", "", "name", "type", "lifecycle-common"}, k = 1, mv = {1, 8, 0}, xi = 48) /* loaded from: classes2.dex */ public class MethodCallsLogger { private final Map calledMethods = new HashMap(); public boolean approveCall(String name, int type) { Intrinsics.checkNotNullParameter(name, "name"); Integer num = this.calledMethods.get(name); int intValue = num != null ? num.intValue() : 0; boolean z = (intValue & type) != 0; this.calledMethods.put(name, Integer.valueOf(type | intValue)); return !z; } }