package androidx.fragment.app; import android.os.Bundle; import androidx.lifecycle.e; import androidx.savedstate.SavedStateRegistry; /* loaded from: classes.dex */ class z implements androidx.savedstate.c, androidx.lifecycle.x { /* renamed from: a, reason: collision with root package name */ private final Fragment f2030a; /* renamed from: b, reason: collision with root package name */ private final androidx.lifecycle.w f2031b; /* renamed from: c, reason: collision with root package name */ private androidx.lifecycle.i f2032c = null; /* renamed from: d, reason: collision with root package name */ private androidx.savedstate.b f2033d = null; z(Fragment fragment, androidx.lifecycle.w wVar) { this.f2030a = fragment; this.f2031b = wVar; } void a(e.b bVar) { this.f2032c.h(bVar); } void b() { if (this.f2032c == null) { this.f2032c = new androidx.lifecycle.i(this); this.f2033d = androidx.savedstate.b.a(this); } } boolean c() { return this.f2032c != null; } void d(Bundle bundle) { this.f2033d.c(bundle); } void e(Bundle bundle) { this.f2033d.d(bundle); } void f(e.c cVar) { this.f2032c.o(cVar); } @Override // androidx.lifecycle.LifecycleOwner public androidx.lifecycle.e getLifecycle() { b(); return this.f2032c; } @Override // androidx.savedstate.c public SavedStateRegistry getSavedStateRegistry() { b(); return this.f2033d.b(); } @Override // androidx.lifecycle.x public androidx.lifecycle.w getViewModelStore() { b(); return this.f2031b; } }