package com.google.android.gms.internal.ads;

import android.content.Context;
import android.os.Handler;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public final class p0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Context f15217a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f15218b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public xn2 f15219c = xv1.f18601h;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final ln2 f15220d;

    @Nullable
    private Handler zze;

    @Nullable
    private r1 zzf;

    public p0(Context context) {
        this.f15217a = context;
        this.f15220d = new ln2(context, null, null);
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0010  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final r0 a() {
        boolean z10;
        ih1.b1(!this.f15218b);
        Handler handler = this.zze;
        if (handler != null || this.zzf != null) {
            z10 = false;
            if (handler != null && this.zzf != null) {
                z10 = true;
            }
        }
        ih1.b1(z10);
        this.f15218b = true;
        return new r0(this);
    }

    public final /* synthetic */ Handler b() {
        return this.zze;
    }

    public final /* synthetic */ r1 c() {
        return this.zzf;
    }

    public final p0 zzb(@Nullable Handler handler) {
        this.zze = handler;
        return this;
    }

    public final p0 zzc(@Nullable r1 r1Var) {
        this.zzf = r1Var;
        return this;
    }
}
