// File: /workspace/github_c_makefile_star2_O3/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3_step
SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
  int rc = SQLITE_OK;      /* Result from sqlite3Step() */
  int rc2 = SQLITE_OK;     /* Result from sqlite3Reprepare() */
  Vdbe *v = (Vdbe*)pStmt;  /* the prepared statement */
  int cnt = 0;             /* Counter to prevent infinite loop of reprepares */
  sqlite3 *db;             /* The database connection */

  if( vdbeSafetyNotNull(v) ){
    return SQLITE_MISUSE_BKPT;
  }
  db = v->db;
  sqlite3_mutex_enter(db->mutex);
  v->doingRerun = 0;
  while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
         && cnt++ < SQLITE_MAX_SCHEMA_RETRY
         && (rc2 = rc = sqlite3Reprepare(v))==SQLITE_OK ){
    sqlite3_reset(pStmt);
    v->doingRerun = 1;
    assert( v->expired==0 );
  }
  if( rc2!=SQLITE_OK && ALWAYS(v->isPrepareV2) && ALWAYS(db->pErr) ){
    /* This case occurs after failing to recompile an sql statement. 
    ** The error message from the SQL compiler has already been loaded 
    ** into the database handle. This block copies the error message 
    ** from the database handle into the statement and sets the statement
    ** program counter to 0 to ensure that when the statement is 
    ** finalized or reset the parser error message is available via
    ** sqlite3_errmsg() and sqlite3_errcode().
    */
    const char *zErr = (const char *)sqlite3_value_text(db->pErr); 
    sqlite3DbFree(db, v->zErrMsg);
    if( !db->mallocFailed ){
      v->zErrMsg = sqlite3DbStrDup(db, zErr);
      v->rc = rc2;
    } else {
      v->zErrMsg = 0;
      v->rc = rc = SQLITE_NOMEM;
    }
  }
  rc = sqlite3ApiExit(db, rc);
  sqlite3_mutex_leave(db->mutex);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
