package d3;

import android.content.SharedPreferences;

/* JADX INFO: renamed from: d3.e0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0779e0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f11928a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final boolean f11929b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f11930c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f11931d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ C0785g0 f11932e;

    public C0779e0(C0785g0 c0785g0, String str, boolean z8) {
        this.f11932e = c0785g0;
        P2.w.c(str);
        this.f11928a = str;
        this.f11929b = z8;
    }

    public final void a(boolean z8) {
        SharedPreferences.Editor editorEdit = this.f11932e.J().edit();
        editorEdit.putBoolean(this.f11928a, z8);
        editorEdit.apply();
        this.f11931d = z8;
    }

    public final boolean b() {
        if (!this.f11930c) {
            this.f11930c = true;
            this.f11931d = this.f11932e.J().getBoolean(this.f11928a, this.f11929b);
        }
        return this.f11931d;
    }
}
