(declare (block) (standard-bindings) (extended-bindings))
(define std/srfi/127-iter#in-lseq
  (lambda (_ls403_)
    (letrec ((_next405_
              (lambda (_it407_)
                (let* ((_it408414_ _it407_)
                       (_E410418_
                        (lambda () (error '"No clause matching" _it408414_)))
                       (_K411426_
                        (lambda (_e421_)
                          (if (pair? _e421_)
                              (let ((_first423_ (car _e421_))
                                    (_rest424_ (std/srfi/127#lseq-cdr _e421_)))
                                (##direct-structure-set!
                                 _it407_
                                 _rest424_
                                 '1
                                 std/iter#iterator::t
                                 '#f)
                                _first423_)
                              std/iter#iter-end))))
                  (if (let ()
                        (declare (not safe))
                        (##structure-direct-instance-of?
                         _it408414_
                         'std/iter#iterator::t))
                      (let* ((_e412429_
                              (let ()
                                (declare (not safe))
                                (##vector-ref _it408414_ '1)))
                             (_e432_ _e412429_))
                        (_K411426_ _e432_))
                      (_E410418_))))))
      (let ((__obj4032 (make-object std/iter#iterator::t '3)))
        (std/iter#iterator:::init!__0 __obj4032 _ls403_ _next405_)
        __obj4032))))
