package com.google.android.gms.internal.ads; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; /* loaded from: classes3.dex */ public final class zzgdk { public static Object zza(Future future) throws ExecutionException { Object obj; boolean z = false; while (true) { try { obj = future.get(); break; } catch (InterruptedException unused) { z = true; } catch (Throwable th) { if (z) { Thread.currentThread().interrupt(); } throw th; } } if (z) { Thread.currentThread().interrupt(); } return obj; } }