package androidx.fragment.app;

import androidx.annotation.Nullable;
import java.util.concurrent.atomic.AtomicReference;

/* JADX INFO: loaded from: classes.dex */
public final class v extends androidx.activity.result.d {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ AtomicReference f2601a;

    public v(AtomicReference atomicReference) {
        this.f2601a = atomicReference;
    }

    @Override // androidx.activity.result.d
    public void launch(Object obj, @Nullable androidx.core.app.h hVar) {
        androidx.activity.result.d dVar = (androidx.activity.result.d) this.f2601a.get();
        if (dVar == null) {
            throw new IllegalStateException("Operation cannot be started before fragment is in created state");
        }
        dVar.launch(obj, hVar);
    }
}
