content: package androidx.core.view;
  
  import android.view.View;
  import android.view.ViewGroup;
  import java.util.Iterator;
  import kotlin.Metadata;
  import kotlin.jvm.internal.markers.KMutableIterator;
  
  @Metadata(d1 = {"\u0000#\n\u0000\n\u0002\u0010)\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000*\u0001\u0000\b\n\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001J\t\u0010\u0005\u001a\u00020\u0006H\u0002J\t\u0010\u0007\u001a\u00020\u0002H\u0002J\b\u0010\b\u001a\u00020\tH\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u000e¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"androidx/core/view/ViewGroupKt$iterator$1", "", "Landroid/view/View;", "index", "", "hasNext", "", "next", "remove", "", "core-ktx_release"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: ViewGroup.kt */
  public final class ViewGroupKt$iterator$1 implements Iterator<View>, KMutableIterator {
      final /* synthetic */ ViewGroup $this_iterator;
      private int index;
  
      ViewGroupKt$iterator$1(ViewGroup $receiver) {
          this.$this_iterator = $receiver;
      }
  
      public boolean hasNext() {
          return this.index < this.$this_iterator.getChildCount();
      }
  
      public View next() {
          ViewGroup viewGroup = this.$this_iterator;
          int i = this.index;
          this.index = i + 1;
          View childAt = viewGroup.getChildAt(i);
          if (childAt != null) {
              return childAt;
          }
          throw new IndexOutOfBoundsException();
      }
  
      public void remove() {
          ViewGroup viewGroup = this.$this_iterator;
          int i = this.index - 1;
          this.index = i;
          viewGroup.removeViewAt(i);
      }
  }
  