// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: luaV_execute
void luaV_execute (lua_State *L) {
  CallInfo *ci = L->ci;
  LClosure *cl;
  TValue *k;
  StkId base;
 newframe:  /* reentry point when frame changes (call/return) */
  lua_assert(ci == L->ci);
  cl = clLvalue(ci->func);
  k = cl->p->k;
  base = ci->u.l.base;
  /* main loop of interpreter */
  for (;;) {
    Instruction i = *(ci->u.l.savedpc++);
    StkId ra;
    if ((L->hookmask & (LUA_MASKLINE | LUA_MASKCOUNT)) &&
        (--L->hookcount == 0 || L->hookmask & LUA_MASKLINE)) {
      Protect(traceexec(L));
    }
    /* WARNING: several calls may realloc the stack and invalidate `ra' */
    ra = RA(i);
    lua_assert(base == ci->u.l.base);
    lua_assert(base <= L->top && L->top < L->stack + L->stacksize);
    vmdispatch (GET_OPCODE(i)) {
      vmcase(OP_MOVE,
        setobjs2s(L, ra, RB(i));
      )
      vmcase(OP_LOADK,
        TValue *rb = k + GETARG_Bx(i);
        setobj2s(L, ra, rb);
      )
      vmcase(OP_LOADKX,
        TValue *rb;
        lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG);
        rb = k + GETARG_Ax(*ci->u.l.savedpc++);
        setobj2s(L, ra, rb);
      )
      vmcase(OP_LOADBOOL,
        setbvalue(ra, GETARG_B(i));
        if (GETARG_C(i)) ci->u.l.savedpc++;  /* skip next instruction (if C) */
      )
      vmcase(OP_LOADNIL,
        int b = GETARG_B(i);
        do {
          setnilvalue(ra++);
        } while (b--);
      )
      vmcase(OP_GETUPVAL,
        int b = GETARG_B(i);
        setobj2s(L, ra, cl->upvals[b]->v);
      )
      vmcase(OP_GETTABUP,
        int b = GETARG_B(i);
        Protect(luaV_gettable(L, cl->upvals[b]->v, RKC(i), ra));
      )
      vmcase(OP_GETTABLE,
        Protect(luaV_gettable(L, RB(i), RKC(i), ra));
      )
      vmcase(OP_SETTABUP,
        int a = GETARG_A(i);
        Protect(luaV_settable(L, cl->upvals[a]->v, RKB(i), RKC(i)));
      )
      vmcase(OP_SETUPVAL,
        UpVal *uv = cl->upvals[GETARG_B(i)];
        setobj(L, uv->v, ra);
        luaC_barrier(L, uv, ra);
      )
      vmcase(OP_SETTABLE,
        Protect(luaV_settable(L, ra, RKB(i), RKC(i)));
      )
      vmcase(OP_NEWTABLE,
        int b = GETARG_B(i);
        int c = GETARG_C(i);
        Table *t = luaH_new(L);
        sethvalue(L, ra, t);
        if (b != 0 || c != 0)
          luaH_resize(L, t, luaO_fb2int(b), luaO_fb2int(c));
        checkGC(L, ra + 1);
      )
      vmcase(OP_SELF,
        StkId rb = RB(i);
        setobjs2s(L, ra+1, rb);
        Protect(luaV_gettable(L, rb, RKC(i), ra));
      )
      vmcase(OP_ADD,
        arith_op(luai_numadd, TM_ADD);
      )
      vmcase(OP_SUB,
        arith_op(luai_numsub, TM_SUB);
      )
      vmcase(OP_MUL,
        arith_op(luai_nummul, TM_MUL);
      )
      vmcase(OP_DIV,
        arith_op(luai_numdiv, TM_DIV);
      )
      vmcase(OP_MOD,
        arith_op(luai_nummod, TM_MOD);
      )
      vmcase(OP_POW,
        arith_op(luai_numpow, TM_POW);
      )
      vmcase(OP_UNM,
        TValue *rb = RB(i);
        if (ttisnumber(rb)) {
          lua_Number nb = nvalue(rb);
          setnvalue(ra, luai_numunm(L, nb));
        }
        else {
          Protect(luaV_arith(L, ra, rb, rb, TM_UNM));
        }
      )
      vmcase(OP_NOT,
        TValue *rb = RB(i);
        int res = l_isfalse(rb);  /* next assignment may change this value */
        setbvalue(ra, res);
      )
      vmcase(OP_LEN,
        Protect(luaV_objlen(L, ra, RB(i)));
      )
      vmcase(OP_CONCAT,
        int b = GETARG_B(i);
        int c = GETARG_C(i);
        StkId rb;
        L->top = base + c + 1;  /* mark the end of concat operands */
        Protect(luaV_concat(L, c - b + 1));
        ra = RA(i);  /* 'luav_concat' may invoke TMs and move the stack */
        rb = b + base;
        setobjs2s(L, ra, rb);
        checkGC(L, (ra >= rb ? ra + 1 : rb));
        L->top = ci->top;  /* restore top */
      )
      vmcase(OP_JMP,
        dojump(ci, i, 0);
      )
      vmcase(OP_EQ,
        TValue *rb = RKB(i);
        TValue *rc = RKC(i);
        Protect(
          if (cast_int(equalobj(L, rb, rc)) != GETARG_A(i))
            ci->u.l.savedpc++;
          else
            donextjump(ci);
        )
      )
      vmcase(OP_LT,
        Protect(
          if (luaV_lessthan(L, RKB(i), RKC(i)) != GETARG_A(i))
            ci->u.l.savedpc++;
          else
            donextjump(ci);
        )
      )
      vmcase(OP_LE,
        Protect(
          if (luaV_lessequal(L, RKB(i), RKC(i)) != GETARG_A(i))
            ci->u.l.savedpc++;
          else
            donextjump(ci);
        )
      )
      vmcase(OP_TEST,
        if (GETARG_C(i) ? l_isfalse(ra) : !l_isfalse(ra))
            ci->u.l.savedpc++;
          else
          donextjump(ci);
      )
      vmcase(OP_TESTSET,
        TValue *rb = RB(i);
        if (GETARG_C(i) ? l_isfalse(rb) : !l_isfalse(rb))
          ci->u.l.savedpc++;
        else {
          setobjs2s(L, ra, rb);
          donextjump(ci);
        }
      )
      vmcase(OP_CALL,
        int b = GETARG_B(i);
        int nresults = GETARG_C(i) - 1;
        if (b != 0) L->top = ra+b;  /* else previous instruction set top */
        if (luaD_precall(L, ra, nresults)) {  /* C function? */
          if (nresults >= 0) L->top = ci->top;  /* adjust results */
          base = ci->u.l.base;
        }
        else {  /* Lua function */
          ci = L->ci;
          ci->callstatus |= CIST_REENTRY;
          goto newframe;  /* restart luaV_execute over new Lua function */
        }
      )
      vmcase(OP_TAILCALL,
        int b = GETARG_B(i);
        if (b != 0) L->top = ra+b;  /* else previous instruction set top */
        lua_assert(GETARG_C(i) - 1 == LUA_MULTRET);
        if (luaD_precall(L, ra, LUA_MULTRET))  /* C function? */
          base = ci->u.l.base;
        else {
          /* tail call: put called frame (n) in place of caller one (o) */
          CallInfo *nci = L->ci;  /* called frame */
          CallInfo *oci = nci->previous;  /* caller frame */
          StkId nfunc = nci->func;  /* called function */
          StkId ofunc = oci->func;  /* caller function */
          /* last stack slot filled by 'precall' */
          StkId lim = nci->u.l.base + getproto(nfunc)->numparams;
          int aux;
          /* close all upvalues from previous call */
          if (cl->p->sizep > 0) luaF_close(L, oci->u.l.base);
          /* move new frame into old one */
          for (aux = 0; nfunc + aux < lim; aux++)
            setobjs2s(L, ofunc + aux, nfunc + aux);
          oci->u.l.base = ofunc + (nci->u.l.base - nfunc);  /* correct base */
          oci->top = L->top = ofunc + (L->top - nfunc);  /* correct top */
          oci->u.l.savedpc = nci->u.l.savedpc;
          oci->callstatus |= CIST_TAIL;  /* function was tail called */
          ci = L->ci = oci;  /* remove new frame */
          lua_assert(L->top == oci->u.l.base + getproto(ofunc)->maxstacksize);
          goto newframe;  /* restart luaV_execute over new Lua function */
        }
      )
      vmcasenb(OP_RETURN,
        int b = GETARG_B(i);
        if (b != 0) L->top = ra+b-1;
        if (cl->p->sizep > 0) luaF_close(L, base);
        b = luaD_poscall(L, ra);
        if (!(ci->callstatus & CIST_REENTRY))  /* 'ci' still the called one */
          return;  /* external invocation: return */
        else {  /* invocation via reentry: continue execution */
          ci = L->ci;
          if (b) L->top = ci->top;
          lua_assert(isLua(ci));
          lua_assert(GET_OPCODE(*((ci)->u.l.savedpc - 1)) == OP_CALL);
          goto newframe;  /* restart luaV_execute over new Lua function */
        }
      )
      vmcase(OP_FORLOOP,
        lua_Number step = nvalue(ra+2);
        lua_Number idx = luai_numadd(L, nvalue(ra), step); /* increment index */
        lua_Number limit = nvalue(ra+1);
        if (luai_numlt(L, 0, step) ? luai_numle(L, idx, limit)
                                   : luai_numle(L, limit, idx)) {
          ci->u.l.savedpc += GETARG_sBx(i);  /* jump back */
          setnvalue(ra, idx);  /* update internal index... */
          setnvalue(ra+3, idx);  /* ...and external index */
        }
      )
      vmcase(OP_FORPREP,
        const TValue *init = ra;
        const TValue *plimit = ra+1;
        const TValue *pstep = ra+2;
        if (!tonumber(init, ra))
          luaG_runerror(L, LUA_QL("for") " initial value must be a number");
        else if (!tonumber(plimit, ra+1))
          luaG_runerror(L, LUA_QL("for") " limit must be a number");
        else if (!tonumber(pstep, ra+2))
          luaG_runerror(L, LUA_QL("for") " step must be a number");
        setnvalue(ra, luai_numsub(L, nvalue(ra), nvalue(pstep)));
        ci->u.l.savedpc += GETARG_sBx(i);
      )
      vmcasenb(OP_TFORCALL,
        StkId cb = ra + 3;  /* call base */
        setobjs2s(L, cb+2, ra+2);
        setobjs2s(L, cb+1, ra+1);
        setobjs2s(L, cb, ra);
        L->top = cb + 3;  /* func. + 2 args (state and index) */
        Protect(luaD_call(L, cb, GETARG_C(i), 1));
        L->top = ci->top;
        i = *(ci->u.l.savedpc++);  /* go to next instruction */
        ra = RA(i);
        lua_assert(GET_OPCODE(i) == OP_TFORLOOP);
        goto l_tforloop;
      )
      vmcase(OP_TFORLOOP,
        l_tforloop:
        if (!ttisnil(ra + 1)) {  /* continue loop? */
          setobjs2s(L, ra, ra + 1);  /* save control variable */
           ci->u.l.savedpc += GETARG_sBx(i);  /* jump back */
        }
      )
      vmcase(OP_SETLIST,
        int n = GETARG_B(i);
        int c = GETARG_C(i);
        int last;
        Table *h;
        if (n == 0) n = cast_int(L->top - ra) - 1;
        if (c == 0) {
          lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG);
          c = GETARG_Ax(*ci->u.l.savedpc++);
        }
        luai_runtimecheck(L, ttistable(ra));
        h = hvalue(ra);
        last = ((c-1)*LFIELDS_PER_FLUSH) + n;
        if (last > h->sizearray)  /* needs more space? */
          luaH_resizearray(L, h, last);  /* pre-allocate it at once */
        for (; n > 0; n--) {
          TValue *val = ra+n;
          luaH_setint(L, h, last--, val);
          luaC_barrierback(L, obj2gco(h), val);
        }
        L->top = ci->top;  /* correct top (in case of previous open call) */
      )
      vmcase(OP_CLOSURE,
        Proto *p = cl->p->p[GETARG_Bx(i)];
        Closure *ncl = getcached(p, cl->upvals, base);  /* cached closure */
        if (ncl == NULL)  /* no match? */
          pushclosure(L, p, cl->upvals, base, ra);  /* create a new one */
        else
          setclLvalue(L, ra, ncl);  /* push cashed closure */
        checkGC(L, ra + 1);
      )
      vmcase(OP_VARARG,
        int b = GETARG_B(i) - 1;
        int j;
        int n = cast_int(base - ci->func) - cl->p->numparams - 1;
        if (b < 0) {  /* B == 0? */
          b = n;  /* get all var. arguments */
          Protect(luaD_checkstack(L, n));
          ra = RA(i);  /* previous call may change the stack */
          L->top = ra + n;
        }
        for (j = 0; j < b; j++) {
          if (j < n) {
            setobjs2s(L, ra + j, base - n + j);
          }
          else {
            setnilvalue(ra + j);
          }
        }
      )
      vmcase(OP_EXTRAARG,
        lua_assert(0);
      )
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x20(%rdi), %r14
leaq 0x875e(%rip), %rbp      # 0x21e34
movq (%r14), %rax
movq 0x30(%r14), %r9
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, (%rsp)
movq 0x38(%r14), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r14)
movl (%rax), %r12d
movzbl 0x48(%rbx), %r15d
testb $0xc, %r15b
je 0x1980b
movl 0x50(%rbx), %eax
decl %eax
movl %eax, 0x50(%rbx)
setne %cl
testb $0x4, %r15b
sete %dl
testb %cl, %dl
jne 0x1980b
movq %r14, %r13
testl %eax, %eax
sete %al
movl %r15d, %ebp
shrb $0x3, %bpl
andb %al, %bpl
cmpb $0x1, %bpl
jne 0x19747
movl 0x4c(%rbx), %eax
movl %eax, 0x50(%rbx)
movq 0x20(%rbx), %r14
movb 0x22(%r14), %al
testb %al, %al
js 0x1979f
testb %bpl, %bpl
je 0x1976a
movq %rbx, %rdi
movl $0x3, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb549
testb $0x4, %r15b
je 0x197eb
movq (%r14), %rax
movq 0x38(%r14), %rsi
movq (%rax), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rcx
movq 0x28(%rax), %rax
movq %rsi, %rdi
subq %rcx, %rdi
shrq $0x2, %rdi
decl %edi
testq %rax, %rax
je 0x197a7
movslq %edi, %rdx
movl (%rax,%rdx,4), %edx
jmp 0x197a9
andb $0x7f, %al
movb %al, 0x22(%r14)
jmp 0x197fd
xorl %edx, %edx
testl %edi, %edi
je 0x197de
movq 0x28(%rbx), %rdi
cmpq %rdi, %rsi
jbe 0x197de
testq %rax, %rax
je 0x197d8
subq %rcx, %rdi
shlq $0x1e, %rdi
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
addq %rcx, %rdi
sarq $0x20, %rdi
movl (%rax,%rdi,4), %eax
jmp 0x197da
xorl %eax, %eax
cmpl %eax, %edx
je 0x197eb
movq %rbx, %rdi
movl $0x2, %esi
callq 0xb549
movq 0x38(%r14), %rax
movq %rax, 0x28(%rbx)
cmpb $0x1, 0xa(%rbx)
je 0x1aa0f
movq %r13, %r14
movq 0x30(%r13), %r9
leaq 0x8629(%rip), %rbp      # 0x21e34
movl %r12d, %eax
andl $0x3f, %eax
cmpl $0x26, %eax
ja 0x1a6b5
movl %r12d, %ecx
shrl $0x6, %ecx
movzbl %cl, %r13d
movl %r13d, %r15d
shll $0x4, %r15d
addq %r9, %r15
movslq (%rbp,%rax,4), %rax
addq %rbp, %rax
jmpq *%rax
shrl $0x13, %r12d
andl $-0x10, %r12d
movq (%r9,%r12), %rax
movq %rax, (%r15)
movl 0x8(%r9,%r12), %eax
jmp 0x1a017
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
shrl $0xe, %r12d
movq (%rax,%r12,8), %r12
movq 0x40(%r12), %rax
testq %rax, %rax
je 0x1a911
movslq 0x50(%r12), %rcx
testq %rcx, %rcx
jle 0x1a911
movq 0x38(%r12), %rdx
shlq $0x3, %rcx
xorl %esi, %esi
cmpb $0x0, 0x8(%rdx,%rsi,2)
movzbl 0x9(%rdx,%rsi,2), %edi
je 0x198a1
shll $0x4, %edi
addq %r9, %rdi
jmp 0x198af
movq 0x10(%rsp), %r8
movq 0x20(%r8,%rdi,8), %rdi
movq 0x10(%rdi), %rdi
movq 0x20(%rax,%rsi), %r8
cmpq %rdi, 0x10(%r8)
jne 0x1a90f
addq $0x8, %rsi
cmpq %rsi, %rcx
jne 0x1988d
jmp 0x1a911
leaq 0x30(%r15), %rsi
movq 0x20(%r15), %rax
movq %rax, 0x50(%r15)
movl 0x28(%r15), %eax
movl %eax, 0x58(%r15)
movq 0x10(%r15), %rax
movq %rax, 0x40(%r15)
movl 0x18(%r15), %eax
movl %eax, 0x48(%r15)
movq (%r15), %rax
movq %rax, 0x30(%r15)
movl 0x8(%r15), %eax
movl %eax, 0x38(%r15)
addq $0x60, %r15
movq %r15, 0x10(%rbx)
shrl $0xe, %r12d
andl $0x1ff, %r12d           # imm = 0x1FF
movq %rbx, %rdi
movl %r12d, %edx
movl $0x1, %ecx
callq 0xb9c9
movq 0x8(%r14), %rax
movq 0x30(%r14), %r9
movq %rax, 0x10(%rbx)
movq 0x38(%r14), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r14)
movl (%rax), %r12d
movl %r12d, %r15d
shrl $0x2, %r15d
andl $0xff0, %r15d           # imm = 0xFF0
addq %r9, %r15
movl 0x18(%r15), %eax
testl %eax, %eax
je 0x1a6b5
movq 0x10(%r15), %rcx
movq %rcx, (%r15)
movl %eax, 0x8(%r15)
jmp 0x1a342
cmpl $0x7fffff, %r12d        # imm = 0x7FFFFF
ja 0x1a574
movq 0x10(%rbx), %rbp
subq %r15, %rbp
shrq $0x4, %rbp
decl %ebp
jmp 0x1a57a
movl 0x8(%r15), %eax
testl $0x7fc000, %r12d        # imm = 0x7FC000
je 0x1a724
testl %eax, %eax
je 0x19e9f
cmpl $0x1, %eax
jne 0x1a73b
cmpl $0x0, (%r15)
jne 0x1a73b
jmp 0x19e9f
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a4fc
cmpl $0x3, 0x8(%r12)
jne 0x1a4fc
movsd (%rdx), %xmm0
divsd (%r12), %xmm0
jmp 0x1a13f
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a510
cmpl $0x3, 0x8(%r12)
jne 0x1a510
movsd (%rdx), %xmm0
subsd (%r12), %xmm0
jmp 0x1a13f
cmpl $0x3, 0x8(%r15)
je 0x19a97
movq %r15, %rdi
movq %r15, %rsi
movq %r9, %r13
callq 0x189ec
movq %r13, %r9
testq %rax, %rax
je 0x1aa3d
cmpl $0x3, 0x18(%r15)
je 0x19ab9
leaq 0x10(%r15), %rdi
movq %rdi, %rsi
movq %r9, %r13
callq 0x189ec
movq %r13, %r9
testq %rax, %rax
je 0x1aa46
leaq 0x20(%r15), %rax
cmpl $0x3, 0x28(%r15)
je 0x19ade
movq %rax, %rdi
movq %rax, %rsi
movq %r9, %r13
callq 0x189ec
movq %r13, %r9
testq %rax, %rax
je 0x1aa4f
movsd (%r15), %xmm0
subsd (%rax), %xmm0
movsd %xmm0, (%r15)
movl $0x3, 0x8(%r15)
jmp 0x1a342
movq %r14, %r13
movl %r12d, %ebp
shrl $0xe, %ebp
movq %rbx, %rdi
callq 0x16fbc
movq %rax, %r14
cmpl $0x800000, %r12d        # imm = 0x800000
setae %al
andl $0x1ff, %ebp            # imm = 0x1FF
movq %r14, (%r15)
movl $0x45, 0x8(%r15)
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x19b58
shrl $0x17, %r12d
movl %r12d, %edi
callq 0x10791
movl %eax, %r12d
movl %ebp, %edi
callq 0x10791
movq %rbx, %rdi
movq %r14, %rsi
movl %r12d, %edx
movl %eax, %ecx
callq 0x16b90
movq 0x18(%rbx), %rax
cmpq $0x0, 0x18(%rax)
movq %r13, %r14
jle 0x19b7e
addq $0x10, %r15
movq %r15, 0x10(%rbx)
movq %rbx, %rdi
callq 0xd66d
movq 0x8(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x30(%r14), %r9
jmp 0x1a2dd
shrl $0x17, %r12d
leal 0x4(%r12), %eax
andl $-0x4, %eax
movd %r12d, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shll $0x4, %r13d
leaq (%r9,%r13), %rcx
addq $0x38, %rcx
xorl %edx, %edx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa 0x6cb3(%rip), %xmm4     # 0x20870
por %xmm1, %xmm4
movdqa 0x6cb7(%rip), %xmm3     # 0x20880
movdqa %xmm0, %xmm2
por %xmm3, %xmm2
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
pand %xmm5, %xmm4
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm4, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x19c06
movl $0x0, -0x30(%rcx)
pcmpeqd %xmm4, %xmm4
pxor %xmm4, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x19c20
movl $0x0, -0x20(%rcx)
por 0x6c38(%rip), %xmm1     # 0x20860
pxor %xmm3, %xmm1
movdqa %xmm1, %xmm3
pcmpgtd %xmm2, %xmm3
pcmpeqd %xmm2, %xmm1
pshufd $0xf5, %xmm1, %xmm2     # xmm2 = xmm1[1,1,3,3]
pand %xmm3, %xmm2
pshufd $0xf5, %xmm3, %xmm1     # xmm1 = xmm3[1,1,3,3]
por %xmm2, %xmm1
pxor %xmm1, %xmm4
pextrw $0x0, %xmm4, %esi
testb $0x1, %sil
je 0x19c60
movl $0x0, -0x10(%rcx)
pcmpeqd %xmm2, %xmm2
pxor %xmm2, %xmm1
pextrw $0x4, %xmm1, %esi
testb $0x1, %sil
je 0x19c79
movl $0x0, (%rcx)
addq $0x4, %rdx
addq $0x40, %rcx
cmpq %rdx, %rax
jne 0x19bab
jmp 0x1a6b5
movl %r12d, %eax
shrl $0x13, %eax
andl $-0x10, %eax
leaq (%r9,%rax), %rsi
movq (%r9,%rax), %rcx
movq %rcx, 0x10(%r15)
movl 0x8(%r9,%rax), %eax
btl $0x16, %r12d
cmovbq (%rsp), %r9
movl %eax, 0x18(%r15)
jmp 0x1a0ba
shrl $0x17, %r12d
movq 0x10(%rsp), %rax
movq 0x20(%rax,%r12,8), %rsi
movq 0x10(%rsi), %rax
movq (%r15), %rcx
movq %rcx, (%rax)
movl 0x8(%r15), %ecx
movl %ecx, 0x8(%rax)
testb $0x40, 0x8(%r15)
je 0x1a6b5
movq (%r15), %rdx
testb $0x3, 0x9(%rdx)
je 0x1a6b5
testb $0x4, 0x9(%rsi)
je 0x1a6b5
movq %rbx, %rdi
movq %r9, %r15
callq 0xc83c
movq %r15, %r9
jmp 0x1a6b5
movl %r12d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq (%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r9, %rsi
testl %r12d, %r12d
cmovsq %rcx, %rsi
btl $0x16, %r12d
cmovbq %rdx, %r9
shrl $0xa, %r12d
andl %eax, %r12d
addq %r9, %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x18e07
jmp 0x1a4a4
movl %r12d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq (%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r9, %rsi
testl %r12d, %r12d
cmovsq %rcx, %rsi
btl $0x16, %r12d
cmovbq %rdx, %r9
shrl $0xa, %r12d
andl %eax, %r12d
movl 0x8(%rsi), %eax
xorl %ecx, %ecx
cmpl 0x8(%r9,%r12), %eax
jne 0x19daa
addq %r12, %r9
movq %rbx, %rdi
movq %r9, %rdx
callq 0x18fda
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
movq 0x38(%r14), %rax
cmpl %r13d, %ecx
jne 0x1a643
movq %r14, %r15
movl (%rax), %r14d
movl %r14d, %eax
shrl $0x6, %eax
movzbl %al, %eax
testl %eax, %eax
je 0x19de1
movq 0x30(%r15), %rcx
shll $0x4, %eax
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
movq %rbx, %rdi
callq 0xc68c
movq 0x38(%r15), %rax
shrl $0xe, %r14d
leaq (%rax,%r14,4), %rax
addq $-0x7fff8, %rax         # imm = 0xFFF80008
movq %r15, %r14
jmp 0x1a647
movq 0x38(%r14), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r14)
movl (%rax), %eax
shrl $0x2, %eax
andl $-0x10, %eax
movq (%rsp), %rdx
movq (%rdx,%rax), %rcx
movq %rcx, (%r15)
movl 0x8(%rdx,%rax), %eax
jmp 0x1a017
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a524
cmpl $0x3, 0x8(%r12)
jne 0x1a524
movsd (%rdx), %xmm0
mulsd (%r12), %xmm0
jmp 0x1a13f
movl %r12d, %eax
shrl $0x17, %eax
movl %eax, (%r15)
movl $0x1, 0x8(%r15)
testl $0x7fc000, %r12d        # imm = 0x7FC000
je 0x1a6b5
addq $0x4, 0x38(%r14)
jmp 0x1a6b5
movl %r12d, %esi
shrl $0x13, %esi
andl $-0x10, %esi
addq %r9, %rsi
btl $0x16, %r12d
cmovbq (%rsp), %r9
jmp 0x1a0ba
shrl $0xa, %r12d
andl $-0x10, %r12d
movq (%rsp), %rcx
movq (%rcx,%r12), %rax
movq %rax, (%r15)
movl 0x8(%rcx,%r12), %eax
jmp 0x1a017
cmpl $0x800000, %r12d        # imm = 0x800000
jb 0x19efe
shrl $0x13, %r12d
andl $-0x10, %r12d
leaq (%r15,%r12), %rax
addq $-0x10, %rax
movq %rax, 0x10(%rbx)
movq %r9, %r12
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
cmpl $0x0, 0x60(%rax)
jle 0x19f1b
movq %rbx, %rdi
movq %r12, %rsi
callq 0xc68c
movq %rbx, %rdi
movq %r15, %rsi
callq 0xb925
movl $0x1, %ecx
testb $0x4, 0x22(%r14)
jne 0x1a64d
movq %r12, %r9
jmp 0x1a6b7
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a538
cmpl $0x3, 0x8(%r12)
jne 0x1a538
movsd (%rdx), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd (%r12), %xmm1
movsd %xmm1, 0x8(%rsp)
divsd %xmm1, %xmm0
movq %r9, %r12
callq 0x6500
movq %r12, %r9
mulsd 0x8(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r15)
jmp 0x1a312
shrl $0x13, %r12d
andl $-0x10, %r12d
movl 0x8(%r9,%r12), %eax
testl %eax, %eax
je 0x1a8f6
cmpl $0x1, %eax
jne 0x1a8fd
addq %r9, %r12
xorl %eax, %eax
cmpl $0x0, (%r12)
sete %al
jmp 0x1a8ff
shrl $0x17, %r12d
movq 0x10(%rsp), %rax
movq 0x20(%rax,%r12,8), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, (%r15)
movl 0x8(%rax), %eax
movl %eax, 0x8(%r15)
jmp 0x1a6b5
shrl $0x13, %r12d
andl $-0x10, %r12d
addq %r12, %r9
movq %rbx, %rdi
movq %r15, %rsi
movq %r9, %rdx
callq 0x193d5
jmp 0x1a6b1
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a54c
cmpl $0x3, 0x8(%r12)
jne 0x1a54c
movsd (%rdx), %xmm0
addsd (%r12), %xmm0
jmp 0x1a13f
movl %r12d, %eax
shrl $0x17, %eax
movq 0x10(%rsp), %rcx
movq 0x20(%rcx,%rax,8), %rax
btl $0x16, %r12d
cmovbq (%rsp), %r9
movq 0x10(%rax), %rsi
shrl $0xa, %r12d
andl $0xff0, %r12d           # imm = 0xFF0
addq %r9, %r12
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
callq 0x18a99
jmp 0x1a6b1
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
movq %rsi, %rcx
cmovaeq %r9, %rcx
shrl $0xa, %r12d
andl %eax, %r12d
addq %rcx, %r12
cmpl $0x3, 0x8(%rdx)
jne 0x1a560
cmpl $0x3, 0x8(%r12)
jne 0x1a560
movsd (%rdx), %xmm0
movsd (%r12), %xmm1
movq %r9, %r12
callq 0x6140
movq %r12, %r9
movsd %xmm0, (%r15)
jmp 0x1a312
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
btl $0x16, %r12d
cmovbq %rsi, %r9
shrl $0xa, %r12d
andl %eax, %r12d
addq %r9, %r12
movq %rbx, %rdi
movq %r15, %rsi
jmp 0x1a1ce
movl %r12d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq (%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r9, %rdx
testl %r12d, %r12d
cmovsq %rcx, %rdx
movq 0x10(%rsp), %rcx
movq 0x20(%rcx,%r13,8), %rcx
btl $0x16, %r12d
cmovbq %rsi, %r9
movq 0x10(%rcx), %rsi
shrl $0xa, %r12d
andl %eax, %r12d
addq %r9, %r12
movq %rbx, %rdi
movq %r12, %rcx
callq 0x18c8a
jmp 0x1a6b1
movq %r9, 0x18(%rsp)
cmpl $0x800000, %r12d        # imm = 0x800000
jb 0x1a1f8
shrl $0x13, %r12d
andl $-0x10, %r12d
addq %r15, %r12
movq %r12, 0x10(%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb5f9
movl %eax, %ebp
testl %eax, %eax
je 0x1a78d
movq 0x30(%r14), %r9
xorl %ecx, %ecx
jmp 0x1a83d
movsd 0x10(%r15), %xmm1
movsd 0x20(%r15), %xmm2
movsd (%r15), %xmm0
addsd %xmm2, %xmm0
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm2
jbe 0x1a667
ucomisd %xmm0, %xmm1
jae 0x1a66d
jmp 0x1a6b5
movl %r12d, %ebp
shrl $0x17, %ebp
shrl $0xe, %r12d
andl $0x1ff, %r12d           # imm = 0x1FF
movl %r12d, %eax
shll $0x4, %eax
addq %r9, %rax
addq $0x10, %rax
movq %rax, 0x10(%rbx)
subl %ebp, %r12d
incl %r12d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x19155
movq 0x30(%r14), %rdx
movl %r13d, %eax
shll $0x4, %eax
movl %ebp, %ecx
shll $0x4, %ecx
movq (%rdx,%rcx), %rsi
movq %rsi, (%rdx,%rax)
movl 0x8(%rdx,%rcx), %esi
movl %esi, 0x8(%rdx,%rax)
movq 0x18(%rbx), %rsi
cmpq $0x0, 0x18(%rsi)
jle 0x1a2d1
addq %rdx, %rax
addq %rdx, %rcx
addq $0x10, %rax
cmpl %ebp, %r13d
cmovbq %rcx, %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rdi
callq 0xd66d
movq 0x8(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x8(%r14), %rax
movq 0x30(%r14), %r9
movq %rax, 0x10(%rbx)
leaq 0x7b50(%rip), %rbp      # 0x21e34
jmp 0x1a6b5
shrl $0x13, %r12d
andl $-0x10, %r12d
leaq (%r9,%r12), %rcx
cmpl $0x3, 0x8(%r9,%r12)
jne 0x1a69d
movsd (%rcx), %xmm0
xorpd 0x6c93(%rip), %xmm0     # 0x20fa0
movlpd %xmm0, (%r15)
movl $0x3, 0x8(%r15)
jmp 0x1a6b5
testl %r13d, %r13d
je 0x1a342
movq 0x30(%r14), %rax
shll $0x4, %r13d
leaq (%rax,%r13), %rsi
addq $-0x10, %rsi
movq %rbx, %rdi
movq %r9, %r15
callq 0xc68c
movq %r15, %r9
movq 0x38(%r14), %rax
shrl $0xe, %r12d
leaq (%rax,%r12,4), %rax
addq $-0x7fffc, %rax         # imm = 0xFFF80004
movq %rax, 0x38(%r14)
jmp 0x1a6b5
movl %r12d, %ecx
shrl $0x13, %ecx
andl $-0x10, %ecx
leaq (%r9,%rcx), %rax
movl 0x8(%r9,%rcx), %ecx
testl $0x7fc000, %r12d        # imm = 0x7FC000
je 0x1a851
testl %ecx, %ecx
je 0x1a85f
cmpl $0x1, %ecx
jne 0x1a86c
cmpl $0x0, (%rax)
jne 0x1a86c
jmp 0x1a85f
movq %r9, %r13
cmpl $0x800000, %r12d        # imm = 0x800000
jb 0x1a3b7
movl %r12d, %eax
shrl $0x13, %eax
andl $-0x10, %eax
addq %r15, %rax
movq %rax, 0x10(%rbx)
shrl $0xe, %r12d
andl $0x1ff, %r12d           # imm = 0x1FF
leal -0x1(%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xb5f9
testl %eax, %eax
je 0x1a8c7
testl %r12d, %r12d
je 0x1a3e7
movq 0x8(%r14), %rcx
movq %rcx, 0x10(%rbx)
movq 0x30(%r14), %r9
xorl %ecx, %ecx
jmp 0x1a8d8
movq %r9, %rax
movq %r14, 0x8(%rsp)
subq (%r14), %rax
shrq $0x4, %rax
movq 0x10(%rsp), %rcx
movq 0x18(%rcx), %rcx
movzbl 0x78(%rcx), %ebp
notl %ebp
addl %eax, %ebp
movslq %ebp, %r14
cmpl $0x7fffff, %r12d        # imm = 0x7FFFFF
ja 0x1a6c4
movq 0x30(%rbx), %rax
subq 0x10(%rbx), %rax
sarq $0x4, %rax
cmpq %r14, %rax
jg 0x1a43d
movq %rbx, %rdi
movl %ebp, %esi
callq 0xb483
movq 0x8(%rsp), %rax
movq 0x30(%rax), %r9
shll $0x4, %r13d
addq %r9, %r13
movq %r14, %rax
shlq $0x4, %rax
addq %r13, %rax
movq %rax, 0x10(%rbx)
movq %r13, %r15
jmp 0x1a6ce
movl %r12d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq (%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r9, %rsi
testl %r12d, %r12d
cmovsq %rcx, %rsi
btl $0x16, %r12d
cmovbq %rdx, %r9
shrl $0xa, %r12d
andl %eax, %r12d
addq %r9, %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x18f3d
movq 0x38(%r14), %rcx
cmpl %r13d, %eax
jne 0x1a4ef
movq %r14, %r15
movl (%rcx), %r14d
movl %r14d, %eax
shrl $0x6, %eax
movzbl %al, %eax
testl %eax, %eax
je 0x1a4d7
movq 0x30(%r15), %rcx
shll $0x4, %eax
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
movq %rbx, %rdi
callq 0xc68c
movq 0x38(%r15), %rax
shrl $0xe, %r14d
leaq (%rax,%r14,4), %rcx
addq $-0x7fff8, %rcx         # imm = 0xFFF80008
movq %r15, %r14
jmp 0x1a4f3
addq $0x4, %rcx
movq %rcx, 0x38(%r14)
jmp 0x1a6b1
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0x9, %r8d
jmp 0x1a6ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0x7, %r8d
jmp 0x1a6ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0x8, %r8d
jmp 0x1a6ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0xa, %r8d
jmp 0x1a6ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0x6, %r8d
jmp 0x1a6ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movl $0xb, %r8d
jmp 0x1a6ac
movl %r12d, %ebp
shrl $0x17, %ebp
movq %r9, 0x18(%rsp)
shrl $0xe, %r12d
andl $0x1ff, %r12d           # imm = 0x1FF
jne 0x1a59f
movq 0x38(%r14), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r14)
movl (%rax), %r12d
shrl $0x6, %r12d
movq %r14, 0x8(%rsp)
movq (%r15), %r15
imull $0x32, %r12d, %r14d
leal (%r14,%rbp), %edx
addl $-0x32, %edx
cmpl 0x38(%r15), %edx
jle 0x1a5c3
movq %rbx, %rdi
movq %r15, %rsi
callq 0x16f9a
testl %ebp, %ebp
jle 0x1a628
movl %ebp, %r12d
movq %r12, %rax
shlq $0x4, %rax
shll $0x4, %r13d
addq %rax, %r13
addq 0x18(%rsp), %r13
addl $-0x32, %r14d
leal (%r14,%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
callq 0x16efb
testb $0x40, 0x8(%r13)
je 0x1a616
movq (%r13), %rax
testb $0x3, 0x9(%rax)
je 0x1a616
testb $0x4, 0x9(%r15)
je 0x1a616
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc962
leaq -0x1(%r12), %rax
addq $-0x10, %r13
cmpq $0x1, %r12
movq %rax, %r12
jg 0x1a5e1
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rax
movq %rax, 0x10(%rbx)
leaq 0x77f8(%rip), %rbp      # 0x21e34
movq 0x18(%rsp), %r9
jmp 0x1a6b5
addq $0x4, %rax
movq %rax, 0x38(%r14)
jmp 0x1a6b1
movq 0x20(%rbx), %r14
movl $0x2, %ecx
testl %eax, %eax
movq %r12, %r9
je 0x1a6b7
movq 0x8(%r14), %rax
movq %rax, 0x10(%rbx)
jmp 0x1a6b7
ucomisd %xmm1, %xmm0
jb 0x1a6b5
movq 0x38(%r14), %rax
shrl $0xe, %r12d
leaq (%rax,%r12,4), %rax
addq $-0x7fffc, %rax         # imm = 0xFFF80004
movq %rax, 0x38(%r14)
movsd %xmm0, (%r15)
movl $0x3, %eax
movl %eax, 0x8(%r15)
movsd %xmm0, 0x30(%r15)
movl %eax, 0x38(%r15)
jmp 0x1a6b5
movq %rbx, %rdi
movq %r15, %rsi
movq %rcx, %rdx
movl $0xc, %r8d
callq 0x194c3
movq 0x30(%r14), %r9
xorl %ecx, %ecx
testl %ecx, %ecx
je 0x196f1
jmp 0x1a9f7
shrl $0x17, %r12d
decl %r12d
movl %r12d, %ebp
testl %ebp, %ebp
jle 0x1a8e5
movl %ebp, %eax
movq %r14, %rdx
shlq $0x4, %rdx
movq %r9, %rcx
subq %rdx, %rcx
movl $0x8, %edx
xorl %esi, %esi
leaq 0x7741(%rip), %rbp      # 0x21e34
cmpq %r14, %rsi
jge 0x1a70b
movq -0x8(%rcx,%rdx), %rdi
movq %rdi, -0x8(%r15,%rdx)
movl (%rcx,%rdx), %edi
movl %edi, (%r15,%rdx)
jmp 0x1a713
movl $0x0, (%r15,%rdx)
incq %rsi
addq $0x10, %rdx
cmpq %rsi, %rax
jne 0x1a6f3
jmp 0x1a8ec
testl %eax, %eax
je 0x1a73b
cmpl $0x1, %eax
jne 0x19e9f
cmpl $0x0, (%r15)
jne 0x19e9f
movq 0x38(%r14), %rax
movq %r14, %r15
movl (%rax), %r14d
movl %r14d, %eax
shrl $0x6, %eax
movzbl %al, %eax
testl %eax, %eax
je 0x1a76f
movq 0x30(%r15), %rcx
shll $0x4, %eax
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
movq %rbx, %rdi
movq %r9, %r12
callq 0xc68c
movq %r12, %r9
movq 0x38(%r15), %rax
shrl $0xe, %r14d
leaq (%rax,%r14,4), %rax
addq $-0x7fff8, %rax         # imm = 0xFFF80008
movq %rax, 0x38(%r15)
movq %r15, %r14
jmp 0x1a6b5
movq 0x20(%rbx), %r14
movq (%r14), %r15
movq 0x10(%r14), %r12
movq (%r12), %rdi
movq (%r15), %rax
movq 0x18(%rax), %rax
movzbl 0x78(%rax), %r13d
shll $0x4, %r13d
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
addq 0x30(%r14), %r13
cmpl $0x0, 0x60(%rax)
jle 0x1a7d6
movq 0x30(%r12), %rsi
movq %rdi, 0x8(%rsp)
movq %rbx, %rdi
callq 0xc68c
movq 0x8(%rsp), %rdi
cmpq %r13, %r15
jae 0x1a7fb
leaq 0x8(%rdi), %rax
movq %r15, %rcx
movq (%rcx), %rdx
movq %rdx, -0x8(%rax)
movl 0x8(%rcx), %edx
movl %edx, (%rax)
addq $0x10, %rcx
addq $0x10, %rax
cmpq %r13, %rcx
jb 0x1a7e2
movq 0x30(%r14), %rax
subq %r15, %rax
addq %rdi, %rax
movq %rax, 0x30(%r12)
movq 0x10(%rbx), %rax
subq %r15, %rax
addq %rdi, %rax
movq %rax, 0x10(%rbx)
movq %rax, 0x8(%r12)
movq 0x38(%r14), %rax
movq %r12, %r14
movq %rax, 0x38(%r12)
orb $0x40, 0x22(%r12)
movq %r12, 0x20(%rbx)
movl $0x2, %ecx
movq 0x18(%rsp), %r9
testl %ebp, %ebp
leaq 0x75ee(%rip), %rbp      # 0x21e34
jne 0x1a6b5
jmp 0x1a6b7
testl %ecx, %ecx
je 0x1a86c
cmpl $0x1, %ecx
jne 0x1a85f
cmpl $0x0, (%rax)
je 0x1a86c
movq 0x38(%r14), %rax
addq $0x4, %rax
jmp 0x1a354
movq (%rax), %rcx
movq %rcx, (%r15)
movl 0x8(%rax), %eax
movl %eax, 0x8(%r15)
movq 0x38(%r14), %rax
movq %r14, %r15
movl (%rax), %r14d
movl %r14d, %eax
shrl $0x6, %eax
movzbl %al, %eax
testl %eax, %eax
je 0x1a8ad
movq 0x30(%r15), %rcx
shll $0x4, %eax
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
movq %rbx, %rdi
movq %r9, %r12
callq 0xc68c
movq %r12, %r9
movq 0x38(%r15), %rax
shrl $0xe, %r14d
leaq (%rax,%r14,4), %rax
addq $-0x7fff8, %rax         # imm = 0xFFF80008
movq %r15, %r14
jmp 0x1a354
movq 0x20(%rbx), %r14
orb $0x4, 0x22(%r14)
movl $0x2, %ecx
movq %r13, %r9
testl %eax, %eax
jne 0x1a6b5
jmp 0x1a6b7
leaq 0x7548(%rip), %rbp      # 0x21e34
movq 0x8(%rsp), %r14
jmp 0x1a6b5
movl $0x1, %eax
jmp 0x1a8ff
xorl %eax, %eax
movl %eax, (%r15)
movl $0x1, 0x8(%r15)
jmp 0x1a6b5
xorl %eax, %eax
testq %rax, %rax
je 0x1a926
movq %rax, (%r15)
movl $0x46, 0x8(%r15)
jmp 0x1a9cb
movq %r9, 0x18(%rsp)
movq %r14, 0x8(%rsp)
movslq 0x50(%r12), %rbp
movq 0x38(%r12), %r14
movq %rbx, %rdi
movl %ebp, %esi
callq 0xc54a
movq %rax, %r13
movq %r12, 0x20(%rsp)
movq %r12, 0x18(%rax)
movq %rax, (%r15)
movl $0x46, 0x8(%r15)
testq %rbp, %rbp
jle 0x1a99f
shlq $0x3, %rbp
xorl %r12d, %r12d
cmpb $0x0, 0x8(%r14,%r12,2)
movzbl 0x9(%r14,%r12,2), %esi
je 0x1a987
shll $0x4, %esi
addq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xc5d2
jmp 0x1a991
movq 0x10(%rsp), %rax
movq 0x20(%rax,%rsi,8), %rax
movq %rax, 0x20(%r13,%r12)
addq $0x8, %r12
cmpq %r12, %rbp
jne 0x1a967
movq 0x20(%rsp), %r12
testb $0x4, 0x9(%r12)
movq 0x8(%rsp), %r14
je 0x1a9bf
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xc97d
movq %r13, 0x40(%r12)
leaq 0x7469(%rip), %rbp      # 0x21e34
movq 0x18(%rbx), %rax
cmpq $0x0, 0x18(%rax)
jle 0x1a6b1
addq $0x10, %r15
movq %r15, 0x10(%rbx)
movq %rbx, %rdi
callq 0xd66d
movq 0x8(%r14), %rax
movq %rax, 0x10(%rbx)
jmp 0x1a6b1
cmpl $0x2, %ecx
je 0x196d6
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb %bpl, %bpl
je 0x1aa1b
movl $0x1, 0x50(%rbx)
addq $-0x4, 0x38(%r14)
orb $-0x80, 0x22(%r14)
movq 0x10(%rbx), %rax
addq $-0x10, %rax
movq %rax, (%r14)
movq %rbx, %rdi
movl $0x1, %esi
callq 0xb1b4
leaq 0x74d3(%rip), %rsi      # 0x21f17
jmp 0x1aa56
leaq 0x74ef(%rip), %rsi      # 0x21f3c
jmp 0x1aa56
leaq 0x7503(%rip), %rsi      # 0x21f59
movq %rbx, %rdi
xorl %eax, %eax
callq 0xaf1a