package androidx.fragment.app; import androidx.lifecycle.HasDefaultViewModelProviderFactory; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelStoreOwner; import kotlin.Lazy; import kotlin.Metadata; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; /* compiled from: FragmentViewModelLazy.kt */ @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"", "Landroidx/lifecycle/ViewModelProvider$Factory;", "VM", "Landroidx/lifecycle/ViewModel;", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 176) /* loaded from: classes2.dex */ public final class FragmentViewModelLazyKt$viewModels$8 extends Lambda implements Function0 { final /* synthetic */ Lazy $owner$delegate; final /* synthetic */ Fragment $this_viewModels; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ /* JADX WARN: Multi-variable type inference failed */ public FragmentViewModelLazyKt$viewModels$8(Fragment fragment, Lazy lazy) { super(0); this.$this_viewModels = fragment; this.$owner$delegate = lazy; } /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final ViewModelProvider.Factory invoke() { ViewModelStoreOwner m5178viewModels$lambda1; ViewModelProvider.Factory defaultViewModelProviderFactory; m5178viewModels$lambda1 = FragmentViewModelLazyKt.m5178viewModels$lambda1(this.$owner$delegate); HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = m5178viewModels$lambda1 instanceof HasDefaultViewModelProviderFactory ? (HasDefaultViewModelProviderFactory) m5178viewModels$lambda1 : null; if (hasDefaultViewModelProviderFactory != null && (defaultViewModelProviderFactory = hasDefaultViewModelProviderFactory.getDefaultViewModelProviderFactory()) != null) { return defaultViewModelProviderFactory; } ViewModelProvider.Factory defaultViewModelProviderFactory2 = this.$this_viewModels.getDefaultViewModelProviderFactory(); Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory"); return defaultViewModelProviderFactory2; } }