/* Generated automatically from ./queue.scm.  DO NOT EDIT */
#include <gauche.h>
#include <gauche/code.h>
#include <gauche/extend.h>

#line 71 "./queue.scm"
#include <gauche/class.h>


























static ScmObj data_2d_2dqueue_25lock_mtq(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25lock_mtq__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25lock_mtq, NULL, NULL);


static ScmObj data_2d_2dqueue_25unlock_mtq(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25unlock_mtq__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25unlock_mtq, NULL, NULL);


static ScmObj data_2d_2dqueue_25notify_writers(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25notify_writers__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25notify_writers, NULL, NULL);


static ScmObj data_2d_2dqueue_25notify_readers(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25notify_readers__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25notify_readers, NULL, NULL);


static ScmObj data_2d_2dqueuemake_queue(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuemake_queue__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuemake_queue, NULL, NULL);


static ScmObj data_2d_2dqueuemake_mtqueue(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuemake_mtqueue__STUB, 0, 1,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuemake_mtqueue, NULL, NULL);


static ScmObj data_2d_2dqueue_25queue_set_contentX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueue_25queue_set_contentX__STUB, 3, 0,SCM_FALSE,data_2d_2dqueue_25queue_set_contentX, NULL, NULL);


static ScmObj data_2d_2dqueuequeue_emptyP(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuequeue_emptyP__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuequeue_emptyP, NULL, NULL);


static ScmObj data_2d_2dqueuequeue_length(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuequeue_length__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuequeue_length, NULL, NULL);


static ScmObj data_2d_2dqueuemtqueue_max_length(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuemtqueue_max_length__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuemtqueue_max_length, NULL, NULL);


static ScmObj data_2d_2dqueue_25mtqueue_overflowP(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25mtqueue_overflowP__STUB, 2, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25mtqueue_overflowP, NULL, NULL);


static ScmObj data_2d_2dqueuemtqueue_room(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuemtqueue_room__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuemtqueue_room, NULL, NULL);


static ScmObj data_2d_2dqueue_25qhead(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25qhead__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25qhead, NULL, NULL);


static ScmObj data_2d_2dqueue_25qtail(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueue_25qtail__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueue_25qtail, NULL, NULL);



static ScmObj data_2d_2dqueue_25queue_peek(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueue_25queue_peek__STUB, 1, 2,SCM_FALSE,data_2d_2dqueue_25queue_peek, NULL, NULL);



static ScmObj data_2d_2dqueue_25enqueueX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueue_25enqueueX__STUB, 4, 0,SCM_FALSE,data_2d_2dqueue_25enqueueX, NULL, NULL);


static ScmObj data_2d_2dqueueenqueueX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueueenqueueX__STUB, 2, 1,SCM_FALSE,data_2d_2dqueueenqueueX, NULL, NULL);


static ScmObj data_2d_2dqueueenqueue_2fwaitX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueueenqueue_2fwaitX__STUB, 2, 3,SCM_FALSE,data_2d_2dqueueenqueue_2fwaitX, NULL, NULL);



static ScmObj data_2d_2dqueuequeue_pushX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueuequeue_pushX__STUB, 2, 1,SCM_FALSE,data_2d_2dqueuequeue_pushX, NULL, NULL);


static ScmObj data_2d_2dqueuequeue_push_2fwaitX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueuequeue_push_2fwaitX__STUB, 2, 3,SCM_FALSE,data_2d_2dqueuequeue_push_2fwaitX, NULL, NULL);



static ScmObj data_2d_2dqueuedequeueX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueuedequeueX__STUB, 1, 2,SCM_FALSE,data_2d_2dqueuedequeueX, NULL, NULL);


static ScmObj data_2d_2dqueuedequeue_2fwaitX(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(data_2d_2dqueuedequeue_2fwaitX__STUB, 1, 3,SCM_FALSE,data_2d_2dqueuedequeue_2fwaitX, NULL, NULL);



static ScmObj data_2d_2dqueuedequeue_allX(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuedequeue_allX__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuedequeue_allX, NULL, NULL);


static ScmObj data_2d_2dqueuemtqueue_num_waiting_readers(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(data_2d_2dqueuemtqueue_num_waiting_readers__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, data_2d_2dqueuemtqueue_num_waiting_readers, NULL, NULL);

#if defined(__CYGWIN__) || defined(GAUCHE_WINDOWS)
#define SCM_CGEN_CONST /*empty*/
#else
#define SCM_CGEN_CONST const
#endif
static SCM_CGEN_CONST struct scm__scRec {
  ScmString d1965[105];
} scm__sc SCM_UNUSED = {
  {   /* ScmString d1965 */
      SCM_STRING_CONST_INITIALIZER("data.queue", 10, 10),
      SCM_STRING_CONST_INITIALIZER("%lock-mtq", 9, 9),
      SCM_STRING_CONST_INITIALIZER("q", 1, 1),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./queue.scm", 11, 11),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("%unlock-mtq", 11, 11),
      SCM_STRING_CONST_INITIALIZER("%notify-writers", 15, 15),
      SCM_STRING_CONST_INITIALIZER("%notify-readers", 15, 15),
      SCM_STRING_CONST_INITIALIZER("make-queue", 10, 10),
      SCM_STRING_CONST_INITIALIZER("max-length", 10, 10),
      SCM_STRING_CONST_INITIALIZER("make-mtqueue", 12, 12),
      SCM_STRING_CONST_INITIALIZER("%queue-set-content!", 19, 19),
      SCM_STRING_CONST_INITIALIZER("list", 4, 4),
      SCM_STRING_CONST_INITIALIZER("last-pair", 9, 9),
      SCM_STRING_CONST_INITIALIZER("list->queue", 11, 11),
      SCM_STRING_CONST_INITIALIZER("<queue>", 7, 7),
      SCM_STRING_CONST_INITIALIZER("make", 4, 4),
      SCM_STRING_CONST_INITIALIZER("list-copy", 9, 9),
      SCM_STRING_CONST_INITIALIZER("lis", 3, 3),
      SCM_STRING_CONST_INITIALIZER("optional", 8, 8),
      SCM_STRING_CONST_INITIALIZER("class", 5, 5),
      SCM_STRING_CONST_INITIALIZER("rest", 4, 4),
      SCM_STRING_CONST_INITIALIZER("initargs", 8, 8),
      SCM_STRING_CONST_INITIALIZER("unused-args", 11, 11),
      SCM_STRING_CONST_INITIALIZER("queue->list", 11, 11),
      SCM_STRING_CONST_INITIALIZER("class-of", 8, 8),
      SCM_STRING_CONST_INITIALIZER("G2004", 5, 5),
      SCM_STRING_CONST_INITIALIZER("next-method", 11, 11),
      SCM_STRING_CONST_INITIALIZER("copy-queue", 10, 10),
      SCM_STRING_CONST_INITIALIZER("%ensure-generic-function", 24, 24),
      SCM_STRING_CONST_INITIALIZER("gauche.object", 13, 13),
      SCM_STRING_CONST_INITIALIZER("<method>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("generic", 7, 7),
      SCM_STRING_CONST_INITIALIZER("specializers", 12, 12),
      SCM_STRING_CONST_INITIALIZER("lambda-list", 11, 11),
      SCM_STRING_CONST_INITIALIZER("method-locked", 13, 13),
      SCM_STRING_CONST_INITIALIZER("body", 4, 4),
      SCM_STRING_CONST_INITIALIZER("add-method!", 11, 11),
      SCM_STRING_CONST_INITIALIZER("%toplevel", 9, 9),
      SCM_STRING_CONST_INITIALIZER("mtqueue-max-length", 18, 18),
      SCM_STRING_CONST_INITIALIZER("G2006", 5, 5),
      SCM_STRING_CONST_INITIALIZER("<mtqueue>", 9, 9),
      SCM_STRING_CONST_INITIALIZER("queue-empty\077", 12, 12),
      SCM_STRING_CONST_INITIALIZER("queue\077", 6, 6),
      SCM_STRING_CONST_INITIALIZER("is-a\077", 5, 5),
      SCM_STRING_CONST_INITIALIZER("lvar", 4, 4),
      SCM_STRING_CONST_INITIALIZER("$GREF", 5, 5),
      SCM_STRING_CONST_INITIALIZER("$LREF", 5, 5),
      SCM_STRING_CONST_INITIALIZER("$CALL", 5, 5),
      SCM_STRING_CONST_INITIALIZER("$LAMBDA", 7, 7),
      SCM_STRING_CONST_INITIALIZER("lambda", 6, 6),
      SCM_STRING_CONST_INITIALIZER("mtqueue\077", 8, 8),
      SCM_STRING_CONST_INITIALIZER("queue-length", 12, 12),
      SCM_STRING_CONST_INITIALIZER("%mtqueue-overflow\077", 18, 18),
      SCM_STRING_CONST_INITIALIZER("cnt", 3, 3),
      SCM_STRING_CONST_INITIALIZER("mtqueue-room", 12, 12),
      SCM_STRING_CONST_INITIALIZER("%qhead", 6, 6),
      SCM_STRING_CONST_INITIALIZER("%qtail", 6, 6),
      SCM_STRING_CONST_INITIALIZER("%queue-peek", 11, 11),
      SCM_STRING_CONST_INITIALIZER("fallback", 8, 8),
      SCM_STRING_CONST_INITIALIZER("default", 7, 7),
      SCM_STRING_CONST_INITIALIZER("queue-front", 11, 11),
      SCM_STRING_CONST_INITIALIZER("make-case-lambda", 16, 16),
      SCM_STRING_CONST_INITIALIZER("queue-rear", 10, 10),
      SCM_STRING_CONST_INITIALIZER("%unwind-protect", 15, 15),
      SCM_STRING_CONST_INITIALIZER("queue required, but got", 23, 23),
      SCM_STRING_CONST_INITIALIZER("error", 5, 5),
      SCM_STRING_CONST_INITIALIZER("find-in-queue", 13, 13),
      SCM_STRING_CONST_INITIALIZER("find", 4, 4),
      SCM_STRING_CONST_INITIALIZER("pred", 4, 4),
      SCM_STRING_CONST_INITIALIZER("any-in-queue", 12, 12),
      SCM_STRING_CONST_INITIALIZER("any", 3, 3),
      SCM_STRING_CONST_INITIALIZER("every-in-queue", 14, 14),
      SCM_STRING_CONST_INITIALIZER("every", 5, 5),
      SCM_STRING_CONST_INITIALIZER("queue-internal-list", 19, 19),
      SCM_STRING_CONST_INITIALIZER("Can't get internal list of <mtqueue>:", 37, 37),
      SCM_STRING_CONST_INITIALIZER("%enqueue!", 9, 9),
      SCM_STRING_CONST_INITIALIZER("head", 4, 4),
      SCM_STRING_CONST_INITIALIZER("tail", 4, 4),
      SCM_STRING_CONST_INITIALIZER("enqueue!", 8, 8),
      SCM_STRING_CONST_INITIALIZER("obj", 3, 3),
      SCM_STRING_CONST_INITIALIZER("more-objs", 9, 9),
      SCM_STRING_CONST_INITIALIZER("enqueue/wait!", 13, 13),
      SCM_STRING_CONST_INITIALIZER("timeout", 7, 7),
      SCM_STRING_CONST_INITIALIZER("timeout-val", 11, 11),
      SCM_STRING_CONST_INITIALIZER("enqueue-unique!", 15, 15),
      SCM_STRING_CONST_INITIALIZER("member", 6, 6),
      SCM_STRING_CONST_INITIALIZER("pick", 4, 4),
      SCM_STRING_CONST_INITIALIZER("xs", 2, 2),
      SCM_STRING_CONST_INITIALIZER("ins", 3, 3),
      SCM_STRING_CONST_INITIALIZER("queue is full:", 14, 14),
      SCM_STRING_CONST_INITIALIZER("cmp", 3, 3),
      SCM_STRING_CONST_INITIALIZER("queue-push!", 11, 11),
      SCM_STRING_CONST_INITIALIZER("queue-push/wait!", 16, 16),
      SCM_STRING_CONST_INITIALIZER("queue-push-unique!", 18, 18),
      SCM_STRING_CONST_INITIALIZER("queue is full", 13, 13),
      SCM_STRING_CONST_INITIALIZER("dequeue!", 8, 8),
      SCM_STRING_CONST_INITIALIZER("dequeue/wait!", 13, 13),
      SCM_STRING_CONST_INITIALIZER("dequeue-all!", 12, 12),
      SCM_STRING_CONST_INITIALIZER("queue-pop!", 10, 10),
      SCM_STRING_CONST_INITIALIZER("queue-pop/wait!", 15, 15),
      SCM_STRING_CONST_INITIALIZER("mtqueue-num-waiting-readers", 27, 27),
      SCM_STRING_CONST_INITIALIZER("remove-from-queue!", 18, 18),
      SCM_STRING_CONST_INITIALIZER("reverse!", 8, 8),
  },
};
static struct scm__rcRec {
  ScmCompiledCode d2001[39];
  ScmWord d2000[996];
  ScmPair d1997[343] SCM_ALIGN_PAIR;
  ScmObj d1964[248];
} scm__rc SCM_UNUSED = {
  {   /* ScmCompiledCode d2001 */
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* list->queue */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[0])), 38,
            27, 1, 1, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[74]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* (#f G2004) */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[38])), 13,
            11, 2, 0, SCM_OBJ(&scm__rc.d1997[76]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[81]),
            SCM_OBJ(&scm__rc.d2001[2]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[51])), 42,
            34, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* (#f G2006) */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[93])), 21,
            12, 2, 0, SCM_OBJ(&scm__rc.d1997[84]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[85]),
            SCM_OBJ(&scm__rc.d2001[4]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[114])), 42,
            34, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* queue? */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[156])), 6,
            5, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[95]),
            SCM_FALSE, SCM_OBJ(&scm__rc.d1964[81])),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* mtqueue? */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[162])), 6,
            5, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[104]),
            SCM_FALSE, SCM_OBJ(&scm__rc.d1964[107])),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[168])), 7,
            10, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[176]),
            SCM_OBJ(&scm__rc.d2001[9]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[175])), 8,
            11, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[177]),
            SCM_OBJ(&scm__rc.d2001[9]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[183])), 20,
            14, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[203])), 7,
            10, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[178]),
            SCM_OBJ(&scm__rc.d2001[12]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[210])), 8,
            11, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[179]),
            SCM_OBJ(&scm__rc.d2001[12]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[218])), 20,
            14, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[238])), 8,
            10, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[182]),
            SCM_OBJ(&scm__rc.d2001[15]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[246])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[183]),
            SCM_OBJ(&scm__rc.d2001[15]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* queue->list */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[250])), 41,
            10, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[188]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[291])), 9,
            10, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[190]),
            SCM_OBJ(&scm__rc.d2001[18]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[300])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[191]),
            SCM_OBJ(&scm__rc.d2001[18]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* find-in-queue */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[304])), 42,
            10, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[197]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[346])), 9,
            10, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[199]),
            SCM_OBJ(&scm__rc.d2001[21]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[355])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[200]),
            SCM_OBJ(&scm__rc.d2001[21]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* any-in-queue */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[359])), 42,
            10, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[205]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[401])), 9,
            10, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[207]),
            SCM_OBJ(&scm__rc.d2001[24]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[410])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[208]),
            SCM_OBJ(&scm__rc.d2001[24]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* every-in-queue */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[414])), 42,
            10, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[213]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* queue-internal-list */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[456])), 20,
            11, 1, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[218]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* pick */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[476])), 41,
            12, 3, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[261]),
            SCM_OBJ(&scm__rc.d2001[29]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[517])), 58,
            24, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[264]),
            SCM_OBJ(&scm__rc.d2001[29]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[575])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[265]),
            SCM_OBJ(&scm__rc.d2001[29]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* enqueue-unique! */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[579])), 81,
            28, 3, 1, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[273]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* pick */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[660])), 29,
            12, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[292]),
            SCM_OBJ(&scm__rc.d2001[33]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[689])), 53,
            20, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[295]),
            SCM_OBJ(&scm__rc.d2001[33]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[742])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[296]),
            SCM_OBJ(&scm__rc.d2001[33]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* queue-push-unique! */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[746])), 72,
            24, 3, 1, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[301]),
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[818])), 5,
            0, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* %toplevel */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[823])), 5,
            0, 0, 0, SCM_FALSE, SCM_NIL, SCM_FALSE,
            SCM_FALSE, SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[828])), 62,
            24, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[336]),
            SCM_OBJ(&scm__rc.d2001[38]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* #f */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[890])), 4,
            4, 0, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[337]),
            SCM_OBJ(&scm__rc.d2001[38]), SCM_FALSE),
        SCM_COMPILED_CODE_CONST_INITIALIZER(  /* remove-from-queue! */
            (ScmWord*)(SCM_OBJ(&scm__rc.d2000[894])), 102,
            28, 2, 0, SCM_FALSE, SCM_NIL, SCM_OBJ(&scm__rc.d1997[342]),
            SCM_FALSE, SCM_FALSE),
  },
  {   /* ScmWord d2000 */
    /* list->queue */
    0x0000003d    /*   0 (LREF0) */,
    0x00000022    /*   1 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 7),
    0x0000005d    /*   3 (GREF) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#<queue>.7aea9f80> */,
    0x00000013    /*   5 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 8),
    0x0000006a    /*   7 (LREF0-CAR) */,
    0x0000000d    /*   8 (PUSH) */,
    0x0000003d    /*   9 (LREF0) */,
    0x00000022    /*  10 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 15),
    0x00000003    /*  12 (CONSTN) */,
    0x00000013    /*  13 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 16),
    0x00000076    /*  15 (LREF0-CDR) */,
    0x00002018    /*  16 (PUSH-LOCAL-ENV 2) */,
    0x0000000e    /*  17 (PRE-CALL 0) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 24),
    0x0000005e    /*  19 (GREF-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#make.7aea9d00> */,
    0x00000049    /*  21 (LREF1-PUSH) */,
    0x0000003d    /*  22 (LREF0) */,
    0x00003095    /*  23 (TAIL-APPLY 3) */,
    0x00001018    /*  24 (PUSH-LOCAL-ENV 1) */,
    0x0000300e    /*  25 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 37),
    0x00000048    /*  27 (LREF0-PUSH) */,
    0x0000100e    /*  28 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]) + 33),
    0x00000050    /*  30 (LREF21-PUSH) */,
    0x0000105f    /*  31 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#list-copy.7aea9c00> */,
    0x0000000d    /*  33 (PUSH) */,
    0x00000009    /*  34 (CONSTF-PUSH) */,
    0x0000305f    /*  35 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-set-content!.7aea9c60> */,
    0x00000053    /*  37 (LREF0-RET) */,
    /* (#f G2004) */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[38]) + 5),
    0x00000049    /*   2 (LREF1-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue->list.7afb7800> */,
    0x0000100f    /*   5 (PUSH-PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[38]) + 10),
    0x00000049    /*   7 (LREF1-PUSH) */,
    0x0000105f    /*   8 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#class-of.7afb77a0> */,
    0x00002063    /*  10 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#list->queue.7afb7840> */,
    0x00000014    /*  12 (RET) */,
    /* %toplevel */
    0x00001019    /*   0 (LOCAL-ENV-CLOSURES 1) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[82])) /* (#<compiled-code (#f #:G2004)@0xfce67ad2a120>) */,
    0x0000200e    /*   2 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]) + 10),
    0x00000006    /*   4 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* copy-queue */,
    0x00000006    /*   6 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<module #f> */,
    0x0000205f    /*   8 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#%ensure-generic-function.7afb1140> */,
    0x00001018    /*  10 (PUSH-LOCAL-ENV 1) */,
    0x0000200e    /*  11 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]) + 41),
    0x00000048    /*  13 (LREF0-PUSH) */,
    0x0000b00e    /*  14 (PRE-CALL 11) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]) + 39),
    0x0000005e    /*  16 (GREF-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#<method>.7afb10a0> */,
    0x00000006    /*  18 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :generic */,
    0x00000048    /*  20 (LREF0-PUSH) */,
    0x00000006    /*  21 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :specializers */,
    0x0000005d    /*  23 (GREF) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#<queue>.7afb7ba0> */,
    0x00001088    /*  25 (LIST 1) */,
    0x0000000d    /*  26 (PUSH) */,
    0x00000006    /*  27 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :lambda-list */,
    0x00000006    /*  29 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[1])) /* (q) */,
    0x00000006    /*  31 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :method-locked */,
    0x00000009    /*  33 (CONSTF-PUSH) */,
    0x00000006    /*  34 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :body */,
    0x0000004c    /*  36 (LREF10-PUSH) */,
    0x0000b05f    /*  37 (GREF-CALL 11) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#make.7afb10c0> */,
    0x00002062    /*  39 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#add-method!.7afb10e0> */,
    0x00000053    /*  41 (LREF0-RET) */,
    /* (#f G2006) */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]) + 5),
    0x00000049    /*   2 (LREF1-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue->list.7b11ee40> */,
    0x0000100f    /*   5 (PUSH-PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]) + 10),
    0x00000049    /*   7 (LREF1-PUSH) */,
    0x0000105f    /*   8 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#class-of.7b11ede0> */,
    0x0000000d    /*  10 (PUSH) */,
    0x00000006    /*  11 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :max-length */,
    0x0000100e    /*  13 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]) + 18),
    0x00000049    /*  15 (LREF1-PUSH) */,
    0x0000105f    /*  16 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue-max-length.7b11ed40> */,
    0x00004063    /*  18 (PUSH-GREF-TAIL-CALL 4) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#list->queue.7b11ee80> */,
    0x00000014    /*  20 (RET) */,
    /* %toplevel */
    0x00001019    /*   0 (LOCAL-ENV-CLOSURES 1) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[86])) /* (#<compiled-code (#f #:G2006)@0xfce67b120f00>) */,
    0x0000200e    /*   2 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]) + 10),
    0x00000006    /*   4 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* copy-queue */,
    0x00000006    /*   6 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<module #f> */,
    0x0000205f    /*   8 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#%ensure-generic-function.7b11a780> */,
    0x00001018    /*  10 (PUSH-LOCAL-ENV 1) */,
    0x0000200e    /*  11 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]) + 41),
    0x00000048    /*  13 (LREF0-PUSH) */,
    0x0000b00e    /*  14 (PRE-CALL 11) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]) + 39),
    0x0000005e    /*  16 (GREF-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#<method>.7b11a6e0> */,
    0x00000006    /*  18 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :generic */,
    0x00000048    /*  20 (LREF0-PUSH) */,
    0x00000006    /*  21 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :specializers */,
    0x0000005d    /*  23 (GREF) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#<mtqueue>.7b11a1e0> */,
    0x00001088    /*  25 (LIST 1) */,
    0x0000000d    /*  26 (PUSH) */,
    0x00000006    /*  27 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :lambda-list */,
    0x00000006    /*  29 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[1])) /* (q) */,
    0x00000006    /*  31 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :method-locked */,
    0x00000009    /*  33 (CONSTF-PUSH) */,
    0x00000006    /*  34 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* :body */,
    0x0000004c    /*  36 (LREF10-PUSH) */,
    0x0000b05f    /*  37 (GREF-CALL 11) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#make.7b11a700> */,
    0x00002062    /*  39 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.object#add-method!.7b11a720> */,
    0x00000053    /*  41 (LREF0-RET) */,
    /* queue? */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x0000005e    /*   1 (GREF-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#<queue>.7b2ae900> */,
    0x00002060    /*   3 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#is-a?.7b2ae960> */,
    0x00000014    /*   5 (RET) */,
    /* mtqueue? */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x0000005e    /*   1 (GREF-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#<mtqueue>.7c086a40> */,
    0x00002060    /*   3 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#is-a?.7c086aa0> */,
    0x00000014    /*   5 (RET) */,
    /* #f */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[168]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-peek.7b9c66a0> */,
    0x00401036    /*   5 (TAIL-RECEIVE 1 1) */,
    0x00000054    /*   6 (LREF1-RET) */,
    /* #f */
    0x0000200e    /*   0 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[175]) + 6),
    0x00000049    /*   2 (LREF1-PUSH) */,
    0x00000048    /*   3 (LREF0-PUSH) */,
    0x0000205f    /*   4 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-peek.7b9c64c0> */,
    0x00401036    /*   6 (TAIL-RECEIVE 1 1) */,
    0x00000054    /*   7 (LREF1-RET) */,
    /* %toplevel */
    0x0000500e    /*   0 (PRE-CALL 5) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[183]) + 17),
    0x00001007    /*   2 (CONSTI-PUSH 1) */,
    0x00002007    /*   3 (CONSTI-PUSH 2) */,
    0x00000006    /*   4 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[175])) /* ((q) (q default)) */,
    0x00000016    /*   6 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[7])) /* #<compiled-code #f@0xfce67c1ddd20> */,
    0x0000000d    /*   8 (PUSH) */,
    0x00000016    /*   9 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[8])) /* #<compiled-code #f@0xfce67c1ddba0> */,
    0x00002088    /*  11 (LIST 2) */,
    0x0000000d    /*  12 (PUSH) */,
    0x00000006    /*  13 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* queue-front */,
    0x0000505f    /*  15 (GREF-CALL 5) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#make-case-lambda.8e455f80> */,
    0x00000015    /*  17 (DEFINE 0) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue-front.7b9c6b40> */,
    0x00000014    /*  19 (RET) */,
    /* #f */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[203]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-peek.7bb06900> */,
    0x00402036    /*   5 (TAIL-RECEIVE 2 1) */,
    0x00000054    /*   6 (LREF1-RET) */,
    /* #f */
    0x0000200e    /*   0 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[210]) + 6),
    0x00000049    /*   2 (LREF1-PUSH) */,
    0x00000048    /*   3 (LREF0-PUSH) */,
    0x0000205f    /*   4 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-peek.7bb22d00> */,
    0x00402036    /*   6 (TAIL-RECEIVE 2 1) */,
    0x00000054    /*   7 (LREF1-RET) */,
    /* %toplevel */
    0x0000500e    /*   0 (PRE-CALL 5) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[218]) + 17),
    0x00001007    /*   2 (CONSTI-PUSH 1) */,
    0x00002007    /*   3 (CONSTI-PUSH 2) */,
    0x00000006    /*   4 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[175])) /* ((q) (q default)) */,
    0x00000016    /*   6 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[10])) /* #<compiled-code #f@0xfce67c1dd5a0> */,
    0x0000000d    /*   8 (PUSH) */,
    0x00000016    /*   9 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[11])) /* #<compiled-code #f@0xfce67c1dd420> */,
    0x00002088    /*  11 (LIST 2) */,
    0x0000000d    /*  12 (PUSH) */,
    0x00000006    /*  13 (CONST-PUSH) */,
    SCM_WORD(SCM_UNDEFINED) /* queue-rear */,
    0x0000505f    /*  15 (GREF-CALL 5) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#make-case-lambda.8e455f80> */,
    0x00000015    /*  17 (DEFINE 0) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue-rear.7bb022e0> */,
    0x00000014    /*  19 (RET) */,
    /* (queue->list #f) */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[238]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b4eb340> */,
    0x00001063    /*   5 (PUSH-GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#list-copy.7b4eb3a0> */,
    0x00000014    /*   7 (RET) */,
    /* (queue->list #f) */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7b4eb780> */,
    0x00000014    /*   3 (RET) */,
    /* queue->list */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7b4eb7e0> */,
    0x0000001e    /*   5 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 20),
    0x0000100e    /*   7 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 12),
    0x00000048    /*   9 (LREF0-PUSH) */,
    0x0000105f    /*  10 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7b4eb7c0> */,
    0x00000016    /*  12 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[13])) /* #<compiled-code (queue->list #f)@0xfce67c2b7780> */,
    0x0000000d    /*  14 (PUSH) */,
    0x00000016    /*  15 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[14])) /* #<compiled-code (queue->list #f)@0xfce67c2b75a0> */,
    0x00002063    /*  17 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7b4eb5a0> */,
    0x00000014    /*  19 (RET) */,
    0x0000100e    /*  20 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 25),
    0x00000048    /*  22 (LREF0-PUSH) */,
    0x0000105f    /*  23 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7b4eb760> */,
    0x0000001e    /*  25 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 35),
    0x0000100e    /*  27 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]) + 32),
    0x00000048    /*  29 (LREF0-PUSH) */,
    0x0000105f    /*  30 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b4eff60> */,
    0x00001063    /*  32 (PUSH-GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#list-copy.7b4effa0> */,
    0x00000014    /*  34 (RET) */,
    0x00000006    /*  35 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00000048    /*  37 (LREF0-PUSH) */,
    0x00002060    /*  38 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7b4eb720> */,
    0x00000014    /*  40 (RET) */,
    /* (find-in-queue #f) */
    0x00000049    /*   0 (LREF1-PUSH) */,
    0x0000100e    /*   1 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[291]) + 6),
    0x00000048    /*   3 (LREF0-PUSH) */,
    0x0000105f    /*   4 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b6f7260> */,
    0x00002063    /*   6 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#find.7b6f72c0> */,
    0x00000014    /*   8 (RET) */,
    /* (find-in-queue #f) */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7b6f7740> */,
    0x00000014    /*   3 (RET) */,
    /* find-in-queue */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7b6f77a0> */,
    0x0000001e    /*   5 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 20),
    0x0000100e    /*   7 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 12),
    0x00000048    /*   9 (LREF0-PUSH) */,
    0x0000105f    /*  10 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7b6f7780> */,
    0x00000016    /*  12 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[16])) /* #<compiled-code (find-in-queue #f)@0xfce67c2b7300> */,
    0x0000000d    /*  14 (PUSH) */,
    0x00000016    /*  15 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[17])) /* #<compiled-code (find-in-queue #f)@0xfce67bc17f60> */,
    0x00002063    /*  17 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7b6f74a0> */,
    0x00000014    /*  19 (RET) */,
    0x0000100e    /*  20 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 25),
    0x00000048    /*  22 (LREF0-PUSH) */,
    0x0000105f    /*  23 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7b6f7720> */,
    0x0000001e    /*  25 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 36),
    0x00000049    /*  27 (LREF1-PUSH) */,
    0x0000100e    /*  28 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]) + 33),
    0x00000048    /*  30 (LREF0-PUSH) */,
    0x0000105f    /*  31 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b6fdf60> */,
    0x00002063    /*  33 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#find.7b6fdfe0> */,
    0x00000014    /*  35 (RET) */,
    0x00000006    /*  36 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00000048    /*  38 (LREF0-PUSH) */,
    0x00002060    /*  39 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7b6f76a0> */,
    0x00000014    /*  41 (RET) */,
    /* (any-in-queue #f) */
    0x00000049    /*   0 (LREF1-PUSH) */,
    0x0000100e    /*   1 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[346]) + 6),
    0x00000048    /*   3 (LREF0-PUSH) */,
    0x0000105f    /*   4 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b194320> */,
    0x00002063    /*   6 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#any.7b194380> */,
    0x00000014    /*   8 (RET) */,
    /* (any-in-queue #f) */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7b194700> */,
    0x00000014    /*   3 (RET) */,
    /* any-in-queue */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7b194760> */,
    0x0000001e    /*   5 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 20),
    0x0000100e    /*   7 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 12),
    0x00000048    /*   9 (LREF0-PUSH) */,
    0x0000105f    /*  10 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7b194740> */,
    0x00000016    /*  12 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[19])) /* #<compiled-code (any-in-queue #f)@0xfce67bc17c00> */,
    0x0000000d    /*  14 (PUSH) */,
    0x00000016    /*  15 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[20])) /* #<compiled-code (any-in-queue #f)@0xfce67bc17a20> */,
    0x00002063    /*  17 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7b194520> */,
    0x00000014    /*  19 (RET) */,
    0x0000100e    /*  20 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 25),
    0x00000048    /*  22 (LREF0-PUSH) */,
    0x0000105f    /*  23 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7b1946e0> */,
    0x0000001e    /*  25 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 36),
    0x00000049    /*  27 (LREF1-PUSH) */,
    0x0000100e    /*  28 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]) + 33),
    0x00000048    /*  30 (LREF0-PUSH) */,
    0x0000105f    /*  31 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b19afe0> */,
    0x00002063    /*  33 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#any.7b194040> */,
    0x00000014    /*  35 (RET) */,
    0x00000006    /*  36 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00000048    /*  38 (LREF0-PUSH) */,
    0x00002060    /*  39 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7b1946a0> */,
    0x00000014    /*  41 (RET) */,
    /* (every-in-queue #f) */
    0x00000049    /*   0 (LREF1-PUSH) */,
    0x0000100e    /*   1 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[401]) + 6),
    0x00000048    /*   3 (LREF0-PUSH) */,
    0x0000105f    /*   4 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7adbbc80> */,
    0x00002063    /*   6 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#every.7adbbce0> */,
    0x00000014    /*   8 (RET) */,
    /* (every-in-queue #f) */
    0x00000048    /*   0 (LREF0-PUSH) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7adb50c0> */,
    0x00000014    /*   3 (RET) */,
    /* every-in-queue */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7adb5120> */,
    0x0000001e    /*   5 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 20),
    0x0000100e    /*   7 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 12),
    0x00000048    /*   9 (LREF0-PUSH) */,
    0x0000105f    /*  10 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7adb5100> */,
    0x00000016    /*  12 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[22])) /* #<compiled-code (every-in-queue #f)@0xfce67bc17660> */,
    0x0000000d    /*  14 (PUSH) */,
    0x00000016    /*  15 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[23])) /* #<compiled-code (every-in-queue #f)@0xfce67bc17540> */,
    0x00002063    /*  17 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7adbbe80> */,
    0x00000014    /*  19 (RET) */,
    0x0000100e    /*  20 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 25),
    0x00000048    /*  22 (LREF0-PUSH) */,
    0x0000105f    /*  23 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7adb50a0> */,
    0x0000001e    /*  25 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 36),
    0x00000049    /*  27 (LREF1-PUSH) */,
    0x0000100e    /*  28 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]) + 33),
    0x00000048    /*  30 (LREF0-PUSH) */,
    0x0000105f    /*  31 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7adbb940> */,
    0x00002063    /*  33 (PUSH-GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#every.7adbb9a0> */,
    0x00000014    /*  35 (RET) */,
    0x00000006    /*  36 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00000048    /*  38 (LREF0-PUSH) */,
    0x00002060    /*  39 (GREF-TAIL-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7adb5060> */,
    0x00000014    /*  41 (RET) */,
    /* queue-internal-list */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]) + 5),
    0x00000048    /*   2 (LREF0-PUSH) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7b0aa700> */,
    0x0000001e    /*   5 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]) + 16),
    0x0000200e    /*   7 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]) + 16),
    0x00000006    /*   9 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[76])) /* "Can't get internal list of <mtqueue>:" */,
    0x00000048    /*  11 (LREF0-PUSH) */,
    0x0000205f    /*  12 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7b0aa6a0> */,
    0x00000013    /*  14 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]) + 16),
    0x00000048    /*  16 (LREF0-PUSH) */,
    0x00001060    /*  17 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7b0aa620> */,
    0x00000014    /*  19 (RET) */,
    /* (enqueue-unique! pick) */
    0x0000003d    /*   0 (LREF0) */,
    0x00000022    /*   1 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]) + 4),
    0x00000054    /*   3 (LREF1-RET) */,
    0x0000300e    /*   4 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]) + 12),
    0x0000006a    /*   6 (LREF0-CAR) */,
    0x0000000d    /*   7 (PUSH) */,
    0x0000004a    /*   8 (LREF2-PUSH) */,
    0x00802047    /*   9 (LREF-PUSH 2 2) */,
    0x0000305f    /*  10 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#member.7be73da0> */,
    0x0000001e    /*  12 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]) + 21),
    0x0000004a    /*  14 (LREF2-PUSH) */,
    0x00000049    /*  15 (LREF1-PUSH) */,
    0x00000076    /*  16 (LREF0-CDR) */,
    0x0000000d    /*  17 (PUSH) */,
    0x00000041    /*  18 (LREF10) */,
    0x0000301d    /*  19 (LOCAL-ENV-TAIL-CALL 3) */,
    0x00000014    /*  20 (RET) */,
    0x0000300e    /*  21 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]) + 29),
    0x0000006a    /*  23 (LREF0-CAR) */,
    0x0000000d    /*  24 (PUSH) */,
    0x00000049    /*  25 (LREF1-PUSH) */,
    0x00802047    /*  26 (LREF-PUSH 2 2) */,
    0x0000305f    /*  27 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#member.7be73700> */,
    0x0000001f    /*  29 (BT) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]) + 14),
    0x0000004a    /*  31 (LREF2-PUSH) */,
    0x0000006a    /*  32 (LREF0-CAR) */,
    0x0000000d    /*  33 (PUSH) */,
    0x0000003e    /*  34 (LREF1) */,
    0x00000067    /*  35 (CONS-PUSH) */,
    0x00000076    /*  36 (LREF0-CDR) */,
    0x0000000d    /*  37 (PUSH) */,
    0x00000041    /*  38 (LREF10) */,
    0x0000301d    /*  39 (LOCAL-ENV-TAIL-CALL 3) */,
    0x00000014    /*  40 (RET) */,
    /* (enqueue-unique! #f) */
    0x0000300e    /*   0 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 14),
    0x0000100e    /*   2 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 7),
    0x00c01047    /*   4 (LREF-PUSH 1 3) */,
    0x0000105f    /*   5 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7be7bc20> */,
    0x0000000d    /*   7 (PUSH) */,
    0x00000008    /*   8 (CONSTN-PUSH) */,
    0x0000004d    /*   9 (LREF11-PUSH) */,
    0x00000041    /*  10 (LREF10) */,
    0x00000067    /*  11 (CONS-PUSH) */,
    0x0000003d    /*  12 (LREF0) */,
    0x0000301c    /*  13 (LOCAL-ENV-CALL 3) */,
    0x00001018    /*  14 (PUSH-LOCAL-ENV 1) */,
    0x0000003d    /*  15 (LREF0) */,
    0x00000022    /*  16 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 19),
    0x0000000c    /*  18 (CONSTU-RET) */,
    0x0000200e    /*  19 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 26),
    0x00c02047    /*  21 (LREF-PUSH 2 3) */,
    0x0000003d    /*  22 (LREF0) */,
    0x0000008a    /*  23 (LENGTH) */,
    0x00002062    /*  24 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%mtqueue-overflow?.7be7b9c0> */,
    0x0000001e    /*  26 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 37),
    0x0000200e    /*  28 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 37),
    0x00000006    /*  30 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[91])) /* "queue is full:" */,
    0x00c02047    /*  32 (LREF-PUSH 2 3) */,
    0x0000205f    /*  33 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7be7b920> */,
    0x00000013    /*  35 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 37),
    0x0000003d    /*  37 (LREF0) */,
    0x00000093    /*  38 (REVERSE) */,
    0x00001018    /*  39 (PUSH-LOCAL-ENV 1) */,
    0x0000400e    /*  40 (PRE-CALL 4) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 54),
    0x00c03047    /*  42 (LREF-PUSH 3 3) */,
    0x00000041    /*  43 (LREF10) */,
    0x0000008a    /*  44 (LENGTH) */,
    0x0000000d    /*  45 (PUSH) */,
    0x00000048    /*  46 (LREF0-PUSH) */,
    0x0000100e    /*  47 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]) + 52),
    0x00000048    /*  49 (LREF0-PUSH) */,
    0x0000105f    /*  50 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#last-pair.7be887a0> */,
    0x00004062    /*  52 (PUSH-GREF-CALL 4) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%enqueue!.7be88aa0> */,
    0x00c03047    /*  54 (LREF-PUSH 3 3) */,
    0x00001060    /*  55 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%notify-readers.7be88560> */,
    0x00000014    /*  57 (RET) */,
    /* (enqueue-unique! #f) */
    0x00c01047    /*   0 (LREF-PUSH 1 3) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7be70020> */,
    0x00000014    /*   3 (RET) */,
    /* enqueue-unique! */
    0x00001019    /*   0 (LOCAL-ENV-CLOSURES 1) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[262])) /* (#<compiled-code (enqueue-unique! pick)@0xfce67bc17f00>) */,
    0x0000100e    /*   2 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 7),
    0x00c01047    /*   4 (LREF-PUSH 1 3) */,
    0x0000105f    /*   5 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7be700c0> */,
    0x0000001e    /*   7 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 25),
    0x0000100e    /*   9 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 14),
    0x00c01047    /*  11 (LREF-PUSH 1 3) */,
    0x0000105f    /*  12 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7be700a0> */,
    0x0000200e    /*  14 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 80),
    0x00000016    /*  16 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[27])) /* #<compiled-code (enqueue-unique! #f)@0xfce67bc17ea0> */,
    0x0000000d    /*  18 (PUSH) */,
    0x00000016    /*  19 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[28])) /* #<compiled-code (enqueue-unique! #f)@0xfce67bc178a0> */,
    0x00002062    /*  21 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7be7bf60> */,
    0x00000013    /*  23 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 80),
    0x0000100e    /*  25 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 30),
    0x00c01047    /*  27 (LREF-PUSH 1 3) */,
    0x0000105f    /*  28 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7be70000> */,
    0x0000001e    /*  30 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 73),
    0x0000300e    /*  32 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 46),
    0x0000100e    /*  34 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 39),
    0x00c01047    /*  36 (LREF-PUSH 1 3) */,
    0x0000105f    /*  37 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7be8b900> */,
    0x0000000d    /*  39 (PUSH) */,
    0x00000008    /*  40 (CONSTN-PUSH) */,
    0x0000004d    /*  41 (LREF11-PUSH) */,
    0x00000041    /*  42 (LREF10) */,
    0x00000067    /*  43 (CONS-PUSH) */,
    0x0000003d    /*  44 (LREF0) */,
    0x0000301c    /*  45 (LOCAL-ENV-CALL 3) */,
    0x00001018    /*  46 (PUSH-LOCAL-ENV 1) */,
    0x0000003d    /*  47 (LREF0) */,
    0x00000022    /*  48 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 52),
    0x00000013    /*  50 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 70),
    0x0000003d    /*  52 (LREF0) */,
    0x00000093    /*  53 (REVERSE) */,
    0x00001018    /*  54 (PUSH-LOCAL-ENV 1) */,
    0x0000400e    /*  55 (PRE-CALL 4) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 69),
    0x00c03047    /*  57 (LREF-PUSH 3 3) */,
    0x00000041    /*  58 (LREF10) */,
    0x0000008a    /*  59 (LENGTH) */,
    0x0000000d    /*  60 (PUSH) */,
    0x00000048    /*  61 (LREF0-PUSH) */,
    0x0000100e    /*  62 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 67),
    0x00000048    /*  64 (LREF0-PUSH) */,
    0x0000105f    /*  65 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#last-pair.7be909a0> */,
    0x00004062    /*  67 (PUSH-GREF-CALL 4) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%enqueue!.7be8e880> */,
    0x0000001a    /*  69 (POP-LOCAL-ENV) */,
    0x0000001a    /*  70 (POP-LOCAL-ENV) */,
    0x00000013    /*  71 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 80),
    0x0000200e    /*  73 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]) + 80),
    0x00000006    /*  75 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00c01047    /*  77 (LREF-PUSH 1 3) */,
    0x0000205f    /*  78 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7be73fc0> */,
    0x00c01052    /*  80 (LREF-RET 1 3) */,
    /* (queue-push-unique! pick) */
    0x0000003d    /*   0 (LREF0) */,
    0x00000022    /*   1 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[660]) + 4),
    0x00000054    /*   3 (LREF1-RET) */,
    0x0000300e    /*   4 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[660]) + 12),
    0x0000006a    /*   6 (LREF0-CAR) */,
    0x0000000d    /*   7 (PUSH) */,
    0x00000049    /*   8 (LREF1-PUSH) */,
    0x00802047    /*   9 (LREF-PUSH 2 2) */,
    0x0000305f    /*  10 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#member.7ad310c0> */,
    0x0000001e    /*  12 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[660]) + 20),
    0x00000049    /*  14 (LREF1-PUSH) */,
    0x00000076    /*  15 (LREF0-CDR) */,
    0x0000000d    /*  16 (PUSH) */,
    0x00000041    /*  17 (LREF10) */,
    0x0000201d    /*  18 (LOCAL-ENV-TAIL-CALL 2) */,
    0x00000014    /*  19 (RET) */,
    0x0000006a    /*  20 (LREF0-CAR) */,
    0x0000000d    /*  21 (PUSH) */,
    0x0000003e    /*  22 (LREF1) */,
    0x00000067    /*  23 (CONS-PUSH) */,
    0x00000076    /*  24 (LREF0-CDR) */,
    0x0000000d    /*  25 (PUSH) */,
    0x00000041    /*  26 (LREF10) */,
    0x0000201d    /*  27 (LOCAL-ENV-TAIL-CALL 2) */,
    0x00000014    /*  28 (RET) */,
    /* (queue-push-unique! #f) */
    0x0000100e    /*   0 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 5),
    0x00c01047    /*   2 (LREF-PUSH 1 3) */,
    0x0000105f    /*   3 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7ad49ae0> */,
    0x00001018    /*   5 (PUSH-LOCAL-ENV 1) */,
    0x0000200e    /*   6 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 14),
    0x00000048    /*   8 (LREF0-PUSH) */,
    0x00000050    /*   9 (LREF21-PUSH) */,
    0x00000044    /*  10 (LREF20) */,
    0x00000067    /*  11 (CONS-PUSH) */,
    0x00000041    /*  12 (LREF10) */,
    0x0000201c    /*  13 (LOCAL-ENV-CALL 2) */,
    0x00001018    /*  14 (PUSH-LOCAL-ENV 1) */,
    0x00000048    /*  15 (LREF0-PUSH) */,
    0x00000041    /*  16 (LREF10) */,
    0x00000020    /*  17 (BNEQ) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 20),
    0x0000000c    /*  19 (CONSTU-RET) */,
    0x0000200e    /*  20 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 31),
    0x00c03047    /*  22 (LREF-PUSH 3 3) */,
    0x0000003d    /*  23 (LREF0) */,
    0x0000008a    /*  24 (LENGTH) */,
    0x0000000d    /*  25 (PUSH) */,
    0x00000041    /*  26 (LREF10) */,
    0x0000008a    /*  27 (LENGTH) */,
    0x000000b3    /*  28 (NUMSUB2) */,
    0x00002062    /*  29 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%mtqueue-overflow?.7ad498c0> */,
    0x0000001e    /*  31 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 42),
    0x0000200e    /*  33 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 42),
    0x00000006    /*  35 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[96])) /* "queue is full" */,
    0x00c03047    /*  37 (LREF-PUSH 3 3) */,
    0x0000205f    /*  38 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7ad497c0> */,
    0x00000013    /*  40 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 42),
    0x0000300e    /*  42 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]) + 49),
    0x00c03047    /*  44 (LREF-PUSH 3 3) */,
    0x00000048    /*  45 (LREF0-PUSH) */,
    0x00000009    /*  46 (CONSTF-PUSH) */,
    0x0000305f    /*  47 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-set-content!.7ad49740> */,
    0x00c03047    /*  49 (LREF-PUSH 3 3) */,
    0x00001060    /*  50 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%notify-readers.7ad49660> */,
    0x00000014    /*  52 (RET) */,
    /* (queue-push-unique! #f) */
    0x00c01047    /*   0 (LREF-PUSH 1 3) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7ad312c0> */,
    0x00000014    /*   3 (RET) */,
    /* queue-push-unique! */
    0x00001019    /*   0 (LOCAL-ENV-CLOSURES 1) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d1997[293])) /* (#<compiled-code (queue-push-unique! pick)@0xfce67bee4360>) */,
    0x0000100e    /*   2 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 7),
    0x00c01047    /*   4 (LREF-PUSH 1 3) */,
    0x0000105f    /*   5 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7ad31320> */,
    0x0000001e    /*   7 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 25),
    0x0000100e    /*   9 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 14),
    0x00c01047    /*  11 (LREF-PUSH 1 3) */,
    0x0000105f    /*  12 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7ad31300> */,
    0x0000200e    /*  14 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 71),
    0x00000016    /*  16 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[31])) /* #<compiled-code (queue-push-unique! #f)@0xfce67bee4240> */,
    0x0000000d    /*  18 (PUSH) */,
    0x00000016    /*  19 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[32])) /* #<compiled-code (queue-push-unique! #f)@0xfce67bee41e0> */,
    0x00002062    /*  21 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7ad49cc0> */,
    0x00000013    /*  23 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 71),
    0x0000100e    /*  25 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 30),
    0x00c01047    /*  27 (LREF-PUSH 1 3) */,
    0x0000105f    /*  28 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7ad312a0> */,
    0x0000001e    /*  30 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 64),
    0x0000100e    /*  32 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 37),
    0x00c01047    /*  34 (LREF-PUSH 1 3) */,
    0x0000105f    /*  35 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7ad49380> */,
    0x00001018    /*  37 (PUSH-LOCAL-ENV 1) */,
    0x0000200e    /*  38 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 46),
    0x00000048    /*  40 (LREF0-PUSH) */,
    0x00000050    /*  41 (LREF21-PUSH) */,
    0x00000044    /*  42 (LREF20) */,
    0x00000067    /*  43 (CONS-PUSH) */,
    0x00000041    /*  44 (LREF10) */,
    0x0000201c    /*  45 (LOCAL-ENV-CALL 2) */,
    0x00001018    /*  46 (PUSH-LOCAL-ENV 1) */,
    0x00000048    /*  47 (LREF0-PUSH) */,
    0x00000041    /*  48 (LREF10) */,
    0x00000020    /*  49 (BNEQ) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 53),
    0x00000013    /*  51 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 60),
    0x0000300e    /*  53 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 60),
    0x00c03047    /*  55 (LREF-PUSH 3 3) */,
    0x00000048    /*  56 (LREF0-PUSH) */,
    0x00000009    /*  57 (CONSTF-PUSH) */,
    0x0000305f    /*  58 (GREF-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-set-content!.7ad4bfe0> */,
    0x0000001a    /*  60 (POP-LOCAL-ENV) */,
    0x0000001a    /*  61 (POP-LOCAL-ENV) */,
    0x00000013    /*  62 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 71),
    0x0000200e    /*  64 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]) + 71),
    0x00000006    /*  66 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x00c01047    /*  68 (LREF-PUSH 1 3) */,
    0x0000205f    /*  69 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7ad31260> */,
    0x00c01052    /*  71 (LREF-RET 1 3) */,
    /* %toplevel */
    0x0000005d    /*   0 (GREF) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#dequeue!.7b9f5220> */,
    0x00000015    /*   2 (DEFINE 0) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue-pop!.7b9f5280> */,
    0x00000014    /*   4 (RET) */,
    /* %toplevel */
    0x0000005d    /*   0 (GREF) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#dequeue/wait!.7ba1f340> */,
    0x00000015    /*   2 (DEFINE 0) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue-pop/wait!.7ba1f3e0> */,
    0x00000014    /*   4 (RET) */,
    /* (remove-from-queue! #f) */
    0x00000008    /*   0 (CONSTN-PUSH) */,
    0x0000100e    /*   1 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 6),
    0x0000004c    /*   3 (LREF10-PUSH) */,
    0x0000105f    /*   4 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7bb50e40> */,
    0x0000000d    /*   6 (PUSH) */,
    0x00000009    /*   7 (CONSTF-PUSH) */,
    0x00003017    /*   8 (LOCAL-ENV 3) */,
    0x0000003e    /*   9 (LREF1) */,
    0x00000022    /*  10 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 35),
    0x0000003d    /*  12 (LREF0) */,
    0x0000001e    /*  13 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 34),
    0x00000001    /*  15 (CONST) */,
    SCM_WORD(SCM_TRUE) /* #t */,
    0x0000103a    /*  17 (LSET 1 0) */,
    0x0000100e    /*  18 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 23),
    0x0000004f    /*  20 (LREF20-PUSH) */,
    0x0000105f    /*  21 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%notify-writers.7bb3e300> */,
    0x0000004f    /*  23 (LREF20-PUSH) */,
    0x0000100e    /*  24 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 29),
    0x0000004a    /*  26 (LREF2-PUSH) */,
    0x0000105f    /*  27 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#reverse!.7bb3e240> */,
    0x0000000d    /*  29 (PUSH) */,
    0x00000009    /*  30 (CONSTF-PUSH) */,
    0x00003060    /*  31 (GREF-TAIL-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-set-content!.7bb3e2a0> */,
    0x00000014    /*  33 (RET) */,
    0x0000000c    /*  34 (CONSTU-RET) */,
    0x0000100e    /*  35 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 41),
    0x0000006b    /*  37 (LREF1-CAR) */,
    0x0000000d    /*  38 (PUSH) */,
    0x00000045    /*  39 (LREF21) */,
    0x00001011    /*  40 (CALL 1) */,
    0x0000001e    /*  41 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 51),
    0x0000004a    /*  43 (LREF2-PUSH) */,
    0x00000077    /*  44 (LREF1-CDR) */,
    0x0000000d    /*  45 (PUSH) */,
    0x00000006    /*  46 (CONST-PUSH) */,
    SCM_WORD(SCM_TRUE) /* #t */,
    0x0000101b    /*  48 (LOCAL-ENV-JUMP 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 9),
    0x00000014    /*  50 (RET) */,
    0x0000006b    /*  51 (LREF1-CAR) */,
    0x0000000d    /*  52 (PUSH) */,
    0x0000003f    /*  53 (LREF2) */,
    0x00000067    /*  54 (CONS-PUSH) */,
    0x00000077    /*  55 (LREF1-CDR) */,
    0x0000000d    /*  56 (PUSH) */,
    0x00000048    /*  57 (LREF0-PUSH) */,
    0x0000101b    /*  58 (LOCAL-ENV-JUMP 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]) + 9),
    0x00000014    /*  60 (RET) */,
    0x00000014    /*  61 (RET) */,
    /* (remove-from-queue! #f) */
    0x0000004c    /*   0 (LREF10-PUSH) */,
    0x00001060    /*   1 (GREF-TAIL-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%unlock-mtq.7bb3e820> */,
    0x00000014    /*   3 (RET) */,
    /* remove-from-queue! */
    0x00000009    /*   0 (CONSTF-PUSH) */,
    0x00001017    /*   1 (LOCAL-ENV 1) */,
    0x000010e7    /*   2 (BOX 1) */,
    0x0000100e    /*   3 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 8),
    0x0000004c    /*   5 (LREF10-PUSH) */,
    0x0000105f    /*   6 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#mtqueue?.7bb3e880> */,
    0x0000001e    /*   8 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 26),
    0x0000100e    /*  10 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 15),
    0x0000004c    /*  12 (LREF10-PUSH) */,
    0x0000105f    /*  13 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%lock-mtq.7bb3e860> */,
    0x0000200e    /*  15 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 100),
    0x00000016    /*  17 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[36])) /* #<compiled-code (remove-from-queue! #f)@0xfce67bef8ea0> */,
    0x0000000d    /*  19 (PUSH) */,
    0x00000016    /*  20 (CLOSURE) */,
    SCM_WORD(SCM_OBJ(&scm__rc.d2001[37])) /* #<compiled-code (remove-from-queue! #f)@0xfce67bef8e40> */,
    0x00002062    /*  22 (PUSH-GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier gauche.internal#%unwind-protect.7bb3e640> */,
    0x00000013    /*  24 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 100),
    0x0000100e    /*  26 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 31),
    0x0000004c    /*  28 (LREF10-PUSH) */,
    0x0000105f    /*  29 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#queue?.7bb3e800> */,
    0x0000001e    /*  31 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 93),
    0x0000300e    /*  33 (PRE-CALL 3) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 100),
    0x00000008    /*  35 (CONSTN-PUSH) */,
    0x0000100e    /*  36 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 41),
    0x0000004c    /*  38 (LREF10-PUSH) */,
    0x0000105f    /*  39 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%qhead.7bb502e0> */,
    0x0000000d    /*  41 (PUSH) */,
    0x00000009    /*  42 (CONSTF-PUSH) */,
    0x00003017    /*  43 (LOCAL-ENV 3) */,
    0x0000003e    /*  44 (LREF1) */,
    0x00000022    /*  45 (BNNULL) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 65),
    0x0000003d    /*  47 (LREF0) */,
    0x0000001e    /*  48 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 64),
    0x00000001    /*  50 (CONST) */,
    SCM_WORD(SCM_TRUE) /* #t */,
    0x0000103a    /*  52 (LSET 1 0) */,
    0x0000004f    /*  53 (LREF20-PUSH) */,
    0x0000100e    /*  54 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 59),
    0x0000004a    /*  56 (LREF2-PUSH) */,
    0x0000105f    /*  57 (GREF-CALL 1) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#reverse!.7bb50780> */,
    0x0000000d    /*  59 (PUSH) */,
    0x00000009    /*  60 (CONSTF-PUSH) */,
    0x00003060    /*  61 (GREF-TAIL-CALL 3) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#%queue-set-content!.7bb50820> */,
    0x00000014    /*  63 (RET) */,
    0x0000000c    /*  64 (CONSTU-RET) */,
    0x0000100e    /*  65 (PRE-CALL 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 71),
    0x0000006b    /*  67 (LREF1-CAR) */,
    0x0000000d    /*  68 (PUSH) */,
    0x00000045    /*  69 (LREF21) */,
    0x00001011    /*  70 (CALL 1) */,
    0x0000001e    /*  71 (BF) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 81),
    0x0000004a    /*  73 (LREF2-PUSH) */,
    0x00000077    /*  74 (LREF1-CDR) */,
    0x0000000d    /*  75 (PUSH) */,
    0x00000006    /*  76 (CONST-PUSH) */,
    SCM_WORD(SCM_TRUE) /* #t */,
    0x0000101b    /*  78 (LOCAL-ENV-JUMP 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 44),
    0x00000014    /*  80 (RET) */,
    0x0000006b    /*  81 (LREF1-CAR) */,
    0x0000000d    /*  82 (PUSH) */,
    0x0000003f    /*  83 (LREF2) */,
    0x00000067    /*  84 (CONS-PUSH) */,
    0x00000077    /*  85 (LREF1-CDR) */,
    0x0000000d    /*  86 (PUSH) */,
    0x00000048    /*  87 (LREF0-PUSH) */,
    0x0000101b    /*  88 (LOCAL-ENV-JUMP 1) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 44),
    0x00000014    /*  90 (RET) */,
    0x00000013    /*  91 (JUMP) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 100),
    0x0000200e    /*  93 (PRE-CALL 2) */,
    SCM_WORD((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]) + 100),
    0x00000006    /*  95 (CONST-PUSH) */,
    SCM_WORD(SCM_OBJ(&scm__sc.d1965[66])) /* "queue required, but got" */,
    0x0000004c    /*  97 (LREF10-PUSH) */,
    0x0000205f    /*  98 (GREF-CALL 2) */,
    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#error.7bb3e7c0> */,
    0x000000ea    /* 100 (LREF-UNBOX 0 0) */,
    0x00000014    /* 101 (RET) */,
  },
  {   /* ScmPair d1997 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(255U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[2])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[3])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[5])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[6])},
       { SCM_OBJ(&scm__rc.d1997[7]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[4]), SCM_OBJ(&scm__rc.d1997[8])},
       { SCM_MAKE_INT(256U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[10])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[11])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[13])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[14])},
       { SCM_OBJ(&scm__rc.d1997[15]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[12]), SCM_OBJ(&scm__rc.d1997[16])},
       { SCM_MAKE_INT(257U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[18])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[19])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[21])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[22])},
       { SCM_OBJ(&scm__rc.d1997[23]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[20]), SCM_OBJ(&scm__rc.d1997[24])},
       { SCM_MAKE_INT(258U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[26])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[27])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[29])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[30])},
       { SCM_OBJ(&scm__rc.d1997[31]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[28]), SCM_OBJ(&scm__rc.d1997[32])},
       { SCM_MAKE_INT(274U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[34])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[35])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[37])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[38])},
       { SCM_OBJ(&scm__rc.d1997[39]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[36]), SCM_OBJ(&scm__rc.d1997[40])},
       { SCM_MAKE_INT(276U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[42])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[43])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[45])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[46])},
       { SCM_OBJ(&scm__rc.d1997[47]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[44]), SCM_OBJ(&scm__rc.d1997[48])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[50])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[51])},
       { SCM_MAKE_INT(283U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[53])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[54])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[56])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[57])},
       { SCM_OBJ(&scm__rc.d1997[58]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[55]), SCM_OBJ(&scm__rc.d1997[59])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[61])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[63])},
       { SCM_OBJ(&scm__rc.d1997[62]), SCM_OBJ(&scm__rc.d1997[64])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[65])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[66])},
       { SCM_MAKE_INT(294U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[68])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[69])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[71]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[70]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_FALSE, SCM_OBJ(&scm__rc.d1997[75])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[77])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[77])},
       { SCM_OBJ(&scm__rc.d1997[79]), SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_OBJ(&scm__rc.d2001[1]), SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_FALSE, SCM_OBJ(&scm__rc.d1997[83])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_OBJ(&scm__rc.d2001[3]), SCM_NIL},
       { SCM_MAKE_INT(309U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[87])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[88])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[90])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[91])},
       { SCM_OBJ(&scm__rc.d1997[92]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[89]), SCM_OBJ(&scm__rc.d1997[93])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[61])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[96])},
       { SCM_MAKE_INT(7U), SCM_NIL},
       { SCM_MAKE_INT(5U), SCM_OBJ(&scm__rc.d1997[98])},
       { SCM_OBJ(&scm__rc.d1997[97]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[100])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[101])},
       { SCM_MAKE_INT(1U), SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[105])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[106])},
       { SCM_OBJ(&scm__rc.d1997[107]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[108])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[109])},
       { SCM_MAKE_INT(330U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[111])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[112])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[114])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[115])},
       { SCM_OBJ(&scm__rc.d1997[116]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[113]), SCM_OBJ(&scm__rc.d1997[117])},
       { SCM_MAKE_INT(331U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[119])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[120])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[122])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[123])},
       { SCM_OBJ(&scm__rc.d1997[124]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[121]), SCM_OBJ(&scm__rc.d1997[125])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[127])},
       { SCM_MAKE_INT(335U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[129])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[130])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[132])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[133])},
       { SCM_OBJ(&scm__rc.d1997[134]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[131]), SCM_OBJ(&scm__rc.d1997[135])},
       { SCM_MAKE_INT(339U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[137])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[138])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[140])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[141])},
       { SCM_OBJ(&scm__rc.d1997[142]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[139]), SCM_OBJ(&scm__rc.d1997[143])},
       { SCM_MAKE_INT(350U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[145])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[146])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[148])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[149])},
       { SCM_OBJ(&scm__rc.d1997[150]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[147]), SCM_OBJ(&scm__rc.d1997[151])},
       { SCM_MAKE_INT(351U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[153])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[154])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[156])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[157])},
       { SCM_OBJ(&scm__rc.d1997[158]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[155]), SCM_OBJ(&scm__rc.d1997[159])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[161])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[162])},
       { SCM_MAKE_INT(359U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[164])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[165])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[167])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[168])},
       { SCM_OBJ(&scm__rc.d1997[169]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[166]), SCM_OBJ(&scm__rc.d1997[170])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[172])},
       { SCM_OBJ(&scm__rc.d1997[173]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[174])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_FALSE, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(380U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[184])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[185])},
       { SCM_OBJ(&scm__rc.d1997[186]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[1])},
       { SCM_MAKE_INT(381U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[193])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[194])},
       { SCM_OBJ(&scm__rc.d1997[195]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(382U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[201])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[202])},
       { SCM_OBJ(&scm__rc.d1997[203]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(383U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[209])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[210])},
       { SCM_OBJ(&scm__rc.d1997[211]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(389U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[214])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[215])},
       { SCM_OBJ(&scm__rc.d1997[216]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[219])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[220])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[221])},
       { SCM_MAKE_INT(408U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[223])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[224])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[226])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[227])},
       { SCM_OBJ(&scm__rc.d1997[228]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[225]), SCM_OBJ(&scm__rc.d1997[229])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[231])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[232])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[233])},
       { SCM_MAKE_INT(427U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[235])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[236])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[238])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[239])},
       { SCM_OBJ(&scm__rc.d1997[240]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[237]), SCM_OBJ(&scm__rc.d1997[241])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[243])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[244])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[245])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[246])},
       { SCM_MAKE_INT(436U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[248])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[249])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[251])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[252])},
       { SCM_OBJ(&scm__rc.d1997[253]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[250]), SCM_OBJ(&scm__rc.d1997[254])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[256])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[258])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[259])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_OBJ(&scm__rc.d2001[26]), SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_UNDEFINED},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[266])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[267])},
       { SCM_MAKE_INT(452U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[269])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[270])},
       { SCM_OBJ(&scm__rc.d1997[271]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(477U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[274])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[275])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[277])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[278])},
       { SCM_OBJ(&scm__rc.d1997[279]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[276]), SCM_OBJ(&scm__rc.d1997[280])},
       { SCM_MAKE_INT(487U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[282])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[283])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[285])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[286])},
       { SCM_OBJ(&scm__rc.d1997[287]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[284]), SCM_OBJ(&scm__rc.d1997[288])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[256])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[258])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_OBJ(&scm__rc.d2001[30]), SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(502U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[297])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[298])},
       { SCM_OBJ(&scm__rc.d1997[299]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(530U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[302])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[303])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[305])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[306])},
       { SCM_OBJ(&scm__rc.d1997[307]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[304]), SCM_OBJ(&scm__rc.d1997[308])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[245])},
       { SCM_MAKE_INT(542U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[311])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[312])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[314])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[315])},
       { SCM_OBJ(&scm__rc.d1997[316]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[313]), SCM_OBJ(&scm__rc.d1997[317])},
       { SCM_MAKE_INT(562U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[319])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[320])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[322])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[323])},
       { SCM_OBJ(&scm__rc.d1997[324]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[321]), SCM_OBJ(&scm__rc.d1997[325])},
       { SCM_MAKE_INT(578U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[327])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[328])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[330])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[331])},
       { SCM_OBJ(&scm__rc.d1997[332]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1997[329]), SCM_OBJ(&scm__rc.d1997[333])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[180])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(583U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1965[4]), SCM_OBJ(&scm__rc.d1997[338])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1997[339])},
       { SCM_OBJ(&scm__rc.d1997[340]), SCM_OBJ(&scm__rc.d1997[72])},
       { SCM_UNDEFINED, SCM_NIL},
  },
  {   /* ScmObj d1964 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(22, FALSE),
    SCM_MAKE_INT(14U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_OBJ(&scm__rc.d1997[97]),
    SCM_MAKE_INT(3U),
    SCM_OBJ(&scm__rc.d1997[99]),
    SCM_FALSE,
    SCM_UNDEFINED,
    SCM_OBJ(&scm__rc.d1997[102]),
    SCM_UNDEFINED,
    SCM_MAKE_INT(1U),
    SCM_MAKE_INT(0),
    SCM_OBJ(&scm__rc.d1997[103]),
    SCM_MAKE_INT(9U),
    SCM_FALSE,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(22, FALSE),
    SCM_MAKE_INT(14U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_OBJ(&scm__rc.d1997[107]),
    SCM_MAKE_INT(3U),
    SCM_OBJ(&scm__rc.d1997[99]),
    SCM_FALSE,
    SCM_UNDEFINED,
    SCM_OBJ(&scm__rc.d1997[110]),
    SCM_UNDEFINED,
    SCM_MAKE_INT(1U),
    SCM_MAKE_INT(0),
    SCM_OBJ(&scm__rc.d1997[103]),
    SCM_MAKE_INT(9U),
    SCM_FALSE,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
};
typedef struct {  SCM_INSTANCE_HEADER; ScmSize len; ScmObj head; ScmObj tail; } Queue;
SCM_CLASS_DECL(QueueClass);
#define QP(obj) (SCM_ISA(obj,&(QueueClass)))

#define Q(obj) (((Queue* )(obj)))

#define Q_HEAD(obj) ((Q(obj))->head)

#define Q_TAIL(obj) ((Q(obj))->tail)

#define Q_LENGTH(obj) ((Q(obj))->len)

#define Q_EMPTY_P(obj) (SCM_NULLP(Q_HEAD(obj)))

 ScmSize _25qlength(Queue* q){{
#line 92 "./queue.scm"
if ((Q_LENGTH(q))<(0)){{
Q_LENGTH(q)=(Scm_Length(Q_HEAD(q)));}}
return (((ScmSmallInt )(Q_LENGTH(q))));}}
 ScmObj makeq(ScmClass* klass){{
#line 97 "./queue.scm"
{Queue* z=SCM_NEW_INSTANCE(Queue,klass);
Q_LENGTH(z)=(0),Q_HEAD(z)=(SCM_NIL),Q_TAIL(z)=(SCM_NIL);
return (SCM_OBJ(z));}}}
static ScmObj QueueClass_ALLOCATE(ScmClass *klass, ScmObj initargs)
{

#line 105 "./queue.scm"
{((void )(initargs));return (makeq(klass));}
}

static void QueueClass_PRINT(ScmObj obj, ScmPort *port, ScmWriteContext *ctx SCM_UNUSED)
{

#line 106 "./queue.scm"
Scm_Printf(port,"#<queue %d @%p>",_25qlength(Q(obj)),obj);
}

SCM_DEFINE_BUILTIN_CLASS(QueueClass, QueueClass_PRINT, NULL, NULL, QueueClass_ALLOCATE, SCM_CLASS_DEFAULT_CPL);

static ScmObj QueueClass_length_GET(ScmObj OBJARG)
{
  Queue* obj = Q(OBJARG);
  return Scm_MakeIntegerFromUI(obj->len);
}

static ScmClassStaticSlotSpec QueueClass__SLOTS[] = {
  SCM_CLASS_SLOT_SPEC("length", QueueClass_length_GET, NULL),
  SCM_CLASS_SLOT_SPEC_END()
};

typedef struct { Queue q; ScmSmallInt maxlen; ScmInternalMutex mutex; ScmObj locker; ScmInternalCond lockWait; ScmInternalCond readerWait; ScmInternalCond writerWait; int readerSem; } MtQueue;
SCM_CLASS_DECL(MtQueueClass);
#define MTQP(obj) (SCM_ISA(obj,&(MtQueueClass)))

#define MTQ(obj) (((MtQueue* )(obj)))

#define MTQ_MAXLEN(obj) ((MTQ(obj))->maxlen)

#define MTQ_MUTEX(obj) ((MTQ(obj))->mutex)

#define MTQ_LOCKER(obj) ((MTQ(obj))->locker)

#define MTQ_LOCK(obj) (SCM_INTERNAL_MUTEX_LOCK("MTQ_MUTEX q"))

#define MTQ_UNLOCK(obj) (SCM_INTERNAL_MUTEX_UNLOCK("MTQ_MUTEX q"))

#define MTQ_CV(q,kind) ((MTQ(q))->kind)

#define MTQ_READER_SEM(q) ((MTQ(q))->readerSem)

 ScmObj makemtq(ScmClass* klass,int maxlen){{
#line 135 "./queue.scm"
{MtQueue* z=SCM_NEW_INSTANCE(MtQueue,klass);
Q_LENGTH(z)=(0),Q_HEAD(z)=(SCM_NIL),Q_TAIL(z)=(SCM_NIL),
MTQ_MAXLEN(z)=(maxlen),
MTQ_LOCKER(z)=(SCM_FALSE),
MTQ_READER_SEM(z)=(0);
SCM_INTERNAL_MUTEX_INIT(MTQ_MUTEX(z));
SCM_INTERNAL_COND_INIT(MTQ_CV(z,lockWait));
SCM_INTERNAL_COND_INIT(MTQ_CV(z,readerWait));
SCM_INTERNAL_COND_INIT(MTQ_CV(z,writerWait));
return (SCM_OBJ(z));}}}
 ScmObj mtq_maxlen_get(MtQueue* mtq){{
#line 147 "./queue.scm"
{ScmSmallInt ml=MTQ_MAXLEN(mtq);
if ((ml)<(0)){return (SCM_FALSE);} else {return (SCM_MAKE_INT(ml));}}}}
 void mtq_maxlen_set(MtQueue* mtq,ScmObj maxlen){{
#line 151 "./queue.scm"
if (SCM_UINTP(maxlen)){MTQ_MAXLEN(mtq)=(SCM_INT_VALUE(maxlen));}else if(
SCM_FALSEP(maxlen)){MTQ_MAXLEN(mtq)=(-1);} else {
SCM_TYPE_ERROR(maxlen,"non-negative fixnum or #f");}}}
static ScmObj MtQueueClass_ALLOCATE(ScmClass *klass, ScmObj initargs)
{

#line 161 "./queue.scm"
{ScmObj ml=Scm_GetKeyword(scm__rc.d1964[15],initargs,SCM_FALSE);
return (makemtq(klass,((SCM_INTP(ml))?(SCM_INT_VALUE(ml)):(-1))));}
}

static void MtQueueClass_PRINT(ScmObj obj, ScmPort *port, ScmWriteContext *ctx SCM_UNUSED)
{

#line 164 "./queue.scm"
Scm_Printf(port,"#<mt-queue %d @%p>",_25qlength(Q(obj)),obj);
}

static ScmClass *MtQueueClass_CPL[] = {
  SCM_CLASS_STATIC_PTR(QueueClass),
  SCM_CLASS_STATIC_PTR(Scm_TopClass),
  NULL
};
SCM_DEFINE_BUILTIN_CLASS(MtQueueClass, MtQueueClass_PRINT, NULL, NULL, MtQueueClass_ALLOCATE, MtQueueClass_CPL);

static ScmObj MtQueueClass_max_length_GET(ScmObj OBJARG)
{
  MtQueue* obj = MTQ(OBJARG);
return mtq_maxlen_get(obj);
}

static void MtQueueClass_max_length_SET(ScmObj OBJARG, ScmObj value)
{
  MtQueue* obj = MTQ(OBJARG);
mtq_maxlen_set(obj, value);
}

static ScmClassStaticSlotSpec MtQueueClass__SLOTS[] = {
  SCM_CLASS_SLOT_SPEC("max-length", MtQueueClass_max_length_GET, MtQueueClass_max_length_SET),
  SCM_CLASS_SLOT_SPEC_END()
};

#define CW_TIMEDOUT (1)

#define CW_INTR (2)

static ScmObj data_2d_2dqueue_25lock_mtq(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%lock-mtq");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {

#line 255 "./queue.scm"
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}MTQ_LOCKER(q)=(SCM_OBJ(Scm_VM()));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueue_25unlock_mtq(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%unlock-mtq");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {

#line 256 "./queue.scm"
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));MTQ_LOCKER(q)=(SCM_FALSE);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,lockWait));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueue_25notify_writers(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%notify-writers");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {

#line 257 "./queue.scm"
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,writerWait));
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueue_25notify_readers(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%notify-readers");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {

#line 258 "./queue.scm"
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,readerWait));
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueuemake_queue(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("make-queue");
  {
{
ScmObj SCM_RESULT;

#line 275 "./queue.scm"
{SCM_RESULT=(makeq(&(QueueClass)));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuemake_mtqueue(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj max_length_scm = SCM_FALSE;
  ScmObj max_length;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("make-mtqueue");
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1964[15])) {
      max_length_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  max_length = (max_length_scm);
  {
{
ScmObj SCM_RESULT;

#line 277 "./queue.scm"
{SCM_RESULT=(makemtq(&(MtQueueClass),
((SCM_UINTP(max_length))?(
SCM_INT_VALUE(max_length)):(-1))));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueue_25queue_set_contentX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj list_scm;
  ScmObj list;
  ScmObj last_pair_scm;
  ScmObj last_pair;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("%queue-set-content!");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  list_scm = SCM_SUBRARGS[1];
  list = (list_scm);
  last_pair_scm = SCM_SUBRARGS[2];
  last_pair = (last_pair_scm);
  {

#line 284 "./queue.scm"
if (SCM_PAIRP(list)){
{ScmObj tail=((SCM_PAIRP(last_pair))?(last_pair):(Scm_LastPair(list)));
Q_TAIL(q)=(tail),
Q_HEAD(q)=(list),
Q_LENGTH(q)=(-1);}} else {
Q_TAIL(q)=(SCM_NIL),
Q_HEAD(q)=(SCM_NIL),
Q_LENGTH(q)=(0);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueuequeue_emptyP(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("queue-empty?");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  {
{
int SCM_RESULT;

#line 310 "./queue.scm"
if (MTQP(q)){
{int r=FALSE;
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}r=(Q_EMPTY_P(q));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
{SCM_RESULT=(r);goto SCM_STUB_RETURN;}}} else {
{SCM_RESULT=(Q_EMPTY_P(q));goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuequeue_length(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("queue-length");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  {
{
int SCM_RESULT;
{SCM_RESULT=(_25qlength(q));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuemtqueue_max_length(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("mtqueue-max-length");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {
{
ScmObj SCM_RESULT;

#line 332 "./queue.scm"
{SCM_RESULT=((((MTQ_MAXLEN(q))>=(0))?(SCM_MAKE_INT(MTQ_MAXLEN(q))):(SCM_FALSE)));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueue_25mtqueue_overflowP(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj cnt_scm;
  int cnt;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("%mtqueue-overflow?");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  cnt_scm = SCM_SUBRARGS[1];
  if (!SCM_INTEGERP(cnt_scm)) Scm_Error("C integer required, but got %S", cnt_scm);
  cnt = Scm_GetInteger(cnt_scm);
  {
{
int SCM_RESULT;

#line 336 "./queue.scm"
{SCM_RESULT=(((MTQ_MAXLEN(q))>=(0))&&(((cnt)+(_25qlength(Q(q))))>(MTQ_MAXLEN(q))));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuemtqueue_room(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("mtqueue-room");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {
{
ScmObj SCM_RESULT;

#line 340 "./queue.scm"
{ScmSmallInt room=-1;
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}
if ((MTQ_MAXLEN(q))>=(0)){{
room=((MTQ_MAXLEN(q))-(_25qlength(Q(q))));}}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
if ((room)>=(0)){
{SCM_RESULT=(SCM_MAKE_INT(room));goto SCM_STUB_RETURN;}} else {
{SCM_RESULT=(SCM_POSITIVE_INFINITY);goto SCM_STUB_RETURN;}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueue_25qhead(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%qhead");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  {
{
ScmObj SCM_RESULT;

#line 350 "./queue.scm"
{SCM_RESULT=(Q_HEAD(q));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueue_25qtail(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("%qtail");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  {
{
ScmObj SCM_RESULT;

#line 351 "./queue.scm"
{SCM_RESULT=(Q_TAIL(q));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

 int queue_peek_both_int(Queue* q,ScmObj* ph,ScmObj* pt){{
#line 354 "./queue.scm"
if (Q_EMPTY_P(q)){{return (FALSE);}}
*(ph)=(SCM_CAR(Q_HEAD(q))),
*(pt)=(SCM_CAR(Q_TAIL(q)));
return (TRUE);}}
static ScmObj data_2d_2dqueue_25queue_peek(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj fallback_scm;
  ScmObj fallback;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("%queue-peek");
  if (SCM_ARGCNT >= 3
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 2 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  if (SCM_ARGCNT > 1+1) {
    fallback_scm = SCM_SUBRARGS[1];
  } else {
    fallback_scm = SCM_UNBOUND;
  }
  fallback = (fallback_scm);
  {
ScmObj SCM_RESULT0;
ScmObj SCM_RESULT1;
{

#line 360 "./queue.scm"
{int ok=FALSE;volatile ScmObj fb=fallback;ScmObj h;ScmObj t;
if (!(MTQP(q))){
ok=(queue_peek_both_int(q,&(h),&(t)));} else {
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}ok=(queue_peek_both_int(q,&(h),&(t)));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}}
if (ok){{SCM_RESULT0=(h),SCM_RESULT1=(t);goto SCM_STUB_RETURN;}}else if(
SCM_UNBOUNDP(fb)){
Scm_Error("queue is empty: %S",q);
{SCM_RESULT0=(SCM_UNDEFINED),SCM_RESULT1=(SCM_UNDEFINED);goto SCM_STUB_RETURN;}} else {
{SCM_RESULT0=(fb),SCM_RESULT1=(fb);goto SCM_STUB_RETURN;}}}
}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_Values2(SCM_OBJ_SAFE(SCM_RESULT0),SCM_OBJ_SAFE(SCM_RESULT1)));
  }
}

 void enqueue_int(Queue* q,ScmSmallInt cnt,ScmObj head,ScmObj tail){{
#line 401 "./queue.scm"
if ((Q_LENGTH(q))>=(0)){{
Q_LENGTH(q)=((Q_LENGTH(q))+(cnt));}}
if (Q_EMPTY_P(q)){Q_HEAD(q)=(head),Q_TAIL(q)=(tail);} else {
SCM_SET_CDR(Q_TAIL(q),head);
Q_TAIL(q)=(tail);}}}
static ScmObj data_2d_2dqueue_25enqueueX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj cnt_scm;
  ScmSmallInt cnt;
  ScmObj head_scm;
  ScmObj head;
  ScmObj tail_scm;
  ScmObj tail;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("%enqueue!");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  cnt_scm = SCM_SUBRARGS[1];
  if (!SCM_INTP(cnt_scm)) Scm_Error("small integer required, but got %S", cnt_scm);
  cnt = SCM_INT_VALUE(cnt_scm);
  head_scm = SCM_SUBRARGS[2];
  head = (head_scm);
  tail_scm = SCM_SUBRARGS[3];
  tail = (tail_scm);
  {

#line 409 "./queue.scm"
enqueue_int(q,cnt,head,tail);
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

static ScmObj data_2d_2dqueueenqueueX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj obj_scm;
  ScmObj obj;
  ScmObj more_objs_scm;
  ScmObj more_objs;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("enqueue!");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  obj_scm = SCM_SUBRARGS[1];
  obj = (obj_scm);
  more_objs_scm = SCM_SUBRARGS[SCM_ARGCNT-1];
  more_objs = (more_objs_scm);
  {
{
ScmObj SCM_RESULT;

#line 428 "./queue.scm"
{ScmObj head=Scm_Cons(obj,more_objs);ScmObj tail;ScmSmallInt cnt;
if (SCM_NULLP(more_objs)){
tail=(head),cnt=(1);} else {
tail=(Scm_LastPair(more_objs)),cnt=(Scm_Length(head));}
if (MTQP(q)){{int ovf=FALSE;{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}if (((MTQ_MAXLEN(q))>=(0))&&(((cnt)+(_25qlength(Q(q))))>(MTQ_MAXLEN(q)))){ovf=(TRUE);} else {enqueue_int(q,cnt,head,tail);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,readerWait));}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}if (ovf){{Scm_Error("queue is full: %S",q);}}}} else {enqueue_int(q,cnt,head,tail);}
{SCM_RESULT=(SCM_OBJ(q));goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueueenqueue_2fwaitX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj obj_scm;
  ScmObj obj;
  ScmObj timeout_scm;
  ScmObj timeout;
  ScmObj timeout_val_scm;
  ScmObj timeout_val;
  ScmObj SCM_SUBRARGS[6];
  SCM_ENTER_SUBR("enqueue/wait!");
  if (SCM_ARGCNT >= 5
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 4 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  for (int SCM_i=0; SCM_i<6; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  obj_scm = SCM_SUBRARGS[1];
  obj = (obj_scm);
  if (SCM_ARGCNT > 2+1) {
    timeout_scm = SCM_SUBRARGS[2];
  } else {
    timeout_scm = SCM_FALSE;
  }
  timeout = (timeout_scm);
  if (SCM_ARGCNT > 3+1) {
    timeout_val_scm = SCM_SUBRARGS[3];
  } else {
    timeout_val_scm = SCM_FALSE;
  }
  timeout_val = (timeout_val_scm);
  {
{
ScmObj SCM_RESULT;

#line 438 "./queue.scm"
{ScmObj cell=SCM_LIST1(obj);ScmObj retval=SCM_OBJ(q);

#if defined(GAUCHE_HAS_THREADS)

#line 440 "./queue.scm"
{ScmTimeSpec G2024;int G2027=0;volatile ScmObj G2026=timeout_val;ScmTimeSpec* G2025=Scm_GetTimeSpec(timeout,&(G2024));int G2028=FALSE;while(TRUE){{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));if (!(G2028)){{
{}G2028=(TRUE);}}while(TRUE){while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}if (
(((MTQ_MAXLEN(q))!=(0))?(
((MTQ_MAXLEN(q))>=(0))&&(((1)+(_25qlength(Q(q))))>(MTQ_MAXLEN(q)))):(
(MTQ_READER_SEM(q))==(0)))){if (G2025){{int G2029=SCM_INTERNAL_COND_TIMEDWAIT((q)->writerWait,MTQ_MUTEX(q),G2025);if ((G2029)==(SCM_INTERNAL_COND_TIMEDOUT)){G2027=(CW_TIMEDOUT);}else if((G2029)==(SCM_INTERNAL_COND_INTR)){G2027=(CW_INTR);} else {G2027=(0);}}} else {SCM_INTERNAL_COND_WAIT((q)->writerWait,MTQ_MUTEX(q));G2027=(0);}if ((G2027)==(0)){{continue;}}} else {
{enqueue_int(Q(q),1,cell,cell);
retval=(SCM_TRUE);
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(Q(q),readerWait));}G2027=(0);}MTQ_LOCKER(q)=(SCM_FALSE);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,lockWait));break;}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}switch (G2027) {case CW_TIMEDOUT : {retval=(G2026);break;}case CW_INTR : {Scm_SigCheck(Scm_VM());continue;break;}}break;}}
#else /* !defined(GAUCHE_HAS_THREADS) */

#line 448 "./queue.scm"
enqueue_int(Q(q),1,cell,cell);
#endif /* defined(GAUCHE_HAS_THREADS) */

#line 449 "./queue.scm"
{SCM_RESULT=(retval);goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

 void queue_push_int(Queue* q,ScmSmallInt cnt,ScmObj head,ScmObj tail){{
#line 471 "./queue.scm"
SCM_SET_CDR(tail,Q_HEAD(q));
Q_HEAD(q)=(head),
Q_TAIL(q)=(Scm_LastPair(tail));
if ((Q_LENGTH(q))>=(0)){{
Q_LENGTH(q)=((Q_LENGTH(q))+(cnt));}}}}
static ScmObj data_2d_2dqueuequeue_pushX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj obj_scm;
  ScmObj obj;
  ScmObj more_objs_scm;
  ScmObj more_objs;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("queue-push!");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  obj_scm = SCM_SUBRARGS[1];
  obj = (obj_scm);
  more_objs_scm = SCM_SUBRARGS[SCM_ARGCNT-1];
  more_objs = (more_objs_scm);
  {
{
ScmObj SCM_RESULT;

#line 478 "./queue.scm"
{ScmObj objs=Scm_Cons(obj,more_objs);ScmObj head;ScmObj tail;ScmSmallInt cnt;
if (SCM_NULLP(more_objs)){
head=(objs),tail=(objs),cnt=(1);} else {
head=(Scm_ReverseX(objs)),tail=(
Scm_LastPair(head)),cnt=(
Scm_Length(head));}
if (MTQP(q)){{int ovf=FALSE;{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}if (((MTQ_MAXLEN(q))>=(0))&&(((cnt)+(_25qlength(Q(q))))>(MTQ_MAXLEN(q)))){ovf=(TRUE);} else {queue_push_int(q,cnt,head,tail);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,readerWait));}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}if (ovf){{Scm_Error("queue is full: %S",q);}}}} else {queue_push_int(q,cnt,head,tail);}
{SCM_RESULT=(SCM_OBJ(q));goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuequeue_push_2fwaitX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj obj_scm;
  ScmObj obj;
  ScmObj timeout_scm;
  ScmObj timeout;
  ScmObj timeout_val_scm;
  ScmObj timeout_val;
  ScmObj SCM_SUBRARGS[6];
  SCM_ENTER_SUBR("queue-push/wait!");
  if (SCM_ARGCNT >= 5
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 4 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  for (int SCM_i=0; SCM_i<6; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  obj_scm = SCM_SUBRARGS[1];
  obj = (obj_scm);
  if (SCM_ARGCNT > 2+1) {
    timeout_scm = SCM_SUBRARGS[2];
  } else {
    timeout_scm = SCM_FALSE;
  }
  timeout = (timeout_scm);
  if (SCM_ARGCNT > 3+1) {
    timeout_val_scm = SCM_SUBRARGS[3];
  } else {
    timeout_val_scm = SCM_FALSE;
  }
  timeout_val = (timeout_val_scm);
  {
{
ScmObj SCM_RESULT;

#line 489 "./queue.scm"
{ScmObj cell=SCM_LIST1(obj);ScmObj retval=SCM_OBJ(q);

#if defined(GAUCHE_HAS_THREADS)

#line 491 "./queue.scm"
{ScmTimeSpec G2031;int G2034=0;volatile ScmObj G2033=timeout_val;ScmTimeSpec* G2032=Scm_GetTimeSpec(timeout,&(G2031));int G2035=FALSE;while(TRUE){{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));if (!(G2035)){{
{}G2035=(TRUE);}}while(TRUE){while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}if (
(((MTQ_MAXLEN(q))!=(0))?(
((MTQ_MAXLEN(q))>=(0))&&(((1)+(_25qlength(Q(q))))>(MTQ_MAXLEN(q)))):(
(MTQ_READER_SEM(q))==(0)))){if (G2032){{int G2036=SCM_INTERNAL_COND_TIMEDWAIT((q)->writerWait,MTQ_MUTEX(q),G2032);if ((G2036)==(SCM_INTERNAL_COND_TIMEDOUT)){G2034=(CW_TIMEDOUT);}else if((G2036)==(SCM_INTERNAL_COND_INTR)){G2034=(CW_INTR);} else {G2034=(0);}}} else {SCM_INTERNAL_COND_WAIT((q)->writerWait,MTQ_MUTEX(q));G2034=(0);}if ((G2034)==(0)){{continue;}}} else {
{queue_push_int(Q(q),1,cell,cell);
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(Q(q),readerWait));}G2034=(0);}MTQ_LOCKER(q)=(SCM_FALSE);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,lockWait));break;}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}switch (G2034) {case CW_TIMEDOUT : {retval=(G2033);break;}case CW_INTR : {Scm_SigCheck(Scm_VM());continue;break;}}break;}}
#else /* !defined(GAUCHE_HAS_THREADS) */

#line 498 "./queue.scm"
queue_push_int(Q(q),1,cell,cell);
#endif /* defined(GAUCHE_HAS_THREADS) */

#line 499 "./queue.scm"
{SCM_RESULT=(retval);goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

 int dequeue_int(Queue* q,ScmObj* result){{
#line 520 "./queue.scm"
if (Q_EMPTY_P(q)){return (TRUE);} else {
#line 522 "./queue.scm"
{ScmObj h=Q_HEAD(q);
*(result)=(SCM_CAR(h)),
Q_HEAD(q)=(SCM_CDR(h));
SCM_CAR(h)=(SCM_NIL),
SCM_CDR(h)=(SCM_NIL);
if ((Q_LENGTH(q))>=(0)){{--(Q_LENGTH(q));}}
return (FALSE);}}}}
static ScmObj data_2d_2dqueuedequeueX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj fallback_scm;
  ScmObj fallback;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("dequeue!");
  if (SCM_ARGCNT >= 3
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 2 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  if (SCM_ARGCNT > 1+1) {
    fallback_scm = SCM_SUBRARGS[1];
  } else {
    fallback_scm = SCM_UNBOUND;
  }
  fallback = (fallback_scm);
  {
{
ScmObj SCM_RESULT;

#line 531 "./queue.scm"
{int empty=FALSE;volatile ScmObj fb=fallback;ScmObj r=SCM_UNDEFINED;
if (!(MTQP(q))){
empty=(dequeue_int(q,&(r)));} else {
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}empty=(dequeue_int(q,&(r)));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}}
if (empty){
if (SCM_UNBOUNDP(fb)){
Scm_Error("queue is empty: %S",q);} else {
r=(fb);}} else {
if (MTQP(q)){{SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,writerWait));}}}
{SCM_RESULT=(r);goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuedequeue_2fwaitX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj timeout_scm;
  ScmObj timeout;
  ScmObj timeout_val_scm;
  ScmObj timeout_val;
  ScmObj SCM_SUBRARGS[5];
  SCM_ENTER_SUBR("dequeue/wait!");
  if (SCM_ARGCNT >= 4
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 3 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  for (int SCM_i=0; SCM_i<5; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  if (SCM_ARGCNT > 1+1) {
    timeout_scm = SCM_SUBRARGS[1];
  } else {
    timeout_scm = SCM_FALSE;
  }
  timeout = (timeout_scm);
  if (SCM_ARGCNT > 2+1) {
    timeout_val_scm = SCM_SUBRARGS[2];
  } else {
    timeout_val_scm = SCM_FALSE;
  }
  timeout_val = (timeout_val_scm);
  {
{
ScmObj SCM_RESULT;

#line 544 "./queue.scm"
{ScmObj retval=SCM_UNDEFINED;

#if defined(GAUCHE_HAS_THREADS)

#line 546 "./queue.scm"
{ScmTimeSpec G2038;int G2041=0;volatile ScmObj G2040=timeout_val;ScmTimeSpec* G2039=Scm_GetTimeSpec(timeout,&(G2038));int G2042=FALSE;while(TRUE){{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));if (!(G2042)){{
{(MTQ_READER_SEM(q))++;
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(Q(q),writerWait));}G2042=(TRUE);}}while(TRUE){while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}if (
Q_EMPTY_P(q)){if (G2039){{int G2043=SCM_INTERNAL_COND_TIMEDWAIT((q)->readerWait,MTQ_MUTEX(q),G2039);if ((G2043)==(SCM_INTERNAL_COND_TIMEDOUT)){G2041=(CW_TIMEDOUT);}else if((G2043)==(SCM_INTERNAL_COND_INTR)){G2041=(CW_INTR);} else {G2041=(0);}}} else {SCM_INTERNAL_COND_WAIT((q)->readerWait,MTQ_MUTEX(q));G2041=(0);}if ((G2041)==(0)){{continue;}}} else {
{--(MTQ_READER_SEM(q));
dequeue_int(Q(q),&(retval));
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(Q(q),writerWait));}G2041=(0);}MTQ_LOCKER(q)=(SCM_FALSE);SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,lockWait));break;}SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}switch (G2041) {case CW_TIMEDOUT : {retval=(G2040);break;}case CW_INTR : {Scm_SigCheck(Scm_VM());continue;break;}}break;}}
#else /* !defined(GAUCHE_HAS_THREADS) */

#line 554 "./queue.scm"
dequeue_int(Q(q),&(retval));
#endif /* defined(GAUCHE_HAS_THREADS) */

#line 555 "./queue.scm"
{SCM_RESULT=(retval);goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

 ScmObj dequeue_all_int(Queue* q){{
#line 558 "./queue.scm"
{ScmObj lis=Q_HEAD(q);
Q_LENGTH(q)=(0),Q_HEAD(q)=(SCM_NIL),Q_TAIL(q)=(SCM_NIL);
return (lis);}}}
static ScmObj data_2d_2dqueuedequeue_allX(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  Queue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("dequeue-all!");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!QP(q_scm)) Scm_Error("queue required, but got %S", q_scm);
  q = Q(q_scm);
  {
{
ScmObj SCM_RESULT;

#line 563 "./queue.scm"
if (!(MTQP(q))){
{SCM_RESULT=(dequeue_all_int(q));goto SCM_STUB_RETURN;}} else {
{ScmObj r;
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}r=(dequeue_all_int(q));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
SCM_INTERNAL_COND_BROADCAST(MTQ_CV(q,writerWait));
{SCM_RESULT=(r);goto SCM_STUB_RETURN;}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static ScmObj data_2d_2dqueuemtqueue_num_waiting_readers(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj q_scm;
  MtQueue* q;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("mtqueue-num-waiting-readers");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  q_scm = SCM_SUBRARGS[0];
  if (!MTQP(q_scm)) Scm_Error("mt-queue required, but got %S", q_scm);
  q = MTQ(q_scm);
  {
{
int SCM_RESULT;

#line 579 "./queue.scm"
{int n=0;
{SCM_INTERNAL_MUTEX_SAFE_LOCK_BEGIN(MTQ_MUTEX(q));while((SCM_VMP(MTQ_LOCKER(q)))&&(!(((SCM_VM(MTQ_LOCKER(q)))->state)==(SCM_VM_TERMINATED)))){SCM_INTERNAL_COND_WAIT(MTQ_CV(q,lockWait),MTQ_MUTEX(q));}n=(MTQ_READER_SEM(q));SCM_INTERNAL_MUTEX_SAFE_LOCK_END();}
{SCM_RESULT=(n);goto SCM_STUB_RETURN;}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static ScmCompiledCode *toplevels[] = {
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[2])),
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[4])),
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[9])),
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[12])),
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[34])),
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[35])),
 NULL /*termination*/
};
SCM_EXTENSION_ENTRY void Scm_Init_data__queue() {
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
SCM_INIT_EXTENSION(queue);
  scm__rc.d1964[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[0])),TRUE); /* data.queue */
  scm__rc.d1964[0] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1964[1]), SCM_FIND_MODULE_CREATE)); /* module data.queue */
   Scm_SelectModule(SCM_MODULE(scm__rc.d1964[0]));
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
   Scm_SelectModule(SCM_MODULE(scm__rc.d1964[0]));
  Scm_InitBuiltinClass(&QueueClass, "<queue>", QueueClass__SLOTS, TRUE, SCM_MODULE(scm__rc.d1964[0]));
  Scm_InitBuiltinClass(&MtQueueClass, "<mtqueue>", MtQueueClass__SLOTS, TRUE, SCM_MODULE(scm__rc.d1964[0]));
  scm__rc.d1964[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[1])),TRUE); /* %lock-mtq */
  scm__rc.d1964[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[2])),TRUE); /* q */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[1]), scm__rc.d1964[3]);
  scm__rc.d1964[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[3])),TRUE); /* source-info */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[4]), scm__rc.d1964[4]);
  scm__rc.d1964[5] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[5])),TRUE); /* bind-info */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[5]), scm__rc.d1964[2]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[6]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[7]), scm__rc.d1964[5]);
  scm__rc.d1964[6] = Scm_MakeExtendedPair(scm__rc.d1964[2], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[9]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%lock-mtq")), SCM_OBJ(&data_2d_2dqueue_25lock_mtq__STUB), 0);
  data_2d_2dqueue_25lock_mtq__STUB.common.info = scm__rc.d1964[6];
  scm__rc.d1964[7] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[6])),TRUE); /* %unlock-mtq */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[12]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[13]), scm__rc.d1964[7]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[14]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[15]), scm__rc.d1964[5]);
  scm__rc.d1964[8] = Scm_MakeExtendedPair(scm__rc.d1964[7], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[17]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%unlock-mtq")), SCM_OBJ(&data_2d_2dqueue_25unlock_mtq__STUB), 0);
  data_2d_2dqueue_25unlock_mtq__STUB.common.info = scm__rc.d1964[8];
  scm__rc.d1964[9] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[7])),TRUE); /* %notify-writers */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[20]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[21]), scm__rc.d1964[9]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[22]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[23]), scm__rc.d1964[5]);
  scm__rc.d1964[10] = Scm_MakeExtendedPair(scm__rc.d1964[9], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[25]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%notify-writers")), SCM_OBJ(&data_2d_2dqueue_25notify_writers__STUB), 0);
  data_2d_2dqueue_25notify_writers__STUB.common.info = scm__rc.d1964[10];
  scm__rc.d1964[11] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[8])),TRUE); /* %notify-readers */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[28]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[29]), scm__rc.d1964[11]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[30]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[31]), scm__rc.d1964[5]);
  scm__rc.d1964[12] = Scm_MakeExtendedPair(scm__rc.d1964[11], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[33]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%notify-readers")), SCM_OBJ(&data_2d_2dqueue_25notify_readers__STUB), 0);
  data_2d_2dqueue_25notify_readers__STUB.common.info = scm__rc.d1964[12];
  scm__rc.d1964[13] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[9])),TRUE); /* make-queue */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[36]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[37]), scm__rc.d1964[13]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[38]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[39]), scm__rc.d1964[5]);
  scm__rc.d1964[14] = Scm_MakeExtendedPair(scm__rc.d1964[13], SCM_NIL, SCM_OBJ(&scm__rc.d1997[41]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("make-queue")), SCM_OBJ(&data_2d_2dqueuemake_queue__STUB), 0);
  data_2d_2dqueuemake_queue__STUB.common.info = scm__rc.d1964[14];
  scm__rc.d1964[15] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[10]))); /* :max-length */
  scm__rc.d1964[16] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[11])),TRUE); /* make-mtqueue */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[44]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[45]), scm__rc.d1964[16]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[46]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[47]), scm__rc.d1964[5]);
  scm__rc.d1964[17] = Scm_MakeExtendedPair(scm__rc.d1964[16], SCM_NIL, SCM_OBJ(&scm__rc.d1997[49]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("make-mtqueue")), SCM_OBJ(&data_2d_2dqueuemake_mtqueue__STUB), 0);
  data_2d_2dqueuemake_mtqueue__STUB.common.info = scm__rc.d1964[17];
  scm__rc.d1964[18] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[12])),TRUE); /* %queue-set-content! */
  scm__rc.d1964[19] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[13])),TRUE); /* list */
  scm__rc.d1964[20] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[14])),TRUE); /* last-pair */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[50]), scm__rc.d1964[20]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[51]), scm__rc.d1964[19]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[52]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[55]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[56]), scm__rc.d1964[18]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[57]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[58]), scm__rc.d1964[5]);
  scm__rc.d1964[21] = Scm_MakeExtendedPair(scm__rc.d1964[18], SCM_OBJ(&scm__rc.d1997[52]), SCM_OBJ(&scm__rc.d1997[60]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%queue-set-content!")), SCM_OBJ(&data_2d_2dqueue_25queue_set_contentX__STUB), 0);
  data_2d_2dqueue_25queue_set_contentX__STUB.common.info = scm__rc.d1964[21];
  scm__rc.d1964[22] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[15])),TRUE); /* list->queue */
  scm__rc.d1964[24] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[16])),TRUE); /* <queue> */
  scm__rc.d1964[25] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1964[1]), SCM_FIND_MODULE_CREATE|SCM_FIND_MODULE_PLACEHOLDING)); /* module data.queue */
  scm__rc.d1964[23] = Scm_MakeIdentifier(scm__rc.d1964[24], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#<queue> */
  scm__rc.d1964[27] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[17])),TRUE); /* make */
  scm__rc.d1964[26] = Scm_MakeIdentifier(scm__rc.d1964[27], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#make */
  scm__rc.d1964[29] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[18])),TRUE); /* list-copy */
  scm__rc.d1964[28] = Scm_MakeIdentifier(scm__rc.d1964[29], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#list-copy */
  scm__rc.d1964[30] = Scm_MakeIdentifier(scm__rc.d1964[18], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%queue-set-content! */
  scm__rc.d1964[31] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[19])),TRUE); /* lis */
  scm__rc.d1964[32] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[20]))); /* :optional */
  scm__rc.d1964[33] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[21])),TRUE); /* class */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[61]), scm__rc.d1964[24]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[62]), scm__rc.d1964[33]);
  scm__rc.d1964[34] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[22]))); /* :rest */
  scm__rc.d1964[35] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[23])),TRUE); /* initargs */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[63]), scm__rc.d1964[35]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[64]), scm__rc.d1964[34]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[66]), scm__rc.d1964[32]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[67]), scm__rc.d1964[31]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[70]), scm__rc.d1964[4]);
  scm__rc.d1964[36] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[24])),TRUE); /* unused-args */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[71]), scm__rc.d1964[36]);
  scm__rc.d1964[37] = Scm_MakeExtendedPair(scm__rc.d1964[22], SCM_OBJ(&scm__rc.d1997[67]), SCM_OBJ(&scm__rc.d1997[73]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[74]), scm__rc.d1964[37]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[0]))->name = scm__rc.d1964[22];/* list->queue */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]))[4] = SCM_WORD(scm__rc.d1964[23]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]))[20] = SCM_WORD(scm__rc.d1964[26]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]))[32] = SCM_WORD(scm__rc.d1964[28]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[0]))[36] = SCM_WORD(scm__rc.d1964[30]);
  ScmObj G2002 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[0]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[22]) /* list->queue */, G2002,0);

  scm__rc.d1964[39] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[25])),TRUE); /* queue->list */
  scm__rc.d1964[38] = Scm_MakeIdentifier(scm__rc.d1964[39], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue->list */
  scm__rc.d1964[41] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[26])),TRUE); /* class-of */
  scm__rc.d1964[40] = Scm_MakeIdentifier(scm__rc.d1964[41], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#class-of */
  scm__rc.d1964[42] = Scm_MakeIdentifier(scm__rc.d1964[22], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#list->queue */
  scm__rc.d1964[43] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[27])),FALSE); /* G2004 */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[75]), scm__rc.d1964[43]);
  scm__rc.d1964[44] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[28])),TRUE); /* next-method */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[77]), scm__rc.d1964[44]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[78]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[79]), scm__rc.d1964[36]);
  scm__rc.d1964[45] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[76]), SCM_OBJ(&scm__rc.d1997[78]), SCM_OBJ(&scm__rc.d1997[80]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[81]), scm__rc.d1964[45]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[38]))[4] = SCM_WORD(scm__rc.d1964[38]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[38]))[9] = SCM_WORD(scm__rc.d1964[40]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[38]))[11] = SCM_WORD(scm__rc.d1964[42]);
  scm__rc.d1964[46] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[29])),TRUE); /* copy-queue */
  scm__rc.d1964[48] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[30])),TRUE); /* %ensure-generic-function */
  scm__rc.d1964[50] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[31])),TRUE); /* gauche.object */
  scm__rc.d1964[49] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1964[50]), SCM_FIND_MODULE_CREATE|SCM_FIND_MODULE_PLACEHOLDING)); /* module gauche.object */
  scm__rc.d1964[47] = Scm_MakeIdentifier(scm__rc.d1964[48], SCM_MODULE(scm__rc.d1964[49]), SCM_NIL); /* gauche.object#%ensure-generic-function */
  scm__rc.d1964[52] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[32])),TRUE); /* <method> */
  scm__rc.d1964[51] = Scm_MakeIdentifier(scm__rc.d1964[52], SCM_MODULE(scm__rc.d1964[49]), SCM_NIL); /* gauche.object#<method> */
  scm__rc.d1964[53] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[33]))); /* :generic */
  scm__rc.d1964[54] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[34]))); /* :specializers */
  scm__rc.d1964[55] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[35]))); /* :lambda-list */
  scm__rc.d1964[56] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[36]))); /* :method-locked */
  scm__rc.d1964[57] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1965[37]))); /* :body */
  scm__rc.d1964[58] = Scm_MakeIdentifier(scm__rc.d1964[27], SCM_MODULE(scm__rc.d1964[49]), SCM_NIL); /* gauche.object#make */
  scm__rc.d1964[60] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[38])),TRUE); /* add-method! */
  scm__rc.d1964[59] = Scm_MakeIdentifier(scm__rc.d1964[60], SCM_MODULE(scm__rc.d1964[49]), SCM_NIL); /* gauche.object#add-method! */
  scm__rc.d1964[61] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[39])),TRUE); /* %toplevel */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[2]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[5] = SCM_WORD(scm__rc.d1964[46]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[7] = SCM_WORD(scm__rc.d1964[25]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[9] = SCM_WORD(scm__rc.d1964[47]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[17] = SCM_WORD(scm__rc.d1964[51]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[19] = SCM_WORD(scm__rc.d1964[53]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[22] = SCM_WORD(scm__rc.d1964[54]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[24] = SCM_WORD(scm__rc.d1964[23]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[28] = SCM_WORD(scm__rc.d1964[55]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[32] = SCM_WORD(scm__rc.d1964[56]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[35] = SCM_WORD(scm__rc.d1964[57]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[38] = SCM_WORD(scm__rc.d1964[58]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[51]))[40] = SCM_WORD(scm__rc.d1964[59]);
  scm__rc.d1964[63] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[40])),TRUE); /* mtqueue-max-length */
  scm__rc.d1964[62] = Scm_MakeIdentifier(scm__rc.d1964[63], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#mtqueue-max-length */
  scm__rc.d1964[64] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[41])),FALSE); /* G2006 */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[83]), scm__rc.d1964[64]);
  scm__rc.d1964[65] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[84]), SCM_OBJ(&scm__rc.d1997[78]), SCM_OBJ(&scm__rc.d1997[80]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[85]), scm__rc.d1964[65]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]))[4] = SCM_WORD(scm__rc.d1964[38]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]))[9] = SCM_WORD(scm__rc.d1964[40]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]))[12] = SCM_WORD(scm__rc.d1964[15]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]))[17] = SCM_WORD(scm__rc.d1964[62]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[93]))[19] = SCM_WORD(scm__rc.d1964[42]);
  scm__rc.d1964[67] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[42])),TRUE); /* <mtqueue> */
  scm__rc.d1964[66] = Scm_MakeIdentifier(scm__rc.d1964[67], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#<mtqueue> */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[4]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[5] = SCM_WORD(scm__rc.d1964[46]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[7] = SCM_WORD(scm__rc.d1964[25]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[9] = SCM_WORD(scm__rc.d1964[47]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[17] = SCM_WORD(scm__rc.d1964[51]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[19] = SCM_WORD(scm__rc.d1964[53]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[22] = SCM_WORD(scm__rc.d1964[54]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[24] = SCM_WORD(scm__rc.d1964[66]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[28] = SCM_WORD(scm__rc.d1964[55]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[32] = SCM_WORD(scm__rc.d1964[56]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[35] = SCM_WORD(scm__rc.d1964[57]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[38] = SCM_WORD(scm__rc.d1964[58]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[114]))[40] = SCM_WORD(scm__rc.d1964[59]);
  scm__rc.d1964[68] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[43])),TRUE); /* queue-empty? */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[89]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[90]), scm__rc.d1964[68]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[91]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[92]), scm__rc.d1964[5]);
  scm__rc.d1964[69] = Scm_MakeExtendedPair(scm__rc.d1964[68], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[94]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("queue-empty?")), SCM_OBJ(&data_2d_2dqueuequeue_emptyP__STUB), 0);
  data_2d_2dqueuequeue_emptyP__STUB.common.info = scm__rc.d1964[69];
  scm__rc.d1964[70] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[44])),TRUE); /* queue? */
  scm__rc.d1964[72] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[45])),TRUE); /* is-a? */
  scm__rc.d1964[71] = Scm_MakeIdentifier(scm__rc.d1964[72], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#is-a? */
  scm__rc.d1964[73] = Scm_MakeExtendedPair(scm__rc.d1964[70], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[95]), scm__rc.d1964[73]);
  scm__rc.d1964[74] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[46])),TRUE); /* lvar */
  scm__rc.d1964[75] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[47])),TRUE); /* $GREF */
  scm__rc.d1964[76] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[48])),TRUE); /* $LREF */
  scm__rc.d1964[77] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[49])),TRUE); /* $CALL */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[96]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[97]), scm__rc.d1964[72]);
  scm__rc.d1964[78] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[50])),TRUE); /* $LAMBDA */
  scm__rc.d1964[80] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[51])),TRUE); /* lambda */
  scm__rc.d1964[79] = Scm_MakeIdentifier(scm__rc.d1964[80], SCM_MODULE(Scm_GaucheModule()), SCM_NIL); /* gauche#lambda */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[102]), scm__rc.d1964[79]);
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[3] = scm__rc.d1964[74];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[4] = scm__rc.d1964[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[5] = scm__rc.d1964[75];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[6] = scm__rc.d1964[71];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[7] = scm__rc.d1964[76];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[9] = scm__rc.d1964[75];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[10] = scm__rc.d1964[23];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[11] = scm__rc.d1964[77];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[16] = scm__rc.d1964[78];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[81]))[18] = scm__rc.d1964[70];
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[5]))->name = scm__rc.d1964[70];/* queue? */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[156]))[2] = SCM_WORD(scm__rc.d1964[23]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[156]))[4] = SCM_WORD(scm__rc.d1964[71]);
  ScmObj G2007 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[5]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[70]) /* queue? */, G2007,SCM_BINDING_INLINABLE);

  scm__rc.d1964[105] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[52])),TRUE); /* mtqueue? */
  scm__rc.d1964[106] = Scm_MakeExtendedPair(scm__rc.d1964[105], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[104]), scm__rc.d1964[106]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[105]), scm__rc.d1964[67]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[106]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[107]), scm__rc.d1964[72]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[110]), scm__rc.d1964[79]);
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[3] = scm__rc.d1964[74];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[4] = scm__rc.d1964[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[5] = scm__rc.d1964[75];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[6] = scm__rc.d1964[71];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[7] = scm__rc.d1964[76];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[9] = scm__rc.d1964[75];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[10] = scm__rc.d1964[66];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[11] = scm__rc.d1964[77];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[16] = scm__rc.d1964[78];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1964[107]))[18] = scm__rc.d1964[105];
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[6]))->name = scm__rc.d1964[105];/* mtqueue? */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[162]))[2] = SCM_WORD(scm__rc.d1964[66]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[162]))[4] = SCM_WORD(scm__rc.d1964[71]);
  ScmObj G2008 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[6]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[105]) /* mtqueue? */, G2008,SCM_BINDING_INLINABLE);

  scm__rc.d1964[131] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[53])),TRUE); /* queue-length */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[113]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[114]), scm__rc.d1964[131]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[115]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[116]), scm__rc.d1964[5]);
  scm__rc.d1964[132] = Scm_MakeExtendedPair(scm__rc.d1964[131], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[118]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("queue-length")), SCM_OBJ(&data_2d_2dqueuequeue_length__STUB), 0);
  data_2d_2dqueuequeue_length__STUB.common.info = scm__rc.d1964[132];
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[121]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[122]), scm__rc.d1964[63]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[123]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[124]), scm__rc.d1964[5]);
  scm__rc.d1964[133] = Scm_MakeExtendedPair(scm__rc.d1964[63], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[126]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("mtqueue-max-length")), SCM_OBJ(&data_2d_2dqueuemtqueue_max_length__STUB), 0);
  data_2d_2dqueuemtqueue_max_length__STUB.common.info = scm__rc.d1964[133];
  scm__rc.d1964[134] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[54])),TRUE); /* %mtqueue-overflow? */
  scm__rc.d1964[135] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[55])),TRUE); /* cnt */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[127]), scm__rc.d1964[135]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[128]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[131]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[132]), scm__rc.d1964[134]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[133]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[134]), scm__rc.d1964[5]);
  scm__rc.d1964[136] = Scm_MakeExtendedPair(scm__rc.d1964[134], SCM_OBJ(&scm__rc.d1997[128]), SCM_OBJ(&scm__rc.d1997[136]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%mtqueue-overflow?")), SCM_OBJ(&data_2d_2dqueue_25mtqueue_overflowP__STUB), 0);
  data_2d_2dqueue_25mtqueue_overflowP__STUB.common.info = scm__rc.d1964[136];
  scm__rc.d1964[137] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[56])),TRUE); /* mtqueue-room */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[139]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[140]), scm__rc.d1964[137]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[141]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[142]), scm__rc.d1964[5]);
  scm__rc.d1964[138] = Scm_MakeExtendedPair(scm__rc.d1964[137], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[144]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("mtqueue-room")), SCM_OBJ(&data_2d_2dqueuemtqueue_room__STUB), 0);
  data_2d_2dqueuemtqueue_room__STUB.common.info = scm__rc.d1964[138];
  scm__rc.d1964[139] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[57])),TRUE); /* %qhead */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[147]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[148]), scm__rc.d1964[139]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[149]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[150]), scm__rc.d1964[5]);
  scm__rc.d1964[140] = Scm_MakeExtendedPair(scm__rc.d1964[139], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[152]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%qhead")), SCM_OBJ(&data_2d_2dqueue_25qhead__STUB), 0);
  data_2d_2dqueue_25qhead__STUB.common.info = scm__rc.d1964[140];
  scm__rc.d1964[141] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[58])),TRUE); /* %qtail */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[155]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[156]), scm__rc.d1964[141]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[157]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[158]), scm__rc.d1964[5]);
  scm__rc.d1964[142] = Scm_MakeExtendedPair(scm__rc.d1964[141], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[160]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%qtail")), SCM_OBJ(&data_2d_2dqueue_25qtail__STUB), 0);
  data_2d_2dqueue_25qtail__STUB.common.info = scm__rc.d1964[142];
  scm__rc.d1964[143] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[59])),TRUE); /* %queue-peek */
  scm__rc.d1964[144] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[60])),TRUE); /* fallback */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[161]), scm__rc.d1964[144]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[162]), scm__rc.d1964[32]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[163]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[166]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[167]), scm__rc.d1964[143]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[168]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[169]), scm__rc.d1964[5]);
  scm__rc.d1964[145] = Scm_MakeExtendedPair(scm__rc.d1964[143], SCM_OBJ(&scm__rc.d1997[163]), SCM_OBJ(&scm__rc.d1997[171]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%queue-peek")), SCM_OBJ(&data_2d_2dqueue_25queue_peek__STUB), 0);
  data_2d_2dqueue_25queue_peek__STUB.common.info = scm__rc.d1964[145];
  scm__rc.d1964[146] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[61])),TRUE); /* default */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[172]), scm__rc.d1964[146]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[173]), scm__rc.d1964[3]);
  scm__rc.d1964[147] = Scm_MakeIdentifier(scm__rc.d1964[143], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%queue-peek */
  scm__rc.d1964[148] = Scm_MakeExtendedPair(SCM_FALSE, SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[176]), scm__rc.d1964[148]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[168]))[4] = SCM_WORD(scm__rc.d1964[147]);
  scm__rc.d1964[149] = Scm_MakeExtendedPair(SCM_FALSE, SCM_OBJ(&scm__rc.d1997[173]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[177]), scm__rc.d1964[149]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[175]))[5] = SCM_WORD(scm__rc.d1964[147]);
  scm__rc.d1964[150] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[62])),TRUE); /* queue-front */
  scm__rc.d1964[152] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[63])),TRUE); /* make-case-lambda */
  scm__rc.d1964[151] = Scm_MakeIdentifier(scm__rc.d1964[152], SCM_MODULE(Scm_GaucheInternalModule()), SCM_NIL); /* gauche.internal#make-case-lambda */
  scm__rc.d1964[153] = Scm_MakeIdentifier(scm__rc.d1964[150], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue-front */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[9]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[183]))[14] = SCM_WORD(scm__rc.d1964[150]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[183]))[16] = SCM_WORD(scm__rc.d1964[151]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[183]))[18] = SCM_WORD(scm__rc.d1964[153]);
  scm__rc.d1964[154] = Scm_MakeExtendedPair(SCM_FALSE, SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[178]), scm__rc.d1964[154]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[203]))[4] = SCM_WORD(scm__rc.d1964[147]);
  scm__rc.d1964[155] = Scm_MakeExtendedPair(SCM_FALSE, SCM_OBJ(&scm__rc.d1997[173]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[179]), scm__rc.d1964[155]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[210]))[5] = SCM_WORD(scm__rc.d1964[147]);
  scm__rc.d1964[156] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[64])),TRUE); /* queue-rear */
  scm__rc.d1964[157] = Scm_MakeIdentifier(scm__rc.d1964[156], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue-rear */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[12]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[218]))[14] = SCM_WORD(scm__rc.d1964[156]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[218]))[16] = SCM_WORD(scm__rc.d1964[151]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[218]))[18] = SCM_WORD(scm__rc.d1964[157]);
  scm__rc.d1964[158] = Scm_MakeIdentifier(scm__rc.d1964[105], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#mtqueue? */
  scm__rc.d1964[159] = Scm_MakeIdentifier(scm__rc.d1964[2], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%lock-mtq */
  scm__rc.d1964[160] = Scm_MakeIdentifier(scm__rc.d1964[139], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%qhead */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[181]), scm__rc.d1964[39]);
  scm__rc.d1964[161] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[181]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[182]), scm__rc.d1964[161]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[238]))[4] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[238]))[6] = SCM_WORD(scm__rc.d1964[28]);
  scm__rc.d1964[162] = Scm_MakeIdentifier(scm__rc.d1964[7], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%unlock-mtq */
  scm__rc.d1964[163] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[181]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[183]), scm__rc.d1964[163]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[246]))[2] = SCM_WORD(scm__rc.d1964[162]);
  scm__rc.d1964[165] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[65])),TRUE); /* %unwind-protect */
  scm__rc.d1964[164] = Scm_MakeIdentifier(scm__rc.d1964[165], SCM_MODULE(Scm_GaucheInternalModule()), SCM_NIL); /* gauche.internal#%unwind-protect */
  scm__rc.d1964[166] = Scm_MakeIdentifier(scm__rc.d1964[70], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue? */
  scm__rc.d1964[168] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[67])),TRUE); /* error */
  scm__rc.d1964[167] = Scm_MakeIdentifier(scm__rc.d1964[168], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#error */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[186]), scm__rc.d1964[4]);
  scm__rc.d1964[169] = Scm_MakeExtendedPair(scm__rc.d1964[39], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[187]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[188]), scm__rc.d1964[169]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[15]))->name = scm__rc.d1964[39];/* queue->list */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[4] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[11] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[18] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[24] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[31] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[33] = SCM_WORD(scm__rc.d1964[28]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[250]))[39] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2017 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[15]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[39]) /* queue->list */, G2017,0);

  scm__rc.d1964[170] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[68])),TRUE); /* find-in-queue */
  scm__rc.d1964[172] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[69])),TRUE); /* find */
  scm__rc.d1964[171] = Scm_MakeIdentifier(scm__rc.d1964[172], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#find */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[189]), scm__rc.d1964[170]);
  scm__rc.d1964[173] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[189]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[190]), scm__rc.d1964[173]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[291]))[5] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[291]))[7] = SCM_WORD(scm__rc.d1964[171]);
  scm__rc.d1964[174] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[189]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[191]), scm__rc.d1964[174]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[300]))[2] = SCM_WORD(scm__rc.d1964[162]);
  scm__rc.d1964[175] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[70])),TRUE); /* pred */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[192]), scm__rc.d1964[175]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[195]), scm__rc.d1964[4]);
  scm__rc.d1964[176] = Scm_MakeExtendedPair(scm__rc.d1964[170], SCM_OBJ(&scm__rc.d1997[192]), SCM_OBJ(&scm__rc.d1997[196]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[197]), scm__rc.d1964[176]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[18]))->name = scm__rc.d1964[170];/* find-in-queue */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[4] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[11] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[18] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[24] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[32] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[34] = SCM_WORD(scm__rc.d1964[171]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[304]))[40] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2018 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[18]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[170]) /* find-in-queue */, G2018,0);

  scm__rc.d1964[177] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[71])),TRUE); /* any-in-queue */
  scm__rc.d1964[179] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[72])),TRUE); /* any */
  scm__rc.d1964[178] = Scm_MakeIdentifier(scm__rc.d1964[179], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#any */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[198]), scm__rc.d1964[177]);
  scm__rc.d1964[180] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[198]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[199]), scm__rc.d1964[180]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[346]))[5] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[346]))[7] = SCM_WORD(scm__rc.d1964[178]);
  scm__rc.d1964[181] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[198]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[200]), scm__rc.d1964[181]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[355]))[2] = SCM_WORD(scm__rc.d1964[162]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[203]), scm__rc.d1964[4]);
  scm__rc.d1964[182] = Scm_MakeExtendedPair(scm__rc.d1964[177], SCM_OBJ(&scm__rc.d1997[192]), SCM_OBJ(&scm__rc.d1997[204]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[205]), scm__rc.d1964[182]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[21]))->name = scm__rc.d1964[177];/* any-in-queue */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[4] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[11] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[18] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[24] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[32] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[34] = SCM_WORD(scm__rc.d1964[178]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[359]))[40] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2019 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[21]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[177]) /* any-in-queue */, G2019,0);

  scm__rc.d1964[183] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[73])),TRUE); /* every-in-queue */
  scm__rc.d1964[185] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[74])),TRUE); /* every */
  scm__rc.d1964[184] = Scm_MakeIdentifier(scm__rc.d1964[185], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#every */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[206]), scm__rc.d1964[183]);
  scm__rc.d1964[186] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[206]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[207]), scm__rc.d1964[186]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[401]))[5] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[401]))[7] = SCM_WORD(scm__rc.d1964[184]);
  scm__rc.d1964[187] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[206]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[208]), scm__rc.d1964[187]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[410]))[2] = SCM_WORD(scm__rc.d1964[162]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[211]), scm__rc.d1964[4]);
  scm__rc.d1964[188] = Scm_MakeExtendedPair(scm__rc.d1964[183], SCM_OBJ(&scm__rc.d1997[192]), SCM_OBJ(&scm__rc.d1997[212]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[213]), scm__rc.d1964[188]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[24]))->name = scm__rc.d1964[183];/* every-in-queue */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[4] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[11] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[18] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[24] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[32] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[34] = SCM_WORD(scm__rc.d1964[184]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[414]))[40] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2020 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[24]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[183]) /* every-in-queue */, G2020,0);

  scm__rc.d1964[189] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[75])),TRUE); /* queue-internal-list */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[216]), scm__rc.d1964[4]);
  scm__rc.d1964[190] = Scm_MakeExtendedPair(scm__rc.d1964[189], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[217]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[218]), scm__rc.d1964[190]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[25]))->name = scm__rc.d1964[189];/* queue-internal-list */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]))[4] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]))[13] = SCM_WORD(scm__rc.d1964[167]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[456]))[18] = SCM_WORD(scm__rc.d1964[160]);
  ScmObj G2021 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[25]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[189]) /* queue-internal-list */, G2021,0);

  scm__rc.d1964[191] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[77])),TRUE); /* %enqueue! */
  scm__rc.d1964[192] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[78])),TRUE); /* head */
  scm__rc.d1964[193] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[79])),TRUE); /* tail */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[219]), scm__rc.d1964[193]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[220]), scm__rc.d1964[192]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[221]), scm__rc.d1964[135]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[222]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[225]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[226]), scm__rc.d1964[191]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[227]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[228]), scm__rc.d1964[5]);
  scm__rc.d1964[194] = Scm_MakeExtendedPair(scm__rc.d1964[191], SCM_OBJ(&scm__rc.d1997[222]), SCM_OBJ(&scm__rc.d1997[230]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("%enqueue!")), SCM_OBJ(&data_2d_2dqueue_25enqueueX__STUB), 0);
  data_2d_2dqueue_25enqueueX__STUB.common.info = scm__rc.d1964[194];
  scm__rc.d1964[195] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[80])),TRUE); /* enqueue! */
  scm__rc.d1964[196] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[81])),TRUE); /* obj */
  scm__rc.d1964[197] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[82])),TRUE); /* more-objs */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[231]), scm__rc.d1964[197]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[232]), scm__rc.d1964[34]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[233]), scm__rc.d1964[196]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[234]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[237]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[238]), scm__rc.d1964[195]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[239]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[240]), scm__rc.d1964[5]);
  scm__rc.d1964[198] = Scm_MakeExtendedPair(scm__rc.d1964[195], SCM_OBJ(&scm__rc.d1997[234]), SCM_OBJ(&scm__rc.d1997[242]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("enqueue!")), SCM_OBJ(&data_2d_2dqueueenqueueX__STUB), 0);
  data_2d_2dqueueenqueueX__STUB.common.info = scm__rc.d1964[198];
  scm__rc.d1964[199] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[83])),TRUE); /* enqueue/wait! */
  scm__rc.d1964[200] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[84])),TRUE); /* timeout */
  scm__rc.d1964[201] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[85])),TRUE); /* timeout-val */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[243]), scm__rc.d1964[201]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[244]), scm__rc.d1964[200]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[245]), scm__rc.d1964[32]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[246]), scm__rc.d1964[196]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[247]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[250]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[251]), scm__rc.d1964[199]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[252]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[253]), scm__rc.d1964[5]);
  scm__rc.d1964[202] = Scm_MakeExtendedPair(scm__rc.d1964[199], SCM_OBJ(&scm__rc.d1997[247]), SCM_OBJ(&scm__rc.d1997[255]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("enqueue/wait!")), SCM_OBJ(&data_2d_2dqueueenqueue_2fwaitX__STUB), 0);
  data_2d_2dqueueenqueue_2fwaitX__STUB.common.info = scm__rc.d1964[202];
  scm__rc.d1964[203] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[86])),TRUE); /* enqueue-unique! */
  scm__rc.d1964[205] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[87])),TRUE); /* member */
  scm__rc.d1964[204] = Scm_MakeIdentifier(scm__rc.d1964[205], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#member */
  scm__rc.d1964[206] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[88])),TRUE); /* pick */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[256]), scm__rc.d1964[206]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[257]), scm__rc.d1964[203]);
  scm__rc.d1964[207] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[89])),TRUE); /* xs */
  scm__rc.d1964[208] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[90])),TRUE); /* ins */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[258]), scm__rc.d1964[208]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[259]), scm__rc.d1964[207]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[260]), scm__rc.d1964[31]);
  scm__rc.d1964[209] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[257]), SCM_OBJ(&scm__rc.d1997[260]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[261]), scm__rc.d1964[209]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[26]))->name = scm__rc.d1964[206];/* (enqueue-unique! pick) */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]))[11] = SCM_WORD(scm__rc.d1964[204]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[476]))[28] = SCM_WORD(scm__rc.d1964[204]);
  scm__rc.d1964[210] = Scm_MakeIdentifier(scm__rc.d1964[134], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%mtqueue-overflow? */
  scm__rc.d1964[211] = Scm_MakeIdentifier(scm__rc.d1964[20], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#last-pair */
  scm__rc.d1964[212] = Scm_MakeIdentifier(scm__rc.d1964[191], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%enqueue! */
  scm__rc.d1964[213] = Scm_MakeIdentifier(scm__rc.d1964[11], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%notify-readers */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[263]), scm__rc.d1964[203]);
  scm__rc.d1964[214] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[263]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[264]), scm__rc.d1964[214]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[6] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[25] = SCM_WORD(scm__rc.d1964[210]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[34] = SCM_WORD(scm__rc.d1964[167]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[51] = SCM_WORD(scm__rc.d1964[211]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[53] = SCM_WORD(scm__rc.d1964[212]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[517]))[56] = SCM_WORD(scm__rc.d1964[213]);
  scm__rc.d1964[215] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[263]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[265]), scm__rc.d1964[215]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[575]))[2] = SCM_WORD(scm__rc.d1964[162]);
  scm__rc.d1964[216] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[92])),TRUE); /* cmp */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[266]), scm__rc.d1964[196]);
  SCM_SET_CDR(SCM_OBJ(&scm__rc.d1997[266]), scm__rc.d1964[197]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[267]), scm__rc.d1964[216]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[268]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[271]), scm__rc.d1964[4]);
  scm__rc.d1964[217] = Scm_MakeExtendedPair(scm__rc.d1964[203], SCM_OBJ(&scm__rc.d1997[268]), SCM_OBJ(&scm__rc.d1997[272]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[273]), scm__rc.d1964[217]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[29]))->name = scm__rc.d1964[203];/* enqueue-unique! */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[6] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[13] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[22] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[29] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[38] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[66] = SCM_WORD(scm__rc.d1964[211]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[68] = SCM_WORD(scm__rc.d1964[212]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[579]))[79] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2030 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[29]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[203]) /* enqueue-unique! */, G2030,0);

  scm__rc.d1964[218] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[93])),TRUE); /* queue-push! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[276]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[277]), scm__rc.d1964[218]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[278]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[279]), scm__rc.d1964[5]);
  scm__rc.d1964[219] = Scm_MakeExtendedPair(scm__rc.d1964[218], SCM_OBJ(&scm__rc.d1997[234]), SCM_OBJ(&scm__rc.d1997[281]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("queue-push!")), SCM_OBJ(&data_2d_2dqueuequeue_pushX__STUB), 0);
  data_2d_2dqueuequeue_pushX__STUB.common.info = scm__rc.d1964[219];
  scm__rc.d1964[220] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[94])),TRUE); /* queue-push/wait! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[284]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[285]), scm__rc.d1964[220]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[286]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[287]), scm__rc.d1964[5]);
  scm__rc.d1964[221] = Scm_MakeExtendedPair(scm__rc.d1964[220], SCM_OBJ(&scm__rc.d1997[247]), SCM_OBJ(&scm__rc.d1997[289]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("queue-push/wait!")), SCM_OBJ(&data_2d_2dqueuequeue_push_2fwaitX__STUB), 0);
  data_2d_2dqueuequeue_push_2fwaitX__STUB.common.info = scm__rc.d1964[221];
  scm__rc.d1964[222] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[95])),TRUE); /* queue-push-unique! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[290]), scm__rc.d1964[222]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[291]), scm__rc.d1964[31]);
  scm__rc.d1964[223] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[290]), SCM_OBJ(&scm__rc.d1997[291]), SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[292]), scm__rc.d1964[223]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[30]))->name = scm__rc.d1964[206];/* (queue-push-unique! pick) */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[660]))[11] = SCM_WORD(scm__rc.d1964[204]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[294]), scm__rc.d1964[222]);
  scm__rc.d1964[224] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[294]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[295]), scm__rc.d1964[224]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]))[4] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]))[30] = SCM_WORD(scm__rc.d1964[210]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]))[39] = SCM_WORD(scm__rc.d1964[167]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]))[48] = SCM_WORD(scm__rc.d1964[30]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[689]))[51] = SCM_WORD(scm__rc.d1964[213]);
  scm__rc.d1964[225] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[294]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[296]), scm__rc.d1964[225]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[742]))[2] = SCM_WORD(scm__rc.d1964[162]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[299]), scm__rc.d1964[4]);
  scm__rc.d1964[226] = Scm_MakeExtendedPair(scm__rc.d1964[222], SCM_OBJ(&scm__rc.d1997[268]), SCM_OBJ(&scm__rc.d1997[300]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[301]), scm__rc.d1964[226]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[33]))->name = scm__rc.d1964[222];/* queue-push-unique! */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[6] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[13] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[22] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[29] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[36] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[59] = SCM_WORD(scm__rc.d1964[30]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[746]))[70] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2037 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[33]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[222]) /* queue-push-unique! */, G2037,0);

  scm__rc.d1964[227] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[97])),TRUE); /* dequeue! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[304]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[305]), scm__rc.d1964[227]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[306]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[307]), scm__rc.d1964[5]);
  scm__rc.d1964[228] = Scm_MakeExtendedPair(scm__rc.d1964[227], SCM_OBJ(&scm__rc.d1997[163]), SCM_OBJ(&scm__rc.d1997[309]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("dequeue!")), SCM_OBJ(&data_2d_2dqueuedequeueX__STUB), 0);
  data_2d_2dqueuedequeueX__STUB.common.info = scm__rc.d1964[228];
  scm__rc.d1964[229] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[98])),TRUE); /* dequeue/wait! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[310]), scm__rc.d1964[3]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[313]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[314]), scm__rc.d1964[229]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[315]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[316]), scm__rc.d1964[5]);
  scm__rc.d1964[230] = Scm_MakeExtendedPair(scm__rc.d1964[229], SCM_OBJ(&scm__rc.d1997[310]), SCM_OBJ(&scm__rc.d1997[318]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("dequeue/wait!")), SCM_OBJ(&data_2d_2dqueuedequeue_2fwaitX__STUB), 0);
  data_2d_2dqueuedequeue_2fwaitX__STUB.common.info = scm__rc.d1964[230];
  scm__rc.d1964[231] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[99])),TRUE); /* dequeue-all! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[321]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[322]), scm__rc.d1964[231]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[323]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[324]), scm__rc.d1964[5]);
  scm__rc.d1964[232] = Scm_MakeExtendedPair(scm__rc.d1964[231], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[326]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("dequeue-all!")), SCM_OBJ(&data_2d_2dqueuedequeue_allX__STUB), 0);
  data_2d_2dqueuedequeue_allX__STUB.common.info = scm__rc.d1964[232];
  scm__rc.d1964[233] = Scm_MakeIdentifier(scm__rc.d1964[227], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#dequeue! */
  scm__rc.d1964[235] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[100])),TRUE); /* queue-pop! */
  scm__rc.d1964[234] = Scm_MakeIdentifier(scm__rc.d1964[235], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue-pop! */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[34]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[818]))[1] = SCM_WORD(scm__rc.d1964[233]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[818]))[3] = SCM_WORD(scm__rc.d1964[234]);
  scm__rc.d1964[236] = Scm_MakeIdentifier(scm__rc.d1964[229], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#dequeue/wait! */
  scm__rc.d1964[238] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[101])),TRUE); /* queue-pop/wait! */
  scm__rc.d1964[237] = Scm_MakeIdentifier(scm__rc.d1964[238], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#queue-pop/wait! */
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[35]))->name = scm__rc.d1964[61];/* %toplevel */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[823]))[1] = SCM_WORD(scm__rc.d1964[236]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[823]))[3] = SCM_WORD(scm__rc.d1964[237]);
  scm__rc.d1964[239] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[102])),TRUE); /* mtqueue-num-waiting-readers */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[329]), scm__rc.d1964[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[330]), scm__rc.d1964[239]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[331]), scm__rc.d1964[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[332]), scm__rc.d1964[5]);
  scm__rc.d1964[240] = Scm_MakeExtendedPair(scm__rc.d1964[239], SCM_OBJ(&scm__rc.d1997[1]), SCM_OBJ(&scm__rc.d1997[334]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1964[0]), SCM_SYMBOL(SCM_INTERN("mtqueue-num-waiting-readers")), SCM_OBJ(&data_2d_2dqueuemtqueue_num_waiting_readers__STUB), 0);
  data_2d_2dqueuemtqueue_num_waiting_readers__STUB.common.info = scm__rc.d1964[240];
  scm__rc.d1964[241] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[103])),TRUE); /* remove-from-queue! */
  scm__rc.d1964[242] = Scm_MakeIdentifier(scm__rc.d1964[9], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#%notify-writers */
  scm__rc.d1964[244] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1965[104])),TRUE); /* reverse! */
  scm__rc.d1964[243] = Scm_MakeIdentifier(scm__rc.d1964[244], SCM_MODULE(scm__rc.d1964[25]), SCM_NIL); /* data.queue#reverse! */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[335]), scm__rc.d1964[241]);
  scm__rc.d1964[245] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[335]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[336]), scm__rc.d1964[245]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]))[5] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]))[22] = SCM_WORD(scm__rc.d1964[242]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]))[28] = SCM_WORD(scm__rc.d1964[243]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[828]))[32] = SCM_WORD(scm__rc.d1964[30]);
  scm__rc.d1964[246] = Scm_MakeExtendedPair(SCM_OBJ(&scm__rc.d1997[335]), SCM_NIL, SCM_OBJ(&scm__rc.d1997[72]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[337]), scm__rc.d1964[246]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[890]))[2] = SCM_WORD(scm__rc.d1964[162]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[340]), scm__rc.d1964[4]);
  scm__rc.d1964[247] = Scm_MakeExtendedPair(scm__rc.d1964[241], SCM_OBJ(&scm__rc.d1997[192]), SCM_OBJ(&scm__rc.d1997[341]));
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1997[342]), scm__rc.d1964[247]);
  SCM_COMPILED_CODE(SCM_OBJ(&scm__rc.d2001[38]))->name = scm__rc.d1964[241];/* remove-from-queue! */
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[7] = SCM_WORD(scm__rc.d1964[158]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[14] = SCM_WORD(scm__rc.d1964[159]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[23] = SCM_WORD(scm__rc.d1964[164]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[30] = SCM_WORD(scm__rc.d1964[166]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[40] = SCM_WORD(scm__rc.d1964[160]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[58] = SCM_WORD(scm__rc.d1964[243]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[62] = SCM_WORD(scm__rc.d1964[30]);
  ((ScmWord*)SCM_OBJ(&scm__rc.d2000[894]))[99] = SCM_WORD(scm__rc.d1964[167]);
  ScmObj G2044 = Scm_MakeClosure(SCM_OBJ(&scm__rc.d2001[38]), NULL);

  Scm_MakeBinding(SCM_MODULE(Scm_CurrentModule()) /*  */, SCM_SYMBOL(scm__rc.d1964[241]) /* remove-from-queue! */, G2044,0);

  Scm_VMExecuteToplevels(toplevels);
}
