package androidx.fragment.app;

import o.I1;
import o.XC;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class k implements XC {
    public final /* synthetic */ l l;

    public k(l lVar) {
        this.l = lVar;
    }

    @Override // o.XC
    public final Object apply() {
        l lVar = this.l;
        Object obj = lVar.mHost;
        return obj instanceof I1 ? ((I1) obj).getActivityResultRegistry() : lVar.requireActivity().getActivityResultRegistry();
    }
}
