// File: /workspace/github_c_makefile_star2_O0/ukontainer[P]sqlite-bench/sqlite3.c
// Function: vdbeCommit
static int vdbeCommit(sqlite3 *db, Vdbe *p){
  int i;
  int nTrans = 0;  /* Number of databases with an active write-transaction
                   ** that are candidates for a two-phase commit using a
                   ** master-journal */
  int rc = SQLITE_OK;
  int needXcommit = 0;

#ifdef SQLITE_OMIT_VIRTUALTABLE
  /* With this option, sqlite3VtabSync() is defined to be simply 
  ** SQLITE_OK so p is not used. 
  */
  UNUSED_PARAMETER(p);
#endif

  /* Before doing anything else, call the xSync() callback for any
  ** virtual module tables written in this transaction. This has to
  ** be done before determining whether a master journal file is 
  ** required, as an xSync() callback may add an attached database
  ** to the transaction.
  */
  rc = sqlite3VtabSync(db, p);

  /* This loop determines (a) if the commit hook should be invoked and
  ** (b) how many database files have open write transactions, not 
  ** including the temp database. (b) is important because if more than 
  ** one database file has an open write transaction, a master journal
  ** file is required for an atomic commit.
  */ 
  for(i=0; rc==SQLITE_OK && i<db->nDb; i++){ 
    Btree *pBt = db->aDb[i].pBt;
    if( sqlite3BtreeIsInTrans(pBt) ){
      /* Whether or not a database might need a master journal depends upon
      ** its journal mode (among other things).  This matrix determines which
      ** journal modes use a master journal and which do not */
      static const u8 aMJNeeded[] = {
        /* DELETE   */  1,
        /* PERSIST   */ 1,
        /* OFF       */ 0,
        /* TRUNCATE  */ 1,
        /* MEMORY    */ 0,
        /* WAL       */ 0
      };
      Pager *pPager;   /* Pager associated with pBt */
      needXcommit = 1;
      sqlite3BtreeEnter(pBt);
      pPager = sqlite3BtreePager(pBt);
      if( db->aDb[i].safety_level!=PAGER_SYNCHRONOUS_OFF
       && aMJNeeded[sqlite3PagerGetJournalMode(pPager)]
       && sqlite3PagerIsMemdb(pPager)==0
      ){ 
        assert( i!=1 );
        nTrans++;
      }
      rc = sqlite3PagerExclusiveLock(pPager);
      sqlite3BtreeLeave(pBt);
    }
  }
  if( rc!=SQLITE_OK ){
    return rc;
  }

  /* If there are any write-transactions at all, invoke the commit hook */
  if( needXcommit && db->xCommitCallback ){
    rc = db->xCommitCallback(db->pCommitArg);
    if( rc ){
      return SQLITE_CONSTRAINT_COMMITHOOK;
    }
  }

  /* The simple case - no more than one database file (not counting the
  ** TEMP database) has a transaction active.   There is no need for the
  ** master-journal.
  **
  ** If the return value of sqlite3BtreeGetFilename() is a zero length
  ** string, it means the main database is :memory: or a temp file.  In 
  ** that case we do not support atomic multi-file commits, so use the 
  ** simple case then too.
  */
  if( 0==sqlite3Strlen30(sqlite3BtreeGetFilename(db->aDb[0].pBt))
   || nTrans<=1
  ){
    for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
      Btree *pBt = db->aDb[i].pBt;
      if( pBt ){
        rc = sqlite3BtreeCommitPhaseOne(pBt, 0);
      }
    }

    /* Do the commit only if all databases successfully complete phase 1. 
    ** If one of the BtreeCommitPhaseOne() calls fails, this indicates an
    ** IO error while deleting or truncating a journal file. It is unlikely,
    ** but could happen. In this case abandon processing and return the error.
    */
    for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
      Btree *pBt = db->aDb[i].pBt;
      if( pBt ){
        rc = sqlite3BtreeCommitPhaseTwo(pBt, 0);
      }
    }
    if( rc==SQLITE_OK ){
      sqlite3VtabCommit(db);
    }
  }

  /* The complex case - There is a multi-file write-transaction active.
  ** This requires a master journal file to ensure the transaction is
  ** committed atomically.
  */
