package defpackage;

import androidx.media3.container.NalUnitUtil;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Boolean;"}, k = 3, mv = {1, 6, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
final class ea8 extends u55 implements qq3<Boolean> {
    public final /* synthetic */ ClassLoader a;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public ea8(ClassLoader classLoader) {
        super(0);
        this.a = classLoader;
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0037  */
    @Override // defpackage.qq3
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invoke() throws NoSuchMethodException, ClassNotFoundException {
        boolean z;
        j65 j65Var = ha8.a;
        ClassLoader classLoader = this.a;
        Method method = classLoader.loadClass("androidx.window.extensions.WindowExtensions").getMethod("getWindowLayoutComponent", null);
        Class<?> clsLoadClass = classLoader.loadClass("androidx.window.extensions.layout.WindowLayoutComponent");
        cr4.f(method, "getWindowLayoutComponentMethod");
        if (Modifier.isPublic(method.getModifiers())) {
            cr4.f(clsLoadClass, "windowLayoutComponentClass");
            z = method.getReturnType().equals(clsLoadClass);
        }
        return Boolean.valueOf(z);
    }
}
