package com.google.android.play.core.integrity;

import C3.A;
import android.os.Bundle;
import com.google.android.gms.common.api.ApiException;
import com.google.android.gms.tasks.TaskCompletionSource;

/* JADX INFO: loaded from: classes3.dex */
final class bl extends bi {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    final /* synthetic */ bn f13661c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private final A f13662d;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public bl(bn bnVar, TaskCompletionSource taskCompletionSource) {
        super(bnVar, taskCompletionSource);
        this.f13661c = bnVar;
        this.f13662d = new A("OnWarmUpIntegrityTokenCallback");
    }

    @Override // com.google.android.play.core.integrity.bi, C3.s
    public final void e(Bundle bundle) {
        super.e(bundle);
        this.f13662d.b("onWarmUpExpressIntegrityToken", new Object[0]);
        ApiException apiExceptionA = this.f13661c.f13669f.a(bundle);
        if (apiExceptionA != null) {
            this.f13655a.trySetException(apiExceptionA);
        } else {
            this.f13655a.trySetResult(Long.valueOf(bundle.getLong("warm.up.sid")));
        }
    }
}
