package androidx.lifecycle;

import androidx.lifecycle.AbstractC0424i;
import p039m1.C1470g;

/* loaded from: classes.dex */
public final class SavedStateHandleAttacher implements InterfaceC0432k {

    /* renamed from: a */
    public final C0400a0 f1598a;

    public SavedStateHandleAttacher(C0400a0 c0400a0) {
        C1470g.m1292e(c0400a0, "provider");
        this.f1598a = c0400a0;
    }

    @Override // androidx.lifecycle.InterfaceC0432k
    /* renamed from: d */
    public void mo472d(InterfaceC0434m interfaceC0434m, AbstractC0424i.EnumC0426b enumC0426b) {
        C1470g.m1292e(interfaceC0434m, "source");
        C1470g.m1292e(enumC0426b, "event");
        if (enumC0426b == AbstractC0424i.EnumC0426b.ON_CREATE) {
            interfaceC0434m.mo421a().mo3691c(this);
            this.f1598a.m3731c();
            return;
        }
        throw new IllegalStateException(("Next event must be ON_CREATE, it was " + enumC0426b).toString());
    }
}