package defpackage;

import android.content.SharedPreferences;
import android.os.SystemClock;
import j$.util.Objects;

/* renamed from: ᵳˀː, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4550 implements InterfaceC5498 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public boolean f16906;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public Object f16907;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public long f16908;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final Object f16909;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public long f16910;

    public C4550(C1875 c1875) {
        this.f16909 = c1875;
        this.f16907 = C0068.f1304;
    }

    public C4550(C4180 c4180, String str, long j) {
        Objects.requireNonNull(c4180);
        this.f16907 = c4180;
        ᵩʛʽ.ˏˋٴ(str);
        this.f16909 = str;
        this.f16908 = j;
    }

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public long m9666() {
        if (!this.f16906) {
            this.f16906 = true;
            C4180 c4180 = (C4180) this.f16907;
            this.f16910 = c4180.m9104().getLong((String) this.f16909, this.f16908);
        }
        return this.f16910;
    }

    @Override // defpackage.InterfaceC5498
    /* renamed from: ˎˏʜʾ */
    public C0068 mo376() {
        return (C0068) this.f16907;
    }

    @Override // defpackage.InterfaceC5498
    /* renamed from: ˏˋٴ */
    public void mo378(C0068 c0068) {
        if (this.f16906) {
            m9667(mo385());
        }
        this.f16907 = c0068;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public void m9667(long j) {
        this.f16908 = j;
        if (this.f16906) {
            ((C1875) this.f16909).getClass();
            this.f16910 = SystemClock.elapsedRealtime();
        }
    }

    @Override // defpackage.InterfaceC5498
    /* renamed from: ᵥᵯˎ */
    public long mo385() {
        long j = this.f16908;
        if (!this.f16906) {
            return j;
        }
        ((C1875) this.f16909).getClass();
        long jElapsedRealtime = SystemClock.elapsedRealtime() - this.f16910;
        return (((C0068) this.f16907).f1306 == 1.0f ? AbstractC3558.m8133(jElapsedRealtime) : jElapsedRealtime * r6.f1305) + j;
    }

    @Override // defpackage.InterfaceC5498
    /* renamed from: ᵴᵳ */
    public /* synthetic */ boolean mo392() {
        return false;
    }

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public void m9668(long j) {
        SharedPreferences.Editor editorEdit = ((C4180) this.f16907).m9104().edit();
        editorEdit.putLong((String) this.f16909, j);
        editorEdit.apply();
        this.f16910 = j;
    }

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public void m9669() {
        if (this.f16906) {
            return;
        }
        ((C1875) this.f16909).getClass();
        this.f16910 = SystemClock.elapsedRealtime();
        this.f16906 = true;
    }
}
