(declare (block) (standard-bindings) (extended-bindings))
(begin
  (declare (not safe))
  (define std/net/bio/input#input-buffer::t
    (make-struct-type
     'std/net/bio/input#input-buffer::t
     '#f
     '5
     'input-buffer
     '()
     '#f
     '(e rlo rhi fill read)))
  (define std/net/bio/input#input-buffer?
    (make-struct-predicate std/net/bio/input#input-buffer::t))
  (define std/net/bio/input#make-input-buffer
    (lambda _$args716_
      (apply make-struct-instance
             std/net/bio/input#input-buffer::t
             _$args716_)))
  (define std/net/bio/input#input-buffer-e
    (make-struct-field-accessor std/net/bio/input#input-buffer::t '0))
  (define std/net/bio/input#input-buffer-rlo
    (make-struct-field-accessor std/net/bio/input#input-buffer::t '1))
  (define std/net/bio/input#input-buffer-rhi
    (make-struct-field-accessor std/net/bio/input#input-buffer::t '2))
  (define std/net/bio/input#input-buffer-fill
    (make-struct-field-accessor std/net/bio/input#input-buffer::t '3))
  (define std/net/bio/input#input-buffer-read
    (make-struct-field-accessor std/net/bio/input#input-buffer::t '4))
  (define std/net/bio/input#input-buffer-e-set!
    (make-struct-field-mutator std/net/bio/input#input-buffer::t '0))
  (define std/net/bio/input#input-buffer-rlo-set!
    (make-struct-field-mutator std/net/bio/input#input-buffer::t '1))
  (define std/net/bio/input#input-buffer-rhi-set!
    (make-struct-field-mutator std/net/bio/input#input-buffer::t '2))
  (define std/net/bio/input#input-buffer-fill-set!
    (make-struct-field-mutator std/net/bio/input#input-buffer::t '3))
  (define std/net/bio/input#input-buffer-read-set!
    (make-struct-field-mutator std/net/bio/input#input-buffer::t '4))
  (define std/net/bio/input#&input-buffer-e
    (make-struct-field-unchecked-accessor
     std/net/bio/input#input-buffer::t
     '0))
  (define std/net/bio/input#&input-buffer-rlo
    (make-struct-field-unchecked-accessor
     std/net/bio/input#input-buffer::t
     '1))
  (define std/net/bio/input#&input-buffer-rhi
    (make-struct-field-unchecked-accessor
     std/net/bio/input#input-buffer::t
     '2))
  (define std/net/bio/input#&input-buffer-fill
    (make-struct-field-unchecked-accessor
     std/net/bio/input#input-buffer::t
     '3))
  (define std/net/bio/input#&input-buffer-read
    (make-struct-field-unchecked-accessor
     std/net/bio/input#input-buffer::t
     '4))
  (define std/net/bio/input#&input-buffer-e-set!
    (make-struct-field-unchecked-mutator std/net/bio/input#input-buffer::t '0))
  (define std/net/bio/input#&input-buffer-rlo-set!
    (make-struct-field-unchecked-mutator std/net/bio/input#input-buffer::t '1))
  (define std/net/bio/input#&input-buffer-rhi-set!
    (make-struct-field-unchecked-mutator std/net/bio/input#input-buffer::t '2))
  (define std/net/bio/input#&input-buffer-fill-set!
    (make-struct-field-unchecked-mutator std/net/bio/input#input-buffer::t '3))
  (define std/net/bio/input#&input-buffer-read-set!
    (make-struct-field-unchecked-mutator std/net/bio/input#input-buffer::t '4))
  (define std/net/bio/input#bio-input-fill!
    (lambda (_buf713_ _need714_)
      ((##unchecked-structure-ref
        _buf713_
        '4
        std/net/bio/input#input-buffer::t
        '#f)
       _buf713_
       _need714_)))
  (define std/net/bio/input#bio-input-read
    (lambda (_bytes708_ _start709_ _end710_ _buf711_)
      ((##unchecked-structure-ref
        _buf711_
        '5
        std/net/bio/input#input-buffer::t
        '#f)
       _bytes708_
       _start709_
       _end710_
       _buf711_)))
  (define std/net/bio/input#bio-read-u8
    (lambda (_buf694_)
      (let ((_rlo696_
             (##unchecked-structure-ref
              _buf694_
              '2
              std/net/bio/input#input-buffer::t
              '#f))
            (_rhi697_
             (##unchecked-structure-ref
              _buf694_
              '3
              std/net/bio/input#input-buffer::t
              '#f)))
        (if (##fx< _rlo696_ _rhi697_)
            (let ((_u8699_ (##u8vector-ref
                            (##unchecked-structure-ref
                             _buf694_
                             '1
                             std/net/bio/input#input-buffer::t
                             '#f)
                            _rlo696_)))
              (##unchecked-structure-set!
               _buf694_
               (##fx+ _rlo696_ '1)
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _u8699_)
            (let ((_rd701_ (std/net/bio/input#bio-input-fill! _buf694_ '1)))
              (if (##fxzero? _rd701_)
                  (eof-object)
                  (let* ((_rlo703_
                          (##unchecked-structure-ref
                           _buf694_
                           '2
                           std/net/bio/input#input-buffer::t
                           '#f))
                         (_u8705_ (##u8vector-ref
                                   (##unchecked-structure-ref
                                    _buf694_
                                    '1
                                    std/net/bio/input#input-buffer::t
                                    '#f)
                                   _rlo703_)))
                    (##unchecked-structure-set!
                     _buf694_
                     (##fx+ _rlo703_ '1)
                     '2
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _u8705_)))))))
  (define std/net/bio/input#bio-peek-u8
    (lambda (_buf685_)
      (let ((_rlo687_
             (##unchecked-structure-ref
              _buf685_
              '2
              std/net/bio/input#input-buffer::t
              '#f))
            (_rhi688_
             (##unchecked-structure-ref
              _buf685_
              '3
              std/net/bio/input#input-buffer::t
              '#f)))
        (if (##fx< _rlo687_ _rhi688_)
            (##u8vector-ref
             (##unchecked-structure-ref
              _buf685_
              '1
              std/net/bio/input#input-buffer::t
              '#f)
             _rlo687_)
            (let ((_rd690_ (std/net/bio/input#bio-input-fill! _buf685_ '1)))
              (if (##fxzero? _rd690_)
                  (eof-object)
                  (let ((_rlo692_
                         (##unchecked-structure-ref
                          _buf685_
                          '2
                          std/net/bio/input#input-buffer::t
                          '#f)))
                    (##u8vector-ref
                     (##unchecked-structure-ref
                      _buf685_
                      '1
                      std/net/bio/input#input-buffer::t
                      '#f)
                     _rlo692_))))))))
  (define std/net/bio/input#bio-read-subu8vector
    (lambda (_bytes662_ _start663_ _end664_ _buf665_)
      (let* ((_rlo667_
              (##unchecked-structure-ref
               _buf665_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi669_
              (##unchecked-structure-ref
               _buf665_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_need671_ (##fx- _end664_ _start663_))
             (_rlo+need673_ (##fx+ _rlo667_ _need671_)))
        (if (##fx<= _rlo+need673_ _rhi669_)
            (begin
              (##subu8vector-move!
               (##unchecked-structure-ref
                _buf665_
                '1
                std/net/bio/input#input-buffer::t
                '#f)
               _rlo667_
               _rlo+need673_
               _bytes662_
               _start663_)
              (##unchecked-structure-set!
               _buf665_
               _rlo+need673_
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _need671_)
            (if (##fx< _rlo667_ _rhi669_)
                (begin
                  (##subu8vector-move!
                   (##unchecked-structure-ref
                    _buf665_
                    '1
                    std/net/bio/input#input-buffer::t
                    '#f)
                   _rlo667_
                   _rhi669_
                   _bytes662_
                   _start663_)
                  (##unchecked-structure-set!
                   _buf665_
                   _rhi669_
                   '2
                   std/net/bio/input#input-buffer::t
                   '#f)
                  (let* ((_have676_ (##fx- _rhi669_ _rlo667_))
                         (_need678_ (##fx- _need671_ _have676_)))
                    (if (##fx< _need678_
                               (##u8vector-length
                                (##unchecked-structure-ref
                                 _buf665_
                                 '1
                                 std/net/bio/input#input-buffer::t
                                 '#f)))
                        (let ((_rd681_ (std/net/bio/input#bio-input-fill!
                                        _buf665_
                                        _need678_)))
                          (if (##fx> _rd681_ '0)
                              (##fx+ _have676_
                                     (std/net/bio/input#bio-read-subu8vector
                                      _bytes662_
                                      (##fx+ _start663_ _have676_)
                                      _end664_
                                      _buf665_))
                              _have676_))
                        (##fx+ _have676_
                               (std/net/bio/input#bio-input-read
                                _bytes662_
                                (##fx+ _start663_ _have676_)
                                _end664_
                                _buf665_)))))
                (if (##fx< _need671_
                           (##u8vector-length
                            (##unchecked-structure-ref
                             _buf665_
                             '1
                             std/net/bio/input#input-buffer::t
                             '#f)))
                    (let ((_rd683_ (std/net/bio/input#bio-input-fill!
                                    _buf665_
                                    _need671_)))
                      (if (##fx> _rd683_ '0)
                          (std/net/bio/input#bio-read-subu8vector
                           _bytes662_
                           _start663_
                           _end664_
                           _buf665_)
                          '0))
                    (std/net/bio/input#bio-input-read
                     _bytes662_
                     _start663_
                     _end664_
                     _buf665_)))))))
  (define std/net/bio/input#bio-read-subu8vector*__%
    (lambda (_bytes623_ _start624_ _end625_ _buf626_ _need627_)
      (let* ((_rlo629_
              (##unchecked-structure-ref
               _buf626_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi631_
              (##unchecked-structure-ref
               _buf626_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_have633_ (##fx- _rhi631_ _rlo629_))
             (_want635_ (##fx- _end625_ _start624_))
             (_need637_ (##fxmin _want635_ _need627_))
             (_copy639_ (##fxmin _want635_ _have633_)))
        (if (##fx> _copy639_ '0)
            (let ((_rlo+copy642_ (##fx+ _rlo629_ _copy639_)))
              (##subu8vector-move!
               (##unchecked-structure-ref
                _buf626_
                '1
                std/net/bio/input#input-buffer::t
                '#f)
               _rlo629_
               _rlo+copy642_
               _bytes623_
               _start624_)
              (##unchecked-structure-set!
               _buf626_
               _rlo+copy642_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
            '#!void)
        (if (##fx>= _copy639_ _need637_)
            _copy639_
            (let ((_rd644_ (std/net/bio/input#bio-input-fill! _buf626_ '1)))
              (if (##fx> _rd644_ '0)
                  (std/net/bio/input#bio-read-subu8vector*__%
                   _bytes623_
                   (##fx+ _start624_ _copy639_)
                   _end625_
                   _buf626_
                   (##fx- _need637_ _copy639_))
                  _copy639_))))))
  (define std/net/bio/input#bio-read-subu8vector*__0
    (lambda (_bytes649_ _start650_ _end651_ _buf652_)
      (let ((_need654_ '0))
        (std/net/bio/input#bio-read-subu8vector*__%
         _bytes649_
         _start650_
         _end651_
         _buf652_
         _need654_))))
  (define std/net/bio/input#bio-read-subu8vector*
    (lambda _g4356_
      (let ((_g4355_ (##length _g4356_)))
        (cond ((##fx= _g4355_ 4)
               (apply std/net/bio/input#bio-read-subu8vector*__0 _g4356_))
              ((##fx= _g4355_ 5)
               (apply std/net/bio/input#bio-read-subu8vector*__% _g4356_))
              (else
               (##raise-wrong-number-of-arguments-exception
                std/net/bio/input#bio-read-subu8vector*
                _g4356_))))))
  (define std/net/bio/input#bio-read-subu8vector-unbuffered
    (lambda (_bytes606_ _start607_ _end608_ _buf609_)
      (let* ((_need611_ (##fx- _end608_ _start607_))
             (_rlo613_
              (##unchecked-structure-ref
               _buf609_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi615_
              (##unchecked-structure-ref
               _buf609_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_rlo+need617_ (##fx+ _rlo613_ _need611_)))
        (if (##fx<= _rlo+need617_ _rhi615_)
            (begin
              (##subu8vector-move!
               (##unchecked-structure-ref
                _buf609_
                '1
                std/net/bio/input#input-buffer::t
                '#f)
               _rlo613_
               _rlo+need617_
               _bytes606_
               _start607_)
              (##unchecked-structure-set!
               _buf609_
               _rlo+need617_
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _need611_)
            (if (##fx< _rlo613_ _rhi615_)
                (let ((_have620_ (##fx- _rhi615_ _rlo613_)))
                  (##subu8vector-move!
                   (##unchecked-structure-ref
                    _buf609_
                    '1
                    std/net/bio/input#input-buffer::t
                    '#f)
                   _rlo613_
                   _rhi615_
                   _bytes606_
                   _start607_)
                  (##unchecked-structure-set!
                   _buf609_
                   _rhi615_
                   '2
                   std/net/bio/input#input-buffer::t
                   '#f)
                  (##fx+ _have620_
                         (std/net/bio/input#bio-input-read
                          _bytes606_
                          (##fx+ _start607_ _have620_)
                          _end608_
                          _buf609_)))
                (std/net/bio/input#bio-input-read
                 _bytes606_
                 _start607_
                 _end608_
                 _buf609_))))))
  (define std/net/bio/input#bio-read-bytes
    (lambda (_bytes598_ _buf599_)
      (let* ((_len601_ (u8vector-length _bytes598_))
             (_rd603_ (std/net/bio/input#bio-read-subu8vector
                       _bytes598_
                       '0
                       _len601_
                       _buf599_)))
        (if (##fx= _rd603_ _len601_)
            '#!void
            (std/error#raise-io-error
             'bio-read-bytes
             '"premature end of input"
             _buf599_
             _rd603_
             _len601_)))))
  (define std/net/bio/input#bio-read-bytes-unbuffered
    (lambda (_bytes590_ _buf591_)
      (let* ((_len593_ (u8vector-length _bytes590_))
             (_rd595_ (std/net/bio/input#bio-read-subu8vector-unbuffered
                       _bytes590_
                       '0
                       _len593_
                       _buf591_)))
        (if (##fx= _rd595_ _len593_)
            '#!void
            (std/error#raise-io-error
             'bio-read-bytes
             '"premature end of input"
             _buf591_
             _rd595_
             _len593_)))))
  (define std/net/bio/input#bio-read-u32
    (lambda (_buf569_)
      (let* ((_rlo571_
              (##unchecked-structure-ref
               _buf569_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi573_
              (##unchecked-structure-ref
               _buf569_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_rlo+4575_ (##fx+ _rlo571_ '4)))
        (if (##fx<= _rlo+4575_ _rhi573_)
            (let ((_u32578_
                   (std/net/bio/input#bio-get-u32
                    (##unchecked-structure-ref
                     _buf569_
                     '1
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _rlo571_)))
              (##unchecked-structure-set!
               _buf569_
               _rlo+4575_
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _u32578_)
            (let* ((_g4357_ (std/net/bio/input#bio-input-fill! _buf569_ '4))
                   (_rlo581_
                    (##unchecked-structure-ref
                     _buf569_
                     '2
                     std/net/bio/input#input-buffer::t
                     '#f))
                   (_rhi583_
                    (##unchecked-structure-ref
                     _buf569_
                     '3
                     std/net/bio/input#input-buffer::t
                     '#f))
                   (_rlo+4585_ (##fx+ _rlo581_ '4)))
              (if (##fx<= _rlo+4585_ _rhi583_)
                  (let ((_u32588_
                         (std/net/bio/input#bio-get-u32
                          (##unchecked-structure-ref
                           _buf569_
                           '1
                           std/net/bio/input#input-buffer::t
                           '#f)
                          _rlo581_)))
                    (##unchecked-structure-set!
                     _buf569_
                     _rlo+4585_
                     '2
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _u32588_)
                  (std/error#raise-io-error
                   'bio-read-u32
                   '"Premature end of input"
                   _buf569_
                   _rlo581_
                   _rhi583_)))))))
  (define std/net/bio/input#bio-get-u32
    (lambda (_u8v561_ _start562_)
      (let ((_$e564_ (##fxarithmetic-shift-left?
                      (##u8vector-ref _u8v561_ _start562_)
                      '24)))
        (if _$e564_
            ((lambda (_bits567_)
               (##fxior _bits567_
                        (##fxarithmetic-shift-left
                         (##u8vector-ref _u8v561_ (##fx+ _start562_ '1))
                         '16)
                        (##fxarithmetic-shift-left
                         (##u8vector-ref _u8v561_ (##fx+ _start562_ '2))
                         '8)
                        (##u8vector-ref _u8v561_ (##fx+ _start562_ '3))))
             _$e564_)
            (bitwise-ior
             (arithmetic-shift (##u8vector-ref _u8v561_ _start562_) '24)
             (##fxarithmetic-shift-left
              (##u8vector-ref _u8v561_ (##fx+ _start562_ '1))
              '16)
             (##fxarithmetic-shift-left
              (##u8vector-ref _u8v561_ (##fx+ _start562_ '2))
              '8)
             (##u8vector-ref _u8v561_ (##fx+ _start562_ '3)))))))
  (define std/net/bio/input#2^31 (expt '2 '31))
  (define std/net/bio/input#2^32 (expt '2 '32))
  (define std/net/bio/input#bio-read-s32
    (lambda (_buf557_)
      (let ((_u32559_ (std/net/bio/input#bio-read-u32 _buf557_)))
        (if (> _u32559_ std/net/bio/input#2^31)
            (- _u32559_ std/net/bio/input#2^32)
            _u32559_))))
  (define std/net/bio/input#bio-read-u16
    (lambda (_buf536_)
      (let* ((_rlo538_
              (##unchecked-structure-ref
               _buf536_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi540_
              (##unchecked-structure-ref
               _buf536_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_rlo+2542_ (##fx+ _rlo538_ '2)))
        (if (##fx<= _rlo+2542_ _rhi540_)
            (let ((_u16545_
                   (std/net/bio/input#bio-get-u16
                    (##unchecked-structure-ref
                     _buf536_
                     '1
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _rlo538_)))
              (##unchecked-structure-set!
               _buf536_
               _rlo+2542_
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _u16545_)
            (let* ((_g4358_ (std/net/bio/input#bio-input-fill! _buf536_ '2))
                   (_rlo548_
                    (##unchecked-structure-ref
                     _buf536_
                     '2
                     std/net/bio/input#input-buffer::t
                     '#f))
                   (_rhi550_
                    (##unchecked-structure-ref
                     _buf536_
                     '3
                     std/net/bio/input#input-buffer::t
                     '#f))
                   (_rlo+2552_ (##fx+ _rlo548_ '2)))
              (if (##fx<= _rlo+2552_ _rhi550_)
                  (let ((_u16555_
                         (std/net/bio/input#bio-get-u16
                          (##unchecked-structure-ref
                           _buf536_
                           '1
                           std/net/bio/input#input-buffer::t
                           '#f)
                          _rlo548_)))
                    (##unchecked-structure-set!
                     _buf536_
                     _rlo+2552_
                     '2
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _u16555_)
                  (std/error#raise-io-error
                   'bio-read-u16
                   '"Premature end of input"
                   _buf536_
                   _rlo548_
                   _rhi550_)))))))
  (define std/net/bio/input#bio-get-u16
    (lambda (_u8v533_ _start534_)
      (##fxior (##fxarithmetic-shift-left
                (##u8vector-ref _u8v533_ _start534_)
                '8)
               (##u8vector-ref _u8v533_ (##fx+ _start534_ '1)))))
  (define std/net/bio/input#2^15 (expt '2 '15))
  (define std/net/bio/input#2^16 (expt '2 '16))
  (define std/net/bio/input#bio-read-s16
    (lambda (_buf529_)
      (let ((_u16531_ (std/net/bio/input#bio-read-u16 _buf529_)))
        (if (##fx> _u16531_ std/net/bio/input#2^15)
            (##fx- _u16531_ std/net/bio/input#2^16)
            _u16531_))))
  (define std/net/bio/input#bio-read-char
    (lambda (_buf496_)
      (letrec ((_fill+recur!498_
                (lambda (_need525_)
                  (let ((_rd527_ (std/net/bio/input#bio-input-fill!
                                  _buf496_
                                  _need525_)))
                    (if (##fxzero? _rd527_)
                        (std/error#raise-io-error
                         'bio-read-char
                         '"Incomplete character"
                         _buf496_)
                        (std/net/bio/input#bio-read-char _buf496_)))))
               (_get-byte499_
                (lambda (_i523_)
                  (##u8vector-ref
                   (##unchecked-structure-ref
                    _buf496_
                    '1
                    std/net/bio/input#input-buffer::t
                    '#f)
                   _i523_))))
        (let ((_rlo501_
               (##unchecked-structure-ref
                _buf496_
                '2
                std/net/bio/input#input-buffer::t
                '#f))
              (_rhi502_
               (##unchecked-structure-ref
                _buf496_
                '3
                std/net/bio/input#input-buffer::t
                '#f)))
          (if (##fx< _rlo501_ _rhi502_)
              (let ((_byte504_ (_get-byte499_ _rlo501_)))
                (if (##fx<= _byte504_ '127)
                    (begin
                      (##unchecked-structure-set!
                       _buf496_
                       (##fx+ _rlo501_ '1)
                       '2
                       std/net/bio/input#input-buffer::t
                       '#f)
                      (##integer->char _byte504_))
                    (if (##fx<= _byte504_ '223)
                        (let ((_rlo+1506_ (##fx+ _rlo501_ '1)))
                          (if (##fx< _rlo+1506_ _rhi502_)
                              (let ((_byte2508_ (_get-byte499_ _rlo+1506_)))
                                (##unchecked-structure-set!
                                 _buf496_
                                 (##fx+ _rlo501_ '2)
                                 '2
                                 std/net/bio/input#input-buffer::t
                                 '#f)
                                (##integer->char
                                 (##fxior (##fxarithmetic-shift-left
                                           (##fxand _byte504_ '31)
                                           '6)
                                          (##fxand _byte2508_ '63))))
                              (_fill+recur!498_ '2)))
                        (if (##fx<= _byte504_ '239)
                            (let ((_rlo+2510_ (##fx+ _rlo501_ '2)))
                              (if (##fx< _rlo+2510_ _rhi502_)
                                  (let ((_byte2512_
                                         (_get-byte499_ (##fx+ _rlo501_ '1)))
                                        (_byte3513_
                                         (_get-byte499_ _rlo+2510_)))
                                    (##unchecked-structure-set!
                                     _buf496_
                                     (##fx+ _rlo501_ '3)
                                     '2
                                     std/net/bio/input#input-buffer::t
                                     '#f)
                                    (##integer->char
                                     (##fxior (##fxarithmetic-shift-left
                                               (##fxand _byte504_ '15)
                                               '12)
                                              (##fxarithmetic-shift-left
                                               (##fxand _byte2512_ '63)
                                               '6)
                                              (##fxand _byte3513_ '63))))
                                  (_fill+recur!498_ '3)))
                            (if (##fx<= _byte504_ '244)
                                (let ((_rlo+3515_ (##fx+ _rlo501_ '3)))
                                  (if (##fx< _rlo+3515_ _rhi502_)
                                      (let ((_byte2517_
                                             (_get-byte499_
                                              (##fx+ _rlo501_ '1)))
                                            (_byte3518_
                                             (_get-byte499_
                                              (##fx+ _rlo501_ '2)))
                                            (_byte4519_
                                             (_get-byte499_ _rlo+3515_)))
                                        (##unchecked-structure-set!
                                         _buf496_
                                         (##integer->char
                                          (##fxior (##fxarithmetic-shift-left
                                                    (##fxand _byte504_ '7)
                                                    '18)
                                                   (##fxarithmetic-shift-left
                                                    (##fxand _byte2517_ '63)
                                                    '12)
                                                   (##fxarithmetic-shift-left
                                                    (##fxand _byte3518_ '63)
                                                    '6)
                                                   (##fxand _byte4519_ '63)))
                                         '2
                                         std/net/bio/input#input-buffer::t
                                         '#f))
                                      (_fill+recur!498_ '4)))
                                (begin
                                  (##unchecked-structure-set!
                                   _buf496_
                                   (##fx+ _rlo501_ '1)
                                   '2
                                   std/net/bio/input#input-buffer::t
                                   '#f)
                                  '#\�))))))
              (let ((_rd521_ (std/net/bio/input#bio-input-fill! _buf496_ '1)))
                (if (##fxzero? _rd521_)
                    (eof-object)
                    (std/net/bio/input#bio-read-char _buf496_))))))))
  (define std/net/bio/input#bio-read-substring
    (lambda (_str484_ _start485_ _end486_ _buf487_)
      (let _lp489_ ((_i491_ _start485_) (_count492_ '0))
        (if (##fx< _i491_ _end486_)
            (let ((_char494_ (std/net/bio/input#bio-read-char _str484_)))
              (if (eof-object? _char494_)
                  _count492_
                  (begin
                    (##string-set! _str484_ _i491_ _char494_)
                    (_lp489_ (##fx+ _start485_ '1) (##fx+ _count492_ '1)))))
            _count492_))))
  (define std/net/bio/input#bio-read-string
    (lambda (_str474_ _start475_ _end476_ _buf477_)
      (let* ((_len479_ (string-length _str474_))
             (_rd481_ (std/net/bio/input#bio-read-substring
                       _str474_
                       '0
                       _len479_
                       _buf477_)))
        (if (##fx= _rd481_ _len479_)
            '#!void
            (std/error#raise-io-error
             'bio-read-string
             '"premature end of input"
             _buf477_
             _rd481_
             _len479_)))))
  (define std/net/bio/input#bio-read-line__%
    (lambda (_buf430_ _sep431_ _include-sep?432_ _maxchars433_)
      (let _lp435_ ((_chars437_ '()) (_count438_ '0))
        (if (or (not _maxchars433_) (##fx< _count438_ _maxchars433_))
            (let ((_char443_ (std/net/bio/input#bio-read-char _buf430_)))
              (if (eof-object? _char443_)
                  (if (null? _chars437_)
                      (eof-object)
                      (list->string (std/srfi/1#reverse! _chars437_)))
                  (if (eq? _char443_ _sep431_)
                      (list->string
                       (std/srfi/1#reverse!
                        (if _include-sep?432_
                            (cons _sep431_ _chars437_)
                            _chars437_)))
                      (_lp435_ (cons _char443_ _chars437_)
                               (##fx+ _count438_ '1)))))
            (list->string (std/srfi/1#reverse! _chars437_))))))
  (define std/net/bio/input#bio-read-line__0
    (lambda (_buf448_)
      (let* ((_sep450_ '#\newline) (_include-sep?452_ '#f) (_maxchars454_ '#f))
        (std/net/bio/input#bio-read-line__%
         _buf448_
         _sep450_
         _include-sep?452_
         _maxchars454_))))
  (define std/net/bio/input#bio-read-line__1
    (lambda (_buf456_ _sep457_)
      (let* ((_include-sep?459_ '#f) (_maxchars461_ '#f))
        (std/net/bio/input#bio-read-line__%
         _buf456_
         _sep457_
         _include-sep?459_
         _maxchars461_))))
  (define std/net/bio/input#bio-read-line__2
    (lambda (_buf463_ _sep464_ _include-sep?465_)
      (let ((_maxchars467_ '#f))
        (std/net/bio/input#bio-read-line__%
         _buf463_
         _sep464_
         _include-sep?465_
         _maxchars467_))))
  (define std/net/bio/input#bio-read-line
    (lambda _g4360_
      (let ((_g4359_ (##length _g4360_)))
        (cond ((##fx= _g4359_ 1)
               (apply std/net/bio/input#bio-read-line__0 _g4360_))
              ((##fx= _g4359_ 2)
               (apply std/net/bio/input#bio-read-line__1 _g4360_))
              ((##fx= _g4359_ 3)
               (apply std/net/bio/input#bio-read-line__2 _g4360_))
              ((##fx= _g4359_ 4)
               (apply std/net/bio/input#bio-read-line__% _g4360_))
              (else
               (##raise-wrong-number-of-arguments-exception
                std/net/bio/input#bio-read-line
                _g4360_))))))
  (define std/net/bio/input#bio-input-utf8-decode
    (lambda (_count417_ _buf418_)
      (let* ((_rlo420_
              (##unchecked-structure-ref
               _buf418_
               '2
               std/net/bio/input#input-buffer::t
               '#f))
             (_rhi422_
              (##unchecked-structure-ref
               _buf418_
               '3
               std/net/bio/input#input-buffer::t
               '#f))
             (_rlo+count424_ (##fx+ _rlo420_ _count417_)))
        (if (##fx<= _rlo+count424_ _rhi422_)
            (let ((_str427_
                   (std/text/utf8#utf8-decode
                    (##unchecked-structure-ref
                     _buf418_
                     '1
                     std/net/bio/input#input-buffer::t
                     '#f)
                    _rlo420_
                    _rlo+count424_)))
              (##unchecked-structure-set!
               _buf418_
               _rlo+count424_
               '2
               std/net/bio/input#input-buffer::t
               '#f)
              _str427_)
            (std/error#raise-io-error
             'bio-input-utf8-decode
             '"not enough bytes"
             _buf418_
             _count417_)))))
  (define std/net/bio/input#bio-input-skip
    (lambda (_count397_ _buf398_)
      (let _lp400_ ((_count402_ _count397_))
        (let* ((_rlo404_
                (##unchecked-structure-ref
                 _buf398_
                 '2
                 std/net/bio/input#input-buffer::t
                 '#f))
               (_rhi406_
                (##unchecked-structure-ref
                 _buf398_
                 '3
                 std/net/bio/input#input-buffer::t
                 '#f))
               (_have408_ (##fx- _rhi406_ _rlo404_)))
          (if (##fx< _have408_ _count402_)
              (let ((_need411_ (##fx- _count402_ _have408_)))
                (##unchecked-structure-set!
                 _buf398_
                 _rhi406_
                 '2
                 std/net/bio/input#input-buffer::t
                 '#f)
                (let ((_rd413_ (std/net/bio/input#bio-input-fill!
                                _buf398_
                                _need411_)))
                  (if (##fxzero? _rd413_)
                      (std/error#raise-io-error
                       'bio-input-skip
                       '"premature end of input"
                       _buf398_
                       _count402_)
                      (_lp400_ _need411_))))
              (let ((_rlo+count415_ (##fx+ _rlo404_ _count402_)))
                (##unchecked-structure-set!
                 _buf398_
                 _rlo+count415_
                 '2
                 std/net/bio/input#input-buffer::t
                 '#f)))))))
  (define std/net/bio/input#bio-input-count
    (lambda (_buf392_)
      (let ((_rlo394_
             (##unchecked-structure-ref
              _buf392_
              '2
              std/net/bio/input#input-buffer::t
              '#f))
            (_rhi395_
             (##unchecked-structure-ref
              _buf392_
              '3
              std/net/bio/input#input-buffer::t
              '#f)))
        (##fx- _rhi395_ _rlo394_)))))
