// File: /workspace/github_c_makefile_star2_O3/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 $0x38, %rsp
movq 0x20(%rdi), %r9
movq %rdi, 0x8(%rsp)
movq (%r9), %rax
movq 0x30(%r9), %r14
movq (%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x18(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
movq %r9, 0x10(%rsp)
movq 0x38(%r9), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r9)
movl (%rax), %r15d
movzbl 0x48(%rdi), %ebx
testb $0xc, %bl
je 0x1986a
decl 0x50(%rdi)
je 0x1977f
testb $0x4, %bl
je 0x1986a
movq 0x20(%rdi), %r14
testb $0x8, %bl
jmp 0x19788
movq 0x20(%rdi), %r14
testb $0x8, %bl
jne 0x19798
leaq 0x22(%r14), %r12
movb 0x22(%r14), %al
testb %al, %al
js 0x197ff
xorl %ebp, %ebp
jmp 0x197c6
movl 0x4c(%rdi), %eax
movl %eax, 0x50(%rdi)
leaq 0x22(%r14), %r12
movb 0x22(%r14), %al
testb %al, %al
js 0x197ff
movl $0x3, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb655
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movb $0x1, %bpl
testb $0x4, %bl
je 0x19854
movq (%r14), %rax
movq 0x38(%r14), %rsi
movq (%rax), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rcx
movq 0x28(%rax), %rax
movq %rsi, %r8
subq %rcx, %r8
shrq $0x2, %r8
decl %r8d
testq %rax, %rax
je 0x19807
movslq %r8d, %rdx
movl (%rax,%rdx,4), %edx
jmp 0x19809
andb $0x7f, %al
movb %al, (%r12)
jmp 0x19866
xorl %edx, %edx
testl %r8d, %r8d
je 0x19840
movq 0x28(%rdi), %r8
cmpq %r8, %rsi
jbe 0x19840
testq %rax, %rax
je 0x1983a
subq %rcx, %r8
shlq $0x1e, %r8
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
addq %rcx, %r8
sarq $0x20, %r8
movl (%rax,%r8,4), %eax
jmp 0x1983c
xorl %eax, %eax
cmpl %eax, %edx
je 0x19854
movl $0x2, %esi
callq 0xb655
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x38(%r14), %rax
movq %rax, 0x28(%rdi)
cmpb $0x1, 0xa(%rdi)
je 0x1aa1f
movq 0x30(%r9), %r14
movl %r15d, %eax
andl $0x3f, %eax
cmpl $0x26, %eax
ja 0x1974c
movl %r15d, %ecx
shrl $0x6, %ecx
movzbl %cl, %r13d
movl %r13d, %r12d
shll $0x4, %r12d
addq %r14, %r12
leaq 0x85a0(%rip), %rcx      # 0x21e34
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
shrl $0x13, %r15d
andl $-0x10, %r15d
movq (%r14,%r15), %rax
movq %rax, (%r12)
movl 0x8(%r14,%r15), %eax
movl %eax, 0x8(%r12)
jmp 0x1974c
cmpl $0x7fffff, %r15d        # imm = 0x7FFFFF
ja 0x1a6a7
movq 0x10(%rdi), %rbp
subq %r12, %rbp
shrq $0x4, %rbp
decl %ebp
jmp 0x1a6ad
movl 0x8(%r12), %eax
testl $0x7fc000, %r15d        # imm = 0x7FC000
je 0x1a830
testl %eax, %eax
je 0x19eab
cmpl $0x1, %eax
jne 0x1a89f
cmpl $0x0, (%r12)
jne 0x1a89f
jmp 0x19eab
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a575
cmpl $0x3, 0x8(%r15)
jne 0x1a575
movsd (%rdx), %xmm0
divsd (%r15), %xmm0
jmp 0x1a168
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a586
cmpl $0x3, 0x8(%r15)
jne 0x1a586
movsd (%rdx), %xmm0
subsd (%r15), %xmm0
jmp 0x1a168
movq %r14, %rax
subq (%r9), %rax
shrq $0x4, %rax
movq 0x20(%rsp), %rcx
movq 0x18(%rcx), %rcx
movzbl 0x78(%rcx), %ebp
notl %ebp
addl %eax, %ebp
movslq %ebp, %rbx
cmpl $0x7fffff, %r15d        # imm = 0x7FFFFF
ja 0x1a767
movq 0x30(%rdi), %rax
subq 0x10(%rdi), %rax
sarq $0x4, %rax
cmpq %rbx, %rax
jg 0x19a15
movl %ebp, %esi
callq 0xb58f
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x30(%r9), %r14
shll $0x4, %r13d
addq %r14, %r13
movq %rbx, %rax
shlq $0x4, %rax
addq %r13, %rax
movq %rax, 0x10(%rdi)
movq %r13, %r12
jmp 0x1a771
leaq 0x30(%r12), %rsi
movq 0x20(%r12), %rax
movq %rax, 0x50(%r12)
movl 0x28(%r12), %eax
movl %eax, 0x58(%r12)
movq 0x10(%r12), %rax
movq %rax, 0x40(%r12)
movl 0x18(%r12), %eax
movl %eax, 0x48(%r12)
movq (%r12), %rax
movq %rax, 0x30(%r12)
movl 0x8(%r12), %eax
movl %eax, 0x38(%r12)
addq $0x60, %r12
movq %r12, 0x10(%rdi)
shrl $0xe, %r15d
andl $0x1ff, %r15d           # imm = 0x1FF
movl %r15d, %edx
movl $0x1, %ecx
callq 0xbafd
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x8(%r9), %rax
movq 0x30(%r9), %r14
movq %rax, 0x10(%rdi)
movq 0x38(%r9), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r9)
movl (%rax), %r15d
movl %r15d, %r12d
shrl $0x2, %r12d
andl $0xff0, %r12d           # imm = 0xFF0
addq %r14, %r12
movl 0x18(%r12), %eax
testl %eax, %eax
je 0x1974c
movq 0x10(%r12), %rcx
movq %rcx, (%r12)
movl %eax, 0x8(%r12)
jmp 0x1a42c
movl %r15d, %ebp
shrl $0xe, %ebp
movq %rdi, %rbx
callq 0x1709b
movq %rax, %r14
cmpl $0x800000, %r15d        # imm = 0x800000
setae %al
andl $0x1ff, %ebp            # imm = 0x1FF
movq %r14, (%r12)
movl $0x45, 0x8(%r12)
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x19b4a
shrl $0x17, %r15d
movl %r15d, %edi
callq 0x108c1
movl %eax, %r15d
movl %ebp, %edi
callq 0x108c1
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
movl %eax, %ecx
callq 0x16c6f
movq 0x18(%rbx), %rax
cmpq $0x0, 0x18(%rax)
movq %rbx, %rdi
movq 0x10(%rsp), %rbx
jle 0x19b77
addq $0x10, %r12
movq %r12, 0x10(%rdi)
callq 0xd766
movq 0x8(%rsp), %rdi
movq 0x8(%rbx), %rax
movq %rax, 0x10(%rdi)
movq 0x30(%rbx), %r14
movq %rbx, %r9
jmp 0x1974c
shrl $0x17, %r15d
leal 0x4(%r15), %eax
andl $-0x4, %eax
movd %r15d, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shll $0x4, %r13d
leaq (%r14,%r13), %rcx
addq $0x38, %rcx
xorl %edx, %edx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa 0x6758(%rip), %xmm4     # 0x20310
por %xmm1, %xmm4
movdqa 0x675c(%rip), %xmm3     # 0x20320
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 0x19c01
movl $0x0, -0x30(%rcx)
pcmpeqd %xmm4, %xmm4
pxor %xmm4, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x19c1b
movl $0x0, -0x20(%rcx)
por 0x66dd(%rip), %xmm1     # 0x20300
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 0x19c5b
movl $0x0, -0x10(%rcx)
pcmpeqd %xmm2, %xmm2
pxor %xmm2, %xmm1
pextrw $0x4, %xmm1, %esi
testb $0x1, %sil
je 0x19c74
movl $0x0, (%rcx)
addq $0x4, %rdx
addq $0x40, %rcx
cmpq %rdx, %rax
jne 0x19ba6
jmp 0x1974c
movl %r15d, %eax
shrl $0x13, %eax
andl $-0x10, %eax
leaq (%r14,%rax), %rsi
movq (%r14,%rax), %rcx
movq %rcx, 0x10(%r12)
movl 0x8(%r14,%rax), %eax
btl $0x16, %r15d
cmovbq 0x18(%rsp), %r14
movl %eax, 0x18(%r12)
jmp 0x1a19b
shrl $0x17, %r15d
movq 0x20(%rsp), %rax
movq 0x20(%rax,%r15,8), %rsi
movq 0x10(%rsi), %rax
movq (%r12), %rcx
movq %rcx, (%rax)
movl 0x8(%r12), %ecx
movl %ecx, 0x8(%rax)
testb $0x40, %cl
je 0x1974c
movq (%r12), %rdx
testb $0x3, 0x9(%rdx)
je 0x1974c
testb $0x4, 0x9(%rsi)
je 0x1974c
callq 0xc950
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
jmp 0x1974c
movl %r15d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r14, %rsi
testl %r15d, %r15d
cmovsq %rcx, %rsi
btl $0x16, %r15d
cmovbq %rdx, %r14
shrl $0xa, %r15d
andl %eax, %r15d
addq %r14, %r15
movq %r15, %rdx
callq 0x18e6b
jmp 0x1a515
movl %r15d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r14, %rsi
testl %r15d, %r15d
cmovsq %rcx, %rsi
btl $0x16, %r15d
cmovbq %rdx, %r14
shrl $0xa, %r15d
andl %eax, %r15d
movl 0x8(%rsi), %eax
xorl %ecx, %ecx
cmpl 0x8(%r14,%r15), %eax
jne 0x19db0
addq %r15, %r14
movq %r14, %rdx
callq 0x19042
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
movq 0x38(%r9), %rax
cmpl %r13d, %ecx
jne 0x1a7c1
movl (%rax), %ebx
movl %ebx, %ecx
shrl $0x6, %ecx
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x19ded
movq 0x30(%r9), %rax
shll $0x4, %ecx
leaq (%rax,%rcx), %rsi
addq $-0x10, %rsi
callq 0xc7a3
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x38(%r9), %rax
shrl $0xe, %ebx
leaq (%rax,%rbx,4), %rax
addq $-0x7fff8, %rax         # imm = 0xFFF80008
jmp 0x1a7c5
movq 0x38(%r9), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r9)
movl (%rax), %eax
shrl $0x2, %eax
andl $-0x10, %eax
movq 0x18(%rsp), %rdx
movq (%rdx,%rax), %rcx
movq %rcx, (%r12)
movl 0x8(%rdx,%rax), %eax
movl %eax, 0x8(%r12)
jmp 0x1974c
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a597
cmpl $0x3, 0x8(%r15)
jne 0x1a597
movsd (%rdx), %xmm0
mulsd (%r15), %xmm0
jmp 0x1a168
movl %r15d, %eax
shrl $0x17, %eax
movl %eax, (%r12)
movl $0x1, 0x8(%r12)
testl $0x7fc000, %r15d        # imm = 0x7FC000
je 0x1974c
addq $0x4, 0x38(%r9)
jmp 0x1974c
movl %r15d, %esi
shrl $0x13, %esi
andl $-0x10, %esi
addq %r14, %rsi
btl $0x16, %r15d
cmovbq 0x18(%rsp), %r14
jmp 0x1a19b
shrl $0xa, %r15d
andl $-0x10, %r15d
movq 0x18(%rsp), %rcx
movq (%rcx,%r15), %rax
movq %rax, (%r12)
movl 0x8(%rcx,%r15), %eax
movl %eax, 0x8(%r12)
jmp 0x1974c
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a5a8
cmpl $0x3, 0x8(%r15)
jne 0x1a5a8
movsd (%rdx), %xmm0
movsd %xmm0, 0x28(%rsp)
movsd (%r15), %xmm1
movsd %xmm1, 0x30(%rsp)
divsd %xmm1, %xmm0
callq 0x6500
movq 0x8(%rsp), %rdi
mulsd 0x30(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r12)
jmp 0x1a221
cmpl $0x3, 0x8(%r12)
je 0x19fa8
movq %r12, %rdi
movq %r12, %rsi
callq 0x18aac
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
testq %rax, %rax
je 0x1aa51
cmpl $0x3, 0x18(%r12)
je 0x19fd0
leaq 0x10(%r12), %rdi
movq %rdi, %rsi
callq 0x18aac
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
testq %rax, %rax
je 0x1aa5a
leaq 0x20(%r12), %rax
cmpl $0x3, 0x28(%r12)
je 0x19ffb
movq %rax, %rdi
movq %rax, %rsi
callq 0x18aac
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
testq %rax, %rax
je 0x1aa63
movsd (%r12), %xmm0
subsd (%rax), %xmm0
movsd %xmm0, (%r12)
movl $0x3, 0x8(%r12)
jmp 0x1a42c
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
shrl $0xe, %r15d
movq (%rax,%r15,8), %rbx
movq 0x38(%rbx), %r15
movq 0x40(%rbx), %rax
movl 0x50(%rbx), %r13d
testq %rax, %rax
je 0x1a5e7
testl %r13d, %r13d
jle 0x1a08e
leaq (,%r13,8), %rcx
xorl %edx, %edx
cmpb $0x0, 0x8(%r15,%rdx,2)
movzbl 0x9(%r15,%rdx,2), %esi
je 0x1a068
shll $0x4, %esi
addq %r14, %rsi
jmp 0x1a076
movq 0x20(%rsp), %r8
movq 0x20(%r8,%rsi,8), %rsi
movq 0x10(%rsi), %rsi
movq 0x20(%rax,%rdx), %r8
cmpq %rsi, 0x10(%r8)
jne 0x1a5e7
addq $0x8, %rdx
cmpq %rdx, %rcx
jne 0x1a052
movq %rax, (%r12)
movl $0x46, 0x8(%r12)
jmp 0x1a674
shrl $0x13, %r15d
andl $-0x10, %r15d
movl 0x8(%r14,%r15), %eax
testl %eax, %eax
je 0x1a873
cmpl $0x1, %eax
jne 0x1a87a
addq %r14, %r15
xorl %eax, %eax
cmpl $0x0, (%r15)
sete %al
jmp 0x1a87c
shrl $0x17, %r15d
movq 0x20(%rsp), %rax
movq 0x20(%rax,%r15,8), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, (%r12)
movl 0x8(%rax), %eax
movl %eax, 0x8(%r12)
jmp 0x1974c
shrl $0x13, %r15d
andl $-0x10, %r15d
addq %r15, %r14
movq %r12, %rsi
movq %r14, %rdx
callq 0x19436
jmp 0x1a81d
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a5b6
cmpl $0x3, 0x8(%r15)
jne 0x1a5b6
movsd (%rdx), %xmm0
addsd (%r15), %xmm0
movsd %xmm0, (%r12)
movl $0x3, 0x8(%r12)
jmp 0x1974c
movl %r15d, %eax
shrl $0x17, %eax
movq 0x20(%rsp), %rcx
movq 0x20(%rcx,%rax,8), %rax
btl $0x16, %r15d
cmovbq 0x18(%rsp), %r14
movq 0x10(%rax), %rsi
shrl $0xa, %r15d
andl $0xff0, %r15d           # imm = 0xFF0
addq %r14, %r15
movq %r15, %rdx
movq %r12, %rcx
callq 0x18b59
jmp 0x1a81d
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
movq %rsi, %rcx
cmovaeq %r14, %rcx
shrl $0xa, %r15d
andl %eax, %r15d
addq %rcx, %r15
cmpl $0x3, 0x8(%rdx)
jne 0x1a5c7
cmpl $0x3, 0x8(%r15)
jne 0x1a5c7
movsd (%rdx), %xmm0
movsd (%r15), %xmm1
callq 0x6140
movq 0x8(%rsp), %rdi
movsd %xmm0, (%r12)
movl $0x3, 0x8(%r12)
movq 0x10(%rsp), %r9
jmp 0x1974c
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
btl $0x16, %r15d
cmovbq %rsi, %r14
shrl $0xa, %r15d
andl %eax, %r15d
addq %r14, %r15
movq %r12, %rsi
jmp 0x1a2b5
movl %r15d, %edx
shrl $0x13, %edx
movl $0xff0, %eax            # imm = 0xFF0
movl %edx, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rsi
addq %rsi, %rcx
andl $-0x10, %edx
addq %r14, %rdx
testl %r15d, %r15d
cmovsq %rcx, %rdx
movq 0x20(%rsp), %rcx
movq 0x20(%rcx,%r13,8), %rcx
btl $0x16, %r15d
cmovbq %rsi, %r14
movq 0x10(%rcx), %rsi
shrl $0xa, %r15d
andl %eax, %r15d
addq %r14, %r15
movq %r15, %rcx
callq 0x18d16
jmp 0x1a81d
cmpl $0x800000, %r15d        # imm = 0x800000
jb 0x1a2da
shrl $0x13, %r15d
andl $-0x10, %r15d
addq %r12, %r15
movq %r15, 0x10(%rdi)
movq %r12, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb709
testl %eax, %eax
je 0x1a958
movq 0x10(%rsp), %r9
movq 0x30(%r9), %r14
movq 0x8(%rsp), %rdi
jmp 0x1974c
movsd 0x10(%r12), %xmm1
movsd 0x20(%r12), %xmm2
movsd (%r12), %xmm0
addsd %xmm2, %xmm0
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm2
jbe 0x1a7cb
ucomisd %xmm0, %xmm1
jb 0x1974c
jmp 0x1a7d5
movl %r15d, %ebx
shrl $0x17, %ebx
shrl $0xe, %r15d
andl $0x1ff, %r15d           # imm = 0x1FF
movl %r15d, %eax
shll $0x4, %eax
addq %r14, %rax
addq $0x10, %rax
movq %rax, 0x10(%rdi)
subl %ebx, %r15d
incl %r15d
movl %r15d, %esi
callq 0x191b3
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x30(%r9), %rcx
movl %r13d, %eax
shll $0x4, %eax
movl %ebx, %edx
shll $0x4, %edx
movq (%rcx,%rdx), %rsi
movq %rsi, (%rcx,%rax)
movl 0x8(%rcx,%rdx), %esi
movl %esi, 0x8(%rcx,%rax)
movq 0x18(%rdi), %rsi
cmpq $0x0, 0x18(%rsi)
jle 0x1a84a
addq %rcx, %rax
addq %rcx, %rdx
addq $0x10, %rax
cmpl %ebx, %r13d
cmovbq %rdx, %rax
movq %rax, 0x10(%rdi)
callq 0xd766
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x8(%r9), %rax
movq %rax, 0x10(%rdi)
jmp 0x1a84e
shrl $0x13, %r15d
andl $-0x10, %r15d
leaq (%r14,%r15), %rcx
cmpl $0x3, 0x8(%r14,%r15)
jne 0x1a80c
movsd (%rcx), %xmm0
xorpd 0x6bac(%rip), %xmm0     # 0x20fa0
movlpd %xmm0, (%r12)
movl $0x3, 0x8(%r12)
jmp 0x1974c
testl %r13d, %r13d
je 0x1a42c
movq 0x30(%r9), %rax
shll $0x4, %r13d
leaq (%rax,%r13), %rsi
addq $-0x10, %rsi
callq 0xc7a3
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x38(%r9), %rax
shrl $0xe, %r15d
leaq (%rax,%r15,4), %rax
addq $-0x7fffc, %rax         # imm = 0xFFF80004
jmp 0x1a8e0
movl %r15d, %ecx
shrl $0x13, %ecx
andl $-0x10, %ecx
leaq (%r14,%rcx), %rax
movl 0x8(%r14,%rcx), %ecx
testl $0x7fc000, %r15d        # imm = 0x7FC000
je 0x1a85b
testl %ecx, %ecx
je 0x1a869
cmpl $0x1, %ecx
jne 0x1a893
movl $0x1, %ecx
cmpl $0x0, (%rax)
jne 0x1a893
jmp 0x1a869
cmpl $0x800000, %r15d        # imm = 0x800000
jb 0x1a49f
movl %r15d, %eax
shrl $0x13, %eax
andl $-0x10, %eax
addq %r12, %rax
movq %rax, 0x10(%rdi)
shrl $0xe, %r15d
andl $0x1ff, %r15d           # imm = 0x1FF
leal -0x1(%r15), %edx
movq %r12, %rsi
callq 0xb709
testl %eax, %eax
je 0x1a9fd
testl %r15d, %r15d
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r9
jne 0x1a69a
jmp 0x1a827
movl %r15d, %esi
shrl $0x13, %esi
movl $0xff0, %eax            # imm = 0xFF0
movl %esi, %ecx
andl %eax, %ecx
movq 0x18(%rsp), %rdx
addq %rdx, %rcx
andl $-0x10, %esi
addq %r14, %rsi
testl %r15d, %r15d
cmovsq %rcx, %rsi
btl $0x16, %r15d
cmovbq %rdx, %r14
shrl $0xa, %r15d
andl %eax, %r15d
addq %r14, %r15
movq %r15, %rdx
callq 0x18fa5
movq 0x10(%rsp), %r9
movq 0x38(%r9), %rcx
cmpl %r13d, %eax
jne 0x1a563
movl (%rcx), %ebx
movl %ebx, %eax
shrl $0x6, %eax
movzbl %al, %eax
testl %eax, %eax
je 0x1a553
movq 0x30(%r9), %rcx
shll $0x4, %eax
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
movq 0x8(%rsp), %rdi
callq 0xc7a3
movq 0x10(%rsp), %r9
movq 0x38(%r9), %rcx
shrl $0xe, %ebx
leaq (%rcx,%rbx,4), %rcx
addq $-0x7fff8, %rcx         # imm = 0xFFF80008
jmp 0x1a567
addq $0x4, %rcx
movq 0x8(%rsp), %rdi
movq %rcx, 0x38(%r9)
jmp 0x1a827
movq %r12, %rsi
movq %r15, %rcx
movl $0x9, %r8d
jmp 0x1a818
movq %r12, %rsi
movq %r15, %rcx
movl $0x7, %r8d
jmp 0x1a818
movq %r12, %rsi
movq %r15, %rcx
movl $0x8, %r8d
jmp 0x1a818
movq %r12, %rsi
movq %r15, %rcx
movl $0xa, %r8d
jmp 0x1a5d3
movq %r12, %rsi
movq %r15, %rcx
movl $0x6, %r8d
jmp 0x1a818
movq %r12, %rsi
movq %r15, %rcx
movl $0xb, %r8d
callq 0x1951d
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r9
jmp 0x1a827
movl %r13d, %esi
callq 0xc67a
movq %rax, %rbp
movq %rbx, 0x28(%rsp)
movq %rbx, 0x18(%rax)
movq %rax, (%r12)
movl $0x46, 0x8(%r12)
testl %r13d, %r13d
jle 0x1a64b
shlq $0x3, %r13
xorl %ebx, %ebx
cmpb $0x0, 0x8(%r15,%rbx,2)
movzbl 0x9(%r15,%rbx,2), %esi
je 0x1a633
shll $0x4, %esi
addq %r14, %rsi
movq 0x8(%rsp), %rdi
callq 0xc702
jmp 0x1a63d
movq 0x20(%rsp), %rax
movq 0x20(%rax,%rsi,8), %rax
movq %rax, 0x20(%rbp,%rbx)
addq $0x8, %rbx
cmpq %rbx, %r13
jne 0x1a613
movq 0x28(%rsp), %rbx
testb $0x4, 0x9(%rbx)
je 0x1a666
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0xca94
movq %rbp, 0x40(%rbx)
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r9
movq 0x18(%rdi), %rax
cmpq $0x0, 0x18(%rax)
jle 0x1a827
addq $0x10, %r12
movq %r12, 0x10(%rdi)
callq 0xd766
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x8(%r9), %rax
movq %rax, 0x10(%rdi)
jmp 0x1a827
movl %r15d, %ebp
shrl $0x17, %ebp
shrl $0xe, %r15d
andl $0x1ff, %r15d           # imm = 0x1FF
jne 0x1a6cd
movq 0x38(%r9), %rax
leaq 0x4(%rax), %rcx
movq %rcx, 0x38(%r9)
movl (%rax), %r15d
shrl $0x6, %r15d
movq (%r12), %r12
imull $0x32, %r15d, %ebx
leal (%rbx,%rbp), %edx
addl $-0x32, %edx
cmpl 0x38(%r12), %edx
jle 0x1a6ef
movq %r12, %rsi
callq 0x17079
movq 0x8(%rsp), %rdi
testl %ebp, %ebp
jle 0x1a755
movl %ebp, %r15d
movq %r15, %rax
shlq $0x4, %rax
shll $0x4, %r13d
addq %rax, %r13
addq %r14, %r13
addl $-0x32, %ebx
leal (%rbx,%r15), %edx
movq %r12, %rsi
movq %r13, %rcx
callq 0x16fda
testb $0x40, 0x8(%r13)
je 0x1a73f
movq (%r13), %rax
testb $0x3, 0x9(%rax)
je 0x1a73f
testb $0x4, 0x9(%r12)
je 0x1a73f
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0xca79
leaq -0x1(%r15), %rax
addq $-0x10, %r13
cmpq $0x1, %r15
movq %rax, %r15
movq 0x8(%rsp), %rdi
jg 0x1a70a
movq 0x10(%rsp), %r9
movq 0x8(%r9), %rax
movq %rax, 0x10(%rdi)
jmp 0x1974c
shrl $0x17, %r15d
decl %r15d
movl %r15d, %ebp
testl %ebp, %ebp
jle 0x1974c
movq %rbx, %rcx
shlq $0x4, %rcx
movq %r14, %rax
subq %rcx, %rax
movl %ebp, %ecx
movl $0x8, %edx
xorl %esi, %esi
cmpq %rbx, %rsi
jge 0x1a7a8
movq -0x8(%rax,%rdx), %r8
movq %r8, -0x8(%r12,%rdx)
movl (%rax,%rdx), %r8d
movl %r8d, (%r12,%rdx)
jmp 0x1a7b0
movl $0x0, (%r12,%rdx)
incq %rsi
addq $0x10, %rdx
cmpq %rsi, %rcx
jne 0x1a78f
jmp 0x1974c
addq $0x4, %rax
movq %rax, 0x38(%r9)
jmp 0x1a827
ucomisd %xmm1, %xmm0
jb 0x1974c
movq 0x38(%r9), %rax
shrl $0xe, %r15d
leaq (%rax,%r15,4), %rax
addq $-0x7fffc, %rax         # imm = 0xFFF80004
movq %rax, 0x38(%r9)
movsd %xmm0, (%r12)
movl $0x3, %eax
movl %eax, 0x8(%r12)
movsd %xmm0, 0x30(%r12)
movl %eax, 0x38(%r12)
jmp 0x1974c
movq %r12, %rsi
movq %rcx, %rdx
movl $0xc, %r8d
callq 0x1951d
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x30(%r9), %r14
jmp 0x1974c
testl %eax, %eax
je 0x1a89f
cmpl $0x1, %eax
jne 0x19eab
cmpl $0x0, (%r12)
jne 0x19eab
jmp 0x1a89f
movq 0x8(%r9), %rax
movq 0x30(%r9), %r14
movq %rax, 0x10(%rdi)
jmp 0x1974c
testl %ecx, %ecx
je 0x1a893
cmpl $0x1, %ecx
jne 0x1a869
cmpl $0x0, (%rax)
je 0x1a88e
movq 0x38(%r9), %rax
addq $0x4, %rax
jmp 0x1a8e0
movl $0x1, %eax
jmp 0x1a87c
xorl %eax, %eax
movl %eax, (%r12)
movl $0x1, 0x8(%r12)
jmp 0x1974c
movl $0x1, %ecx
movq (%rax), %rax
movq %rax, (%r12)
movl %ecx, 0x8(%r12)
movq 0x38(%r9), %rax
movl (%rax), %ebx
movl %ebx, %ecx
shrl $0x6, %ecx
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x1a8d3
movq 0x30(%r9), %rax
shll $0x4, %ecx
leaq (%rax,%rcx), %rsi
addq $-0x10, %rsi
callq 0xc7a3
movq 0x10(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x38(%r9), %rax
shrl $0xe, %ebx
leaq (%rax,%rbx,4), %rax
addq $-0x7fff8, %rax         # imm = 0xFFF80008
movq %rax, 0x38(%r9)
jmp 0x1974c
cmpl $0x800000, %r15d        # imm = 0x800000
jb 0x1a906
shrl $0x13, %r15d
andl $-0x10, %r15d
leaq (%r12,%r15), %rax
addq $-0x10, %rax
movq %rax, 0x10(%rdi)
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
cmpl $0x0, 0x60(%rax)
jle 0x1a922
movq %r14, %rsi
callq 0xc7a3
movq 0x8(%rsp), %rdi
movq %r12, %rsi
movq %rdi, %rbx
callq 0xba4a
movq 0x10(%rsp), %rcx
testb $0x4, 0x22(%rcx)
je 0x1aa10
movq 0x20(%rbx), %r9
testl %eax, %eax
movq %rbx, %rdi
je 0x1972b
movq 0x8(%r9), %rax
movq %rax, 0x10(%rdi)
jmp 0x1972b
movq 0x8(%rsp), %rdi
movq 0x20(%rdi), %rbx
movq (%rbx), %r14
movq 0x10(%rbx), %r9
movq (%r9), %r15
movq (%r14), %rax
movq 0x18(%rax), %rax
movzbl 0x78(%rax), %r12d
shll $0x4, %r12d
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
addq 0x30(%rbx), %r12
cmpl $0x0, 0x60(%rax)
jle 0x1a9a2
movq 0x30(%r9), %rsi
movq %r9, %r13
callq 0xc7a3
movq %r13, %r9
movq 0x8(%rsp), %rdi
cmpq %r12, %r14
jae 0x1a9c7
leaq 0x8(%r15), %rax
movq %r14, %rcx
movq (%rcx), %rdx
movq %rdx, -0x8(%rax)
movl 0x8(%rcx), %edx
movl %edx, (%rax)
addq $0x10, %rcx
addq $0x10, %rax
cmpq %r12, %rcx
jb 0x1a9ae
movq 0x30(%rbx), %rax
subq %r14, %rax
addq %r15, %rax
movq %rax, 0x30(%r9)
movq 0x10(%rdi), %rax
subq %r14, %rax
addq %r15, %rax
movq %rax, 0x10(%rdi)
movq %rax, 0x8(%r9)
movq 0x38(%rbx), %rax
movq %rax, 0x38(%r9)
orb $0x40, 0x22(%r9)
movq %r9, 0x20(%rdi)
jmp 0x1972b
movq 0x8(%rsp), %rdi
movq 0x20(%rdi), %r9
orb $0x4, 0x22(%r9)
jmp 0x1972b
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb %bpl, %bpl
je 0x1aa2f
movl $0x1, 0x50(%rdi)
movq 0x38(%r14), %rax
addq $-0x4, %rax
movq %rax, 0x38(%r14)
orb $-0x80, (%r12)
movq 0x10(%rdi), %rax
addq $-0x10, %rax
movq %rax, (%r14)
movl $0x1, %esi
callq 0xb2c0
leaq 0x74bf(%rip), %rsi      # 0x21f17
jmp 0x1aa6a
leaq 0x74db(%rip), %rsi      # 0x21f3c
jmp 0x1aa6a
leaq 0x74ef(%rip), %rsi      # 0x21f59
xorl %eax, %eax
callq 0xb027
nopl (%rax)