(declare (block) (standard-bindings) (extended-bindings))
(define std/srfi/121-iter#in-generator
  (lambda (_g403_)
    (letrec ((_next405_
              (lambda (_it407_)
                (let* ((_it408414_ _it407_)
                       (_E410418_
                        (lambda () (error '"No clause matching" _it408414_)))
                       (_K411425_
                        (lambda (_e421_)
                          (let ((_v423_ (_e421_)))
                            (if (eof-object? _v423_)
                                std/iter#iter-end
                                _v423_)))))
                  (if (let ()
                        (declare (not safe))
                        (##structure-direct-instance-of?
                         _it408414_
                         'std/iter#iterator::t))
                      (let* ((_e412428_
                              (let ()
                                (declare (not safe))
                                (##vector-ref _it408414_ '1)))
                             (_e431_ _e412428_))
                        (_K411425_ _e431_))
                      (_E410418_))))))
      (let ((__obj4031 (make-object std/iter#iterator::t '3)))
        (std/iter#iterator:::init!__0 __obj4031 _g403_ _next405_)
        __obj4031))))
