LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/vulkan.c
// Function: GetPhysicalDevicePresentationSupport
static int GetPhysicalDevicePresentationSupport(lua_State *L)
    {
    int result;
    VkInstance instance = (VkInstance)checkhandle(L, 1);
    VkPhysicalDevice device = (VkPhysicalDevice)checkhandle(L, 2);
    uint32_t queuefamily = luaL_checkinteger(L, 3);
    CheckVulkanPfn(L, GetPhysicalDevicePresentationSupport);
    result = glfw.GetPhysicalDevicePresentationSupport(instance, device, queuefamily);
    lua_pushboolean(L, result);
    return 1;
    }

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rdi
movl $0x1, %esi
callq 0x18e10
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rdi
movl $0x2, %esi
callq 0x18e10
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rdi
movl $0x3, %esi
callq 0x53c0
movl %eax, 0xc(%rsp)
movq 0xb3ad(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x3c0(%rax)
jne 0x18c9a
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x18c81
movq 0x28(%rsp), %rdi
leaq 0x6420(%rip), %rsi      # 0x1f087
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
jmp 0x18cd4
movq 0x28(%rsp), %rdi
leaq 0x6445(%rip), %rsi      # 0x1f0d2
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
jmp 0x18cd4
jmp 0x18c9c
movq 0xb345(%rip), %rax      # 0x23fe8
movq 0x3c0(%rax), %rax
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
callq *%rax
movl %eax, 0x24(%rsp)
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x5460
movl $0x1, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/vulkan.c
// Function: CreateWindowSurface
static int CreateWindowSurface(lua_State *L)
    {
    VkResult ec;
    VkSurfaceKHR surface;
    win_t *win = checkwindow(L, 1);
    VkInstance instance = (VkInstance)checkhandle(L, 2);
    VkAllocationCallbacks* allocator = (VkAllocationCallbacks*)optlightuserdata(L, 3);

    CheckVulkanPfn(L, CreateWindowSurface);
    ec = glfw.CreateWindowSurface(instance, win->window, allocator, &surface);

    if(ec != VK_SUCCESS)
        return luaL_error(L, ResultString(ec));
    pushhandle(L, (uint64_t)surface);
    return 1;
    }

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x20(%rsp)
movq 0x38(%rsp), %rdi
movl $0x2, %esi
callq 0x18e10
movq %rax, 0x18(%rsp)
movq 0x38(%rsp), %rdi
movl $0x3, %esi
callq 0x5620
movq %rax, 0x10(%rsp)
movq 0xb2bc(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x3c8(%rax)
jne 0x18d8e
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x18d75
movq 0x38(%rsp), %rdi
leaq 0x63b5(%rip), %rsi      # 0x1f10d
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x44(%rsp)
jmp 0x18e02
movq 0x38(%rsp), %rdi
leaq 0x63c6(%rip), %rsi      # 0x1f147
movb $0x0, %al
callq 0x5590
movl %eax, 0x44(%rsp)
jmp 0x18e02
jmp 0x18d90
movq 0xb251(%rip), %rax      # 0x23fe8
movq 0x3c8(%rax), %rax
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rcx
movq 0x28(%rcx), %rsi
movq 0x10(%rsp), %rdx
leaq 0x28(%rsp), %rcx
callq *%rax
movl %eax, 0x34(%rsp)
cmpl $0x0, 0x34(%rsp)
je 0x18deb
movq 0x38(%rsp), %rax
movq %rax, 0x8(%rsp)
movl 0x34(%rsp), %edi
callq 0x18e30
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movb $0x0, %al
callq 0x5590
movl %eax, 0x44(%rsp)
jmp 0x18e02
movq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x19170
movl $0x1, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/win.c
// Function: moonglfw_win_new
win_t *win_new(void)
    {
    win_t *win;
    int id = id_new();
    if(id == -1)
        return NULL;
    if((win = (win_t*)malloc(sizeof(win_t))) == NULL) 
        { id_free(id); return NULL; }
    memset(win, 0, sizeof(win_t));
    win->id = id;
    if(win_search(win->id))
        { free(win); id_free(id); return NULL; }
    win->WindowPos = LUA_NOREF;
    win->WindowSize = LUA_NOREF;
    win->WindowClose = LUA_NOREF;
    win->WindowRefresh = LUA_NOREF;
    win->WindowFocus = LUA_NOREF;
    win->WindowIconify = LUA_NOREF;
    win->WindowMaximize = LUA_NOREF;
    win->WindowContentScale = LUA_NOREF;
    win->FramebufferSize = LUA_NOREF;
    win->Key = LUA_NOREF;
    win->Char = LUA_NOREF;
    win->CharMods = LUA_NOREF;
    win->MouseButton = LUA_NOREF;
    win->CursorPos = LUA_NOREF;
    win->CursorEnter = LUA_NOREF;
    win->Scroll = LUA_NOREF;
    win->Drop = LUA_NOREF;
    win_insert(win);
    return win;
    }

// Assembly:
subq $0x18, %rsp
callq 0x5510
movl %eax, 0x4(%rsp)
cmpl $-0x1, 0x4(%rsp)
jne 0x19452
movq $0x0, 0x10(%rsp)
jmp 0x195af
movl $0x78, %edi
callq 0x5490
movq %rax, 0x8(%rsp)
cmpq $0x0, %rax
jne 0x1947e
movl 0x4(%rsp), %edi
callq 0x55a0
movq $0x0, 0x10(%rsp)
jmp 0x195af
movq 0x8(%rsp), %rdi
xorl %esi, %esi
movl $0x78, %edx
callq 0x52f0
movl 0x4(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x20(%rax)
movq 0x8(%rsp), %rax
movl 0x20(%rax), %edi
callq 0x5410
cmpq $0x0, %rax
je 0x194cf
movq 0x8(%rsp), %rdi
callq 0x50b0
movl 0x4(%rsp), %edi
callq 0x55a0
movq $0x0, 0x10(%rsp)
jmp 0x195af
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x34(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x38(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x3c(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x40(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x44(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x48(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x4c(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x50(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x54(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x58(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x5c(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x60(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x64(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x68(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x6c(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x70(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rax
movl $0xfffffffe, 0x74(%rax) # imm = 0xFFFFFFFE
movq 0x8(%rsp), %rdi
callq 0x195c0
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/win.c
// Function: moonglfw_win_check
win_t* win_check(lua_State *L, int arg)
    {
    int id = luaL_checkinteger(L, arg);
    win_t *win = win_search(id);
    if(!win)
        luaL_error(L, "invalid window id");
    return win;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %esi
callq 0x53c0
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %edi
callq 0x5410
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
jne 0x19a16
movq 0x10(%rsp), %rdi
leaq 0x5328(%rip), %rsi      # 0x1ed37
movb $0x0, %al
callq 0x5590
movq (%rsp), %rax
addq $0x18, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: FocusWindow
static int FocusWindow(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, FocusWindow, 3, 2, 0);
    glfw.FocusWindow(win->window);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x9265(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x128(%rax)
jne 0x1ade2
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1adc9
movq 0x8(%rsp), %rdi
leaq 0x47b5(%rip), %rsi      # 0x1f564
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1ae04
movq 0x8(%rsp), %rdi
leaq 0x47c1(%rip), %rsi      # 0x1f596
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1ae04
jmp 0x1ade4
movq 0x91fd(%rip), %rax      # 0x23fe8
movq 0x128(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowAspectRatio
static int SetWindowAspectRatio(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    int numer = luaL_optinteger(L, 2, GLFW_DONT_CARE);
    int denom = luaL_optinteger(L, 3, GLFW_DONT_CARE);
    CheckPfn(L, SetWindowAspectRatio, 3, 2, 0);
    glfw.SetWindowAspectRatio(win->window, numer, denom);
    return 0;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movl $0x2, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0xc(%rsp)
movq 0x18(%rsp), %rdi
movl $0x3, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0x8(%rsp)
movq 0x9180(%rip), %rax      # 0x23fe8
cmpq $0x0, 0xe0(%rax)
jne 0x1aec7
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1aeae
movq 0x18(%rsp), %rdi
leaq 0x4724(%rip), %rsi      # 0x1f5b8
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1aef2
movq 0x18(%rsp), %rdi
leaq 0x4739(%rip), %rsi      # 0x1f5f3
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1aef2
jmp 0x1aec9
movq 0x9118(%rip), %rax      # 0x23fe8
movq 0xe0(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
callq *%rax
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowSizeLimits
static int SetWindowSizeLimits(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    int minwidth = luaL_optinteger(L, 2, GLFW_DONT_CARE);
    int minheight = luaL_optinteger(L, 3, GLFW_DONT_CARE);
    int maxwidth = luaL_optinteger(L, 4, GLFW_DONT_CARE);
    int maxheight = luaL_optinteger(L, 5, GLFW_DONT_CARE);
    CheckPfn(L, SetWindowSizeLimits, 3, 2, 0);
    glfw.SetWindowSizeLimits(win->window, minwidth, minheight, maxwidth, maxheight);
    return 0;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movl $0x2, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0xc(%rsp)
movq 0x18(%rsp), %rdi
movl $0x3, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0x8(%rsp)
movq 0x18(%rsp), %rdi
movl $0x4, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0x4(%rsp)
movq 0x18(%rsp), %rdi
movl $0x5, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, (%rsp)
movq 0x905d(%rip), %rax      # 0x23fe8
cmpq $0x0, 0xd8(%rax)
jne 0x1afea
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1afd1
movq 0x18(%rsp), %rdi
leaq 0x4667(%rip), %rsi      # 0x1f61e
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1b01d
movq 0x18(%rsp), %rdi
leaq 0x467b(%rip), %rsi      # 0x1f658
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1b01d
jmp 0x1afec
movq 0x8ff5(%rip), %rax      # 0x23fe8
movq 0xd8(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
movl 0x4(%rsp), %ecx
movl (%rsp), %r8d
callq *%rax
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowIcon
static int SetWindowIcon(lua_State *L)
    {
    size_t len;
    int count, arg;
    GLFWimage images[32];
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, SetWindowIcon, 3, 2, 0);
    count = 0;
    arg = 2;
    while(!lua_isnoneornil(L, arg))
        {
        images[count].width = luaL_checkinteger(L, arg++);
        images[count].height = luaL_checkinteger(L, arg++);
        images[count].pixels = (unsigned char*)luaL_checklstring(L, arg++, &len);
        count++;
        }
    if(count==0)
        luaL_checkinteger(L, arg); /* raises an error */
    glfw.SetWindowIcon(win->window, count, images);
    return 0;
    }

// Assembly:
subq $0x238, %rsp            # imm = 0x238
movq %rdi, 0x228(%rsp)
movq 0x228(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x8f8b(%rip), %rax      # 0x23fe8
cmpq $0x0, 0xb8(%rax)
jne 0x1b0ce
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1b0ac
movq 0x228(%rsp), %rdi
leaq 0x45f6(%rip), %rsi      # 0x1f682
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x234(%rsp)
jmp 0x1b223
movq 0x228(%rsp), %rdi
leaq 0x45fb(%rip), %rsi      # 0x1f6b6
movb $0x0, %al
callq 0x5590
movl %eax, 0x234(%rsp)
jmp 0x1b223
jmp 0x1b0d0
movl $0x0, 0x21c(%rsp)
movl $0x2, 0x218(%rsp)
movq 0x228(%rsp), %rdi
movl 0x218(%rsp), %esi
callq 0x5610
cmpl $0x0, %eax
setle %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x1b10b
jmp 0x1b1d5
movq 0x228(%rsp), %rdi
movl 0x218(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x218(%rsp)
callq 0x53c0
movl %eax, %ecx
movslq 0x21c(%rsp), %rdx
leaq 0x10(%rsp), %rax
shlq $0x4, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq 0x228(%rsp), %rdi
movl 0x218(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x218(%rsp)
callq 0x53c0
movl %eax, %ecx
movslq 0x21c(%rsp), %rdx
leaq 0x10(%rsp), %rax
shlq $0x4, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq 0x228(%rsp), %rdi
movl 0x218(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x218(%rsp)
leaq 0x220(%rsp), %rdx
callq 0x5330
movq %rax, %rcx
movslq 0x21c(%rsp), %rdx
leaq 0x10(%rsp), %rax
shlq $0x4, %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movl 0x21c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x21c(%rsp)
jmp 0x1b0e6
cmpl $0x0, 0x21c(%rsp)
jne 0x1b1f3
movq 0x228(%rsp), %rdi
movl 0x218(%rsp), %esi
callq 0x53c0
movq 0x8dee(%rip), %rax      # 0x23fe8
movq 0xb8(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0x21c(%rsp), %esi
leaq 0x10(%rsp), %rdx
callq *%rax
movl $0x0, 0x234(%rsp)
movl 0x234(%rsp), %eax
addq $0x238, %rsp            # imm = 0x238
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowMonitor
static int SetWindowMonitor(lua_State *L)
    {
    mon_t *mon;
    win_t *win = checkwindow(L, 1);
    GLFWmonitor* monitor = testmonitor(L, 2, &mon) ? mon->monitor : NULL;
    int xpos = luaL_checkinteger(L, 3);
    int ypos = luaL_checkinteger(L, 4);
    int width = luaL_checkinteger(L, 5);
    int height = luaL_checkinteger(L, 6);
    int refreshRate = luaL_optinteger(L, 7, GLFW_DONT_CARE);
    CheckPfn(L, SetWindowMonitor, 3, 2, 0);
    glfw.SetWindowMonitor(win->window, monitor, xpos, ypos, width, height, refreshRate);
    return 0;
    }

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq 0x48(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x38(%rsp)
movq 0x48(%rsp), %rdi
movl $0x2, %esi
leaq 0x40(%rsp), %rdx
callq 0x54d0
cmpl $0x0, %eax
je 0x1b286
movq 0x40(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x10(%rsp)
jmp 0x1b28f
xorl %eax, %eax
movq %rax, 0x10(%rsp)
jmp 0x1b28f
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x48(%rsp), %rdi
movl $0x3, %esi
callq 0x53c0
movl %eax, 0x2c(%rsp)
movq 0x48(%rsp), %rdi
movl $0x4, %esi
callq 0x53c0
movl %eax, 0x28(%rsp)
movq 0x48(%rsp), %rdi
movl $0x5, %esi
callq 0x53c0
movl %eax, 0x24(%rsp)
movq 0x48(%rsp), %rdi
movl $0x6, %esi
callq 0x53c0
movl %eax, 0x20(%rsp)
movq 0x48(%rsp), %rdi
movl $0x7, %esi
movq $-0x1, %rdx
callq 0x5470
movl %eax, 0x1c(%rsp)
movq 0x8ce2(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x138(%rax)
jne 0x1b365
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1b34c
movq 0x48(%rsp), %rdi
leaq 0x43a8(%rip), %rsi      # 0x1f6da
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x54(%rsp)
jmp 0x1b3a8
movq 0x48(%rsp), %rdi
leaq 0x43b9(%rip), %rsi      # 0x1f711
movb $0x0, %al
callq 0x5590
movl %eax, 0x54(%rsp)
jmp 0x1b3a8
jmp 0x1b367
movq 0x8c7a(%rip), %rax      # 0x23fe8
movq 0x138(%rax), %rax
movq 0x38(%rsp), %rcx
movq 0x28(%rcx), %rdi
movq 0x30(%rsp), %rsi
movl 0x2c(%rsp), %edx
movl 0x28(%rsp), %ecx
movl 0x24(%rsp), %r8d
movl 0x20(%rsp), %r9d
movl 0x1c(%rsp), %r10d
movl %r10d, (%rsp)
callq *%rax
movl $0x0, 0x54(%rsp)
movl 0x54(%rsp), %eax
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: WaitEventsTimeout
static int WaitEventsTimeout(lua_State *L)
    {
    double timeout = luaL_checknumber(L, 1);
    CheckPfn(L, WaitEventsTimeout, 3, 2, 0);
    glfw.WaitEventsTimeout(timeout);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x5220
movsd %xmm0, (%rsp)
movq 0x8bc4(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x1a0(%rax)
jne 0x1b483
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1b46a
movq 0x8(%rsp), %rdi
leaq 0x42e8(%rip), %rsi      # 0x1f738
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1b4a2
movq 0x8(%rsp), %rdi
leaq 0x42fa(%rip), %rsi      # 0x1f770
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1b4a2
jmp 0x1b485
movq 0x8b5c(%rip), %rax      # 0x23fe8
movq 0x1a0(%rax), %rax
movsd (%rsp), %xmm0
callq *%rax
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowShouldClose
static int SetWindowShouldClose(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    int value = checkboolean(L, 2);
    glfw.SetWindowShouldClose(win->window, value);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movl $0x2, %esi
callq 0x5070
movzbl %al, %eax
movl %eax, 0x4(%rsp)
movq 0x8a3e(%rip), %rax      # 0x23fe8
movq 0xa8(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0x4(%rsp), %esi
callq *%rax
xorl %eax, %eax
addq $0x18, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowTitle
static int SetWindowTitle(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    const char *title = luaL_optstring(L, 2, "");
    glfw.SetWindowTitle(win->window, title);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movl $0x2, %esi
leaq 0x2d20(%rip), %rdx      # 0x1e31e
xorl %eax, %eax
movl %eax, %ecx
callq 0x5250
movq %rax, (%rsp)
movq 0x89d6(%rip), %rax      # 0x23fe8
movq 0xb0(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
movq (%rsp), %rsi
callq *%rax
xorl %eax, %eax
addq $0x18, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowTitle
static int GetWindowTitle(lua_State *L)
    {
    const char *title;
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, GetWindowTitle, 3, 4, 0);
    title = glfw.GetWindowTitle(win->window);
    lua_pushstring(L, title);
    return 1;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x8994(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x388(%rax)
jne 0x1b6b3
movl $0x3, %edi
movl $0x4, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1b69a
movq 0x18(%rsp), %rdi
leaq 0x4118(%rip), %rsi      # 0x1f798
movl $0x3, %edx
movl $0x4, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1b6ea
movq 0x18(%rsp), %rdi
leaq 0x4127(%rip), %rsi      # 0x1f7cd
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1b6ea
jmp 0x1b6b5
movq 0x892c(%rip), %rax      # 0x23fe8
movq 0x388(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x5670
movl $0x1, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowPos
static int GetWindowPos(lua_State *L)
    {
    int xpos, ypos;
    win_t *win = checkwindow(L, 1);
    glfw.GetWindowPos(win->window, &xpos, &ypos);
    lua_pushinteger(L, xpos);
    lua_pushinteger(L, ypos);
    return 2;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x88c5(%rip), %rax      # 0x23fe8
movq 0xc0(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq *%rax
movq 0x10(%rsp), %rdi
movslq 0xc(%rsp), %rsi
callq 0x5300
movq 0x10(%rsp), %rdi
movslq 0x8(%rsp), %rsi
callq 0x5300
movl $0x2, %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowPos
static int SetWindowPos(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    int xpos = luaL_checkinteger(L, 2);
    int ypos = luaL_checkinteger(L, 3);
    glfw.SetWindowPos(win->window, xpos, ypos);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movl $0x2, %esi
callq 0x53c0
movl %eax, 0x4(%rsp)
movq 0x10(%rsp), %rdi
movl $0x3, %esi
callq 0x53c0
movl %eax, (%rsp)
movq 0x882f(%rip), %rax      # 0x23fe8
movq 0xc8(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0x4(%rsp), %esi
movl (%rsp), %edx
callq *%rax
xorl %eax, %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowSize
static int GetWindowSize(lua_State *L)
    {
    int width, height;
    win_t *win = checkwindow(L, 1);
    glfw.GetWindowSize(win->window, &width, &height);
    lua_pushinteger(L, width);
    lua_pushinteger(L, height);
    return 2;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x87e5(%rip), %rax      # 0x23fe8
movq 0xd0(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq *%rax
movq 0x10(%rsp), %rdi
movslq 0xc(%rsp), %rsi
callq 0x5300
movq 0x10(%rsp), %rdi
movslq 0x8(%rsp), %rsi
callq 0x5300
movl $0x2, %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowSize
static int SetWindowSize(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    int width = luaL_checkinteger(L, 2);
    int height = luaL_checkinteger(L, 3);
    glfw.SetWindowSize(win->window, width, height);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movl $0x2, %esi
callq 0x53c0
movl %eax, 0x4(%rsp)
movq 0x10(%rsp), %rdi
movl $0x3, %esi
callq 0x53c0
movl %eax, (%rsp)
movq 0x874f(%rip), %rax      # 0x23fe8
movq 0xe8(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
movl 0x4(%rsp), %esi
movl (%rsp), %edx
callq *%rax
xorl %eax, %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetFramebufferSize
static int GetFramebufferSize(lua_State *L)
    {
    int width, height;
    win_t *win = checkwindow(L, 1);
    glfw.GetFramebufferSize(win->window, &width, &height);
    lua_pushinteger(L, width);
    lua_pushinteger(L, height);
    return 2;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x8705(%rip), %rax      # 0x23fe8
movq 0xf0(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq *%rax
movq 0x10(%rsp), %rdi
movslq 0xc(%rsp), %rsi
callq 0x5300
movq 0x10(%rsp), %rdi
movslq 0x8(%rsp), %rsi
callq 0x5300
movl $0x2, %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowFrameSize
static int GetWindowFrameSize(lua_State *L)
    {
    int left, top, right, bottom;
    win_t *win = checkwindow(L, 1);
    (void)L;
    glfw.GetWindowFrameSize(win->window, &left, &top, &right, &bottom);
    lua_pushinteger(L, left);
    lua_pushinteger(L, top);
    lua_pushinteger(L, right);
    lua_pushinteger(L, bottom);
    return 4;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x8694(%rip), %rax      # 0x23fe8
movq 0xf8(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
leaq 0x1c(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0x14(%rsp), %rcx
leaq 0x10(%rsp), %r8
callq *%rax
movq 0x20(%rsp), %rdi
movslq 0x1c(%rsp), %rsi
callq 0x5300
movq 0x20(%rsp), %rdi
movslq 0x18(%rsp), %rsi
callq 0x5300
movq 0x20(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x5300
movq 0x20(%rsp), %rdi
movslq 0x10(%rsp), %rsi
callq 0x5300
movl $0x4, %eax
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: MaximizeWindow
static int MaximizeWindow(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, MaximizeWindow, 3, 2, 0);
    glfw.MaximizeWindow(win->window);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x8585(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x110(%rax)
jne 0x1bac2
movl $0x3, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5680
cmpl $0x0, %eax
jne 0x1baa9
movq 0x8(%rsp), %rdi
leaq 0x3d63(%rip), %rsi      # 0x1f7f2
movl $0x3, %edx
movl $0x2, %ecx
xorl %r8d, %r8d
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1bae4
movq 0x8(%rsp), %rdi
leaq 0x3d72(%rip), %rsi      # 0x1f827
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1bae4
jmp 0x1bac4
movq 0x851d(%rip), %rax      # 0x23fe8
movq 0x110(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowMonitor
static int GetWindowMonitor(lua_State *L)
    {
    int id;
    win_t *win = checkwindow(L, 1);
    GLFWmonitor *monitor = glfw.GetWindowMonitor(win->window);
    if(!monitor)
        return 0;
    id = monitorAdd(L, monitor);
    lua_pushinteger(L, id); 
    return 1;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x8454(%rip), %rax      # 0x23fe8
movq 0x130(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
jne 0x1bbbb
movl $0x0, 0x24(%rsp)
jmp 0x1bbe4
movq 0x18(%rsp), %rdi
movq (%rsp), %rsi
callq 0x53d0
movl %eax, 0x14(%rsp)
movq 0x18(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x5300
movl $0x1, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowContentScale
static int GetWindowContentScale(lua_State *L)
    {
    float xscale, yscale;
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, GetWindowContentScale, 3, 3, 0);
    glfw.GetWindowContentScale(win->window, &xscale, &yscale);
    lua_pushnumber(L, xscale);
    lua_pushnumber(L, yscale);
    return 2;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x8(%rsp)
movq 0x83d4(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x300(%rax)
jne 0x1bc6d
movl $0x3, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x5680
cmpl $0x0, %eax
jne 0x1bc54
movq 0x18(%rsp), %rdi
leaq 0x3c0f(%rip), %rsi      # 0x1f84c
movl $0x3, %ecx
xorl %r8d, %r8d
movl %ecx, %edx
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1bcc2
movq 0x18(%rsp), %rdi
leaq 0x3c28(%rip), %rsi      # 0x1f888
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1bcc2
jmp 0x1bc6f
movq 0x8372(%rip), %rax      # 0x23fe8
movq 0x300(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x28(%rcx), %rdi
leaq 0x14(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq *%rax
movq 0x18(%rsp), %rdi
movss 0x14(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x5440
movq 0x18(%rsp), %rdi
movss 0x10(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x5440
movl $0x2, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: GetWindowOpacity
static int GetWindowOpacity(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, GetWindowOpacity, 3, 3, 0);
    lua_pushnumber(L, glfw.GetWindowOpacity(win->window));
    return 1;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x10(%rsp)
movq 0x82f4(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x308(%rax)
jne 0x1bd4d
movl $0x3, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x5680
cmpl $0x0, %eax
jne 0x1bd34
movq 0x18(%rsp), %rdi
leaq 0x3b97(%rip), %rsi      # 0x1f8b4
movl $0x3, %ecx
xorl %r8d, %r8d
movl %ecx, %edx
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1bd88
movq 0x18(%rsp), %rdi
leaq 0x3bab(%rip), %rsi      # 0x1f8eb
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1bd88
jmp 0x1bd4f
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8288(%rip), %rax      # 0x23fe8
movq 0x308(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movq 0x8(%rsp), %rdi
cvtss2sd %xmm0, %xmm0
callq 0x5440
movl $0x1, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: SetWindowOpacity
static int SetWindowOpacity(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    float opacity = luaL_checknumber(L, 2);
    CheckPfn(L, SetWindowOpacity, 3, 3, 0);
    glfw.SetWindowOpacity(win->window, opacity);
    return 0;
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movl $0x2, %esi
callq 0x5220
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
movq 0x820b(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x310(%rax)
jne 0x1be36
movl $0x3, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x5680
cmpl $0x0, %eax
jne 0x1be1d
movq 0x18(%rsp), %rdi
leaq 0x3b0c(%rip), %rsi      # 0x1f912
movl $0x3, %ecx
xorl %r8d, %r8d
movl %ecx, %edx
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1be5f
movq 0x18(%rsp), %rdi
leaq 0x3b20(%rip), %rsi      # 0x1f949
movb $0x0, %al
callq 0x5590
movl %eax, 0x24(%rsp)
jmp 0x1be5f
jmp 0x1be38
movq 0x81a9(%rip), %rax      # 0x23fe8
movq 0x310(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x28(%rcx), %rdi
movss 0xc(%rsp), %xmm0
callq *%rax
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/window.c
// Function: RequestWindowAttention
static int RequestWindowAttention(lua_State *L)
    {
    win_t *win = checkwindow(L, 1);
    CheckPfn(L, RequestWindowAttention, 3, 3, 0);
    glfw.RequestWindowAttention(win->window);
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x5550
movq %rax, (%rsp)
movq 0x8155(%rip), %rax      # 0x23fe8
cmpq $0x0, 0x318(%rax)
jne 0x1beec
movl $0x3, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x5680
cmpl $0x0, %eax
jne 0x1bed3
movq 0x8(%rsp), %rdi
leaq 0x3ab4(%rip), %rsi      # 0x1f970
movl $0x3, %ecx
xorl %r8d, %r8d
movl %ecx, %edx
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1bf0e
movq 0x8(%rsp), %rdi
leaq 0x3ace(%rip), %rsi      # 0x1f9ad
movb $0x0, %al
callq 0x5590
movl %eax, 0x14(%rsp)
jmp 0x1bf0e
jmp 0x1beee
movq 0x80f3(%rip), %rax      # 0x23fe8
movq 0x318(%rax), %rax
movq (%rsp), %rcx
movq 0x28(%rcx), %rdi
callq *%rax
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/cirocosta[P]stress/src/print.c
// Function: thread_handler
void*
thread_handler(void* arg)
{
	thread_arg_t* targ = (thread_arg_t*)arg;
	char file_buffer[CHUNK_SIZE] = { 0 };
	unsigned long writes = targ->count * _STRESS_MB(1) / CHUNK_SIZE;

	memset(file_buffer, 65, CHUNK_SIZE);
	while (writes-- > 0) {
		_STRESS_MUST(write(targ->fd, file_buffer, CHUNK_SIZE) != -1,
		             "Couldn't properly write chunk to fd %d",
		             targ->fd);
	}

	return NULL;
}

// Assembly:
subq $0x1028, %rsp           # imm = 0x1028
movq %rdi, 0x1020(%rsp)
movq 0x1020(%rsp), %rax
movq %rax, 0x1018(%rsp)
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x10b0
movq 0x1018(%rsp), %rax
movslq (%rax), %rax
shlq $0x14, %rax
shrq $0xc, %rax
movq %rax, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movl $0x41, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x10b0
movq 0x8(%rsp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, 0x8(%rsp)
cmpq $0x0, %rax
jbe 0x1a25
jmp 0x1919
movq 0x1018(%rsp), %rax
movl 0x4(%rax), %edi
leaq 0x10(%rsp), %rsi
movl $0x1000, %edx           # imm = 0x1000
callq 0x1060
cmpq $-0x1, %rax
jne 0x1a1e
movq 0x26b4(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x6ea(%rip), %rsi       # 0x2038
movb $0x0, %al
callq 0x10d0
movq 0x269c(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x6d8(%rip), %rsi       # 0x203e
movb $0x0, %al
callq 0x10d0
movq 0x2684(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
movq 0x1018(%rsp), %rax
movl 0x4(%rax), %edx
leaq 0x797(%rip), %rsi       # 0x2120
movb $0x0, %al
callq 0x10d0
movq 0x2661(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x6c4(%rip), %rsi       # 0x2065
movb $0x0, %al
callq 0x10d0
movq 0x2649(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x6af(%rip), %rsi       # 0x2068
leaq 0x787(%rip), %rdx       # 0x2147
movb $0x0, %al
callq 0x10d0
movq 0x262a(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x6ac(%rip), %rsi       # 0x2084
movl $0x21, %edx
movb $0x0, %al
callq 0x10d0
movq 0x260d(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x671(%rip), %rsi       # 0x2066
movb $0x0, %al
callq 0x10d0
movq 0x25f5(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
leaq 0x684(%rip), %rsi       # 0x2091
movb $0x0, %al
callq 0x10d0
movl $0x1, %edi
callq 0x1110
jmp 0x1a20
jmp 0x18fc
xorl %eax, %eax
addq $0x1028, %rsp           # imm = 0x1028
retq
nop
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/healpix.c
// Function: hpix_new
HealPix* hpix_new(int64 nside) {
    HealPix* hpix;

    if (nside < 1 || nside > NS_MAX) {
        fprintf(stderr,"nside %ld out of range [%d, %d]\n", nside, 1, NS_MAX);
        exit(EXIT_FAILURE);
    }

    hpix = malloc(sizeof(HealPix));
    if (hpix == NULL) {
        printf("Could not allocate HealPix\n");
        exit(EXIT_FAILURE);
    }

    hpix->nside = nside;
    hpix->npix = hpix_npix(nside);
    hpix->half_npix = hpix->npix/2;
    hpix->area = hpix_area(nside);
    hpix->ncap = 2*nside*(nside-1); // number of pixels in the north polar cap

    return hpix;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x1, -0x8(%rbp)
jl 0x240d
cmpq $0x10000000, -0x8(%rbp) # imm = 0x10000000
jle 0x243e
movq 0xfbe4(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rdx
leaq 0xbc9e(%rip), %rsi      # 0xe0c0
movl $0x1, %ecx
movl $0x10000000, %r8d       # imm = 0x10000000
movb $0x0, %al
callq 0x2170
movl $0x1, %edi
callq 0x2250
movl $0x28, %edi
callq 0x21d0
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x246b
leaq 0xbc87(%rip), %rdi      # 0xe0e1
movb $0x0, %al
callq 0x20e0
movl $0x1, %edi
callq 0x2250
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rdi
callq 0x2390
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rdi
callq 0x23b0
movq -0x10(%rbp), %rax
movsd %xmm0, 0x20(%rax)
movq -0x8(%rbp), %rcx
shlq %rcx
movq -0x8(%rbp), %rax
subq $0x1, %rax
imulq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/healpix.c
// Function: hpix_disc_intersect
void hpix_disc_intersect(
        const HealPix* hpix,
        double ra, double dec, double radius, 
        lvector* listpix) {

    // this is from the f90 code
    // this number is acos(2/3)
    //double fudge = 0.84106867056793033/hpix->nside; // 1.071* half pixel size

    // this is from the c++ code
    double fudge = 1.362*M_PI/(4*hpix->nside);

    radius += fudge;
    hpix_disc_contains(hpix, ra, dec, radius, listpix);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movsd %xmm1, -0x18(%rbp)
movsd %xmm2, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
shlq $0x2, %rax
cvtsi2sd %rax, %xmm1
movsd 0xbad9(%rip), %xmm0     # 0xe010
divsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movsd -0x10(%rbp), %xmm0
movsd -0x18(%rbp), %xmm1
movsd -0x20(%rbp), %xmm2
movq -0x28(%rbp), %rsi
callq 0x2580
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/healpix.c
// Function: hpix_eq2xyz
void hpix_eq2xyz(double ra, double dec, double* x, double* y, double* z) {

    double theta=0, phi=0;

    hpix_radec_degrees_to_thetaphi_radians(ra, dec, &theta, &phi);

    double sintheta = sin(theta);
    *x = sintheta * cos(phi);
    *y = sintheta * sin(phi);
    *z = cos(theta);

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movsd %xmm0, -0x8(%rbp)
movsd %xmm1, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movsd -0x8(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x3760
movsd -0x30(%rbp), %xmm0
callq 0x2220
movsd %xmm0, -0x40(%rbp)
movsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x50(%rbp)
movsd -0x38(%rbp), %xmm0
callq 0x2120
movaps %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x38(%rbp), %xmm0
callq 0x2220
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
mulsd %xmm1, %xmm0
movq -0x20(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x30(%rbp), %xmm0
callq 0x2120
movq -0x28(%rbp), %rax
movsd %xmm0, (%rax)
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/healpix.c
// Function: hpix_ring_num
int64 hpix_ring_num(const HealPix* hpix, double z) {
    int64 nside=hpix->nside;

    // rounds double to nearest long long int
    int64 iring = llrintl( nside*(2.-1.5*z) );

    // north cap
    if (z > M_TWOTHIRD) {
        iring = llrintl( nside* sqrt(3.*(1.-z)) );
        if (iring == 0) {
            iring = 1;
        }
    } else if (z < -M_TWOTHIRD) {
        iring = llrintl( nside* sqrt(3.*(1.+z)) );

        if (iring == 0) {
            iring = 1;
        }
        iring = 4*nside - iring;
    }

    return iring;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
cvtsi2sdq -0x18(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
movsd 0xb389(%rip), %xmm2     # 0xe058
mulsd %xmm2, %xmm1
movsd 0xb33d(%rip), %xmm2     # 0xe018
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
fldl -0x28(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq 0x21b0
movq %rax, -0x20(%rbp)
movsd -0x10(%rbp), %xmm0
movsd 0xb34a(%rip), %xmm1     # 0xe050
ucomisd %xmm1, %xmm0
jbe 0x2d6c
cvtsi2sdq -0x18(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x10(%rbp), %xmm1
movsd 0xb304(%rip), %xmm0     # 0xe028
subsd %xmm1, %xmm0
movsd 0xb2f0(%rip), %xmm1     # 0xe020
mulsd %xmm1, %xmm0
callq 0x2270
movaps %xmm0, %xmm1
movsd -0x40(%rbp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
fldl -0x38(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq 0x21b0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2d6a
movq $0x1, -0x20(%rbp)
jmp 0x2deb
movsd 0xb2ec(%rip), %xmm0     # 0xe060
ucomisd -0x10(%rbp), %xmm0
jbe 0x2de9
cvtsi2sdq -0x18(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x10(%rbp), %xmm0
movsd 0xb295(%rip), %xmm1     # 0xe028
addsd %xmm1, %xmm0
movsd 0xb281(%rip), %xmm1     # 0xe020
mulsd %xmm1, %xmm0
callq 0x2270
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
fldl -0x30(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq 0x21b0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2dd9
movq $0x1, -0x20(%rbp)
movq -0x18(%rbp), %rax
shlq $0x2, %rax
subq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0x2deb
movq -0x20(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/healpix.c
// Function: hpix_radec_degrees_to_thetaphi_radians
void hpix_radec_degrees_to_thetaphi_radians(double ra, double dec, double* theta, double* phi) {

    if (ra < 0.0 || ra > 360.) {
        printf("ra %g out of range [0,360.]\n", ra);
        exit(EXIT_FAILURE);
    }
    if (dec < -90. || dec > 90.) {
        printf("dec %g out of range [-90.,90.]\n", dec);
        exit(EXIT_FAILURE);
    }

    *phi = ra*D2R;
    *theta = -dec*D2R + M_PI_2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movsd %xmm0, -0x8(%rbp)
movsd %xmm1, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
xorps %xmm0, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x3797
movsd -0x8(%rbp), %xmm0
movsd 0xa8ff(%rip), %xmm1     # 0xe090
ucomisd %xmm1, %xmm0
jbe 0x37b4
movsd -0x8(%rbp), %xmm0
leaq 0xa970(%rip), %rdi      # 0xe113
movb $0x1, %al
callq 0x20e0
movl $0x1, %edi
callq 0x2250
movsd 0xa8dc(%rip), %xmm0     # 0xe098
ucomisd -0x10(%rbp), %xmm0
ja 0x37d6
movsd -0x10(%rbp), %xmm0
movsd 0xa8d0(%rip), %xmm1     # 0xe0a0
ucomisd %xmm1, %xmm0
jbe 0x37f3
movsd -0x10(%rbp), %xmm0
leaq 0xa94e(%rip), %rdi      # 0xe130
movb $0x1, %al
callq 0x20e0
movl $0x1, %edi
callq 0x2250
movsd 0xa8ad(%rip), %xmm0     # 0xe0a8
mulsd -0x8(%rbp), %xmm0
movq -0x20(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x10(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0xa87c(%rip), %xmm1     # 0xe0a8
mulsd %xmm1, %xmm0
movsd 0xa7f8(%rip), %xmm1     # 0xe030
addsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, (%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/cosmo.c
// Function: cosmo_new
Cosmo* cosmo_new(
        double H0, 
        int flat,
        double omega_m,
        double omega_l,
        double omega_k) {

    Cosmo* c;
    c=(Cosmo* ) calloc(1,sizeof(Cosmo));

    if (c == NULL) {
        return NULL;
    }

    c->H0=H0;
    c->DH=CLIGHT/H0;
    c->flat=flat;
    c->omega_m=omega_m;
    c->omega_l=omega_l;
    c->omega_k=omega_k;

    c->tcfac = 0;
    if (c->flat != 1) {
        if (c->omega_k > 0) {
            c->tcfac = sqrt(c->omega_k)/c->DH;
        } else {
            c->tcfac = sqrt(-c->omega_k)/c->DH;
        }
    }

    gauleg(-1.0,1.0, NPTS,  c->x,  c->w);
    gauleg(-1.0,1.0, VNPTS, c->vx, c->vw);

    return c;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movsd %xmm0, -0x10(%rbp)
movl %edi, -0x14(%rbp)
movsd %xmm1, -0x20(%rbp)
movsd %xmm2, -0x28(%rbp)
movsd %xmm3, -0x30(%rbp)
movl $0x1, %edi
movl $0x128, %esi            # imm = 0x128
callq 0x2140
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x3896
movq $0x0, -0x8(%rbp)
jmp 0x39d1
movsd -0x10(%rbp), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x8(%rax)
movsd 0xa8a4(%rip), %xmm0     # 0xe150
divsd -0x10(%rbp), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x10(%rax)
movl -0x14(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, (%rax)
movsd -0x20(%rbp), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x18(%rax)
movsd -0x28(%rbp), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x20(%rax)
movsd -0x30(%rbp), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x28(%rax)
movq -0x38(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x30(%rax)
movq -0x38(%rbp), %rax
cmpl $0x1, (%rax)
je 0x396f
movq -0x38(%rbp), %rax
movsd 0x28(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x3936
movq -0x38(%rbp), %rax
movsd 0x28(%rax), %xmm0
callq 0x2270
movq -0x38(%rbp), %rax
divsd 0x10(%rax), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x30(%rax)
jmp 0x396d
movq -0x38(%rbp), %rax
movsd 0x28(%rax), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
callq 0x2270
movq -0x38(%rbp), %rax
divsd 0x10(%rax), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, 0x30(%rax)
jmp 0x396f
movq -0x38(%rbp), %rsi
addq $0x38, %rsi
movq -0x38(%rbp), %rdx
addq $0x60, %rdx
movsd 0xa6b9(%rip), %xmm0     # 0xe040
movsd 0xa699(%rip), %xmm1     # 0xe028
movl $0x5, %edi
callq 0x39e0
movq -0x38(%rbp), %rsi
addq $0x88, %rsi
movq -0x38(%rbp), %rdx
addq $0xd8, %rdx
movsd 0xa689(%rip), %xmm0     # 0xe040
movsd 0xa669(%rip), %xmm1     # 0xe028
movl $0xa, %edi
callq 0x39e0
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/cosmo.c
// Function: cosmo_print
void cosmo_print(Cosmo* c) {
    wlog("    H0: %lf\n", c->H0);
    wlog("    DH: %lf\n", c->DH);
    wlog("    flat: %d\n", c->flat);
    wlog("    omega_m: %lf\n", c->omega_m);
    wlog("    omega_l: %lf\n", c->omega_l);
    wlog("    omega_k: %lf\n", c->omega_k);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq 0xe2a5(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movsd 0x8(%rax), %xmm0
leaq 0xa40a(%rip), %rsi      # 0xe170
movb $0x1, %al
callq 0x2170
movq 0xe284(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movsd 0x10(%rax), %xmm0
leaq 0xa3f6(%rip), %rsi      # 0xe17d
movb $0x1, %al
callq 0x2170
movq 0xe263(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %edx
leaq 0xa3e5(%rip), %rsi      # 0xe18a
movb $0x0, %al
callq 0x2170
movq 0xe245(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movsd 0x18(%rax), %xmm0
leaq 0xa3d2(%rip), %rsi      # 0xe198
movb $0x1, %al
callq 0x2170
movq 0xe224(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movsd 0x20(%rax), %xmm0
leaq 0xa3c3(%rip), %rsi      # 0xe1aa
movb $0x1, %al
callq 0x2170
movq 0xe203(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movsd 0x28(%rax), %xmm0
leaq 0xa3b4(%rip), %rsi      # 0xe1bc
movb $0x1, %al
callq 0x2170
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/cosmo.c
// Function: ez_inverse_integral
double ez_inverse_integral(Cosmo* c, double zmin, double zmax) {
    int i;
    double f1, f2, z, ezinv_int=0, ezinv;

    f1 = (zmax-zmin)/2.;
    f2 = (zmax+zmin)/2.;

    ezinv_int = 0.0;

    for (i=0;i<NPTS;i++) {
        z = c->x[i]*f1 + f2;

        ezinv = ez_inverse(c, z);
        ezinv_int += f1*ezinv*c->w[i];
    }

    return ezinv_int;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movsd %xmm1, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x18(%rbp), %xmm0
subsd -0x10(%rbp), %xmm0
movsd 0xa158(%rip), %xmm1     # 0xe018
divsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x18(%rbp), %xmm0
addsd -0x10(%rbp), %xmm0
movsd 0xa13d(%rip), %xmm1     # 0xe018
divsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x40(%rbp)
movl $0x0, -0x1c(%rbp)
cmpl $0x5, -0x1c(%rbp)
jge 0x3f66
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsd 0x38(%rax,%rcx,8), %xmm0
movsd -0x28(%rbp), %xmm2
movsd -0x30(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x8(%rbp), %rdi
movsd -0x38(%rbp), %xmm0
callq 0x4150
movsd %xmm0, -0x48(%rbp)
movsd -0x28(%rbp), %xmm0
mulsd -0x48(%rbp), %xmm0
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsd 0x60(%rax,%rcx,8), %xmm2
movsd -0x40(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3ef3
movsd -0x40(%rbp), %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)