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

import java.util.NoSuchElementException;

/* JADX INFO: loaded from: classes2.dex */
public final class s extends v4.b {

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f19975c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ zzcn f19976d;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public s(zzcn zzcnVar) {
        super(3);
        this.f19976d = zzcnVar;
        this.f19974b = 0;
        this.f19975c = zzcnVar.g();
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        return this.f19974b < this.f19975c;
    }

    @Override // v4.b
    public final byte zza() {
        int i10 = this.f19974b;
        if (i10 >= this.f19975c) {
            throw new NoSuchElementException();
        }
        this.f19974b = i10 + 1;
        return this.f19976d.f(i10);
    }
}
