package kotlin.reflect.jvm.internal.impl.builtins;

import defpackage.cr4;
import defpackage.kp6;
import defpackage.y41;
import java.util.Set;
import kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor;
import kotlin.reflect.jvm.internal.impl.name.ClassId;
import kotlin.reflect.jvm.internal.impl.resolve.DescriptorUtils;
import kotlin.reflect.jvm.internal.impl.resolve.descriptorUtil.DescriptorUtilsKt;

/* JADX INFO: loaded from: classes3.dex */
public final class CompanionObjectMappingUtilsKt {
    public static final boolean isMappedIntrinsicCompanionObject(@kp6 CompanionObjectMapping companionObjectMapping, @kp6 ClassDescriptor classDescriptor) {
        cr4.g(companionObjectMapping, "<this>");
        cr4.g(classDescriptor, "classDescriptor");
        if (!DescriptorUtils.isCompanionObject(classDescriptor)) {
            return false;
        }
        Set<ClassId> classIds = companionObjectMapping.getClassIds();
        ClassId classId = DescriptorUtilsKt.getClassId(classDescriptor);
        return y41.q(classIds, classId != null ? classId.getOuterClassId() : null);
    }
}