#ifndef SQLITE_OMIT_DISKIO
  else{
    sqlite3_vfs *pVfs = db->pVfs;
    char *zMaster = 0;   /* File-name for the master journal */
    char const *zMainFile = sqlite3BtreeGetFilename(db->aDb[0].pBt);
    sqlite3_file *pMaster = 0;
    i64 offset = 0;
    int res;
    int retryCount = 0;
    int nMainFile;

    /* Select a master journal file name */
    nMainFile = sqlite3Strlen30(zMainFile);
    zMaster = sqlite3MPrintf(db, "%s-mjXXXXXX9XXz", zMainFile);
    if( zMaster==0 ) return SQLITE_NOMEM_BKPT;
    do {
      u32 iRandom;
      if( retryCount ){
        if( retryCount>100 ){
          sqlite3_log(SQLITE_FULL, "MJ delete: %s", zMaster);
          sqlite3OsDelete(pVfs, zMaster, 0);
          break;
        }else if( retryCount==1 ){
          sqlite3_log(SQLITE_FULL, "MJ collide: %s", zMaster);
        }
      }
      retryCount++;
      sqlite3_randomness(sizeof(iRandom), &iRandom);
      sqlite3_snprintf(13, &zMaster[nMainFile], "-mj%06X9%02X",
                               (iRandom>>8)&0xffffff, iRandom&0xff);
      /* The antipenultimate character of the master journal name must
      ** be "9" to avoid name collisions when using 8+3 filenames. */
      assert( zMaster[sqlite3Strlen30(zMaster)-3]=='9' );
      sqlite3FileSuffix3(zMainFile, zMaster);
      rc = sqlite3OsAccess(pVfs, zMaster, SQLITE_ACCESS_EXISTS, &res);
    }while( rc==SQLITE_OK && res );
    if( rc==SQLITE_OK ){
      /* Open the master journal. */
      rc = sqlite3OsOpenMalloc(pVfs, zMaster, &pMaster, 
          SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|
          SQLITE_OPEN_EXCLUSIVE|SQLITE_OPEN_MASTER_JOURNAL, 0
      );
    }
    if( rc!=SQLITE_OK ){
      sqlite3DbFree(db, zMaster);
      return rc;
    }
 
    /* Write the name of each database file in the transaction into the new
    ** master journal file. If an error occurs at this point close
    ** and delete the master journal file. All the individual journal files
    ** still have 'null' as the master journal pointer, so they will roll
    ** back independently if a failure occurs.
    */
    for(i=0; i<db->nDb; i++){
      Btree *pBt = db->aDb[i].pBt;
      if( sqlite3BtreeIsInTrans(pBt) ){
        char const *zFile = sqlite3BtreeGetJournalname(pBt);
        if( zFile==0 ){
          continue;  /* Ignore TEMP and :memory: databases */
        }
        assert( zFile[0]!=0 );
        rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset);
        offset += sqlite3Strlen30(zFile)+1;
        if( rc!=SQLITE_OK ){
          sqlite3OsCloseFree(pMaster);
          sqlite3OsDelete(pVfs, zMaster, 0);
          sqlite3DbFree(db, zMaster);
          return rc;
        }
      }
    }

    /* Sync the master journal file. If the IOCAP_SEQUENTIAL device
    ** flag is set this is not required.
    */
    if( 0==(sqlite3OsDeviceCharacteristics(pMaster)&SQLITE_IOCAP_SEQUENTIAL)
     && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
    ){
      sqlite3OsCloseFree(pMaster);
      sqlite3OsDelete(pVfs, zMaster, 0);
      sqlite3DbFree(db, zMaster);
      return rc;
    }

    /* Sync all the db files involved in the transaction. The same call
    ** sets the master journal pointer in each individual journal. If
    ** an error occurs here, do not delete the master journal file.
    **
    ** If the error occurs during the first call to
    ** sqlite3BtreeCommitPhaseOne(), then there is a chance that the
    ** master journal file will be orphaned. But we cannot delete it,
    ** in case the master journal file name was written into the journal
    ** file before the failure occurred.
    */
    for(i=0; rc==SQLITE_OK && i<db->nDb; i++){ 
      Btree *pBt = db->aDb[i].pBt;
      if( pBt ){
        rc = sqlite3BtreeCommitPhaseOne(pBt, zMaster);
      }
    }
    sqlite3OsCloseFree(pMaster);
    assert( rc!=SQLITE_BUSY );
    if( rc!=SQLITE_OK ){
      sqlite3DbFree(db, zMaster);
      return rc;
    }

    /* Delete the master journal file. This commits the transaction. After
    ** doing this the directory is synced again before any individual
    ** transaction files are deleted.
    */
    rc = sqlite3OsDelete(pVfs, zMaster, 1);
    sqlite3DbFree(db, zMaster);
    zMaster = 0;
    if( rc ){
      return rc;
    }

    /* All files and directories have already been synced, so the following
    ** calls to sqlite3BtreeCommitPhaseTwo() are only closing files and
    ** deleting or truncating journals. If something goes wrong while
    ** this is happening we don't really care. The integrity of the
    ** transaction is already guaranteed, but some stray 'cold' journals
    ** may be lying around. Returning an error code won't help matters.
    */
    disable_simulated_io_errors();
    sqlite3BeginBenignMalloc();
    for(i=0; i<db->nDb; i++){ 
      Btree *pBt = db->aDb[i].pBt;
      if( pBt ){
        sqlite3BtreeCommitPhaseTwo(pBt, 1);
      }
    }
    sqlite3EndBenignMalloc();
    enable_simulated_io_errors();

    sqlite3VtabCommit(db);
  }
