package p138.p176.p177.p242.p270;

import com.google.android.gms.tasks.RuntimeExecutionException;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.އ.ފ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class RunnableC5069 implements Runnable {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final /* synthetic */ AbstractC5062 f15222;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final /* synthetic */ C5068 f15223;

    public RunnableC5069(C5068 c5068, AbstractC5062 abstractC5062) {
        this.f15223 = c5068;
        this.f15222 = abstractC5062;
    }

    /* JADX WARN: Type inference incomplete: some casts might be missing */
    @Override // java.lang.Runnable
    public final void run() {
        if (((C5085) this.f15222).f15259) {
            this.f15223.f15221.m8565();
            return;
        }
        try {
            this.f15223.f15221.m8562((TContinuationResult) this.f15223.f15220.mo8537((AbstractC5062<TResult>) this.f15222));
        } catch (RuntimeExecutionException e) {
            if (e.getCause() instanceof Exception) {
                this.f15223.f15221.m8561((Exception) e.getCause());
            } else {
                this.f15223.f15221.m8561(e);
            }
        } catch (Exception e2) {
            this.f15223.f15221.m8561(e2);
        }
    }
}
