package o; import android.os.Bundle; import androidx.savedstate.Recreator; import o.wdQ; /* renamed from: o.coF, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C7432coF { private boolean a; private final InterfaceC9254dgJ c; public final FNE d; private C7432coF(InterfaceC9254dgJ interfaceC9254dgJ) { this.c = interfaceC9254dgJ; this.d = new FNE(); } public final void b() { wdQ lifecycle = this.c.getLifecycle(); C14957gcv.c(lifecycle, ""); if (lifecycle.a() != wdQ.IeS.INITIALIZED) { throw new IllegalStateException("Restarter must be created only during owner's initialization stage".toString()); } lifecycle.e(new Recreator(this.c)); this.d.a(lifecycle); this.a = true; } public final void AL_(Bundle bundle) { if (!this.a) { b(); } wdQ lifecycle = this.c.getLifecycle(); C14957gcv.c(lifecycle, ""); if (!(!(lifecycle.a().compareTo(wdQ.IeS.STARTED) >= 0))) { StringBuilder sb = new StringBuilder("performRestore cannot be called when owner is "); sb.append(lifecycle.a()); throw new IllegalStateException(sb.toString().toString()); } this.d.AI_(bundle); } public final void AM_(Bundle bundle) { C14957gcv.e(bundle, ""); this.d.AJ_(bundle); } /* renamed from: o.coF$IeS */ /* loaded from: classes.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } public static final C7432coF a(InterfaceC9254dgJ interfaceC9254dgJ) { C14957gcv.e(interfaceC9254dgJ, ""); return new C7432coF(interfaceC9254dgJ, (byte) 0); } public final FNE d() { return this.d; } private /* synthetic */ C7432coF(InterfaceC9254dgJ interfaceC9254dgJ, byte b) { this(interfaceC9254dgJ); } static { new IeS((byte) 0); } }