LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/structs.c
// Function: moonnuklear_checkstyleitem
nk_style_item_t checkstyleitem(lua_State *L, int arg)
    {
    nk_color_t color;
    nk_image_t *image;
    nk_nine_slice_t *nine_slice;
    if(lua_isstring(L, arg))
        {
        if(strcmp(lua_tostring(L, arg), "hide") == 0)
            return nk_style_item_hide();
        }
    else if((image = testimage(L, arg, NULL)) != NULL)
        return nk_style_item_image(*image);
    else if((nine_slice = testnine_slice(L, arg, NULL)) != NULL)
        return nk_style_item_nine_slice(*nine_slice);
    else
        {
        if(echeckcolor(L, arg, &color)==ERR_SUCCESS)
            return nk_style_item_color(color);
        }
    argerrorc(L, arg, ERR_VALUE);
    return nk_style_item_hide(); /* not reached */
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq 0x14440
testl %eax, %eax
je 0x56dd8
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x12690
leaq 0xf0a8(%rip), %rsi      # 0x65e55
movq %rax, %rdi
callq 0x12fb0
testl %eax, %eax
je 0x56dce
pushq $-0x3
popq %rdi
callq 0x13cc0
movq %r14, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x124a0
movq %rbx, %rdi
callq 0x13de0
jmp 0x56e3a
leaq 0x9465(%rip), %rcx      # 0x60244
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x56e0a
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x12510
jmp 0x56e3a
leaq 0x9445(%rip), %rcx      # 0x60256
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x56e46
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x13f00
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x2c(%rsp), %rdx
movq %r14, %rdi
movl %ebp, %esi
callq 0x12110
testl %eax, %eax
jne 0x56db9
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0x129c0
jmp 0x56e3a
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/structs.c
// Function: moonnuklear_pushfontglyph
int pushfontglyph(lua_State *L, const nk_font_glyph_t *p)
    {
    lua_newtable(L);
    SetInteger(codepoint, "codepoint");
    SetFloat(xadvance, "xadvance");
    SetFloat(x0, "x0");
    SetFloat(y0, "y0");
    SetFloat(x1, "x1");
    SetFloat(y1, "y1");
    SetFloat(w, "w");
    SetFloat(h, "h");
    SetFloat(u0, "u0");
    SetFloat(v0, "v0");
    SetFloat(u1, "u1");
    SetFloat(v1, "v1");
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq 0x12870
movl (%r14), %esi
movq %rbx, %rdi
callq 0x12c20
leaq 0x14706(%rip), %rdx     # 0x6b596
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x4(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x146ee(%rip), %rdx     # 0x6b5a0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x8(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x13143(%rip), %rdx     # 0x6a014
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0xc(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x146b9(%rip), %rdx     # 0x6b5a9
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x10(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x1469d(%rip), %rdx     # 0x6b5ac
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x14(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x13505(%rip), %rdx     # 0x6a433
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x18(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x9349(%rip), %rdx      # 0x60296
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x1c(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x12dd0(%rip), %rdx     # 0x69d3c
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x20(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x14624(%rip), %rdx     # 0x6b5af
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x24(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x14608(%rip), %rdx     # 0x6b5b2
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x28(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x145ec(%rip), %rdx     # 0x6b5b5
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
cvtss2sd 0x2c(%r14), %xmm0
movq %rbx, %rdi
callq 0x132d0
leaq 0x145d0(%rip), %rdx     # 0x6b5b8
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
pushq $0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/structs.c
// Function: moonnuklear_testpluginfilter
nk_plugin_filter testpluginfilter(lua_State *L, int arg)
    {
    int err;
    int what = testfilter(L, arg, &err);
    if(err == ERR_NOTPRESENT)
        return nk_filter_default;
    if(err > 0)
        { argerrorc(L, arg, err); return NULL; }
    switch(what)
        {
        case MOONNUKLEAR_FILTER_DEFAULT: return nk_filter_default;
        case MOONNUKLEAR_FILTER_ASCII: return nk_filter_ascii;
        case MOONNUKLEAR_FILTER_FLOAT: return nk_filter_float;
        case MOONNUKLEAR_FILTER_DECIMAL: return nk_filter_decimal;
        case MOONNUKLEAR_FILTER_HEX: return nk_filter_hex;
        case MOONNUKLEAR_FILTER_OCT: return nk_filter_oct;
        case MOONNUKLEAR_FILTER_BINARY: return nk_filter_binary;
        default: unexpected(L); break;
        }
    return NULL;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
pushq $0x66
popq %rsi
leaq 0xc(%rsp), %r14
movl %ebp, %edx
movq %r14, %rcx
callq 0x135b0
movl (%r14), %edi
cmpl $0x1, %edi
jne 0x5702a
movq 0x2dfb0(%rip), %r14     # 0x84fd8
jmp 0x57079
jl 0x57043
callq 0x13cc0
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x124a0
xorl %r14d, %r14d
jmp 0x57079
decl %eax
cmpl $0x7, %eax
jae 0x57059
movl %eax, %eax
leaq 0x2d3bd(%rip), %rcx     # 0x84410
movq (%rcx,%rax,8), %r14
jmp 0x57079
leaq 0x90bf(%rip), %rsi      # 0x6011f
leaq 0x14525(%rip), %rdx     # 0x6b58c
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0x1e8, %ecx            # imm = 0x1E8
xorl %eax, %eax
callq 0x13bb0
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/structs.c
// Function: moonnuklear_pushdrawcommand
int pushdrawcommand(lua_State *L, nk_draw_command_t *p)
    {
    lua_newtable(L);
    SetInteger(elem_count, "elem_count");
    SetRect(clip_rect, "clip_rect");
    //pushhandle(L, &p->texture); lua_setfield(L, -2, "texture");
    lua_pushinteger(L, p->texture.id); lua_setfield(L, -2, "texture_id");
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq 0x12870
movl (%r14), %esi
movq %rbx, %rdi
callq 0x12c20
leaq 0x1381a(%rip), %rdx     # 0x6b605
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
leaq 0x4(%r14), %rsi
movq %rbx, %rdi
callq 0x12790
leaq 0x13805(%rip), %rdx     # 0x6b610
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
movslq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x12c20
leaq 0x137f2(%rip), %rdx     # 0x6b61a
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12b50
pushq $0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_from_table
static int Style_from_table(lua_State *L)
    {
    nk_color_t table[NK_COLOR_COUNT];
    nk_color_t defcolor = nk_rgba(0, 0, 0, 255);
    nk_context_t *context = checkcontext(L, 1, NULL);
    if(!lua_isnoneornil(L, 3) && echeckcolor(L, 3, &defcolor))
        return argerror(L, 3);
    if(echeckcolortable(L, 2, table, defcolor))
        return argerror(L, 2);
    nk_style_from_table(context, table);
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
movl $0xff, %ecx
callq 0x13650
movl %eax, %ebp
movl %eax, 0xc(%rsp)
leaq 0x83ed(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x14030
testl %eax, %eax
jle 0x57edb
pushq $0x3
popq %rsi
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x12110
testl %eax, %eax
je 0x57ed7
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x3
jmp 0x57f00
movl 0xc(%rsp), %ebp
pushq $0x2
popq %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x14410
testl %eax, %eax
je 0x57f0e
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
jmp 0x57f1d
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x12ad0
xorl %eax, %eax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_load_cursor
static int Style_load_cursor(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nk_style_cursor style = checkstylecursor(L, 2);
    const nk_cursor_t* cursor = checkcursor(L, 3, NULL);
    nk_style_load_cursor(context, style, cursor);
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x8349(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x10
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
leaq 0x8167(%rip), %rcx      # 0x600c2
pushq $0x3
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x120e0
movq %r14, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x14150
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_load_all_cursors
static int Style_load_all_cursors(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    nk_atlas_t *atlas = checkatlas(L, 2, NULL);
    nk_style_load_all_cursors(context, atlas->cursors);
    return 0;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x82f6(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
leaq 0x8062(%rip), %rcx      # 0x60000
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x120e0
leaq 0x48(%rax), %rsi
movq %r14, %rdi
callq 0x12a70
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_font
static int Style_set_font(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    const nk_user_font_t *user_font = checkfont(L, 2, NULL);
    nk_style_set_font(context, user_font);
    return 0;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x82b1(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
leaq 0x80ce(%rip), %rcx      # 0x600b1
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x120e0
movq %r14, %rdi
movq %rax, %rsi
callq 0x12ae0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_cursor
static int Style_set_cursor(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nk_style_cursor stylecursor = checkstylecursor(L, 2);
    lua_pushboolean(L, nk_style_set_cursor(context, stylecursor));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x826d(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x10
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x125b0
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_font
static int Style_push_font(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    const nk_user_font_t *user_font = checkfont(L, 2, NULL);
    lua_pushboolean(L, nk_style_push_font(context, user_font));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x81eb(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
leaq 0x8006(%rip), %rcx      # 0x600b1
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x120e0
movq %r14, %rdi
movq %rax, %rsi
callq 0x12be0
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_float
static int Style_push_float(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    float value = luaL_checknumber(L, 3);
    float *address = address_float(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, nk_style_push_float(context, address, value));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8166(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x12920
movsd %xmm0, 0x8(%rsp)
movq %r14, %rdi
movl %ebp, %esi
callq 0x58bb8
testq %rax, %rax
je 0x5817e
cvtsd2ss 0x8(%rsp), %xmm0
movq %r14, %rdi
movq %rax, %rsi
callq 0x13fa0
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
pushq $0x1
popq %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_float
static int Style_set_float(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    float value = luaL_checknumber(L, 3);
    float *address = address_float(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x809e(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x12920
movsd %xmm0, 0x8(%rsp)
movq %r14, %rdi
movl %ebp, %esi
callq 0x58bb8
testq %rax, %rax
je 0x58234
cvtsd2ss 0x8(%rsp), %xmm0
movss %xmm0, (%rax)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_float
static int Style_get_float(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    float *address = address_float(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushnumber(L, *address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8020(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x58bb8
testq %rax, %rax
je 0x582a1
cvtss2sd (%rax), %xmm0
movq %rbx, %rdi
callq 0x132d0
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_vec2
static int Style_push_vec2(lua_State *L)
    {
    nk_vec2_t value;
    nk_vec2_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    if(echeckvec2(L, 3, &value)) return argerror(L, 3);
    address = address_vec2(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, nk_style_push_vec2(context, address, value));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7fb1(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %r15d
pushq $0x3
popq %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x143f0
testl %eax, %eax
je 0x58320
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x3
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
movl %eax, %ebp
jmp 0x5834a
movq %r14, %rdi
movl %r15d, %esi
callq 0x5974a
testq %rax, %rax
je 0x58357
movsd (%rsp), %xmm0
movq %r14, %rdi
movq %rax, %rsi
callq 0x121a0
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
jmp 0x58310
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_vec2
static int Style_set_vec2(lua_State *L)
    {
    nk_vec2_t value;
    nk_vec2_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    if(echeckvec2(L, 3, &value)) return argerror(L, 3);
    address = address_vec2(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x7ed7(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x143f0
testl %eax, %eax
je 0x583f7
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x3
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
jmp 0x58410
movq %r14, %rdi
movl %ebp, %esi
callq 0x5974a
testq %rax, %rax
je 0x58419
movq 0x8(%rsp), %rcx
movq %rcx, (%rax)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
jmp 0x583e9
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_vec2
static int Style_get_vec2(lua_State *L)
    {
    nk_vec2_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    address = address_vec2(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    pushvec2(L, address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7e4d(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x5974a
testq %rax, %rax
je 0x58473
movq %rbx, %rdi
movq %rax, %rsi
callq 0x12730
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_flags
static int Style_push_flags(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    nk_flags value = checkflags(L, 3);
    nk_flags *address = address_flags(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, nk_style_push_flags(context, address, value));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7ddf(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x13060
movq %rax, %r15
movq %r14, %rdi
movl %ebp, %esi
callq 0x59dee
testq %rax, %rax
je 0x58501
movq %r14, %rdi
movq %rax, %rsi
movl %r15d, %edx
callq 0x12b00
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_flags
static int Style_set_flags(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    nk_flags value = checkflags(L, 3);
    nk_flags *address = address_flags(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7d1a(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r15
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x13060
movq %rax, %r14
movq %r15, %rdi
movl %ebp, %esi
callq 0x59dee
testq %rax, %rax
je 0x585b1
movl %r14d, (%rax)
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_flags
static int Style_get_flags(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    nk_flags *address = address_flags(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    pushflags(L, *address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7ca1(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x59dee
testq %rax, %rax
je 0x5861e
movl (%rax), %esi
movq %rbx, %rdi
callq 0x12c20
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_color
static int Style_push_color(lua_State *L)
    {
    nk_color_t value;
    nk_color_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    if(echeckcolor(L, 3, &value)) return argerror(L, 3);
    address = address_color(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, nk_style_push_color(context, address, value));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7c34(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %r15d
pushq $0x3
popq %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x12110
testl %eax, %eax
je 0x5869f
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x3
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
movl %eax, %ebp
jmp 0x586c8
movq %r14, %rdi
movl %r15d, %esi
callq 0x59f5a
testq %rax, %rax
je 0x586d5
movl 0x4(%rsp), %edx
movq %r14, %rdi
movq %rax, %rsi
callq 0x128e0
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
jmp 0x5868f
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_color
static int Style_set_color(lua_State *L)
    {
    nk_color_t value;
    nk_color_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    if(echeckcolor(L, 3, &value)) return argerror(L, 3);
    address = address_color(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x7b59(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
pushq $0x3
popq %rsi
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x12110
testl %eax, %eax
je 0x58775
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12690
pushq $0x3
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
jmp 0x5878c
movq %r14, %rdi
movl %ebp, %esi
callq 0x59f5a
testq %rax, %rax
je 0x58795
movl 0xc(%rsp), %ecx
movl %ecx, (%rax)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
jmp 0x58767
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_color
static int Style_get_color(lua_State *L)
    {
    nk_color_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    address = address_color(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    pushcolor(L, address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7ad1(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x59f5a
testq %rax, %rax
je 0x587ef
movq %rbx, %rdi
movq %rax, %rsi
callq 0x13a10
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_push_style_item
static int Style_push_style_item(lua_State *L)
    {
    nk_style_item_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    nk_style_item_t value = checkstyleitem(L, 3);
    address = address_styleitem(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, nk_style_push_style_item(context, address, value));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0x7a60(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %r15d
leaq 0x30(%rsp), %rdi
pushq $0x3
popq %rdx
movq %rbx, %rsi
callq 0x135f0
movq %r14, %rdi
movl %r15d, %esi
callq 0x5a99a
testq %rax, %rax
je 0x58894
movq 0x50(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movq %rax, %rsi
callq 0x13d70
movq %rbx, %rdi
movl %eax, %esi
callq 0x133d0
jmp 0x588ac
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x124a0
movl %eax, %ebp
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_style_item
static int Style_set_style_item(lua_State *L)
    {
    nk_style_item_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    nk_style_item_t value = checkstyleitem(L, 3);
    address = address_styleitem(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
leaq 0x797f(%rip), %rcx      # 0x60280
xorl %ebx, %ebx
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r15
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0x13450
movl %eax, %ebp
movq %rsp, %rdi
pushq $0x3
popq %rdx
movq %r14, %rsi
callq 0x135f0
movq %r15, %rdi
movl %ebp, %esi
callq 0x5a99a
testq %rax, %rax
je 0x58958
movq 0x20(%rsp), %rcx
movq %rcx, 0x20(%rax)
movups (%rsp), %xmm0
movups 0x10(%rsp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
jmp 0x58970
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %r14, %rdi
movq %rax, %rdx
callq 0x124a0
movl %eax, %ebx
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_style_item
static int Style_get_style_item(lua_State *L)
    {
    nk_style_item_t *address = NULL;
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    address = address_styleitem(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    pushstyleitem(L, address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x78f5(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x5a99a
testq %rax, %rax
je 0x589cb
movq %rbx, %rdi
movq %rax, %rsi
callq 0x122d0
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_boolean
static int Style_set_boolean(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    int value = checkboolean(L, 3);
    int *address = address_boolean(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7887(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %r15d
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x13950
movl %eax, %ebp
movq %r14, %rdi
movl %r15d, %esi
callq 0x5b333
testq %rax, %rax
je 0x58a43
movl %ebp, (%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_boolean
static int Style_get_boolean(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    int *address = address_boolean(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    lua_pushboolean(L, *address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x780f(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x5b333
testq %rax, %rax
je 0x58ab0
movl (%rax), %esi
movq %rbx, %rdi
callq 0x133d0
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_set_symboltype
static int Style_set_symboltype(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    enum nk_symbol_type value = checksymboltype(L, 3);
    enum nk_symbol_type *address = address_symboltype(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    *address = value;
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x77a2(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %r15d
pushq $0xe
popq %rsi
pushq $0x3
popq %rdx
movq %rbx, %rdi
callq 0x13450
movl %eax, %ebp
movq %r14, %rdi
movl %r15d, %esi
callq 0x5b375
testq %rax, %rax
je 0x58b2b
movl %ebp, (%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: Style_get_symboltype
static int Style_get_symboltype(lua_State *L)
    {
    nk_context_t *context = checkcontext(L, 1, NULL);
    enum nonnk_style what = checkstylefield(L, 2);
    enum nk_symbol_type *address = address_symboltype(context, what);
    if(!address) return argerrorc(L, 2, ERR_VALUE);
    pushsymboltype(L, *address);
    return 1;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x7727(%rip), %rcx      # 0x60280
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x120e0
movq %rax, %r14
pushq $0x65
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x13450
movq %r14, %rdi
movl %eax, %esi
callq 0x5b375
testq %rax, %rax
je 0x58b9b
movl (%rax), %edx
pushq $0xe
popq %rsi
movq %rbx, %rdi
callq 0x12640
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $-0x3
popq %rdi
callq 0x13cc0
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x124a0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: address_flags
static nk_flags* address_flags(nk_context_t *context, enum nonnk_style what)
    {
    switch(what)
        { 
        CASE_NONNK_STYLE_FLAGS
        default: return NULL;
        }
    return NULL;
    }

// Assembly:
movq %rdi, %rax
cmpl $0x287, %esi            # imm = 0x287
je 0x59f29
cmpl $0x23, %esi
je 0x59f1b
cmpl $0x36, %esi
je 0x59f53
cmpl $0x96, %esi
je 0x59f3e
cmpl $0xa9, %esi
je 0x59f14
cmpl $0xf8, %esi
je 0x59ecb
cmpl $0x10b, %esi            # imm = 0x10B
je 0x59efc
cmpl $0x11e, %esi            # imm = 0x11E
je 0x59ed2
cmpl $0x131, %esi            # imm = 0x131
je 0x59f30
cmpl $0x170, %esi            # imm = 0x170
je 0x59ee7
cmpl $0x183, %esi            # imm = 0x183
je 0x59ed9
cmpl $0x1a7, %esi            # imm = 0x1A7
je 0x59f45
cmpl $0x1ba, %esi            # imm = 0x1BA
je 0x59eee
cmpl $0x1fc, %esi            # imm = 0x1FC
je 0x59f4c
cmpl $0x21b, %esi            # imm = 0x21B
je 0x59f0a
cmpl $0x22e, %esi            # imm = 0x22E
je 0x59f37
cmpl $0x241, %esi            # imm = 0x241
je 0x59f22
cmpl $0x254, %esi            # imm = 0x254
je 0x59ee0
cmpl $0x25c, %esi            # imm = 0x25C
je 0x59f03
cmpl $0x274, %esi            # imm = 0x274
je 0x59ef5
cmpl $0x10, %esi
jne 0x59f11
addq $0x260, %rax            # imm = 0x260
retq
addq $0x1828, %rax           # imm = 0x1828
retq
addq $0x1b18, %rax           # imm = 0x1B18
retq
addq $0x1568, %rax           # imm = 0x1568
retq
addq $0x1ec8, %rax           # imm = 0x1EC8
retq
addq $0x1490, %rax           # imm = 0x1490
retq
addq $0x1128, %rax           # imm = 0x1128
retq
addq $0x22c8, %rax           # imm = 0x22C8
retq
addq $0x1900, %rax           # imm = 0x1900
retq
addq $0x2400, %rax           # imm = 0x2400
retq
addq $0x1df0, %rax           # imm = 0x1DF0
retq
xorl %eax, %eax
retq
addq $0xa88, %rax            # imm = 0xA88
retq
addq $0x338, %rax            # imm = 0x338
retq
addq $0x1fa0, %rax           # imm = 0x1FA0
retq
addq $0x23a0, %rax           # imm = 0x23A0
retq
addq $0x1bf0, %rax           # imm = 0x1BF0
retq
addq $0x1d18, %rax           # imm = 0x1D18
retq
addq $0x9b0, %rax            # imm = 0x9B0
retq
addq $0x1200, %rax           # imm = 0x1200
retq
addq $0x2140, %rax           # imm = 0x2140
retq
addq $0x410, %rax            # imm = 0x410
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: address_boolean
static int* address_boolean(nk_context_t *context, enum nonnk_style what)
    {
    switch(what)
        { 
        CASE_NONNK_STYLE_BOOL
        default: return NULL;
        }
    return NULL;
    }

// Assembly:
movq %rdi, %rax
cmpl $0x15c, %esi            # imm = 0x15C
je 0x5b36b
cmpl $0xcf, %esi
je 0x5b35d
cmpl $0xe4, %esi
je 0x5b364
cmpl $0x84, %esi
jne 0x5b372
addq $0x91c, %rax            # imm = 0x91C
retq
addq $0x1794, %rax           # imm = 0x1794
retq
addq $0x1a84, %rax           # imm = 0x1A84
retq
addq $0x13fc, %rax           # imm = 0x13FC
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/style.c
// Function: address_symboltype
static enum nk_symbol_type *address_symboltype(nk_context_t *context, enum nonnk_style what)
    {
    switch(what)
        { 
        CASE_NONNK_STYLE_SYMBOL_TYPE
        default: return NULL;
        }
    return NULL;
    }

// Assembly:
movq %rdi, %rax
cmpl $0x25f, %esi            # imm = 0x25F
je 0x5b496
cmpl $0x7f, %esi
je 0x5b47a
cmpl $0xc9, %esi
je 0x5b431
cmpl $0xca, %esi
je 0x5b462
cmpl $0xde, %esi
je 0x5b438
cmpl $0xdf, %esi
je 0x5b488
cmpl $0x156, %esi            # imm = 0x156
je 0x5b44d
cmpl $0x157, %esi            # imm = 0x157
je 0x5b43f
cmpl $0x192, %esi            # imm = 0x192
je 0x5b49d
cmpl $0x193, %esi            # imm = 0x193
je 0x5b454
cmpl $0x1e7, %esi            # imm = 0x1E7
je 0x5b4a4
cmpl $0x1e8, %esi            # imm = 0x1E8
je 0x5b470
cmpl $0x1e9, %esi            # imm = 0x1E9
je 0x5b48f
cmpl $0x207, %esi            # imm = 0x207
je 0x5b481
cmpl $0x208, %esi            # imm = 0x208
je 0x5b446
cmpl $0x25d, %esi            # imm = 0x25D
je 0x5b469
cmpl $0x25e, %esi            # imm = 0x25E
je 0x5b45b
cmpl $0x7e, %esi
jne 0x5b477
addq $0xad0, %rax            # imm = 0xAD0
retq
addq $0x194c, %rax           # imm = 0x194C
retq
addq $0x1c3c, %rax           # imm = 0x1C3C
retq
addq $0x15b0, %rax           # imm = 0x15B0
retq
addq $0x1fec, %rax           # imm = 0x1FEC
retq
addq $0x15b4, %rax           # imm = 0x15B4
retq
addq $0xcb4, %rax            # imm = 0xCB4
retq
addq $0x23ec, %rax           # imm = 0x23EC
retq
addq $0x1948, %rax           # imm = 0x1948
retq
addq $0x23e8, %rax           # imm = 0x23E8
retq
addq $0x218c, %rax           # imm = 0x218C
retq
xorl %eax, %eax
retq
addq $0xad4, %rax            # imm = 0xAD4
retq
addq $0x1fe8, %rax           # imm = 0x1FE8
retq
addq $0x1c38, %rax           # imm = 0x1C38
retq
addq $0x2190, %rax           # imm = 0x2190
retq
addq $0x23f0, %rax           # imm = 0x23F0
retq
addq $0xcb0, %rax            # imm = 0xCB0
retq
addq $0x2188, %rax           # imm = 0x2188
retq
nop
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/tracing.c
// Function: Type
static int Type(lua_State *L)
    {
#define TRY(xxx) do { if(test##xxx(L, 1, NULL) != 0) { lua_pushstring(L, ""#xxx); return 1; } } while(0)
    TRY(context);
    TRY(atlas);
    TRY(font);
    TRY(image);
    TRY(cursor);
    TRY(buffer);
    TRY(edit);
    TRY(panel);
    TRY(canvas);
    return 0;
#undef TRY
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x4db8(%rip), %rcx      # 0x60280
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b4e5
leaq 0x4ef5(%rip), %rsi      # 0x603d5
jmp 0x5b602
leaq 0x4b14(%rip), %rcx      # 0x60000
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b50a
leaq 0x4b07(%rip), %rsi      # 0x6000c
jmp 0x5b602
leaq 0x4ba0(%rip), %rcx      # 0x600b1
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b52f
leaq 0x10e75(%rip), %rsi     # 0x6c39f
jmp 0x5b602
leaq 0x4d0e(%rip), %rcx      # 0x60244
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b554
leaq 0x4d01(%rip), %rsi      # 0x60250
jmp 0x5b602
leaq 0x4b67(%rip), %rcx      # 0x600c2
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b579
leaq 0xa98b(%rip), %rsi      # 0x65eff
jmp 0x5b602
leaq 0x4b55(%rip), %rcx      # 0x600d5
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b59b
leaq 0x4b66(%rip), %rsi      # 0x600ff
jmp 0x5b602
leaq 0x4e4d(%rip), %rcx      # 0x603ef
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b5bd
leaq 0x4e40(%rip), %rsi      # 0x603fb
jmp 0x5b602
leaq 0x4e19(%rip), %rcx      # 0x603dd
xorl %r14d, %r14d
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b5e2
leaq 0x4e09(%rip), %rsi      # 0x603e9
jmp 0x5b602
leaq 0x4b59(%rip), %rcx      # 0x60142
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x143e0
testq %rax, %rax
je 0x5b60d
leaq 0x4b4c(%rip), %rsi      # 0x6014e
movq %rbx, %rdi
callq 0x141d0
movl %ebp, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/udata.c
// Function: moonnuklear_udata_unref
int udata_unref(lua_State *L, uint64_t id)
/* unreference udata so that it will be garbage collected */
    {
//  printf("unref object %lu\n", id);
    udata_t *udata = udata_search(id);
    if(!udata) 
        return luaL_error(L, "invalid object identifier %p", (void*)id);
    if(udata->ref != LUA_NOREF)
        {
        luaL_unref(L, LUA_REGISTRYINDEX, udata->ref);
        udata->ref = LUA_NOREF;
        }
    return 0;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5b952
testq %rax, %rax
je 0x5b9c5
movq %rax, %r14
movl 0x28(%rax), %edx
cmpl $-0x2, %edx
je 0x5b9bd
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x14190
movl $0xfffffffe, 0x28(%r14) # imm = 0xFFFFFFFE
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x10bdc(%rip), %rsi     # 0x6c5a8
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x13bb0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/udata.c
// Function: moonnuklear_udata_free
int udata_free(lua_State *L, uint64_t id)
/* this should be called in the __gc metamethod
 */
    {
    udata_t *udata = udata_search(id);
//  printf("free object %lu\n", id);
    if(!udata) 
        return luaL_error(L, "invalid object identifier %p", (void*)id);
    /* release all references */
    if(udata->ref != LUA_NOREF)
        luaL_unref(L, LUA_REGISTRYINDEX, udata->ref);
    udata_remove(udata);
    Free(L, udata);
    /* mem is released by Lua at garbage collection */
    return 0;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5b952
testq %rax, %rax
je 0x5ba29
movq %rax, %r14
movl 0x28(%rax), %edx
cmpl $-0x2, %edx
je 0x5ba0e
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x14190
movq %r14, %rdi
callq 0x5ba42
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13220
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x10b78(%rip), %rsi     # 0x6c5a8
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x13bb0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/udata.c
// Function: moonnuklear_udata_push
int udata_push(lua_State *L, uint64_t id)
    {
    udata_t *udata = udata_search(id);
    if(!udata) 
        return luaL_error(L, "invalid object identifier %p", (void*)id);
    if(udata->ref == LUA_NOREF)
        return luaL_error(L, "unreferenced object");
    if(lua_rawgeti(L, LUA_REGISTRYINDEX, udata->ref) != LUA_TUSERDATA)
        return luaL_error(L, UNEXPECTED_ERROR);
    return 1; /* one value pushed */
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5b952
testq %rax, %rax
je 0x5be40
movslq 0x28(%rax), %rdx
cmpq $-0x2, %rdx
jne 0x5be5b
leaq 0x10796(%rip), %rsi     # 0x6c5c5
movq %rbx, %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13bb0
leaq 0x10761(%rip), %rsi     # 0x6c5a8
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13bb0
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x12a00
cmpl $0x7, %eax
jne 0x5be78
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x42a0(%rip), %rsi      # 0x6011f
leaq 0x10753(%rip), %rdx     # 0x6c5d9
movq %rbx, %rdi
movl $0xa3, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13bb0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/udata.c
// Function: moonnuklear_udata_free_all
void udata_free_all(lua_State *L)
/* free all without unreferencing (for atexit()) */
    {
    udata_t *udata;
    while((udata = udata_first(0)))
        {
        udata_remove(udata);
        Free(L, udata);
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %edi, %edi
callq 0x5becf
testq %rax, %rax
je 0x5bec7
movq %rax, %r14
movq %rax, %rdi
callq 0x5ba42
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13220
jmp 0x5bea3
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/udata.c
// Function: moonnuklear_udata_scan
int udata_scan(lua_State *L, const char *mt,  
            void *info, int (*func)(lua_State *L, const void *mem, const char* mt, const void *info))
/* scans the udata database, and calls the func callback for every 'mt' object found
 * (the object may be deleted in the callback).
 * func must return 0 to continue the scan, !=0 to interrupt it.
 * returns 1 if interrupted, 0 otherwise
 */
    {
    int stop = 0;
    uint64_t id = 0;
    udata_t *udata;
    while((udata = udata_first(id)))
        {
        id = udata->id + 1;
        if(mt == udata->mt)
            {
            stop = func(L, (const void*)(udata->mem), mt, info);
            if(stop) return 1;
            }
        }
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %ebx, %ebx
xorl %ebp, %ebp
movq %rbp, %rdi
callq 0x5becf
testq %rax, %rax
je 0x5bf45
movq 0x20(%rax), %rbp
incq %rbp
cmpq %r12, 0x38(%rax)
jne 0x5bf12
movq 0x30(%rax), %rsi
movq %r13, %rdi
movq %r12, %rdx
movq %r15, %rcx
callq *%r14
testl %eax, %eax
je 0x5bf12
pushq $0x1
popq %rax
movl %eax, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq