package kotlin.sequences;

import androidx.core.view.u1;
import java.util.Iterator;

/* JADX INFO: loaded from: classes.dex */
public final class b implements e {

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

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

    public b(e eVar, int i10) {
        nb.g.i(eVar, "sequence");
        this.f29243a = eVar;
        this.f29244b = i10;
        if (i10 >= 0) {
            return;
        }
        throw new IllegalArgumentException(("count must be non-negative, but was " + i10 + '.').toString());
    }

    @Override // kotlin.sequences.e
    public final Iterator iterator() {
        return new u1(this);
    }
}
