(declare (block) (standard-bindings) (extended-bindings))
(begin
  (define std/actor/rpc/base#!rpc-protocol::t
    (make-struct-type
     'std/actor/rpc/base#!rpc-protocol::t
     '#f
     '2
     '!rpc-protocol
     '()
     '#f
     '(connect accept)))
  (define std/actor/rpc/base#!rpc-protocol?
    (make-struct-predicate std/actor/rpc/base#!rpc-protocol::t))
  (define std/actor/rpc/base#make-!rpc-protocol
    (lambda _$args202301_
      (apply make-struct-instance
             std/actor/rpc/base#!rpc-protocol::t
             _$args202301_)))
  (define std/actor/rpc/base#!rpc-protocol-connect
    (make-struct-field-accessor std/actor/rpc/base#!rpc-protocol::t '0))
  (define std/actor/rpc/base#!rpc-protocol-accept
    (make-struct-field-accessor std/actor/rpc/base#!rpc-protocol::t '1))
  (define std/actor/rpc/base#!rpc-protocol-connect-set!
    (make-struct-field-mutator std/actor/rpc/base#!rpc-protocol::t '0))
  (define std/actor/rpc/base#!rpc-protocol-accept-set!
    (make-struct-field-mutator std/actor/rpc/base#!rpc-protocol::t '1))
  (define std/actor/rpc/base#xdr-read-uuid
    (lambda (_buffer202297_)
      (let ((_bytes202299_ (make-u8vector std/misc/uuid#uuid-length)))
        (std/net/bio/input#bio-read-bytes _bytes202299_ _buffer202297_)
        (##structure std/misc/uuid#uuid::t _bytes202299_ '#f))))
  (define std/actor/rpc/base#xdr-write-uuid
    (lambda (_obj202294_ _buffer202295_)
      (std/net/bio/output#bio-write-subu8vector
       (##direct-structure-ref _obj202294_ '1 std/misc/uuid#uuid::t '#f)
       '0
       std/misc/uuid#uuid-length
       _buffer202295_)))
  (table-set!
   std/actor/xdr#+xdr-default-type-registry+
   (##type-id std/misc/uuid#uuid::t)
   (##structure
    std/actor/xdr#XDR::t
    std/actor/rpc/base#xdr-read-uuid
    std/actor/rpc/base#xdr-write-uuid))
  (table-set!
   std/actor/xdr#+xdr-default-type-registry+
   (##type-id std/actor/message#actor-error::t)
   (##structure
    std/actor/xdr#XDR::t
    (lambda (_buffer202291_)
      (std/actor/xdr#xdr-read-struct
       std/actor/message#actor-error::t
       _buffer202291_))
    std/actor/xdr#xdr-write-struct))
  (table-set!
   std/actor/xdr#+xdr-default-type-registry+
   (##type-id std/actor/proto#remote-error::t)
   (##structure
    std/actor/xdr#XDR::t
    (lambda (_buffer202288_)
      (std/actor/xdr#xdr-read-struct
       std/actor/proto#remote-error::t
       _buffer202288_))
    std/actor/xdr#xdr-write-struct))
  (table-set!
   std/actor/xdr#+xdr-default-type-registry+
   (##type-id std/actor/proto#rpc-error::t)
   (##structure
    std/actor/xdr#XDR::t
    (lambda (_buffer202285_)
      (std/actor/xdr#xdr-read-struct
       std/actor/proto#rpc-error::t
       _buffer202285_))
    std/actor/xdr#xdr-write-struct))
  (define std/actor/rpc/base#rpc::proto
    (##structure
     std/actor/proto#!protocol::t
     'std/actor#rpc
     '()
     (hash-copy std/actor/xdr#+xdr-default-type-registry+)))
  (define std/actor/rpc/base#rpc.connect::t
    (make-struct-type
     'std/actor#rpc.connect::t
     '#f
     '3
     'rpc.connect
     '((final: . #t))
     '#f
     '(id address proto)))
  (define std/actor/rpc/base#rpc.connect?
    (make-struct-predicate std/actor/rpc/base#rpc.connect::t))
  (define std/actor/rpc/base#make-rpc.connect
    (lambda _$args202282_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.connect::t
             _$args202282_)))
  (define std/actor/rpc/base#rpc.connect-id
    (make-struct-field-accessor std/actor/rpc/base#rpc.connect::t '0))
  (define std/actor/rpc/base#rpc.connect-address
    (make-struct-field-accessor std/actor/rpc/base#rpc.connect::t '1))
  (define std/actor/rpc/base#rpc.connect-proto
    (make-struct-field-accessor std/actor/rpc/base#rpc.connect::t '2))
  (define std/actor/rpc/base#rpc.connect-id-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.connect::t '0))
  (define std/actor/rpc/base#rpc.connect-address-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.connect::t '1))
  (define std/actor/rpc/base#rpc.connect-proto-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.connect::t '2))
  (define std/actor/rpc/base#xdr-rpc.connect-read
    (lambda (_buffer202280_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.connect::t
       _buffer202280_)))
  (define std/actor/rpc/base#xdr-rpc.connect-write
    (lambda (_obj202277_ _buffer202278_)
      (std/actor/xdr#xdr-write-struct _obj202277_ _buffer202278_)))
  (define std/actor/rpc/base#rpc.connect::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.connect-read
     std/actor/rpc/base#xdr-rpc.connect-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.connect::t
   std/actor/rpc/base#rpc.connect::xdr)
  (define std/actor/rpc/base#rpc.register::t
    (make-struct-type
     'std/actor#rpc.register::t
     '#f
     '2
     'rpc.register
     '((final: . #t))
     '#f
     '(id proto)))
  (define std/actor/rpc/base#rpc.register?
    (make-struct-predicate std/actor/rpc/base#rpc.register::t))
  (define std/actor/rpc/base#make-rpc.register
    (lambda _$args202274_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.register::t
             _$args202274_)))
  (define std/actor/rpc/base#rpc.register-id
    (make-struct-field-accessor std/actor/rpc/base#rpc.register::t '0))
  (define std/actor/rpc/base#rpc.register-proto
    (make-struct-field-accessor std/actor/rpc/base#rpc.register::t '1))
  (define std/actor/rpc/base#rpc.register-id-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.register::t '0))
  (define std/actor/rpc/base#rpc.register-proto-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.register::t '1))
  (define std/actor/rpc/base#xdr-rpc.register-read
    (lambda (_buffer202272_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.register::t
       _buffer202272_)))
  (define std/actor/rpc/base#xdr-rpc.register-write
    (lambda (_obj202269_ _buffer202270_)
      (std/actor/xdr#xdr-write-struct _obj202269_ _buffer202270_)))
  (define std/actor/rpc/base#rpc.register::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.register-read
     std/actor/rpc/base#xdr-rpc.register-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.register::t
   std/actor/rpc/base#rpc.register::xdr)
  (define std/actor/rpc/base#rpc.unregister::t
    (make-struct-type
     'std/actor#rpc.unregister::t
     '#f
     '1
     'rpc.unregister
     '((final: . #t))
     '#f
     '(id)))
  (define std/actor/rpc/base#rpc.unregister?
    (make-struct-predicate std/actor/rpc/base#rpc.unregister::t))
  (define std/actor/rpc/base#make-rpc.unregister
    (lambda _$args202266_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.unregister::t
             _$args202266_)))
  (define std/actor/rpc/base#rpc.unregister-id
    (make-struct-field-accessor std/actor/rpc/base#rpc.unregister::t '0))
  (define std/actor/rpc/base#rpc.unregister-id-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.unregister::t '0))
  (define std/actor/rpc/base#xdr-rpc.unregister-read
    (lambda (_buffer202264_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.unregister::t
       _buffer202264_)))
  (define std/actor/rpc/base#xdr-rpc.unregister-write
    (lambda (_obj202261_ _buffer202262_)
      (std/actor/xdr#xdr-write-struct _obj202261_ _buffer202262_)))
  (define std/actor/rpc/base#rpc.unregister::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.unregister-read
     std/actor/rpc/base#xdr-rpc.unregister-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.unregister::t
   std/actor/rpc/base#rpc.unregister::xdr)
  (define std/actor/rpc/base#rpc.resolve::t
    (make-struct-type
     'std/actor#rpc.resolve::t
     '#f
     '1
     'rpc.resolve
     '((final: . #t))
     '#f
     '(id)))
  (define std/actor/rpc/base#rpc.resolve?
    (make-struct-predicate std/actor/rpc/base#rpc.resolve::t))
  (define std/actor/rpc/base#make-rpc.resolve
    (lambda _$args202258_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.resolve::t
             _$args202258_)))
  (define std/actor/rpc/base#rpc.resolve-id
    (make-struct-field-accessor std/actor/rpc/base#rpc.resolve::t '0))
  (define std/actor/rpc/base#rpc.resolve-id-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.resolve::t '0))
  (define std/actor/rpc/base#xdr-rpc.resolve-read
    (lambda (_buffer202256_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.resolve::t
       _buffer202256_)))
  (define std/actor/rpc/base#xdr-rpc.resolve-write
    (lambda (_obj202253_ _buffer202254_)
      (std/actor/xdr#xdr-write-struct _obj202253_ _buffer202254_)))
  (define std/actor/rpc/base#rpc.resolve::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.resolve-read
     std/actor/rpc/base#xdr-rpc.resolve-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.resolve::t
   std/actor/rpc/base#rpc.resolve::xdr)
  (define std/actor/rpc/base#rpc.server-address::t
    (make-struct-type
     'std/actor#rpc.server-address::t
     '#f
     '0
     'rpc.server-address
     '((final: . #t))
     '#f
     '()))
  (define std/actor/rpc/base#rpc.server-address?
    (make-struct-predicate std/actor/rpc/base#rpc.server-address::t))
  (define std/actor/rpc/base#make-rpc.server-address
    (lambda _$args202250_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.server-address::t
             _$args202250_)))
  (define std/actor/rpc/base#xdr-rpc.server-address-read
    (lambda (_buffer202248_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.server-address::t
       _buffer202248_)))
  (define std/actor/rpc/base#xdr-rpc.server-address-write
    (lambda (_obj202245_ _buffer202246_)
      (std/actor/xdr#xdr-write-struct _obj202245_ _buffer202246_)))
  (define std/actor/rpc/base#rpc.server-address::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.server-address-read
     std/actor/rpc/base#xdr-rpc.server-address-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.server-address::t
   std/actor/rpc/base#rpc.server-address::xdr)
  (define std/actor/rpc/base#rpc.connection-accept::t
    (make-struct-type
     'std/actor#rpc.connection-accept::t
     '#f
     '2
     'rpc.connection-accept
     '((final: . #t))
     '#f
     '(sock sa)))
  (define std/actor/rpc/base#rpc.connection-accept?
    (make-struct-predicate std/actor/rpc/base#rpc.connection-accept::t))
  (define std/actor/rpc/base#make-rpc.connection-accept
    (lambda _$args202242_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.connection-accept::t
             _$args202242_)))
  (define std/actor/rpc/base#rpc.connection-accept-sock
    (make-struct-field-accessor
     std/actor/rpc/base#rpc.connection-accept::t
     '0))
  (define std/actor/rpc/base#rpc.connection-accept-sa
    (make-struct-field-accessor
     std/actor/rpc/base#rpc.connection-accept::t
     '1))
  (define std/actor/rpc/base#rpc.connection-accept-sock-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.connection-accept::t '0))
  (define std/actor/rpc/base#rpc.connection-accept-sa-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.connection-accept::t '1))
  (define std/actor/rpc/base#xdr-rpc.connection-accept-read
    (lambda (_buffer202240_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.connection-accept::t
       _buffer202240_)))
  (define std/actor/rpc/base#xdr-rpc.connection-accept-write
    (lambda (_obj202237_ _buffer202238_)
      (std/actor/xdr#xdr-write-struct _obj202237_ _buffer202238_)))
  (define std/actor/rpc/base#rpc.connection-accept::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.connection-accept-read
     std/actor/rpc/base#xdr-rpc.connection-accept-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.connection-accept::t
   std/actor/rpc/base#rpc.connection-accept::xdr)
  (define std/actor/rpc/base#rpc.connection-shutdown::t
    (make-struct-type
     'std/actor#rpc.connection-shutdown::t
     '#f
     '0
     'rpc.connection-shutdown
     '((final: . #t))
     '#f
     '()))
  (define std/actor/rpc/base#rpc.connection-shutdown?
    (make-struct-predicate std/actor/rpc/base#rpc.connection-shutdown::t))
  (define std/actor/rpc/base#make-rpc.connection-shutdown
    (lambda _$args202234_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.connection-shutdown::t
             _$args202234_)))
  (define std/actor/rpc/base#xdr-rpc.connection-shutdown-read
    (lambda (_buffer202232_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.connection-shutdown::t
       _buffer202232_)))
  (define std/actor/rpc/base#xdr-rpc.connection-shutdown-write
    (lambda (_obj202229_ _buffer202230_)
      (std/actor/xdr#xdr-write-struct _obj202229_ _buffer202230_)))
  (define std/actor/rpc/base#rpc.connection-shutdown::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.connection-shutdown-read
     std/actor/rpc/base#xdr-rpc.connection-shutdown-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.connection-shutdown::t
   std/actor/rpc/base#rpc.connection-shutdown::xdr)
  (define std/actor/rpc/base#rpc.connection-close::t
    (make-struct-type
     'std/actor#rpc.connection-close::t
     '#f
     '0
     'rpc.connection-close
     '((final: . #t))
     '#f
     '()))
  (define std/actor/rpc/base#rpc.connection-close?
    (make-struct-predicate std/actor/rpc/base#rpc.connection-close::t))
  (define std/actor/rpc/base#make-rpc.connection-close
    (lambda _$args202226_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.connection-close::t
             _$args202226_)))
  (define std/actor/rpc/base#xdr-rpc.connection-close-read
    (lambda (_buffer202224_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.connection-close::t
       _buffer202224_)))
  (define std/actor/rpc/base#xdr-rpc.connection-close-write
    (lambda (_obj202221_ _buffer202222_)
      (std/actor/xdr#xdr-write-struct _obj202221_ _buffer202222_)))
  (define std/actor/rpc/base#rpc.connection-close::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.connection-close-read
     std/actor/rpc/base#xdr-rpc.connection-close-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.connection-close::t
   std/actor/rpc/base#rpc.connection-close::xdr)
  (define std/actor/rpc/base#rpc.monitor::t
    (make-struct-type
     'std/actor#rpc.monitor::t
     '#f
     '1
     'rpc.monitor
     '((final: . #t))
     '#f
     '(remote)))
  (define std/actor/rpc/base#rpc.monitor?
    (make-struct-predicate std/actor/rpc/base#rpc.monitor::t))
  (define std/actor/rpc/base#make-rpc.monitor
    (lambda _$args202218_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.monitor::t
             _$args202218_)))
  (define std/actor/rpc/base#rpc.monitor-remote
    (make-struct-field-accessor std/actor/rpc/base#rpc.monitor::t '0))
  (define std/actor/rpc/base#rpc.monitor-remote-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.monitor::t '0))
  (define std/actor/rpc/base#xdr-rpc.monitor-read
    (lambda (_buffer202216_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.monitor::t
       _buffer202216_)))
  (define std/actor/rpc/base#xdr-rpc.monitor-write
    (lambda (_obj202213_ _buffer202214_)
      (std/actor/xdr#xdr-write-struct _obj202213_ _buffer202214_)))
  (define std/actor/rpc/base#rpc.monitor::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.monitor-read
     std/actor/rpc/base#xdr-rpc.monitor-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.monitor::t
   std/actor/rpc/base#rpc.monitor::xdr)
  (define std/actor/rpc/base#rpc.unmonitor::t
    (make-struct-type
     'std/actor#rpc.unmonitor::t
     '#f
     '1
     'rpc.unmonitor
     '((final: . #t))
     '#f
     '(remote)))
  (define std/actor/rpc/base#rpc.unmonitor?
    (make-struct-predicate std/actor/rpc/base#rpc.unmonitor::t))
  (define std/actor/rpc/base#make-rpc.unmonitor
    (lambda _$args202210_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.unmonitor::t
             _$args202210_)))
  (define std/actor/rpc/base#rpc.unmonitor-remote
    (make-struct-field-accessor std/actor/rpc/base#rpc.unmonitor::t '0))
  (define std/actor/rpc/base#rpc.unmonitor-remote-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.unmonitor::t '0))
  (define std/actor/rpc/base#xdr-rpc.unmonitor-read
    (lambda (_buffer202208_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.unmonitor::t
       _buffer202208_)))
  (define std/actor/rpc/base#xdr-rpc.unmonitor-write
    (lambda (_obj202205_ _buffer202206_)
      (std/actor/xdr#xdr-write-struct _obj202205_ _buffer202206_)))
  (define std/actor/rpc/base#rpc.unmonitor::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.unmonitor-read
     std/actor/rpc/base#xdr-rpc.unmonitor-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.unmonitor::t
   std/actor/rpc/base#rpc.unmonitor::xdr)
  (define std/actor/rpc/base#rpc.disconnect::t
    (make-struct-type
     'std/actor#rpc.disconnect::t
     '#f
     '1
     'rpc.disconnect
     '((final: . #t))
     '#f
     '(remote)))
  (define std/actor/rpc/base#rpc.disconnect?
    (make-struct-predicate std/actor/rpc/base#rpc.disconnect::t))
  (define std/actor/rpc/base#make-rpc.disconnect
    (lambda _$args202202_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.disconnect::t
             _$args202202_)))
  (define std/actor/rpc/base#rpc.disconnect-remote
    (make-struct-field-accessor std/actor/rpc/base#rpc.disconnect::t '0))
  (define std/actor/rpc/base#rpc.disconnect-remote-set!
    (make-struct-field-mutator std/actor/rpc/base#rpc.disconnect::t '0))
  (define std/actor/rpc/base#xdr-rpc.disconnect-read
    (lambda (_buffer202200_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.disconnect::t
       _buffer202200_)))
  (define std/actor/rpc/base#xdr-rpc.disconnect-write
    (lambda (_obj202197_ _buffer202198_)
      (std/actor/xdr#xdr-write-struct _obj202197_ _buffer202198_)))
  (define std/actor/rpc/base#rpc.disconnect::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.disconnect-read
     std/actor/rpc/base#xdr-rpc.disconnect-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.disconnect::t
   std/actor/rpc/base#rpc.disconnect::xdr)
  (define std/actor/rpc/base#rpc.shutdown::t
    (make-struct-type
     'std/actor#rpc.shutdown::t
     '#f
     '0
     'rpc.shutdown
     '((final: . #t))
     '#f
     '()))
  (define std/actor/rpc/base#rpc.shutdown?
    (make-struct-predicate std/actor/rpc/base#rpc.shutdown::t))
  (define std/actor/rpc/base#make-rpc.shutdown
    (lambda _$args202194_
      (apply make-struct-instance
             std/actor/rpc/base#rpc.shutdown::t
             _$args202194_)))
  (define std/actor/rpc/base#xdr-rpc.shutdown-read
    (lambda (_buffer202192_)
      (std/actor/xdr#xdr-read-struct
       std/actor/rpc/base#rpc.shutdown::t
       _buffer202192_)))
  (define std/actor/rpc/base#xdr-rpc.shutdown-write
    (lambda (_obj202187_ _buffer202189_)
      (std/actor/xdr#xdr-write-struct _obj202187_ _buffer202189_)))
  (define std/actor/rpc/base#rpc.shutdown::xdr
    (##structure
     std/actor/xdr#XDR::t
     std/actor/rpc/base#xdr-rpc.shutdown-read
     std/actor/rpc/base#xdr-rpc.shutdown-write))
  (table-set!
   (##direct-structure-ref
    std/actor/rpc/base#rpc::proto
    '3
    std/actor/proto#!protocol::t
    '#f)
   'std/actor#rpc.shutdown::t
   std/actor/rpc/base#rpc.shutdown::xdr)
  (define std/actor/rpc/base#null-uuid
    (std/misc/uuid#u8vector->uuid (make-u8vector std/misc/uuid#uuid-length)))
  (define std/actor/rpc/base#rpc-monitor__%
    (lambda (_thread202167_ _msg202168_)
      (letrec ((_thread-monitor202170_
                (lambda (_server202172_ _thread202173_ _msg202174_)
                  (with-exception-catcher
                   values
                   (lambda () (thread-join! _thread202173_)))
                  (thread-send _server202172_ _msg202174_))))
        (gerbil/gambit/threads#spawn/name
         'rpc-monitor
         _thread-monitor202170_
         (current-thread)
         _thread202167_
         _msg202168_))))
  (define std/actor/rpc/base#rpc-monitor__0
    (lambda (_thread202180_)
      (let ((_msg202182_ _thread202180_))
        (std/actor/rpc/base#rpc-monitor__% _thread202180_ _msg202182_))))
  (define std/actor/rpc/base#rpc-monitor
    (lambda _g202933_
      (let ((_g202932_ (length _g202933_)))
        (cond ((##fx= _g202932_ 1)
               (apply std/actor/rpc/base#rpc-monitor__0 _g202933_))
              ((##fx= _g202932_ 2)
               (apply std/actor/rpc/base#rpc-monitor__% _g202933_))
              (else
               (##raise-wrong-number-of-arguments-exception
                std/actor/rpc/base#rpc-monitor
                _g202933_))))))
  (define std/actor/rpc/base#make-uuid-table
    (lambda ()
      (make-table 'test: std/misc/uuid#uuid=? 'hash: std/misc/uuid#uuid-hash)))
  (define std/actor/rpc/base#+protocols+ (std/actor/rpc/base#make-uuid-table))
  (define std/actor/rpc/base#bind-protocol!
    (lambda (_id202162_ _proto202163_)
      (if (##structure-direct-instance-of?
           _proto202163_
           'std/actor/proto#!protocol::t)
          '#!void
          (error '"Bad protocol" _proto202163_))
      (table-set!
       std/actor/rpc/base#+protocols+
       (std/misc/uuid#UUID _id202162_)
       _proto202163_)))
  (define std/actor/rpc/base#lookup-protocol
    (lambda (_uuid202160_)
      (table-ref std/actor/rpc/base#+protocols+ _uuid202160_ '#f)))
  (define std/actor/rpc/base#make-actor-table
    (lambda ()
      (let ((__obj202931 (make-object std/misc/sync#sync-hash::t '2)))
        (std/misc/sync#sync-hash:::init!
         __obj202931
         (std/actor/rpc/base#make-uuid-table))
        __obj202931)))
  (define std/actor/rpc/base#actor-table-put!
    (lambda (_at202154_ _uuid202155_ _actor202156_ _proto202157_)
      (std/misc/sync#sync-hash-put!
       _at202154_
       _uuid202155_
       (values _actor202156_ _proto202157_)))))
