package defpackage;

import android.os.SystemClock;
import android.util.Log;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/* JADX INFO: renamed from: ˏᵹᵹ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C1925 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final double f7667;

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public final ᵕˁـ f7668;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final long f7669;

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public final int f7670;

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public int f7671;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final double f7672;

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public final ThreadPoolExecutor f7673;

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public long f7674;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final long f7675;

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public final C3714 f7676;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public final ArrayBlockingQueue f7677;

    public C1925(ᵕˁـ r9, C1610 c1610, C3714 c3714) {
        double d = c1610.f6448;
        double d2 = c1610.f6446;
        long j = ((long) c1610.f6449) * 1000;
        this.f7672 = d;
        this.f7667 = d2;
        this.f7669 = j;
        this.f7668 = r9;
        this.f7676 = c3714;
        this.f7675 = SystemClock.elapsedRealtime();
        int i = (int) d;
        this.f7670 = i;
        ArrayBlockingQueue arrayBlockingQueue = new ArrayBlockingQueue(i);
        this.f7677 = arrayBlockingQueue;
        this.f7673 = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, arrayBlockingQueue);
        this.f7671 = 0;
        this.f7674 = 0L;
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final void m5162(C0054 c0054, C0589 c0589) {
        Log.isLoggable("FirebaseCrashlytics", 3);
        this.f7668.ᵔᵖᵹᵫ(new C0733(c0054.f1225, EnumC3785.f14386), new C5212(SystemClock.elapsedRealtime() - this.f7675 < 2000, this, c0589, c0054));
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final int m5163() {
        if (this.f7674 == 0) {
            this.f7674 = System.currentTimeMillis();
        }
        int iCurrentTimeMillis = (int) ((System.currentTimeMillis() - this.f7674) / this.f7669);
        int size = this.f7677.size();
        int i = this.f7671;
        int iMin = size == this.f7670 ? Math.min(100, i + iCurrentTimeMillis) : Math.max(0, i - iCurrentTimeMillis);
        if (this.f7671 != iMin) {
            this.f7671 = iMin;
            this.f7674 = System.currentTimeMillis();
        }
        return iMin;
    }
}