#endif

  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x432900
movl %eax, -0x24(%rbp)
movl $0x0, -0x1c(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0xa1(%rbp)
jne 0x431310
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
setl %al
movb %al, -0xa1(%rbp)
movb -0xa1(%rbp), %al
testb $0x1, %al
jne 0x43131f
jmp 0x4313dd
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x416410
cmpl $0x0, %eax
je 0x4313cd
movl $0x1, -0x28(%rbp)
movq -0x30(%rbp), %rdi
callq 0x40b350
movq -0x30(%rbp), %rdi
callq 0x405570
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x10(%rax), %eax
cmpl $0x1, %eax
je 0x4313b8
movq -0x38(%rbp), %rdi
callq 0x40b8b0
movslq %eax, %rcx
leaq 0x149558(%rip), %rax    # 0x57a8f0
movzbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x4313b8
movq -0x38(%rbp), %rdi
callq 0x42cf10
cmpl $0x0, %eax
jne 0x4313b8
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
callq 0x425380
movl %eax, -0x24(%rbp)
movq -0x30(%rbp), %rdi
callq 0x40c4a0
jmp 0x4313cf
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4312ef
cmpl $0x0, -0x24(%rbp)
je 0x4313ee
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
cmpl $0x0, -0x28(%rbp)
je 0x431431
movq -0x10(%rbp), %rax
cmpq $0x0, 0x100(%rax)
je 0x431431
movq -0x10(%rbp), %rax
movq 0x100(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xf8(%rcx), %rdi
callq *%rax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0x43142f
movl $0x213, -0x4(%rbp)      # imm = 0x213
jmp 0x4319b1
jmp 0x431431
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x41abf0
movq %rax, %rdi
callq 0x408d10
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je 0x43145c
cmpl $0x1, -0x20(%rbp)
jg 0x431554
movl $0x0, -0x1c(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0xa2(%rbp)
jne 0x431484
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
setl %al
movb %al, -0xa2(%rbp)
movb -0xa2(%rbp), %al
testb $0x1, %al
jne 0x431490
jmp 0x4314cf
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x4314c2
movq -0x40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x40c3e0
movl %eax, -0x24(%rbp)
jmp 0x4314c4
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x431463
movl $0x0, -0x1c(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0xa3(%rbp)
jne 0x4314f7
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
setl %al
movb %al, -0xa3(%rbp)
movb -0xa3(%rbp), %al
testb $0x1, %al
jne 0x431503
jmp 0x431540
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
je 0x431533
movq -0x48(%rbp), %rdi
xorl %esi, %esi
callq 0x40c320
movl %eax, -0x24(%rbp)
jmp 0x431535
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4314d6
cmpl $0x0, -0x24(%rbp)
jne 0x43154f
movq -0x10(%rbp), %rdi
callq 0x4329e0
jmp 0x4319ab
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x41abf0
movq %rax, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movl $0x0, -0x78(%rbp)
movq -0x60(%rbp), %rdi
callq 0x408d10
movl %eax, -0x7c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x14d1be(%rip), %rsi    # 0x57e76c
movb $0x0, %al
callq 0x411210
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x58(%rbp)
jne 0x4315cc
movl $0x7, -0x4(%rbp)
jmp 0x4319b1
jmp 0x4315ce
cmpl $0x0, -0x78(%rbp)
je 0x431626
cmpl $0x64, -0x78(%rbp)
jle 0x431605
movq -0x58(%rbp), %rdx
movl $0xd, %edi
leaq 0x14d192(%rip), %rsi    # 0x57e77c
movb $0x0, %al
callq 0x409280
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
xorl %edx, %edx
callq 0x428c00
jmp 0x4316b1
cmpl $0x1, -0x78(%rbp)
jne 0x431622
movq -0x58(%rbp), %rdx
movl $0xd, %edi
leaq 0x14d16f(%rip), %rsi    # 0x57e78a
movb $0x0, %al
callq 0x409280
jmp 0x431624
jmp 0x431626
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
movl $0x4, %edi
leaq -0x80(%rbp), %rsi
callq 0x409470
movq -0x58(%rbp), %rsi
movslq -0x7c(%rbp), %rax
addq %rax, %rsi
movl -0x80(%rbp), %ecx
shrl $0x8, %ecx
andl $0xffffff, %ecx         # imm = 0xFFFFFF
movl -0x80(%rbp), %r8d
andl $0xff, %r8d
movl $0xd, %edi
leaq 0x14d12e(%rip), %rdx    # 0x57e799
movb $0x0, %al
callq 0x4091d0
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
xorl %edx, %edx
leaq -0x74(%rbp), %rcx
callq 0x428700
movl %eax, -0x24(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0xa4(%rbp)
jne 0x4316a3
cmpl $0x0, -0x74(%rbp)
setne %al
movb %al, -0xa4(%rbp)
movb -0xa4(%rbp), %al
testb $0x1, %al
jne 0x4315ce
cmpl $0x0, -0x24(%rbp)
jne 0x4316d5
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x68(%rbp), %rdx
movl $0x4016, %ecx           # imm = 0x4016
xorl %eax, %eax
movl %eax, %r8d
callq 0x432a10
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0x4316f3
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x4058a0
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
jge 0x431804
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
callq 0x416410
cmpl $0x0, %eax
je 0x4317f4
movq -0x88(%rbp), %rdi
callq 0x432a90
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
jne 0x43175f
jmp 0x4317f6
movq -0x68(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x90(%rbp), %rdi
callq 0x408d10
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movl %eax, %edx
addl $0x1, %edx
movq -0x70(%rbp), %rcx
callq 0x40c1f0
movl %eax, -0x24(%rbp)
movq -0x90(%rbp), %rdi
callq 0x408d10
addl $0x1, %eax
cltq
addq -0x70(%rbp), %rax
movq %rax, -0x70(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0x4317f2
movq -0x68(%rbp), %rdi
callq 0x432570
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
xorl %edx, %edx
callq 0x428c00
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x4058a0
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
jmp 0x4317f4
jmp 0x4317f6
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4316fa
movq -0x68(%rbp), %rdi
callq 0x420e20
movl %eax, %ecx
andl $0x400, %ecx            # imm = 0x400
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x431864
movq -0x68(%rbp), %rdi
movl $0x2, %esi
callq 0x423190
movl %eax, %ecx
movl %ecx, -0x24(%rbp)
xorl %eax, %eax
cmpl %ecx, %eax
je 0x431864
movq -0x68(%rbp), %rdi
callq 0x432570
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
xorl %edx, %edx
callq 0x428c00
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x4058a0
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
movl $0x0, -0x1c(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0xb9(%rbp)
jne 0x43188c
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
setl %al
movb %al, -0xb9(%rbp)
movb -0xb9(%rbp), %al
testb $0x1, %al
jne 0x431898
jmp 0x4318e0
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x98(%rbp)
cmpq $0x0, -0x98(%rbp)
je 0x4318d3
movq -0x98(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x40c3e0
movl %eax, -0x24(%rbp)
jmp 0x4318d5
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x43186b
movq -0x68(%rbp), %rdi
callq 0x432570
cmpl $0x0, -0x24(%rbp)
je 0x431907
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x4058a0
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
movl $0x1, %edx
callq 0x428c00
movl %eax, -0x24(%rbp)
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x4058a0
movq $0x0, -0x58(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0x43193f
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4319b1
callq 0x425190
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
jge 0x43199d
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x1c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x431990
movq -0xa0(%rbp), %rdi
movl $0x1, %esi
callq 0x40c320
jmp 0x431992
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x43194b
callq 0x4251e0
movq -0x10(%rbp), %rdi
callq 0x4329e0
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xc0, %rsp
popq %rbp
retq
nopl (%rax)