testq %rdi, %rdi
je 0x100f3
movq %rdi, %r14
movq (%rdi), %rax
movq %rax, -0x70(%rbp)
testq %rax, %rax
je 0x100fc
movzwl 0x9a(%r14), %eax
andl $0xf7ff, %eax           # imm = 0xF7FF
leaq 0xc0(%r14), %rcx
movq %rcx, -0x78(%rbp)
leaq 0x58(%r14), %rcx
movq %rcx, -0x58(%rbp)
leaq -0x1a8(%rbp), %r13
xorl %r15d, %r15d
movl %r15d, -0x5c(%rbp)
movw %ax, 0x9a(%r14)
cmpl $0xbdf20da3, 0x50(%r14) # imm = 0xBDF20DA3
je 0xf5ee
movq %r14, %rdi
callq 0xeb4e
movq (%r14), %r15
cmpb $0x0, 0x50(%r15)
jne 0x1018c
movl 0x90(%r14), %ecx
movzwl 0x9a(%r14), %eax
testl %ecx, %ecx
jle 0xf650
testb $0x3, %al
je 0xf6e4
movq (%r14), %r13
movq 0x10(%r14), %r12
leaq 0x38(%r12), %rbx
movq %rbx, %rdi
movl $0x8, %esi
callq 0x22c33
movq $0x0, 0x28(%r14)
cmpl $0x7, 0x94(%r14)
jne 0xf710
movb $0x1, 0x50(%r13)
jmp 0xf819
testb $0x20, %al
jne 0xf749
testl %ecx, %ecx
jns 0xf60f
movl 0x9c(%r15), %eax
testl %eax, %eax
jne 0xf672
movl $0x0, 0x148(%r15)
cmpq $0x0, 0xc8(%r15)
je 0xf699
cmpb $0x0, 0x99(%r15)
jne 0xf699
movq (%r15), %rdi
movq -0x78(%rbp), %rsi
callq 0x2506a
movl 0x9c(%r15), %eax
incl %eax
movl %eax, 0x9c(%r15)
movzwl 0x9a(%r14), %eax
btl $0x8, %eax
jb 0xf6bf
incl 0xa4(%r15)
movzwl 0x9a(%r14), %eax
btl $0x9, %eax
jae 0xf6d4
incl 0xa0(%r15)
movzwl 0x9a(%r14), %eax
movl $0x0, 0x90(%r14)
jmp 0xf60f
incl 0xa8(%r15)
movq %r14, %rdi
callq 0x250be
decl 0xa8(%r15)
movl %eax, %ebx
movl $0x64, %r12d
cmpl $0x64, %eax
jne 0xf825
jmp 0xf921
movl 0x34(%r14), %edx
movzwl 0x9a(%r14), %ecx
andl $0x3, %ecx
cmpw $0x1, %cx
movq %rbx, -0x48(%rbp)
jne 0xf759
movq 0x10(%r14), %rax
leaq 0x1f8(%rax), %rsi
testb $0x10, 0x21c(%rax)
movq %rsi, -0x30(%rbp)
jne 0xfa91
xorl %eax, %eax
jmp 0xf763
movl $0x1, %r12d
movl $0x11, %ecx
jmp 0xf93e
xorl %eax, %eax
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movl %edx, %esi
movslq 0x90(%r14), %rdi
cmpl %edi, %esi
cmovlel %edi, %esi
movslq %esi, %r8
leal 0x1(%r8), %r9d
leaq -0x1(%rdi), %rsi
leaq (,%rdi,8), %r10
leaq (%r10,%r10,2), %r10
negq %r8
leal 0x1(%rdi), %ebx
movl %ebx, %r11d
leaq (%r8,%rsi), %rbx
cmpq $-0x1, %rbx
je 0xf7c1
cmpw $0x2, %cx
jne 0xf7da
movq 0x8(%r14), %rbx
incq %rsi
cmpb $-0x6a, (%rbx,%r10)
leaq 0x18(%r10), %r10
leal 0x1(%r11), %ebx
jne 0xf796
jmp 0xf7dd
movl %r9d, 0x90(%r14)
movl $0x0, 0x94(%r14)
movl $0x65, %ebx
jmp 0xf81e
movq %rdi, %rsi
movl %r11d, 0x90(%r14)
cmpl $0x0, 0x148(%r13)
je 0xfacd
movl $0x9, 0x94(%r14)
movq -0x58(%rbp), %rdi
movq %r13, %rsi
leaq 0x69ece(%rip), %rdx     # 0x796d9
leaq 0x6d936(%rip), %rcx     # 0x7d148
xorl %eax, %eax
callq 0x24129
movl $0x1, %ebx
leaq -0x1a8(%rbp), %r13
cmpq $0x0, 0xc8(%r15)
je 0xf878
cmpb $0x0, 0x99(%r15)
jne 0xf878
cmpq $0x0, 0xe0(%r14)
je 0xf878
movq (%r15), %rdi
movq %r13, %rsi
callq 0x2506a
movq 0xd0(%r15), %rdi
movq 0xe0(%r14), %rsi
movq -0x1a8(%rbp), %rax
subq 0xc0(%r14), %rax
imulq $0xf4240, %rax, %rdx    # imm = 0xF4240
callq *0xc8(%r15)
movl %ebx, %r12d
cmpl $0x65, %ebx
jne 0xf921
movl 0x28(%r15), %edx
testl %edx, %edx
jle 0xf910
xorl %ebx, %ebx
movl $0x8, %r12d
xorl %eax, %eax
movq 0x20(%r15), %rsi
movq (%rsi,%r12), %rcx
testq %rcx, %rcx
je 0xf8ee
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movq 0x118(%rcx), %rdi
testq %rdi, %rdi
je 0xf8ee
movl 0x18(%rdi), %ecx
movl $0x0, 0x18(%rdi)
movq 0x108(%r15), %r8
testq %r8, %r8
je 0xf8ee
testl %ecx, %ecx
jle 0xf8ee
testl %eax, %eax
jne 0xf8ee
movq 0x110(%r15), %rdi
movq -0x8(%rsi,%r12), %rdx
movq %r15, %rsi
callq *%r8
movl 0x28(%r15), %edx
incq %rbx
movslq %edx, %rcx
addq $0x20, %r12
cmpq %rcx, %rbx
jl 0xf89a
movl %eax, 0x94(%r14)
movl $0x1, %r12d
testl %eax, %eax
jne 0xf921
jmp 0xf91b
movl $0x0, 0x94(%r14)
movl $0x65, %r12d
movl %r12d, 0x44(%r15)
movq (%r14), %rdi
movl 0x94(%r14), %esi
callq 0xeaff
movl $0x7, %ecx
cmpl $0x7, %eax
jne 0xf945
movl %ecx, 0x94(%r14)
leal -0x66(%r12), %eax
cmpl $-0x3, %eax
ja 0xf969
movzwl 0x9a(%r14), %eax
andl $0x400, %eax            # imm = 0x400
je 0xf969
movq %r14, %rdi
callq 0x232eb
movl %eax, %r12d
andl 0x48(%r15), %r12d
cmpl $0x11, %r12d
jne 0x101b5
movl -0x5c(%rbp), %r15d
cmpl $0x32, %r15d
je 0x10194
testb $0x4, 0x9b(%r14)
jne 0xf993
xorl %esi, %esi
jmp 0xf99a
movq 0xe0(%r14), %rsi
movq (%r14), %rbx
movq $0x0, (%rsp)
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movq %r14, %r8
leaq -0x80(%rbp), %r9
callq 0x12ed6
testl %eax, %eax
jne 0x10139
incl %r15d
movq -0x80(%rbp), %rbx
movl $0x128, %edx            # imm = 0x128
movq %r13, %rdi
movq %rbx, %rsi
callq 0x82f0
movl $0x128, %edx            # imm = 0x128
movq %rbx, %rdi
movq %r14, %rsi
callq 0x82f0
movl $0x128, %edx            # imm = 0x128
movq %r14, %rdi
movq %r13, %rsi
callq 0x82f0
movq 0x68(%rbx), %rax
movq 0x68(%r14), %rcx
movq %rcx, 0x68(%rbx)
movq %rax, 0x68(%r14)
movq 0x60(%rbx), %rax
movq 0x60(%r14), %rcx
movq %rcx, 0x60(%rbx)
movq %rax, 0x60(%r14)
movq 0xe0(%rbx), %rax
movq 0xe0(%r14), %rcx
movq %rcx, 0xe0(%rbx)
movq %rax, 0xe0(%r14)
movzwl 0x9a(%rbx), %eax
andl $0x400, %eax            # imm = 0x400
movzwl 0x9a(%r14), %ecx
andl $0xfffffbff, %ecx       # imm = 0xFFFFFBFF
orl %eax, %ecx
movw %cx, 0x9a(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10ecf
movl $0x0, 0x94(%rbx)
movq %rbx, %rdi
callq 0xeac6
movq %r14, %rdi
callq 0xeb4e
movzwl 0x9a(%r14), %eax
orl $0x800, %eax            # imm = 0x800
jmp 0xf5d0
movl 0x218(%rax), %r10d
sarl $0x3, %r10d
movq 0x200(%rax), %rax
testl %r10d, %r10d
movq %r10, -0x38(%rbp)
jle 0xf76b
movl %r10d, %edi
xorl %r8d, %r8d
movl %edx, %esi
movq (%rax,%r8,8), %r9
addl 0x8(%r9), %esi
incq %r8
cmpq %r8, %rdi
jne 0xfab8
jmp 0xf76d
movl %esi, %edi
subl %edx, %edi
jge 0xfaf3
movslq %esi, %rdx
leaq (%rdx,%rdx,2), %r8
shlq $0x3, %r8
addq 0x8(%r14), %r8
leaq -0x1a8(%rbp), %r13
movq -0x48(%rbp), %rbx
movq -0x38(%rbp), %r9
jmp 0xfb3d
movq (%rax), %rdx
movl 0x8(%rdx), %esi
cmpl %esi, %edi
movq -0x48(%rbp), %rbx
jge 0xfb0e
leaq -0x1a8(%rbp), %r13
movq -0x38(%rbp), %r9
jmp 0xfb2d
leaq 0x8(%rax), %r8
leaq -0x1a8(%rbp), %r13
movq -0x38(%rbp), %r9
subl %esi, %edi
movq (%r8), %rdx
movl 0x8(%rdx), %esi
addq $0x8, %r8
cmpl %esi, %edi
jge 0xfb1d
movslq %edi, %rsi
leaq (%rsi,%rsi,2), %r8
shlq $0x3, %r8
addq (%rdx), %r8
movl %edi, %esi
cmpw $0x1, %cx
movq %r8, -0x50(%rbp)
jne 0xfc2d
movw $0x4, 0x5c(%r12)
movb $0x1, 0x5e(%r12)
movslq %esi, %rcx
movq %rcx, 0x50(%r12)
movw $0xa02, 0x94(%r12) # imm = 0xA02
movzbl (%r8), %ecx
leaq 0x83379(%rip), %rdx     # 0x92ef0
movq (%rdx,%rcx,8), %rdx
movq %rdx, 0x78(%r12)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rdx)
leaq 0x1(%rdx), %rdx
jne 0xfb85
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
movl %ecx, 0x90(%r12)
movw $0x103, 0x96(%r12) # imm = 0x103
addq $0xa8, %r12
cmpb $-0x12, 0x1(%r8)
jne 0xfc2a
testl %r9d, %r9d
jle 0xfbd5
movq 0x10(%r8), %rdx
movl %r9d, %esi
xorl %ecx, %ecx
cmpq %rdx, (%rax,%rcx,8)
je 0xfbd7
incq %rcx
cmpq %rcx, %rsi
jne 0xfbc5
jmp 0xfbdc
xorl %ecx, %ecx
cmpl %r9d, %ecx
jne 0xfc2a
leal 0x8(,%r9,8), %esi
xorl %edx, %edx
testl %r9d, %r9d
setne %dl
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
movl %esi, -0x48(%rbp)
movq %r9, -0x38(%rbp)
callq 0x1034d
testl %eax, %eax
je 0xfc0c
movq %r12, %rbx
movq -0x50(%rbp), %r8
jmp 0xfc2d
movq 0x8(%rbx), %rax
movq -0x50(%rbp), %r8
movq 0x10(%r8), %rcx
movslq -0x38(%rbp), %rdx
movq %rcx, (%rax,%rdx,8)
orb $0x10, 0x24(%rbx)
movl -0x48(%rbp), %eax
movl %eax, 0x20(%rbx)
movq %r12, %rbx
movw $0x4, %cx
movw %cx, 0x24(%rbx)
movslq 0x4(%r8), %rax
movq %rax, 0x18(%rbx)
movb $0x1, %dl
movb %dl, 0x26(%rbx)
movw %cx, 0x5c(%rbx)
movslq 0x8(%r8), %rax
movq %rax, 0x50(%rbx)
movb %dl, 0x5e(%rbx)
movw %cx, 0x94(%rbx)
movslq 0xc(%r8), %rax
movq %rax, 0x88(%rbx)
movb %dl, 0x96(%rbx)
leaq 0xa8(%rbx), %r12
movq %r12, %rdi
movl $0x20, %esi
xorl %edx, %edx
callq 0x1034d
movq %rbx, %rcx
movl $0x1, %ebx
testl %eax, %eax
jne 0xf825
movq %r12, -0x30(%rbp)
movw $0x602, 0xcc(%rcx)      # imm = 0x602
movq %rcx, -0x48(%rbp)
movq 0xb0(%rcx), %r9
movq -0x50(%rbp), %rcx
movzbl 0x1(%rcx), %eax
addl $0xffffff13, %eax       # imm = 0xFFFFFF13
cmpl $0xf, %eax
movq %rcx, %rdx
ja 0x10047
leaq 0x653f9(%rip), %rcx     # 0x750c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rdx), %rax
movq %rax, -0x68(%rbp)
movzwl 0xa(%rax), %ecx
xorl %r12d, %r12d
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6a057(%rip), %rdx     # 0x79d45
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb954
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
je 0xfd1e
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq %rdx, %rax
incl %r12d
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0xfd0b
andl $0x3fffffff, %r12d      # imm = 0x3FFFFFFF
movq -0x68(%rbp), %rcx
cmpw $0x0, 0xa(%rcx)
je 0x1006e
xorl %edi, %edi
movq 0x18(%rcx,%rdi,8), %rax
leaq 0x6a015(%rip), %rsi     # 0x79d50
testq %rax, %rax
je 0xfd48
movq (%rax), %rsi
testq %rsi, %rsi
je 0xfd62
xorl %r13d, %r13d
cmpb $0x0, (%rsi,%r13)
leaq 0x1(%r13), %r13
jne 0xfd4b
decl %r13d
andl $0x3fffffff, %r13d      # imm = 0x3FFFFFFF
jmp 0xfd67
xorl %esi, %esi
xorl %r13d, %r13d
leal (%r12,%r13), %eax
cmpl $0x1a, %eax
jg 0x10064
movl %r12d, %eax
movb $0x2c, (%rdx,%rax)
incq %rax
movq 0x10(%rcx), %rcx
cmpb $0x0, (%rcx,%rdi)
movq %rdi, -0x38(%rbp)
je 0xfd96
addl $0x2, %r12d
movb $0x2d, (%rdx,%rax)
jmp 0xfd99
movl %eax, %r12d
movl %r12d, %edi
addq %rdx, %rdi
leal 0x1(%r13), %edx
callq 0x82f0
movq -0x40(%rbp), %rdx
addl %r13d, %r12d
movq -0x38(%rbp), %rdi
incq %rdi
movq -0x68(%rbp), %rcx
movzwl 0xa(%rcx), %eax
cmpq %rax, %rdi
jb 0xfd2f
jmp 0x1006e
movq 0x10(%rdx), %rax
movq 0x30(%rax), %rcx
movswl (%rax), %r8d
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69f7c(%rip), %rdx     # 0x79d63
xorl %eax, %eax
movq %r9, %r12
callq 0xb954
jmp 0xff1a
movl 0x10(%rdx), %ecx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6b896(%rip), %rdx     # 0x7b69e
xorl %eax, %eax
movq %r9, %r12
callq 0xb954
jmp 0xff1a
movq 0x10(%rdx), %rax
movq (%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69f27(%rip), %rdx     # 0x79d54
jmp 0xfe51
movb $0x0, (%r9)
movq %r9, %rsi
jmp 0xff1d
movq 0x10(%rdx), %rax
movq (%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6ab99(%rip), %rdx     # 0x7a9ea
xorl %eax, %eax
movq %r9, %r12
callq 0xb954
jmp 0xff1a
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6b811(%rip), %rdx     # 0x7b680
jmp 0xfea6
movq 0x10(%rdx), %rax
movsd (%rax), %xmm0
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69ee2(%rip), %rdx     # 0x79d6a
movb $0x1, %al
movq %r9, %r12
callq 0xb954
jmp 0xff1a
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69edc(%rip), %rdx     # 0x79d82
xorl %eax, %eax
movq %r9, %r12
callq 0xb954
jmp 0xff1a
movq 0x10(%rdx), %rax
movzwl 0x24(%rax), %ecx
testb $0x2, %cl
jne 0x10086
testb $0x4, %cl
movq -0x30(%rbp), %r12
jne 0x1008f
testb $0x8, %cl
jne 0x100af
testb $0x1, %cl
jne 0x100d0
leaq 0x69e87(%rip), %rcx     # 0x79d70
movq %rcx, %rsi
movq %rcx, %rax
cmpq %rcx, %r9
jne 0xff31
jmp 0xff51
movq 0x10(%rdx), %rax
movq 0x10(%rax), %rcx
movq (%rcx), %r8
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69e67(%rip), %rdx     # 0x79d77
xorl %eax, %eax
movq %r9, %r12
callq 0xb954
movq %r12, %rsi
movq -0x30(%rbp), %r12
movq -0x48(%rbp), %rax
movq 0xb0(%rax), %rax
cmpq %rax, %rsi
je 0xff4c
movq %r12, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0xf0d7
movq -0x48(%rbp), %r12
jmp 0xff7f
testq %rsi, %rsi
je 0xff68
notl %esi
addl %eax, %esi
incl %esi
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0xff55
andl $0x3fffffff, %esi       # imm = 0x3FFFFFFF
jmp 0xff6a
xorl %esi, %esi
movq -0x48(%rbp), %r12
movl %esi, 0xc8(%r12)
movb $0x1, 0xcf(%r12)
movb $0x3, 0xce(%r12)
movzwl 0x9a(%r14), %eax
movl %eax, %ecx
andl $0x3, %ecx
cmpw $0x1, %cx
jne 0x10018
leaq 0xe0(%r12), %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x1034d
testl %eax, %eax
jne 0xf825
movw $0x602, 0x104(%r12) # imm = 0x602
movl $0x2, 0x100(%r12)
movq 0xe8(%r12), %rsi
movq -0x50(%rbp), %rax
movzbl 0x3(%rax), %ecx
movl $0x3, %edi
leaq 0x69927(%rip), %rdx     # 0x79911
xorl %eax, %eax
callq 0xb954
movw $0x103, 0x106(%r12) # imm = 0x103
movw $0x1, 0x13c(%r12)
movb $0x5, 0x13e(%r12)
movzwl 0x9a(%r14), %eax
notl %eax
shll $0x2, %eax
andl $0xc, %eax
movw %ax, 0x48(%r14)
movq 0x10(%r14), %rax
addq $0x38, %rax
movq %rax, 0x28(%r14)
movl $0x0, 0x94(%r14)
movl $0x64, %r12d
jmp 0xf921
movq 0x10(%rdx), %rsi
testq %rsi, %rsi
movq -0x30(%rbp), %r12
jne 0xff21
movb $0x0, (%r9)
movq %r9, %rsi
jmp 0xff21
movl %r12d, %eax
movl $0x2e2e2e2c, (%rdx,%rax) # imm = 0x2E2E2E2C
movl %r12d, %eax
movw $0x29, (%rdx,%rax)
movq %rdx, %rsi
leaq -0x1a8(%rbp), %r13
jmp 0xff1d
movq 0x8(%rax), %rsi
jmp 0xff1d
movq 0x18(%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6a948(%rip), %rdx     # 0x7a9ea
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb954
jmp 0x100ea
movsd 0x10(%rax), %xmm0
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69ca7(%rip), %rdx     # 0x79d6a
movb $0x1, %al
movq %r9, -0x40(%rbp)
callq 0xb954
jmp 0x100ea
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6c390(%rip), %rdx     # 0x7c46f
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb954
movq -0x40(%rbp), %rsi
jmp 0xff21
leaq 0x697ef(%rip), %rsi     # 0x798e9
jmp 0x10103
leaq 0x6975a(%rip), %rsi     # 0x7985d
movl $0x15, %r12d
movl $0x15, %edi
xorl %eax, %eax
callq 0xb9c7
leaq 0x6d2c8(%rip), %rsi     # 0x7d3e4
leaq 0x69416(%rip), %rcx     # 0x79539
movl $0x15, %edi
movl $0xf933, %edx           # imm = 0xF933
xorl %eax, %eax
callq 0xb9c7
jmp 0x101e7
movl %eax, %r12d
cmpl $0x7, %eax
jne 0x10145
movb $0x1, 0x50(%rbx)
testb $0x4, 0x9b(%r14)
je 0x101b5
movq -0x70(%rbp), %r15
movq 0x130(%r15), %rdi
testq %rdi, %rdi
je 0x101b5
movl $0x1, %esi
callq 0xef29
movq %rax, %rbx
movq -0x58(%rbp), %rax
movq (%rax), %rsi
movq %r15, %rdi
callq 0x9ca4
cmpb $0x0, 0x50(%r15)
je 0x1019c
movl $0x7, %r12d
xorl %eax, %eax
jmp 0x101a7
movl $0x7, %r12d
jmp 0x101ae
movl $0x11, %r12d
jmp 0x101b5
movq %r15, %rdi
movq %rbx, %rsi
callq 0x101fc
movq -0x58(%rbp), %rcx
movq %rax, (%rcx)
movl %r12d, 0x94(%r14)
cmpl $0xc0a, %r12d           # imm = 0xC0A
movq -0x70(%rbp), %rbx
je 0x101c8
cmpb $0x0, 0x50(%rbx)
je 0x101e3
movl $0x7, %r12d
movq %rbx, %rdi
movl $0x7, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0xca2d
movb $0x0, 0x50(%rbx)
andl 0x48(%rbx), %r12d
movl %r12d, %eax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq