package com.google.firebase.concurrent;

import com.google.firebase.concurrent.DelegatingScheduledFuture;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class e implements DelegatingScheduledFuture.Resolver {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f13872a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ DelegatingScheduledExecutorService f13873b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Runnable f13874c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ long f13875d;

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ TimeUnit f13877f;

    public /* synthetic */ e(DelegatingScheduledExecutorService delegatingScheduledExecutorService, Runnable runnable, long j4, long j6, TimeUnit timeUnit, int i6) {
        this.f13872a = i6;
        this.f13873b = delegatingScheduledExecutorService;
        this.f13874c = runnable;
        this.f13875d = j4;
        this.f13876e = j6;
        this.f13877f = timeUnit;
    }

    @Override // com.google.firebase.concurrent.DelegatingScheduledFuture.Resolver
    public final ScheduledFuture addCompleter(DelegatingScheduledFuture.Completer completer) {
        switch (this.f13872a) {
            case 0:
                return this.f13873b.lambda$scheduleAtFixedRate$8(this.f13874c, this.f13875d, this.f13876e, this.f13877f, completer);
            default:
                return this.f13873b.lambda$scheduleWithFixedDelay$11(this.f13874c, this.f13875d, this.f13876e, this.f13877f, completer);
        }
    }
}
