// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3_test_control
SQLITE_API int sqlite3_test_control(int op, ...){
  int rc = 0;
#ifdef SQLITE_UNTESTABLE
  UNUSED_PARAMETER(op);
#else
  va_list ap;
  va_start(ap, op);
  switch( op ){

    /*
    ** Save the current state of the PRNG.
    */
    case SQLITE_TESTCTRL_PRNG_SAVE: {
      sqlite3PrngSaveState();
      break;
    }

    /*
    ** Restore the state of the PRNG to the last state saved using
    ** PRNG_SAVE.  If PRNG_SAVE has never before been called, then
    ** this verb acts like PRNG_RESET.
    */
    case SQLITE_TESTCTRL_PRNG_RESTORE: {
      sqlite3PrngRestoreState();
      break;
    }

    /*  sqlite3_test_control(SQLITE_TESTCTRL_PRNG_SEED, int x, sqlite3 *db);
    **
    ** Control the seed for the pseudo-random number generator (PRNG) that
    ** is built into SQLite.  Cases:
    **
    **    x!=0 && db!=0       Seed the PRNG to the current value of the
    **                        schema cookie in the main database for db, or
    **                        x if the schema cookie is zero.  This case
    **                        is convenient to use with database fuzzers
    **                        as it allows the fuzzer some control over the
    **                        the PRNG seed.
    **
    **    x!=0 && db==0       Seed the PRNG to the value of x.
    **
    **    x==0 && db==0       Revert to default behavior of using the
    **                        xRandomness method on the primary VFS.
    **
    ** This test-control also resets the PRNG so that the new seed will
    ** be used for the next call to sqlite3_randomness().
    */
#ifndef SQLITE_OMIT_WSD
    case SQLITE_TESTCTRL_PRNG_SEED: {
      int x = va_arg(ap, int);
      int y;
      sqlite3 *db = va_arg(ap, sqlite3*);
      assert( db==0 || db->aDb[0].pSchema!=0 );
      if( db && (y = db->aDb[0].pSchema->schema_cookie)!=0 ){ x = y; }
      sqlite3Config.iPrngSeed = x;
      sqlite3_randomness(0,0);
      break;
    }
#endif

    /*
    **  sqlite3_test_control(BITVEC_TEST, size, program)
    **
    ** Run a test against a Bitvec object of size.  The program argument
    ** is an array of integers that defines the test.  Return -1 on a
    ** memory allocation error, 0 on success, or non-zero for an error.
    ** See the sqlite3BitvecBuiltinTest() for additional information.
    */
    case SQLITE_TESTCTRL_BITVEC_TEST: {
      int sz = va_arg(ap, int);
      int *aProg = va_arg(ap, int*);
      rc = sqlite3BitvecBuiltinTest(sz, aProg);
      break;
    }

    /*
    **  sqlite3_test_control(FAULT_INSTALL, xCallback)
    **
    ** Arrange to invoke xCallback() whenever sqlite3FaultSim() is called,
    ** if xCallback is not NULL.
    **
    ** As a test of the fault simulator mechanism itself, sqlite3FaultSim(0)
    ** is called immediately after installing the new callback and the return
    ** value from sqlite3FaultSim(0) becomes the return from
    ** sqlite3_test_control().
    */
    case SQLITE_TESTCTRL_FAULT_INSTALL: {
      /* MSVC is picky about pulling func ptrs from va lists.
      ** http://support.microsoft.com/kb/47961
      ** sqlite3GlobalConfig.xTestCallback = va_arg(ap, int(*)(int));
      */
      typedef int(*TESTCALLBACKFUNC_t)(int);
      sqlite3GlobalConfig.xTestCallback = va_arg(ap, TESTCALLBACKFUNC_t);
      rc = sqlite3FaultSim(0);
      break;
    }

    /*
    **  sqlite3_test_control(BENIGN_MALLOC_HOOKS, xBegin, xEnd)
    **
    ** Register hooks to call to indicate which malloc() failures
    ** are benign.
    */
    case SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: {
      typedef void (*void_function)(void);
      void_function xBenignBegin;
      void_function xBenignEnd;
      xBenignBegin = va_arg(ap, void_function);
      xBenignEnd = va_arg(ap, void_function);
      sqlite3BenignMallocHooks(xBenignBegin, xBenignEnd);
      break;
    }

    /*
    **  sqlite3_test_control(SQLITE_TESTCTRL_PENDING_BYTE, unsigned int X)
    **
    ** Set the PENDING byte to the value in the argument, if X>0.
    ** Make no changes if X==0.  Return the value of the pending byte
    ** as it existing before this routine was called.
    **
    ** IMPORTANT:  Changing the PENDING byte from 0x40000000 results in
    ** an incompatible database file format.  Changing the PENDING byte
    ** while any database connection is open results in undefined and
    ** deleterious behavior.
    */
    case SQLITE_TESTCTRL_PENDING_BYTE: {
      rc = PENDING_BYTE;
#ifndef SQLITE_OMIT_WSD
      {
        unsigned int newVal = va_arg(ap, unsigned int);
        if( newVal ) sqlite3PendingByte = newVal;
      }
#endif
      break;
    }

    /*
    **  sqlite3_test_control(SQLITE_TESTCTRL_ASSERT, int X)
    **
    ** This action provides a run-time test to see whether or not
    ** assert() was enabled at compile-time.  If X is true and assert()
    ** is enabled, then the return value is true.  If X is true and
    ** assert() is disabled, then the return value is zero.  If X is
    ** false and assert() is enabled, then the assertion fires and the
    ** process aborts.  If X is false and assert() is disabled, then the
    ** return value is zero.
    */
    case SQLITE_TESTCTRL_ASSERT: {
      volatile int x = 0;
      assert( /*side-effects-ok*/ (x = va_arg(ap,int))!=0 );
      rc = x;
      break;
    }


    /*
    **  sqlite3_test_control(SQLITE_TESTCTRL_ALWAYS, int X)
    **
    ** This action provides a run-time test to see how the ALWAYS and
    ** NEVER macros were defined at compile-time.
    **
    ** The return value is ALWAYS(X) if X is true, or 0 if X is false.
    **
    ** The recommended test is X==2.  If the return value is 2, that means
    ** ALWAYS() and NEVER() are both no-op pass-through macros, which is the
    ** default setting.  If the return value is 1, then ALWAYS() is either
    ** hard-coded to true or else it asserts if its argument is false.
    ** The first behavior (hard-coded to true) is the case if
    ** SQLITE_TESTCTRL_ASSERT shows that assert() is disabled and the second
    ** behavior (assert if the argument to ALWAYS() is false) is the case if
    ** SQLITE_TESTCTRL_ASSERT shows that assert() is enabled.
    **
    ** The run-time test procedure might look something like this:
    **
    **    if( sqlite3_test_control(SQLITE_TESTCTRL_ALWAYS, 2)==2 ){
    **      // ALWAYS() and NEVER() are no-op pass-through macros
    **    }else if( sqlite3_test_control(SQLITE_TESTCTRL_ASSERT, 1) ){
    **      // ALWAYS(x) asserts that x is true. NEVER(x) asserts x is false.
    **    }else{
    **      // ALWAYS(x) is a constant 1.  NEVER(x) is a constant 0.
    **    }
    */
    case SQLITE_TESTCTRL_ALWAYS: {
      int x = va_arg(ap,int);
      rc = x ? ALWAYS(x) : 0;
      break;
    }

    /*
    **   sqlite3_test_control(SQLITE_TESTCTRL_BYTEORDER);
    **
    ** The integer returned reveals the byte-order of the computer on which
    ** SQLite is running:
    **
    **       1     big-endian,    determined at run-time
    **      10     little-endian, determined at run-time
    **  432101     big-endian,    determined at compile-time
    **  123410     little-endian, determined at compile-time
    */
    case SQLITE_TESTCTRL_BYTEORDER: {
      rc = SQLITE_BYTEORDER*100 + SQLITE_LITTLEENDIAN*10 + SQLITE_BIGENDIAN;
      break;
    }

    /*  sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS, sqlite3 *db, int N)
    **
    ** Enable or disable various optimizations for testing purposes.  The
    ** argument N is a bitmask of optimizations to be disabled.  For normal
    ** operation N should be 0.  The idea is that a test program (like the
    ** SQL Logic Test or SLT test module) can run the same SQL multiple times
    ** with various optimizations disabled to verify that the same answer
    ** is obtained in every case.
    */
    case SQLITE_TESTCTRL_OPTIMIZATIONS: {
      sqlite3 *db = va_arg(ap, sqlite3*);
      db->dbOptFlags = (u16)(va_arg(ap, int) & 0xffff);
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_LOCALTIME_FAULT, int onoff);
    **
    ** If parameter onoff is non-zero, subsequent calls to localtime()
    ** and its variants fail. If onoff is zero, undo this setting.
    */
    case SQLITE_TESTCTRL_LOCALTIME_FAULT: {
      sqlite3GlobalConfig.bLocaltimeFault = va_arg(ap, int);
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_INTERNAL_FUNCTIONS, sqlite3*);
    **
    ** Toggle the ability to use internal functions on or off for
    ** the database connection given in the argument.
    */
    case SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: {
      sqlite3 *db = va_arg(ap, sqlite3*);
      db->mDbFlags ^= DBFLAG_InternalFunc;
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_NEVER_CORRUPT, int);
    **
    ** Set or clear a flag that indicates that the database file is always well-
    ** formed and never corrupt.  This flag is clear by default, indicating that
    ** database files might have arbitrary corruption.  Setting the flag during
    ** testing causes certain assert() statements in the code to be activated
    ** that demonstrat invariants on well-formed database files.
    */
    case SQLITE_TESTCTRL_NEVER_CORRUPT: {
      sqlite3GlobalConfig.neverCorrupt = va_arg(ap, int);
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS, int);
    **
    ** Set or clear a flag that causes SQLite to verify that type, name,
    ** and tbl_name fields of the sqlite_schema table.  This is normally
    ** on, but it is sometimes useful to turn it off for testing.
    **
    ** 2020-07-22:  Disabling EXTRA_SCHEMA_CHECKS also disables the
    ** verification of rootpage numbers when parsing the schema.  This
    ** is useful to make it easier to reach strange internal error states
    ** during testing.  The EXTRA_SCHEMA_CHECKS setting is always enabled
    ** in production.
    */
    case SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: {
      sqlite3GlobalConfig.bExtraSchemaChecks = va_arg(ap, int);
      break;
    }

    /* Set the threshold at which OP_Once counters reset back to zero.
    ** By default this is 0x7ffffffe (over 2 billion), but that value is
    ** too big to test in a reasonable amount of time, so this control is
    ** provided to set a small and easily reachable reset value.
    */
    case SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: {
      sqlite3GlobalConfig.iOnceResetThreshold = va_arg(ap, int);
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_VDBE_COVERAGE, xCallback, ptr);
    **
    ** Set the VDBE coverage callback function to xCallback with context
    ** pointer ptr.
    */
    case SQLITE_TESTCTRL_VDBE_COVERAGE: {
#ifdef SQLITE_VDBE_COVERAGE
      typedef void (*branch_callback)(void*,unsigned int,
                                      unsigned char,unsigned char);
      sqlite3GlobalConfig.xVdbeBranch = va_arg(ap,branch_callback);
      sqlite3GlobalConfig.pVdbeBranchArg = va_arg(ap,void*);
#endif
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_SORTER_MMAP, db, nMax); */
    case SQLITE_TESTCTRL_SORTER_MMAP: {
      sqlite3 *db = va_arg(ap, sqlite3*);
      db->nMaxSorterMmap = va_arg(ap, int);
      break;
    }

    /*   sqlite3_test_control(SQLITE_TESTCTRL_ISINIT);
    **
    ** Return SQLITE_OK if SQLite has been initialized and SQLITE_ERROR if
    ** not.
    */
    case SQLITE_TESTCTRL_ISINIT: {
      if( sqlite3GlobalConfig.isInit==0 ) rc = SQLITE_ERROR;
      break;
    }

    /*  sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, db, dbName, onOff, tnum);
    **
    ** This test control is used to create imposter tables.  "db" is a pointer
    ** to the database connection.  dbName is the database name (ex: "main" or
    ** "temp") which will receive the imposter.  "onOff" turns imposter mode on
    ** or off.  "tnum" is the root page of the b-tree to which the imposter
    ** table should connect.
    **
    ** Enable imposter mode only when the schema has already been parsed.  Then
    ** run a single CREATE TABLE statement to construct the imposter table in
    ** the parsed schema.  Then turn imposter mode back off again.
    **
    ** If onOff==0 and tnum>0 then reset the schema for all databases, causing
    ** the schema to be reparsed the next time it is needed.  This has the
    ** effect of erasing all imposter tables.
    */
    case SQLITE_TESTCTRL_IMPOSTER: {
      sqlite3 *db = va_arg(ap, sqlite3*);
      sqlite3_mutex_enter(db->mutex);
      db->init.iDb = sqlite3FindDbName(db, va_arg(ap,const char*));
      db->init.busy = db->init.imposterTable = va_arg(ap,int);
      db->init.newTnum = va_arg(ap,int);
      if( db->init.busy==0 && db->init.newTnum>0 ){
        sqlite3ResetAllSchemasOfConnection(db);
      }
      sqlite3_mutex_leave(db->mutex);
      break;
    }

#if defined(YYCOVERAGE)
    /*  sqlite3_test_control(SQLITE_TESTCTRL_PARSER_COVERAGE, FILE *out)
    **
    ** This test control (only available when SQLite is compiled with
    ** -DYYCOVERAGE) writes a report onto "out" that shows all
    ** state/lookahead combinations in the parser state machine
    ** which are never exercised.  If any state is missed, make the
    ** return code SQLITE_ERROR.
    */
    case SQLITE_TESTCTRL_PARSER_COVERAGE: {
      FILE *out = va_arg(ap, FILE*);
      if( sqlite3ParserCoverage(out) ) rc = SQLITE_ERROR;
      break;
    }
#endif /* defined(YYCOVERAGE) */

    /*  sqlite3_test_control(SQLITE_TESTCTRL_RESULT_INTREAL, sqlite3_context*);
    **
    ** This test-control causes the most recent sqlite3_result_int64() value
    ** to be interpreted as a MEM_IntReal instead of as an MEM_Int.  Normally,
    ** MEM_IntReal values only arise during an INSERT operation of integer
    ** values into a REAL column, so they can be challenging to test.  This
    ** test-control enables us to write an intreal() SQL function that can
    ** inject an intreal() value at arbitrary places in an SQL statement,
    ** for testing purposes.
    */
    case SQLITE_TESTCTRL_RESULT_INTREAL: {
      sqlite3_context *pCtx = va_arg(ap, sqlite3_context*);
      sqlite3ResultIntReal(pCtx);
      break;
    }
  }
  va_end(ap);
#endif /* SQLITE_UNTESTABLE */
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x380, %rsp            # imm = 0x380
testb %al, %al
je 0x3d41c7
movaps %xmm0, -0x110(%rbp)
movaps %xmm1, -0x100(%rbp)
movaps %xmm2, -0xf0(%rbp)
movaps %xmm3, -0xe0(%rbp)
movaps %xmm4, -0xd0(%rbp)
movaps %xmm5, -0xc0(%rbp)
movaps %xmm6, -0xb0(%rbp)
movaps %xmm7, -0xa0(%rbp)
movq %r9, -0x118(%rbp)
movq %r8, -0x120(%rbp)
movq %rcx, -0x128(%rbp)
movq %rdx, -0x130(%rbp)
movq %rsi, -0x138(%rbp)
movl %edi, -0x4(%rbp)
movl $0x0, -0x8(%rbp)
leaq -0x140(%rbp), %rax
movq %rax, -0x10(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x30, -0x1c(%rbp)
movl $0x8, -0x20(%rbp)
movl -0x4(%rbp), %eax
addl $-0x5, %eax
movl %eax, %ecx
movq %rcx, -0x148(%rbp)
subl $0x18, %eax
ja 0x3d4d33
movq -0x148(%rbp), %rax
leaq 0x1d0761(%rip), %rcx    # 0x5a499c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x3d4d40
jmp 0x3d4d33
callq 0x3d4d60
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x158(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x14c(%rbp)
cmpl $0x28, %eax
ja 0x3d4293
movq -0x158(%rbp), %rcx
movl -0x14c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x160(%rbp)
jmp 0x3d42b0
movq -0x158(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x160(%rbp)
movq -0x160(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x24(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x170(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x164(%rbp)
cmpl $0x28, %eax
ja 0x3d42f7
movq -0x170(%rbp), %rcx
movl -0x164(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x178(%rbp)
jmp 0x3d4314
movq -0x170(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x3d4345
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movl (%rax), %eax
movl %eax, -0x28(%rbp)
cmpl $0x0, %eax
je 0x3d4345
movl -0x28(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl %eax, 0x26b69e(%rip)    # 0x63f9ec
xorl %edi, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3c3b60
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x188(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x17c(%rbp)
cmpl $0x28, %eax
ja 0x3d4399
movq -0x188(%rbp), %rcx
movl -0x17c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x190(%rbp)
jmp 0x3d43b6
movq -0x188(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x194(%rbp)
cmpl $0x28, %eax
ja 0x3d43fd
movq -0x1a0(%rbp), %rcx
movl -0x194(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1a8(%rbp)
jmp 0x3d441a
movq -0x1a0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movl -0x34(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x3d4d80
movl %eax, -0x8(%rbp)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x1ac(%rbp)
cmpl $0x28, %eax
ja 0x3d4477
movq -0x1b8(%rbp), %rcx
movl -0x1ac(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1c0(%rbp)
jmp 0x3d4494
movq -0x1b8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rax
movq (%rax), %rax
movq %rax, 0x26b533(%rip)    # 0x63f9d8
xorl %edi, %edi
callq 0x3d5070
movl %eax, -0x8(%rbp)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x1c4(%rbp)
cmpl $0x28, %eax
ja 0x3d44ef
movq -0x1d0(%rbp), %rcx
movl -0x1c4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1d8(%rbp)
jmp 0x3d450c
movq -0x1d0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1d8(%rbp)
movq -0x1d8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x48(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x1dc(%rbp)
cmpl $0x28, %eax
ja 0x3d4555
movq -0x1e8(%rbp), %rcx
movl -0x1dc(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1f0(%rbp)
jmp 0x3d4572
movq -0x1e8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x3d50b0
jmp 0x3d4d33
movl 0x26b718(%rip), %eax    # 0x63fcb0
movl %eax, -0x8(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x200(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x1f4(%rbp)
cmpl $0x28, %eax
ja 0x3d45d6
movq -0x200(%rbp), %rcx
movl -0x1f4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x208(%rbp)
jmp 0x3d45f3
movq -0x200(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x208(%rbp)
movq -0x208(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
je 0x3d460e
movl -0x54(%rbp), %eax
movl %eax, 0x26b6a2(%rip)    # 0x63fcb0
jmp 0x3d4d33
movl $0x0, -0x58(%rbp)
movl -0x58(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x218(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x20c(%rbp)
cmpl $0x28, %eax
ja 0x3d4660
movq -0x218(%rbp), %rcx
movl -0x20c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x220(%rbp)
jmp 0x3d467d
movq -0x218(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x220(%rbp)
movq -0x220(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x5c(%rbp)
cmpl $0x0, -0x5c(%rbp)
je 0x3d469a
movl -0x5c(%rbp), %eax
movl %eax, -0x224(%rbp)
jmp 0x3d46a4
xorl %eax, %eax
movl %eax, -0x224(%rbp)
jmp 0x3d46a4
movl -0x224(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x3d4d33
movl $0x1e212, -0x8(%rbp)    # imm = 0x1E212
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x230(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x228(%rbp)
cmpl $0x28, %eax
ja 0x3d46f9
movq -0x230(%rbp), %rcx
movl -0x228(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x238(%rbp)
jmp 0x3d4716
movq -0x230(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x238(%rbp)
movq -0x238(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x248(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x23c(%rbp)
cmpl $0x28, %eax
ja 0x3d475f
movq -0x248(%rbp), %rcx
movl -0x23c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x250(%rbp)
jmp 0x3d477c
movq -0x248(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x250(%rbp)
movq -0x250(%rbp), %rax
movl (%rax), %eax
andl $0xffff, %eax           # imm = 0xFFFF
movw %ax, %cx
movq -0x68(%rbp), %rax
movw %cx, 0x5c(%rax)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x260(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x254(%rbp)
cmpl $0x28, %eax
ja 0x3d47d5
movq -0x260(%rbp), %rcx
movl -0x254(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x268(%rbp)
jmp 0x3d47f2
movq -0x260(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x268(%rbp)
movq -0x268(%rbp), %rax
movl (%rax), %eax
movl %eax, 0x26b1df(%rip)    # 0x63f9e0
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x278(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x26c(%rbp)
cmpl $0x28, %eax
ja 0x3d4841
movq -0x278(%rbp), %rcx
movl -0x26c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x280(%rbp)
jmp 0x3d485e
movq -0x278(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x280(%rbp)
movq -0x280(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movl 0x2c(%rax), %ecx
xorl $0x20, %ecx
movl %ecx, 0x2c(%rax)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x290(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x284(%rbp)
cmpl $0x28, %eax
ja 0x3d48b9
movq -0x290(%rbp), %rcx
movl -0x284(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x298(%rbp)
jmp 0x3d48d6
movq -0x290(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x298(%rbp)
movq -0x298(%rbp), %rax
movl (%rax), %eax
movl %eax, 0x26af7b(%rip)    # 0x63f860
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x29c(%rbp)
cmpl $0x28, %eax
ja 0x3d4925
movq -0x2a8(%rbp), %rcx
movl -0x29c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x2b0(%rbp)
jmp 0x3d4942
movq -0x2a8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x2b0(%rbp)
movq -0x2b0(%rbp), %rax
movl (%rax), %eax
movb %al, 0x26af08(%rip)     # 0x63f859
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x2c0(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x2b4(%rbp)
cmpl $0x28, %eax
ja 0x3d4991
movq -0x2c0(%rbp), %rcx
movl -0x2b4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x2c8(%rbp)
jmp 0x3d49ae
movq -0x2c0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x2c8(%rbp)
movq -0x2c8(%rbp), %rax
movl (%rax), %eax
movl %eax, 0x26b027(%rip)    # 0x63f9e4
jmp 0x3d4d33
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x2cc(%rbp)
cmpl $0x28, %eax
ja 0x3d4a02
movq -0x2d8(%rbp), %rcx
movl -0x2cc(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x2e0(%rbp)
jmp 0x3d4a1f
movq -0x2d8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x2e0(%rbp)
movq -0x2e0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x2e4(%rbp)
cmpl $0x28, %eax
ja 0x3d4a68
movq -0x2f0(%rbp), %rcx
movl -0x2e4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x2f8(%rbp)
jmp 0x3d4a85
movq -0x2f0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x2f8(%rbp)
movq -0x2f8(%rbp), %rax
movl (%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0xac(%rax)
jmp 0x3d4d33
cmpl $0x0, 0x26af00(%rip)    # 0x63f9a4
jne 0x3d4aad
movl $0x1, -0x8(%rbp)
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x308(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x2fc(%rbp)
cmpl $0x28, %eax
ja 0x3d4aed
movq -0x308(%rbp), %rcx
movl -0x2fc(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x310(%rbp)
jmp 0x3d4b0a
movq -0x308(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x310(%rbp)
movq -0x310(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x328(%rbp)
leaq -0x20(%rbp), %rax
movq %rax, -0x320(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x314(%rbp)
cmpl $0x28, %eax
ja 0x3d4b5e
movq -0x320(%rbp), %rcx
movl -0x314(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x330(%rbp)
jmp 0x3d4b7b
movq -0x320(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x330(%rbp)
movq -0x328(%rbp), %rdi
movq -0x330(%rbp), %rax
movq (%rax), %rsi
callq 0x3d23d0
movb %al, %cl
movq -0x80(%rbp), %rax
movb %cl, 0xb4(%rax)
leaq -0x20(%rbp), %rax
movq %rax, -0x340(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x334(%rbp)
cmpl $0x28, %eax
ja 0x3d4bd8
movq -0x340(%rbp), %rcx
movl -0x334(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x348(%rbp)
jmp 0x3d4bf5
movq -0x340(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x348(%rbp)
movq -0x348(%rbp), %rax
movl (%rax), %eax
movq -0x80(%rbp), %rcx
movb 0xb6(%rcx), %dl
andb $0x1, %al
movb %al, %sil
shlb %sil
andb $-0x3, %dl
orb %sil, %dl
movb %dl, 0xb6(%rcx)
movzbl %al, %eax
movb %al, %cl
movq -0x80(%rbp), %rax
movb %cl, 0xb5(%rax)
leaq -0x20(%rbp), %rax
movq %rax, -0x358(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x34c(%rbp)
cmpl $0x28, %eax
ja 0x3d4c66
movq -0x358(%rbp), %rcx
movl -0x34c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x360(%rbp)
jmp 0x3d4c83
movq -0x358(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x360(%rbp)
movq -0x360(%rbp), %rax
movl (%rax), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0xb0(%rax)
movq -0x80(%rbp), %rax
movzbl 0xb5(%rax), %eax
cmpl $0x0, %eax
jne 0x3d4cbc
movq -0x80(%rbp), %rax
cmpl $0x0, 0xb0(%rax)
jbe 0x3d4cbc
movq -0x80(%rbp), %rdi
callq 0x3c6400
jmp 0x3d4d33
leaq -0x20(%rbp), %rax
movq %rax, -0x370(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x364(%rbp)
cmpl $0x28, %eax
ja 0x3d4cf9
movq -0x370(%rbp), %rcx
movl -0x364(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x378(%rbp)
jmp 0x3d4d16
movq -0x370(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x378(%rbp)
movq -0x378(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
callq 0x3d50e0
movl -0x8(%rbp), %eax
addq $0x380, %rsp            # imm = 0x380
popq %rbp
retq
nop