package androidx.lifecycle;

import androidx.lifecycle.AbstractC0424i;
import p065v0.C1755c;

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

    /* renamed from: a */
    public final String f1599a;

    /* renamed from: b */
    public boolean f1600b;

    /* renamed from: c */
    public final C0453y f1601c;

    @Override // androidx.lifecycle.InterfaceC0432k
    /* renamed from: d */
    public void mo472d(InterfaceC0434m interfaceC0434m, AbstractC0424i.EnumC0426b enumC0426b) {
        if (enumC0426b == AbstractC0424i.EnumC0426b.ON_DESTROY) {
            this.f1600b = false;
            interfaceC0434m.mo421a().mo3691c(this);
        }
    }

    /* renamed from: h */
    public void m3742h(C1755c c1755c, AbstractC0424i abstractC0424i) {
        if (this.f1600b) {
            throw new IllegalStateException("Already attached to lifecycleOwner");
        }
        this.f1600b = true;
        abstractC0424i.mo3693a(this);
        c1755c.m464h(this.f1599a, this.f1601c.m3646c());
    }

    /* renamed from: i */
    public boolean m3741i() {
        return this.f1600b;
    }
}