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

import C3.B;
import com.google.android.gms.tasks.TaskCompletionSource;

/* JADX INFO: loaded from: classes3.dex */
abstract class bm extends B {

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public bm(bn bnVar, TaskCompletionSource taskCompletionSource) {
        super(taskCompletionSource);
        this.f13663f = bnVar;
    }

    @Override // C3.B
    public final void a(Exception exc) {
        if (!(exc instanceof C3.f)) {
            super.a(exc);
        } else if (bn.k(this.f13663f)) {
            super.a(new StandardIntegrityException(-2, exc));
        } else {
            super.a(new StandardIntegrityException(-9, exc));
        }
    }
}
