package o;

import android.content.SharedPreferences;
import com.google.android.gms.common.internal.Preconditions;
import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.fr0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1235fr0 {
    public final String a;
    public final long b;
    public boolean c;
    public long d;
    public final /* synthetic */ C1617jr0 e;

    public C1235fr0(C1617jr0 c1617jr0, String str, long j) {
        Objects.requireNonNull(c1617jr0);
        this.e = c1617jr0;
        Preconditions.checkNotEmpty(str);
        this.a = str;
        this.b = j;
    }

    public final long a() {
        if (!this.c) {
            this.c = true;
            this.d = this.e.w().getLong(this.a, this.b);
        }
        return this.d;
    }

    public final void b(long j) {
        SharedPreferences.Editor editorEdit = this.e.w().edit();
        editorEdit.putLong(this.a, j);
        editorEdit.apply();
        this.d = j;
    }
}
