LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: Copy
static int Copy(lua_State *L)
    {
    int t = lua_type(L, 4);
    if(t == LUA_TLIGHTUSERDATA) return CopyPtr(L);
    if(t == LUA_TUSERDATA) return CopyHostmem(L);
    return luaL_argerror(L, 4, errstring(ERR_TYPE));    
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl $0x4, %esi
callq 0x8c40
cmpl $0x7, %eax
je 0xcf3e
cmpl $0x2, %eax
jne 0xcff8
leaq 0xa506(%rip), %rcx      # 0x173d9
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
callq 0x86e0
movq %rax, %r15
movq %rbx, %rdi
movl $0x3, %esi
callq 0x86e0
movq %rax, %r12
movq %rbx, %rdi
movl $0x4, %esi
callq 0x8bb0
testq %r12, %r12
je 0xd041
movq 0x8(%r14), %rcx
subq %r15, %rcx
setbe %dl
cmpq %rcx, %r12
seta %cl
orb %dl, %cl
cmpb $0x1, %cl
je 0xcfd8
addq (%r14), %r15
jmp 0xd033
leaq 0xa494(%rip), %r13      # 0x173d9
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
movq %r13, %rcx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
callq 0x86e0
movq %rax, %r15
movq %rbx, %rdi
movl $0x3, %esi
callq 0x86e0
movq %rax, %r12
movq %rbx, %rdi
movl $0x4, %esi
xorl %edx, %edx
movq %r13, %rcx
callq 0x80e0
movq %rax, %r13
movq %rbx, %rdi
movl $0x5, %esi
callq 0x86e0
cmpq %r13, %r14
je 0xd00f
testq %r12, %r12
je 0xd041
movq 0x8(%r14), %rcx
subq %r15, %rcx
setbe %dl
cmpq %rcx, %r12
seta %cl
orb %dl, %cl
cmpb $0x1, %cl
je 0xcfd8
movq 0x8(%r13), %rcx
subq %rax, %rcx
setbe %dl
cmpq %rcx, %r12
seta %cl
orb %dl, %cl
cmpb $0x1, %cl
jne 0xd02c
movl $0xfffffff6, %edi       # imm = 0xFFFFFFF6
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8a80
movl $0xfffffffe, %edi       # imm = 0xFFFFFFFE
callq 0x8510
movq %rbx, %rdi
movl $0x4, %esi
movq %rax, %rdx
jmp 0xd01e
leaq 0xa3f9(%rip), %rdx      # 0x1740f
movq %rbx, %rdi
movl $0x4, %esi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x81b0
addq (%r14), %r15
addq (%r13), %rax
movq %r15, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x8760
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: Clear
static int Clear(lua_State *L)
/* clear(offset, size, c) 
 */
    {
    size_t len;
    const char *s;
    char c;
    hostmem_t* hostmem = checkhostmem(L, 1, NULL);
    size_t offset = luaL_checkinteger(L, 2);
    size_t size = luaL_checkinteger(L, 3);

    if(lua_type(L, 4) == LUA_TSTRING)
        {
        s = luaL_checklstring(L, 4, &len);
        if(len != 1)
            return luaL_argerror(L, 4, "invalid length"); /* must be 1 */
        c = s[0];
        }
    else
        c = luaL_optinteger(L, 4, 0);
    
    if((offset >= hostmem->size) || (size > hostmem->size - offset))
        return luaL_error(L, errstring(ERR_BOUNDARIES));
    if(size == 0)
        return 0;
    memset(hostmem->ptr + offset, c, size);
    return 0;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0xa375(%rip), %rcx      # 0x173d9
movl $0x1, %esi
xorl %edx, %edx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
callq 0x86e0
movq %rax, %r15
movq %rbx, %rdi
movl $0x3, %esi
callq 0x86e0
movq %rax, %r12
movq %rbx, %rdi
movl $0x4, %esi
callq 0x8c40
cmpl $0x4, %eax
jne 0xd0c5
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movl $0x4, %esi
movq %r13, %rdx
callq 0x85c0
cmpq $0x1, (%r13)
jne 0xd11e
movb (%rax), %al
jmp 0xd0d4
movq %rbx, %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x8840
movq 0x8(%r14), %rcx
subq %r15, %rcx
setbe %dl
cmpq %rcx, %r12
seta %cl
orb %dl, %cl
cmpb $0x1, %cl
jne 0xd104
movl $0xfffffff6, %edi       # imm = 0xFFFFFFF6
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x8a80
jmp 0xd132
xorl %ebx, %ebx
testq %r12, %r12
je 0xd134
addq (%r14), %r15
movzbl %al, %esi
movq %r15, %rdi
movq %r12, %rdx
callq 0x84f0
jmp 0xd134
leaq 0xa316(%rip), %rdx      # 0x1743b
movq %rbx, %rdi
movl $0x4, %esi
callq 0x81b0
movl %eax, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: Read
static int Read(lua_State *L)
    {
    int type;
    hostmem_t* hostmem = checkhostmem(L, 1, NULL);
    size_t offset = luaL_optinteger(L, 2, 0);
    size_t size = luaL_optinteger(L, 3, hostmem->size - offset);
    if((offset >= hostmem->size) || (size > hostmem->size - offset))
        return luaL_error(L, errstring(ERR_BOUNDARIES));
    if(lua_type(L, 4) == LUA_TSTRING) /* unpack according to 'type' */
        {
        type = checktype(L, 4);
        if(size == 0)
            { lua_newtable(L); return 1; }
        return pushdata(L, type, hostmem->ptr + offset, size);
        }
    if(size == 0)
        lua_pushstring(L, ""); 
    else
        lua_pushlstring(L, hostmem->ptr + offset, size);
    return 1;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xa283(%rip), %rcx      # 0x173d9
movl $0x1, %esi
xorl %edx, %edx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x8840
movq %rax, %r15
movq 0x8(%r14), %rdx
subq %rax, %rdx
movq %rbx, %rdi
movl $0x3, %esi
callq 0x8840
movq %rax, %r12
movq 0x8(%r14), %rax
subq %r15, %rax
setbe %cl
cmpq %rax, %r12
seta %al
orb %cl, %al
cmpb $0x1, %al
jne 0xd1c6
movl $0xfffffff6, %edi       # imm = 0xFFFFFFF6
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8a80
movq %rbx, %rdi
movl $0x4, %esi
callq 0x8c40
cmpl $0x4, %eax
jne 0xd20d
movq %rbx, %rdi
movl $0x1, %esi
movl $0x4, %edx
callq 0x8050
testq %r12, %r12
je 0xd225
addq (%r14), %r15
movq %rbx, %rdi
movl %eax, %esi
movq %r15, %rdx
movq %r12, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x86c0
testq %r12, %r12
je 0xd233
addq (%r14), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x8960
jmp 0xd242
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x82f0
jmp 0xd242
leaq 0xa500(%rip), %rsi      # 0x1773a
movq %rbx, %rdi
callq 0x8d00
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: Ptr
static int Ptr(lua_State *L)
    {
    hostmem_t* hostmem = checkhostmem(L, 1, NULL);
    size_t offset = luaL_optinteger(L, 2, 0);
    size_t size = luaL_optinteger(L, 3, 0);
    if((offset >= hostmem->size) || (size > hostmem->size - offset))
        return luaL_error(L, errstring(ERR_BOUNDARIES));
    lua_pushlightuserdata(L, hostmem->ptr + offset);
    return 1;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xa177(%rip), %rcx      # 0x173d9
movl $0x1, %esi
xorl %edx, %edx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x8840
movq %rax, %r15
movq %rbx, %rdi
movl $0x3, %esi
xorl %edx, %edx
callq 0x8840
movq 0x8(%r14), %rcx
subq %r15, %rcx
jbe 0xd2b9
cmpq %rcx, %rax
ja 0xd2b9
addq (%r14), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x88e0
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
movl $0xfffffff6, %edi       # imm = 0xFFFFFFF6
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x8a80
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: Size
static int Size(lua_State *L)
    {
    size_t offset;
    char *ptr;
    hostmem_t* hostmem = checkhostmem(L, 1, NULL);
    if(lua_isnoneornil(L, 2))
        lua_pushinteger(L, hostmem->size);
    else if(lua_isinteger(L, 2))
        {
        offset = luaL_checkinteger(L, 2);
        if(offset >= hostmem->size)
            lua_pushinteger(L, 0);
        else
            lua_pushinteger(L, hostmem->size - offset);
        }
    else
        {
        ptr = (char*)checklightuserdata(L, 2);
        if((ptr < hostmem->ptr) || (ptr > (hostmem->ptr + hostmem->size)))
            lua_pushinteger(L, 0);
        else
            lua_pushinteger(L, hostmem->ptr + hostmem->size - ptr);
        }
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xa0f6(%rip), %rcx      # 0x173d9
movl $0x1, %esi
xorl %edx, %edx
callq 0x80e0
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8c40
testl %eax, %eax
jle 0xd330
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8df0
movq %rbx, %rdi
movl $0x2, %esi
testl %eax, %eax
je 0xd336
callq 0x86e0
movq 0x8(%r14), %rcx
xorl %esi, %esi
subq %rax, %rcx
cmovaeq %rcx, %rsi
jmp 0xd353
movq 0x8(%r14), %rsi
jmp 0xd353
callq 0x8bb0
movq (%r14), %rsi
cmpq %rsi, %rax
jb 0xd34c
addq 0x8(%r14), %rsi
cmpq %rsi, %rax
jbe 0xd350
xorl %esi, %esi
jmp 0xd353
subq %rax, %rsi
movq %rbx, %rdi
callq 0x8500
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: CreateHostmem
static int CreateHostmem(lua_State *L)
    {
    size_t size;
    const char *ptr;
    hostmem_t* hostmem;

    if(lua_type(L, 1) == LUA_TSTRING)
        {
        ptr = lua_tolstring(L, 1, &size);
        }
    else
        {
        size = luaL_checkinteger(L, 1);
        ptr = (char*)checklightuserdata(L, 2);
        }

    if(size == 0)
        return luaL_argerror(L, 1, errstring(ERR_LENGTH));

    hostmem = (hostmem_t*)MallocNoErr(L, sizeof(hostmem_t));
    if(!hostmem)
        {
        Free(L, hostmem);
        return luaL_error(L, errstring(ERR_MEMORY));
        }

    hostmem->ptr = (char*)ptr;
    hostmem->size = size;
    newhostmem(L, hostmem);
    return 1;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x1, %esi
callq 0x8c40
cmpl $0x4, %eax
jne 0xd3ce
leaq 0x8(%rsp), %r15
movq %rbx, %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0x8290
movq %rax, %r14
movq (%r15), %r15
jmp 0xd3f3
movq %rbx, %rdi
movl $0x1, %esi
callq 0x86e0
movq %rax, %r15
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8bb0
movq %rax, %r14
testq %r15, %r15
je 0xd441
movl $0x10, %esi
movq %rbx, %rdi
callq 0x89f0
testq %rax, %rax
je 0xd45d
movq %r14, (%rax)
movq 0x8(%rsp), %rcx
movq %rcx, 0x8(%rax)
leaq 0x9fbc(%rip), %rdx      # 0x173d9
leaq 0x9fc0(%rip), %rcx      # 0x173e4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x83d0
leaq 0x2a6(%rip), %rcx       # 0xd6dc
movq %rcx, 0x8(%rax)
movl $0x1, %eax
jmp 0xd47e
movl $0xfffffff8, %edi       # imm = 0xFFFFFFF8
callq 0x8510
movq %rbx, %rdi
movl $0x1, %esi
movq %rax, %rdx
callq 0x81b0
jmp 0xd47e
movq %rbx, %rdi
xorl %esi, %esi
callq 0x85f0
movl $0xfffffffa, %edi       # imm = 0xFFFFFFFA
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x8a80
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: CreateAllocated
static int CreateAllocated(lua_State *L, char *ptr, size_t size)
    {
    ud_t *ud;
    hostmem_t* hostmem;
    hostmem = (hostmem_t*)MallocNoErr(L, sizeof(hostmem_t));
    if(!hostmem)
        {
        free(ptr);
        return luaL_error(L, errstring(ERR_MEMORY));
        }
    hostmem->ptr = ptr;
    hostmem->size = size;
    ud = newhostmem(L, hostmem);
    MarkAllocated(ud);
    return 1;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl $0x10, %esi
callq 0x89f0
testq %rax, %rax
je 0xd6b8
movq %r14, (%rax)
movq %r15, 0x8(%rax)
leaq 0x9d48(%rip), %rdx      # 0x173d9
leaq 0x9d4c(%rip), %rcx      # 0x173e4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x83d0
leaq 0x32(%rip), %rcx        # 0xd6dc
movq %rcx, 0x8(%rax)
orb $0x2, 0x18(%rax)
popq %rbx
popq %r14
popq %r15
retq
movq %r14, %rdi
callq 0x8090
movl $0xfffffffa, %edi       # imm = 0xFFFFFFFA
callq 0x8510
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x8a80
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/hostmem.c
// Function: freehostmem
static int freehostmem(lua_State *L, ud_t *ud)
    {
    hostmem_t* hostmem = (hostmem_t*)ud->handle;
    int allocated = IsAllocated(ud);
    if(!freeuserdata(L, ud, "hostmem")) return 0;
    if(allocated)
        AlignedFree(hostmem->ptr);
    Free(L, hostmem);
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movq (%rsi), %rbx
movl 0x18(%rsi), %ebp
leaq 0x9cf4(%rip), %rdx      # 0x173e4
callq 0x8ab0
testl %eax, %eax
je 0xd712
testb $0x2, %bpl
je 0xd707
movq (%rbx), %rdi
callq 0x8090
movq %r14, %rdi
movq %rbx, %rsi
callq 0x85f0
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_testmat
int testmat(lua_State *L, int arg, mat_t m, size_t *nr, size_t *nc)
    {
    int row;
    size_t i, j, nr_, nc_;
    if(!testmetatable(L, arg, MAT_MT))
        return 0;

    lua_getfield(L, arg, "rows");   
    nr_ = luaL_checkinteger(L, -1);
    lua_pop(L, 1);
    lua_getfield(L, arg, "columns");    
    nc_ = luaL_checkinteger(L, -1);
    lua_pop(L, 1);
    checkmatsize(L, nr_, nc_);

    if(nr) *nr = nr_;
    if(nc) *nc = nc_;
    if(m)
        {
        for(i=0; i < nr_; i++)
            {
            if(lua_geti(L, arg, i+1) != LUA_TTABLE)
                return luaL_error(L, "malformed matrix");
            row = lua_gettop(L);
            for(j=0; j < nc_; j++)
                {
                lua_geti(L, row, j+1);
                m[i][j] = luaL_checknumber(L, -1);
                lua_pop(L, 1);
                }
            lua_pop(L, 1);
            }
        }
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x99c2(%rip), %rdx      # 0x17395
callq 0x8170
testl %eax, %eax
je 0xda6d
movq %r15, 0x10(%rsp)
leaq 0x9bd4(%rip), %rdx      # 0x175c0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x8da0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x86e0
movq %rax, %r15
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x80c0
leaq 0x9bab(%rip), %rdx      # 0x175c5
movq %rbx, %rdi
movl %ebp, %esi
callq 0x8da0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x86e0
movq %rax, %r12
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x80c0
movq %r15, 0x8(%rsp)
leaq -0x5(%r15), %rax
cmpq $-0x4, %rax
setb %al
leaq -0x5(%r12), %rcx
cmpq $-0x4, %rcx
setb %cl
orb %al, %cl
je 0xda74
leaq 0x9b65(%rip), %rsi      # 0x175cd
jmp 0xdb42
xorl %eax, %eax
jmp 0xdb2c
testq %r13, %r13
je 0xda82
movq 0x8(%rsp), %rax
movq %rax, (%r13)
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xda8f
movq %r12, (%rax)
movl $0x1, %eax
testq %r14, %r14
je 0xdb2c
negq %r12
xorl %r13d, %r13d
movl %ebp, 0x4(%rsp)
incq %r13
movq %rbx, %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x8d30
cmpl $0x5, %eax
jne 0xdb3b
movq %rbx, %rdi
callq 0x8060
movl %eax, %r15d
movl $0x1, %ebp
movq %rbx, %rdi
movl %r15d, %esi
movq %rbp, %rdx
callq 0x8d30
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x8320
movsd %xmm0, -0x8(%r14,%rbp,8)
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x80c0
leaq (%r12,%rbp), %rax
incq %rax
incq %rbp
cmpq $0x1, %rax
jne 0xdacc
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x80c0
addq $0x20, %r14
cmpq 0x8(%rsp), %r13
movl 0x4(%rsp), %ebp
jne 0xdaa7
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9a9f(%rip), %rsi      # 0x175e1
movq %rbx, %rdi
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8a80
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_pushmat
int pushmat(lua_State *L, mat_t m, size_t mr, size_t mc, size_t nr, size_t nc)
/* mr, mc = no. of valid colums/rows in m
 */
    {
    size_t i, j;
    checkmatsize(L, nr, nc);
    lua_newtable(L);
    setmetatable(L, MAT_MT);
    for(i=0; i<nr; i++)
        {
        lua_newtable(L); /* row i+1 */
        for(j=0; j<nc; j++)
            {
            lua_pushnumber(L, (i < mr) && (j < mc) ? m[i][j] : 0);
            lua_seti(L, -2, j+1);
            }
        lua_seti(L, -2, i+1);
        }
    for(i=nr; i<4; i++)
        {
        lua_newtable(L); /* empty rows */
        lua_seti(L, -2, i+1);
        }
    lua_pushinteger(L, nr);
    lua_setfield(L, -2, "rows");
    lua_pushinteger(L, nc);
    lua_setfield(L, -2, "columns");
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r12
movq %rsi, 0x10(%rsp)
movq %rdi, %rbx
movq %r8, 0x8(%rsp)
leaq -0x5(%r8), %rax
cmpq $-0x4, %rax
setae %al
leaq -0x5(%r9), %rcx
cmpq $-0x4, %rcx
setae %cl
testb %cl, %al
jne 0xdbfc
leaq 0x99e9(%rip), %rsi      # 0x175cd
movq %rbx, %rdi
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8a80
movq %r9, %r14
movq %rdx, %r13
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x82f0
leaq 0x977d(%rip), %rsi      # 0x17395
movq %rbx, %rdi
callq 0x8950
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x82f0
xorl %ebp, %ebp
cmpq %r13, %r15
setae %al
cmpq %r12, %rbp
setae %cl
xorps %xmm0, %xmm0
orb %al, %cl
jne 0xdc4b
movq 0x10(%rsp), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x87d0
incq %rbp
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %rbp, %rdx
callq 0x8640
cmpq %rbp, %r14
jne 0xdc2e
incq %r15
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r15, %rdx
callq 0x8640
addq $0x20, 0x10(%rsp)
cmpq 0x8(%rsp), %r15
jne 0xdc20
cmpq $0x3, 0x8(%rsp)
ja 0xdcc1
movq 0x8(%rsp), %rax
leaq 0x1(%rax), %r15
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x82f0
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r15, %rdx
callq 0x8640
incq %r15
cmpq $0x5, %r15
jne 0xdc9c
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x8500
leaq 0x98eb(%rip), %rdx      # 0x175c0
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x84b0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8500
leaq 0x98d1(%rip), %rdx      # 0x175c5
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x84b0
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_unm
void mat_unm(mat_t dst, mat_t m, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = -m[i][j];
    }

// Assembly:
testq %rdx, %rdx
je 0xdf1b
xorl %eax, %eax
movaps 0x91e3(%rip), %xmm0     # 0x170d0
testq %rcx, %rcx
je 0xdf0b
xorl %r8d, %r8d
movsd (%rsi,%r8,8), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, (%rdi,%r8,8)
incq %r8
cmpq %r8, %rcx
jne 0xdef5
incq %rax
addq $0x20, %rdi
addq $0x20, %rsi
cmpq %rdx, %rax
jne 0xdeed
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_transpose
void mat_transpose(mat_t dst, mat_t m, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = m[j][i];
    }

// Assembly:
testq %rdx, %rdx
je 0xdf55
xorl %eax, %eax
testq %rcx, %rcx
je 0xdf45
movq %rsi, %r8
xorl %r9d, %r9d
movsd (%r8), %xmm0
movsd %xmm0, (%rdi,%r9,8)
incq %r9
addq $0x20, %r8
cmpq %r9, %rcx
jne 0xdf2e
incq %rax
addq $0x20, %rdi
addq $0x8, %rsi
cmpq %rdx, %rax
jne 0xdf23
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_add
void mat_add(mat_t dst, mat_t m1, mat_t m2, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = m1[i][j] + m2[i][j];
    }

// Assembly:
testq %rcx, %rcx
je 0xdf93
xorl %eax, %eax
testq %r8, %r8
je 0xdf7f
xorl %r9d, %r9d
movsd (%rsi,%r9,8), %xmm0
addsd (%rdx,%r9,8), %xmm0
movsd %xmm0, (%rdi,%r9,8)
incq %r9
cmpq %r9, %r8
jne 0xdf65
incq %rax
addq $0x20, %rdi
addq $0x20, %rdx
addq $0x20, %rsi
cmpq %rcx, %rax
jne 0xdf5d
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_div
void mat_div(mat_t dst, mat_t m, double s, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = m[i][j]/s;
    }

// Assembly:
testq %rdx, %rdx
je 0xe009
xorl %eax, %eax
testq %rcx, %rcx
je 0xdff9
xorl %r8d, %r8d
movsd (%rsi,%r8,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%r8,8)
incq %r8
cmpq %r8, %rcx
jne 0xdfe1
incq %rax
addq $0x20, %rdi
addq $0x20, %rsi
cmpq %rdx, %rax
jne 0xdfd9
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_mul
void mat_mul(mat_t dst, mat_t m1, mat_t m2, size_t nr1, size_t nc1, size_t nc2) /* nr1=nc1 */
/* dst = m1 * m2  
 * (nr1 x nc2) = (nr1 x nc1) *(nc1 x nc2)
 */
    {
    size_t i, j, k;
    double s;
    for(i=0; i < nr1; i++)
        for(j=0; j < nc2; j++)
            {
            s = 0;
            for(k=0; k < nc1; k++)
                s += m1[i][k] * m2[k][j];
            dst[i][j] = s;
            }
    }

// Assembly:
testq %rcx, %rcx
je 0xe0af
pushq %r15
pushq %r14
pushq %rbx
xorl %eax, %eax
testq %r9, %r9
je 0xe09e
movq %rax, %r10
shlq $0x5, %r10
addq %rdi, %r10
movq %rdx, %r11
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
testq %r8, %r8
je 0xe08c
movq %r11, %r14
xorl %r15d, %r15d
movsd (%rsi,%r15,8), %xmm1
mulsd (%r14), %xmm1
addsd %xmm1, %xmm0
incq %r15
addq $0x20, %r14
cmpq %r15, %r8
jne 0xe071
movsd %xmm0, (%r10,%rbx,8)
incq %rbx
addq $0x8, %r11
cmpq %r9, %rbx
jne 0xe062
incq %rax
addq $0x20, %rsi
cmpq %rcx, %rax
jne 0xe04e
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_mulby
void mat_mulby(mat_t m1, mat_t m2, size_t nr1, size_t nc1, size_t nc2) /* nr1=nc1 */
/* m1 = m1 * m2  (in place)
 * (nr1 x nc2) = (nr1 x nc1) *(nc1 x nc2)
 */
    {
    size_t i, j, k;
    double s;
    mat_t tmp;
    mat_copy(tmp, m1);
    for(i=0; i < nr1; i++)
        for(j=0; j < nc2; j++)
            {
            s = 0;
            for(k=0; k < nc1; k++)
                s += tmp[i][k] * m2[k][j];
            m1[i][j] = s;
            }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rax
movq %rsi, %r9
movq %rdi, %r10
leaq -0x80(%rsp), %r11
movl $0x10, %ecx
movq %r11, %rdi
movq %r10, %rsi
rep  movsq (%rsi), %es:(%rdi)
testq %rdx, %rdx
je 0xe133
xorl %ecx, %ecx
testq %r8, %r8
je 0xe127
movq %rcx, %rsi
shlq $0x5, %rsi
addq %r10, %rsi
movq %r9, %rdi
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
testq %rax, %rax
je 0xe116
movq %rdi, %r14
xorl %r15d, %r15d
movsd (%r11,%r15,8), %xmm1
mulsd (%r14), %xmm1
addsd %xmm1, %xmm0
incq %r15
addq $0x20, %r14
cmpq %r15, %rax
jne 0xe0fb
movsd %xmm0, (%rsi,%rbx,8)
incq %rbx
addq $0x8, %rdi
cmpq %r8, %rbx
jne 0xe0ec
incq %rcx
addq $0x20, %r11
cmpq %rdx, %rcx
jne 0xe0d8
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_mxv
void mat_mxv(vec_t dst, mat_t m, vec_t v, size_t nr, size_t nc)
/* m is an nr x nc matrix
 * v is an nc column vector
 * dst is an nr column vector  (nr x nc) * (nc x 1) = (nr x 1)
 */
    {
    size_t i, j;
    double s;
    for(i=0; i < nr; i++)
        {
        s = 0;
        for(j=0; j < nc; j++)
            s += (m[i][j] * v[j]);
        dst[i] = s;
        }
    }

// Assembly:
testq %rcx, %rcx
je 0xe175
xorl %eax, %eax
xorpd %xmm0, %xmm0
testq %r8, %r8
je 0xe164
xorl %r9d, %r9d
movsd (%rsi,%r9,8), %xmm1
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm1, %xmm0
incq %r9
cmpq %r9, %r8
jne 0xe14c
movsd %xmm0, (%rdi,%rax,8)
incq %rax
addq $0x20, %rsi
cmpq %rcx, %rax
jne 0xe140
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_vxm
void mat_vxm(vec_t dst, vec_t v, mat_t m, size_t nr, size_t nc)
/* v is an nr row vector
 * m is an nr x nc matrix
 * dst is an nc row vector  (1 x nr) x (nr x nc) = (1 x nc)
 */
    {
    size_t i, j;
    double s;
    for(i=0; i < nc; i++)
        {
        s = 0;
        for(j=0; j < nr; j++)
            s += (v[j] * m[j][i]);
        dst[i] = s;
        }
    }

// Assembly:
testq %r8, %r8
je 0xe1b8
xorl %eax, %eax
xorpd %xmm0, %xmm0
testq %rcx, %rcx
je 0xe1a7
movq %rdx, %r9
xorl %r10d, %r10d
movsd (%rsi,%r10,8), %xmm1
mulsd (%r9), %xmm1
addsd %xmm1, %xmm0
incq %r10
addq $0x20, %r9
cmpq %r10, %rcx
jne 0xe18c
movsd %xmm0, (%rdi,%rax,8)
incq %rax
addq $0x8, %rdx
cmpq %r8, %rax
jne 0xe17d
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_inv
int mat_inv(mat_t dst, mat_t m, size_t n)
    {
    size_t i, j;
    double d;
    if(n==2)
        d = det2(m);
    else if(n==3)
        d = det3(m);
    else //if(n==4)
        d = det4(m);
    if(d == 0.0)
        return 0;
    mat_adj(dst, m, n);
    for(i=0; i<n; i++)
        for(j=0; j<n; j++)
            dst[i][j] /= d;
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movsd (%rsi), %xmm8
movsd 0x28(%rsi), %xmm0
cmpq $0x3, %rdx
je 0xe9c0
cmpq $0x2, %rbx
jne 0xea23
movsd 0x8(%rsi), %xmm1
mulsd 0x20(%rsi), %xmm1
mulsd %xmm0, %xmm8
subsd %xmm1, %xmm8
jmp 0xeb7f
movsd 0x50(%rsi), %xmm1
movsd 0x48(%rsi), %xmm2
movsd 0x20(%rsi), %xmm3
movsd 0x30(%rsi), %xmm4
movapd %xmm4, %xmm5
mulsd %xmm2, %xmm5
movapd %xmm0, %xmm6
mulsd %xmm1, %xmm6
subsd %xmm5, %xmm6
movsd 0x40(%rsi), %xmm5
mulsd %xmm5, %xmm4
mulsd %xmm3, %xmm1
subsd %xmm4, %xmm1
mulsd 0x8(%rsi), %xmm1
mulsd %xmm6, %xmm8
subsd %xmm1, %xmm8
mulsd %xmm5, %xmm0
mulsd %xmm2, %xmm3
subsd %xmm0, %xmm3
mulsd 0x10(%rsi), %xmm3
addsd %xmm3, %xmm8
jmp 0xeb7f
movsd 0x50(%rsi), %xmm10
movsd 0x78(%rsi), %xmm4
movsd 0x70(%rsi), %xmm1
movsd 0x58(%rsi), %xmm12
movapd %xmm12, %xmm2
mulsd %xmm1, %xmm2
movapd %xmm10, %xmm11
mulsd %xmm4, %xmm11
subsd %xmm2, %xmm11
movsd 0x30(%rsi), %xmm5
movsd 0x48(%rsi), %xmm7
movsd 0x68(%rsi), %xmm2
movapd %xmm12, %xmm3
mulsd %xmm2, %xmm3
movapd %xmm2, %xmm14
movsd %xmm2, (%rsp)
movapd %xmm7, %xmm6
mulsd %xmm4, %xmm6
subsd %xmm3, %xmm6
movapd %xmm6, %xmm3
mulsd %xmm5, %xmm3
movapd %xmm5, %xmm2
movapd %xmm0, %xmm9
mulsd %xmm11, %xmm9
subsd %xmm3, %xmm9
movsd 0x38(%rsi), %xmm3
movapd %xmm10, %xmm13
mulsd %xmm14, %xmm13
movapd %xmm7, %xmm5
mulsd %xmm1, %xmm5
subsd %xmm13, %xmm5
movapd %xmm3, %xmm14
mulsd %xmm5, %xmm14
addsd %xmm9, %xmm14
movsd 0x40(%rsi), %xmm9
movsd 0x60(%rsi), %xmm13
mulsd %xmm13, %xmm12
mulsd %xmm9, %xmm4
subsd %xmm12, %xmm4
movapd %xmm4, %xmm15
mulsd %xmm2, %xmm15
movsd 0x20(%rsi), %xmm12
mulsd %xmm12, %xmm11
subsd %xmm15, %xmm11
mulsd %xmm13, %xmm10
mulsd %xmm9, %xmm1
subsd %xmm10, %xmm1
movapd %xmm3, %xmm10
mulsd %xmm1, %xmm10
addsd %xmm11, %xmm10
mulsd %xmm14, %xmm8
mulsd 0x8(%rsi), %xmm10
subsd %xmm10, %xmm8
mulsd %xmm0, %xmm4
mulsd %xmm12, %xmm6
subsd %xmm4, %xmm6
mulsd %xmm13, %xmm7
mulsd (%rsp), %xmm9
subsd %xmm7, %xmm9
mulsd %xmm9, %xmm3
addsd %xmm6, %xmm3
mulsd 0x10(%rsi), %xmm3
addsd %xmm8, %xmm3
mulsd %xmm0, %xmm1
mulsd %xmm12, %xmm5
subsd %xmm1, %xmm5
mulsd %xmm2, %xmm9
addsd %xmm5, %xmm9
mulsd 0x18(%rsi), %xmm9
subsd %xmm9, %xmm3
movapd %xmm3, %xmm8
xorl %eax, %eax
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm8
jne 0xeb8e
jnp 0xebd6
movsd %xmm8, (%rsp)
movq %r14, %rdi
movq %rbx, %rdx
callq 0x8470
movl $0x1, %eax
testq %rbx, %rbx
je 0xebd6
xorl %ecx, %ecx
movsd (%rsp), %xmm1
xorl %edx, %edx
movsd (%r14,%rdx,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%r14,%rdx,8)
incq %rdx
cmpq %rdx, %rbx
jne 0xebb2
incq %rcx
addq $0x20, %r14
cmpq %rbx, %rcx
jne 0xebb0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_clamp
int mat_clamp(mat_t dst, mat_t m, mat_t minm, mat_t maxm, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = clamp(m[i][j], minm[i][j], maxm[i][j]);
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
testq %r8, %r8
je 0xec5a
movq %r9, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
xorl %eax, %eax
movq %rax, 0x10(%rsp)
testq %rbx, %rbx
je 0xec3b
xorl %r14d, %r14d
movsd (%r13,%r14,8), %xmm0
movsd (%r12,%r14,8), %xmm1
movsd (%r15,%r14,8), %xmm2
callq 0x8390
movsd %xmm0, (%rbp,%r14,8)
incq %r14
cmpq %r14, %rbx
jne 0xec14
movq 0x10(%rsp), %rax
incq %rax
addq $0x20, %rbp
addq $0x20, %r15
addq $0x20, %r12
addq $0x20, %r13
cmpq 0x8(%rsp), %rax
jne 0xec07
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_mix
int mat_mix(mat_t dst, mat_t m1, mat_t m2, size_t nr, size_t nc, double k)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = mix(m1[i][j], m2[i][j], k);
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
testq %rcx, %rcx
je 0xecde
movq %r8, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %ebp, %ebp
movsd %xmm0, 0x10(%rsp)
testq %rbx, %rbx
je 0xecc8
xorl %r14d, %r14d
movsd (%r12,%r14,8), %xmm0
movsd (%r15,%r14,8), %xmm1
movsd 0x10(%rsp), %xmm2
callq 0x8780
movsd %xmm0, (%r13,%r14,8)
incq %r14
cmpq %r14, %rbx
jne 0xeca2
incq %rbp
addq $0x20, %r13
addq $0x20, %r15
addq $0x20, %r12
cmpq 0x8(%rsp), %rbp
jne 0xec9a
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_step
int mat_step(mat_t dst, mat_t m, mat_t edge, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = step(m[i][j], edge[i][j]);
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, (%rsp)
testq %rcx, %rcx
je 0xed51
movq %r8, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %ebp, %ebp
testq %rbx, %rbx
je 0xed3c
xorl %r14d, %r14d
movsd (%r12,%r14,8), %xmm0
movsd (%r15,%r14,8), %xmm1
callq 0x8860
movsd %xmm0, (%r13,%r14,8)
incq %r14
cmpq %r14, %rbx
jne 0xed1c
incq %rbp
addq $0x20, %r13
addq $0x20, %r15
addq $0x20, %r12
cmpq (%rsp), %rbp
jne 0xed14
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_smoothstep
int mat_smoothstep(mat_t dst, mat_t m, mat_t edge0, mat_t edge1, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = smoothstep(m[i][j], edge0[i][j], edge1[i][j]);
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
testq %r8, %r8
je 0xede1
movq %r9, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
xorl %eax, %eax
movq %rax, 0x10(%rsp)
testq %rbx, %rbx
je 0xedc2
xorl %r14d, %r14d
movsd (%r13,%r14,8), %xmm0
movsd (%r12,%r14,8), %xmm1
movsd (%r15,%r14,8), %xmm2
callq 0x8690
movsd %xmm0, (%rbp,%r14,8)
incq %r14
cmpq %r14, %rbx
jne 0xed9b
movq 0x10(%rsp), %rax
incq %rax
addq $0x20, %rbp
addq $0x20, %r15
addq $0x20, %r12
addq $0x20, %r13
cmpq 0x8(%rsp), %rax
jne 0xed8e
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_fade
int mat_fade(mat_t dst, mat_t m, mat_t edge0, mat_t edge1, size_t nr, size_t nc)
    {
    size_t i, j;
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            dst[i][j] = fade(m[i][j], edge0[i][j], edge1[i][j]);
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
testq %r8, %r8
je 0xee71
movq %r9, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
xorl %eax, %eax
movq %rax, 0x10(%rsp)
testq %rbx, %rbx
je 0xee52
xorl %r14d, %r14d
movsd (%r13,%r14,8), %xmm0
movsd (%r12,%r14,8), %xmm1
movsd (%r15,%r14,8), %xmm2
callq 0x8790
movsd %xmm0, (%rbp,%r14,8)
incq %r14
cmpq %r14, %rbx
jne 0xee2b
movq 0x10(%rsp), %rax
incq %rax
addq $0x20, %rbp
addq $0x20, %r15
addq $0x20, %r12
addq $0x20, %r13
cmpq 0x8(%rsp), %rax
jne 0xee1e
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Adj
int mat_Adj(lua_State *L)
    {
    size_t nr, nc;
    mat_t m, adj;
    checkmat(L, 1, m, &nr, &nc);
    if(nr != nc)
        return luaL_argerror(L, 1, "not a square matrix");
    mat_adj(adj, m, nr);
    return pushmat(L, adj, nr, nr, nr, nr);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
leaq 0x10(%rsp), %rdx
leaq 0x8(%rsp), %r14
movq %rsp, %r15
movl $0x1, %esi
movq %r14, %rcx
movq %r15, %r8
callq 0x8520
movq (%r14), %r14
cmpq (%r15), %r14
jne 0xf16b
leaq 0x90(%rsp), %r15
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x8470
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r14, %rcx
movq %r14, %r8
movq %r14, %r9
callq 0x84d0
jmp 0xf17f
leaq 0x8480(%rip), %rdx      # 0x175f2
movq %rbx, %rdi
movl $0x1, %esi
callq 0x81b0
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Inv
int mat_Inv(lua_State *L)
    {
    size_t nr, nc;
    mat_t m, inv;
    checkmat(L, 1, m, &nr, &nc);
    if(nr != nc)
        return luaL_argerror(L, 1, "not a square matrix");
    if(!mat_inv(inv, m, nr))
        return luaL_argerror(L, 1, "singular matrix");
    return pushmat(L, inv, nr, nr, nr, nr);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
leaq 0x90(%rsp), %rdx
leaq 0x8(%rsp), %r14
movq %rsp, %r15
movl $0x1, %esi
movq %r14, %rcx
movq %r15, %r8
callq 0x8520
movq (%r14), %r14
cmpq (%r15), %r14
jne 0xf1f7
leaq 0x10(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %r14, %rdx
callq 0x82b0
testl %eax, %eax
je 0xf200
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %r14, %rcx
movq %r14, %r8
movq %r14, %r9
callq 0x84d0
jmp 0xf214
leaq 0x83f4(%rip), %rdx      # 0x175f2
jmp 0xf207
leaq 0x83ff(%rip), %rdx      # 0x17606
movq %rbx, %rdi
movl $0x1, %esi
callq 0x81b0
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Trace
int mat_Trace(lua_State *L)
    {
    size_t nr, nc, i;
    mat_t m;
    double res = 0;
    checkmat(L, 1, m, &nr, &nc);
    if(nr != nc)
        return luaL_argerror(L, 1, "not a square matrix");
    for(i = 0; i < nr; i++)
        res += m[i][i];
    lua_pushnumber(L, res);
    return 1;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %rsp, %r12
movl $0x1, %esi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x8520
movq (%r15), %rax
cmpq (%r12), %rax
jne 0xf281
xorpd %xmm0, %xmm0
testq %rax, %rax
je 0xf272
addsd (%r14), %xmm0
addq $0x28, %r14
decq %rax
jne 0xf264
movq %rbx, %rdi
callq 0x87d0
movl $0x1, %eax
jmp 0xf295
leaq 0x836a(%rip), %rdx      # 0x175f2
movq %rbx, %rdi
movl $0x1, %esi
callq 0x81b0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Transpose
int mat_Transpose(lua_State *L)
    {
    size_t i, j, nr, nc;
    mat_t m, m1;
    checkmat(L, 1, m, &nr, &nc);
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            m1[j][i] = m[i][j];
    return pushmat(L, m1, nc, nr, nc, nr);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %rbx
leaq 0x90(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %rsp, %r12
movl $0x1, %esi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x8520
movq (%r15), %rcx
movq (%r12), %rdx
testq %rcx, %rcx
je 0xf31c
leaq 0x10(%rsp), %rax
xorl %esi, %esi
testq %rdx, %rdx
je 0xf30c
movq %rax, %rdi
xorl %r8d, %r8d
movsd (%r14,%r8,8), %xmm0
movsd %xmm0, (%rdi)
incq %r8
addq $0x20, %rdi
cmpq %r8, %rdx
jne 0xf2f6
incq %rsi
addq $0x20, %r14
addq $0x8, %rax
cmpq %rcx, %rsi
jne 0xf2eb
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %rdx, %r8
movq %rcx, %r9
callq 0x84d0
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Column
int mat_Column(lua_State *L)
    {
    mat_t m;
    vec_t v;
    size_t i, j, nr, nc;
    checkmat(L, 1, m, &nr, &nc);
    j = luaL_checkinteger(L, 2);
    if(j < 1 || j > nc)
        return luaL_argerror(L, 2, "invalid column index");
    j--;
    for(i = 0; i < nr; i++)
        v[i] = m[i][j];
    return pushvec(L, v, nr, nr, 0);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %rdx
movq %rsp, %rcx
leaq 0x8(%rsp), %r14
movl $0x1, %esi
movq %r14, %r8
callq 0x8520
movq %rbx, %rdi
movl $0x2, %esi
callq 0x86e0
leaq -0x1(%rax), %rcx
cmpq (%r14), %rcx
jae 0xf3b9
movq (%rsp), %rcx
testq %rcx, %rcx
je 0xf3a4
leaq (%rsp,%rax,8), %rax
addq $0x28, %rax
xorl %edx, %edx
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp,%rdx,8)
incq %rdx
addq $0x20, %rax
cmpq %rdx, %rcx
jne 0xf38e
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %rcx, %rdx
xorl %r8d, %r8d
callq 0x82e0
jmp 0xf3cd
leaq 0x8256(%rip), %rdx      # 0x17616
movq %rbx, %rdi
movl $0x2, %esi
callq 0x81b0
addq $0xb8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Row
int mat_Row(lua_State *L)
    {
    mat_t m;
    vec_t v;
    size_t i, j, nr, nc;
    checkmat(L, 1, m, &nr, &nc);
    i = luaL_checkinteger(L, 2);
    if(i < 1 || i > nr)
        return luaL_argerror(L, 2, "invalid row index");
    i--;
    for(j = 0; j < nc; j++)
        v[j] = m[i][j];
    return pushvec(L, v, nc, nc, 1);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %rdx
leaq 0x8(%rsp), %r14
movq %rsp, %r8
movl $0x1, %esi
movq %r14, %rcx
callq 0x8520
movq %rbx, %rdi
movl $0x2, %esi
callq 0x86e0
leaq -0x1(%rax), %rcx
cmpq (%r14), %rcx
jae 0xf457
movq (%rsp), %r14
testq %r14, %r14
je 0xf43c
shlq $0x5, %rax
leaq (%rsp,%rax), %rsi
addq $0x10, %rsi
leaq (,%r14,8), %rdx
leaq 0x10(%rsp), %rdi
callq 0x8760
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %r14, %rcx
movl $0x1, %r8d
callq 0x82e0
jmp 0xf46b
leaq 0x81cd(%rip), %rdx      # 0x1762b
movq %rbx, %rdi
movl $0x2, %esi
callq 0x81b0
addq $0xb8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Clamp
int mat_Clamp(lua_State *L)
    {
    mat_t dst;
    mat_t m, minm, maxm;
    size_t nr, nc, nr1, nc1;
    checkmat(L, 1, m, &nr, &nc);
    checkmat(L, 2, minm, &nr1, &nc1);
    if(nr1 != nr || nc1 != nc)
        return luaL_error(L, OPERANDS_ERROR);
    checkmat(L, 3, maxm, &nr1, &nc1);
    if(nr1 != nr || nc1 != nc)
        return luaL_error(L, OPERANDS_ERROR);
    mat_clamp(dst, m, minm, maxm, nr, nc);
    return pushmat(L, dst, nr, nc, nr, nc);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x220, %rsp            # imm = 0x220
movq %rdi, %rbx
leaq 0x120(%rsp), %rdx
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %r8
movl $0x1, %esi
movq %r14, %rcx
callq 0x8520
leaq 0xa0(%rsp), %rdx
leaq 0x18(%rsp), %r15
movq %rsp, %r8
movq %rbx, %rdi
movl $0x2, %esi
movq %r15, %rcx
callq 0x8520
movq (%r15), %rax
cmpq (%r14), %rax
jne 0xf54b
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
jne 0xf54b
leaq 0x20(%rsp), %rdx
leaq 0x18(%rsp), %r14
movq %rsp, %r8
movq %rbx, %rdi
movl $0x3, %esi
movq %r14, %rcx
callq 0x8520
movq (%r14), %r8
cmpq 0x10(%rsp), %r8
jne 0xf575
movq (%rsp), %r9
cmpq 0x8(%rsp), %r9
jne 0xf575
leaq 0x1a0(%rsp), %r14
leaq 0x120(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rdi
callq 0x8080
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %rdx, %r8
movq %rcx, %r9
callq 0x84d0
jmp 0xf568
leaq 0x80eb(%rip), %rsi      # 0x1763d
leaq 0x80fe(%rip), %rdx      # 0x17657
movq %rbx, %rdi
movl $0x334, %ecx            # imm = 0x334
xorl %eax, %eax
callq 0x8a80
addq $0x220, %rsp            # imm = 0x220
popq %rbx
popq %r14
popq %r15
retq
leaq 0x80c1(%rip), %rsi      # 0x1763d
leaq 0x80d4(%rip), %rdx      # 0x17657
movq %rbx, %rdi
movl $0x337, %ecx            # imm = 0x337
jmp 0xf561
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Mix
int mat_Mix(lua_State *L)
    {
    mat_t dst, m1, m2;
    double k;
    size_t nr, nc, nr1, nc1;
    checkmat(L, 1, m1, &nr, &nc);
    checkmat(L, 2, m2, &nr1, &nc1);
    if(nr1 != nr || nc1 != nc)
        return luaL_error(L, OPERANDS_ERROR);
    k = luaL_checknumber(L, 3);
    mat_mix(dst, m1, m2, nr, nc, k);
    return pushmat(L, dst, nr, nc, nr, nc);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, %rbx
leaq 0xa0(%rsp), %rdx
leaq 0x8(%rsp), %r14
movq %rsp, %r8
movl $0x1, %esi
movq %r14, %rcx
callq 0x8520
leaq 0x20(%rsp), %rdx
leaq 0x18(%rsp), %r15
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movl $0x2, %esi
movq %r15, %rcx
callq 0x8520
movq (%r15), %rax
cmpq (%r14), %rax
jne 0xf63a
movq 0x10(%rsp), %rax
cmpq (%rsp), %rax
jne 0xf63a
movq %rbx, %rdi
movl $0x3, %esi
callq 0x8320
movq 0x8(%rsp), %rcx
movq (%rsp), %r8
leaq 0x120(%rsp), %r14
leaq 0xa0(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r14, %rdi
callq 0x8410
movq 0x8(%rsp), %rdx
movq (%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %rdx, %r8
movq %rcx, %r9
callq 0x84d0
jmp 0xf657
leaq 0x7ffc(%rip), %rsi      # 0x1763d
leaq 0x800f(%rip), %rdx      # 0x17657
movq %rbx, %rdi
movl $0x344, %ecx            # imm = 0x344
xorl %eax, %eax
callq 0x8a80
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: moonglmath_mat_Step
int mat_Step(lua_State *L)
    {
    mat_t dst, m1, edge;
    size_t nr, nc, nr1, nc1, i, j;
    checkmat(L, 1, m1, &nr, &nc);
    if(lua_isnumber(L, 2))
        {
        double k = lua_tonumber(L, 2);
        for(i=0; i<nr; i++)
            for(j=0; j<nc; j++)
                edge[i][j] = k;
        }
    else
        {
        checkmat(L, 2, edge, &nr1, &nc1);
        if(nr1 != nr || nc1 != nc)
            return luaL_error(L, OPERANDS_ERROR);
        }
    mat_step(dst, m1, edge, nr, nc);
    return pushmat(L, dst, nr, nc, nr, nc);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, %rbx
leaq 0xa0(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rsp, %r8
movl $0x1, %esi
callq 0x8520
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8560
testl %eax, %eax
je 0xf7bb
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x8630
movq 0x8(%rsp), %rax
movq (%rsp), %r8
testq %rax, %rax
je 0xf77f
leaq 0x1(%r8), %rcx
andq $-0x2, %rcx
leaq -0x1(%r8), %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
leaq 0x28(%rsp), %rdx
xorl %esi, %esi
movdqa 0x7ea5(%rip), %xmm2     # 0x17590
movdqa 0x7ead(%rip), %xmm3     # 0x175a0
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x7ead(%rip), %xmm5     # 0x175b0
testq %r8, %r8
je 0xf770
xorl %edi, %edi
movdqa %xmm2, %xmm6
movdqa %xmm6, %xmm7
pxor %xmm3, %xmm7
movdqa %xmm7, %xmm8
pcmpgtd %xmm1, %xmm8
pcmpeqd %xmm1, %xmm7
pshufd $0xf5, %xmm7, %xmm9     # xmm9 = xmm7[1,1,3,3]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm8, %xmm7     # xmm7 = xmm8[1,1,3,3]
por %xmm9, %xmm7
movd %xmm7, %r9d
notl %r9d
testb $0x1, %r9b
je 0xf74e
movsd %xmm0, -0x8(%rdx,%rdi,8)
pxor %xmm4, %xmm7
pextrw $0x4, %xmm7, %r9d
testb $0x1, %r9b
je 0xf763
movsd %xmm0, (%rdx,%rdi,8)
addq $0x2, %rdi
paddq %xmm5, %xmm6
cmpq %rdi, %rcx
jne 0xf70e
incq %rsi
addq $0x20, %rdx
cmpq %rax, %rsi
jne 0xf703
movq %rax, %r14
leaq 0x120(%rsp), %r15
leaq 0xa0(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rcx
callq 0x8c10
movq 0x8(%rsp), %rdx
movq (%rsp), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %rdx, %r8
movq %rcx, %r9
callq 0x84d0
jmp 0xf80c
leaq 0x20(%rsp), %rdx
leaq 0x18(%rsp), %r14
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movl $0x2, %esi
movq %r14, %rcx
callq 0x8520
movq (%r14), %r14
cmpq 0x8(%rsp), %r14
jne 0xf7ef
movq 0x10(%rsp), %r8
cmpq (%rsp), %r8
je 0xf77f
leaq 0x7e47(%rip), %rsi      # 0x1763d
leaq 0x7e5a(%rip), %rdx      # 0x17657
movq %rbx, %rdi
movl $0x35a, %ecx            # imm = 0x35A
xorl %eax, %eax
callq 0x8a80
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: Concat
static int Concat(lua_State *L)
    {
    size_t nr, nc;
    mat_t m;
//  printf("%s %s\n", lua_typename(L, lua_type(L, 1)), lua_typename(L, lua_type(L, 2)));
    if(testmat(L, 1, m, &nr, &nc))
        {
        ToString_(L, m, nr, nc);
        lua_pushvalue(L, 2);
        }
    else if(testmat(L, 2, m, &nr, &nc))
        {
        lua_pushvalue(L, 1);
        ToString_(L, m, nr, nc);
        }
    else 
        return unexpected(L);
    lua_concat(L, 2);
    return 1;
    }

// Assembly:
pushq %rbx
subq $0x90, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rsp, %r8
movl $0x1, %esi
callq 0x8990
testl %eax, %eax
je 0xff0f
movq 0x8(%rsp), %rdx
movq (%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x1066a
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8600
jmp 0xff50
leaq 0x10(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rsp, %r8
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8990
testl %eax, %eax
je 0xff6b
movq %rbx, %rdi
movl $0x1, %esi
callq 0x8600
movq 0x8(%rsp), %rdx
movq (%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x1066a
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8bc0
movl $0x1, %eax
addq $0x90, %rsp
popq %rbx
retq
leaq 0x7102(%rip), %rsi      # 0x17074
leaq 0x76de(%rip), %rdx      # 0x17657
movq %rbx, %rdi
movl $0x11b, %ecx            # imm = 0x11B
xorl %eax, %eax
callq 0x8a80
jmp 0xff62
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonglmath/src/mat.c
// Function: Unm
static int Unm(lua_State *L)
    {
    size_t i, j, nr, nc;
    mat_t m;
    checkmat(L, 1, m, &nr, &nc);
    for(i = 0; i < nr; i++)
        for(j = 0; j < nc; j++)
            m[i][j] = -m[i][j];
    return pushmat(L, m, nr, nc, nr, nc);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %rsp, %r12
movl $0x1, %esi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x8520
movq (%r15), %rdx
movq (%r12), %rcx
testq %rdx, %rdx
je 0xfff9
xorl %eax, %eax
movaps 0x7100(%rip), %xmm0     # 0x170d0
testq %rcx, %rcx
je 0xffed
xorl %esi, %esi
movsd (%r14,%rsi,8), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, (%r14,%rsi,8)
incq %rsi
cmpq %rsi, %rcx
jne 0xffd7
incq %rax
addq $0x20, %r14
cmpq %rdx, %rax
jne 0xffd0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %rdx, %r8
movq %rcx, %r9
callq 0x84d0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq