// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/win.c
// Function: moonglfw_win_free
void win_free(win_t* win)
    {
    if(win_search(win->id) == win)
        {
        /* release callback references */
        CALLBACK_UNREF(win->WindowPos);
        CALLBACK_UNREF(win->WindowSize);
        CALLBACK_UNREF(win->WindowClose);
        CALLBACK_UNREF(win->WindowRefresh);
        CALLBACK_UNREF(win->WindowFocus);
        CALLBACK_UNREF(win->WindowIconify);
        CALLBACK_UNREF(win->WindowMaximize);
        CALLBACK_UNREF(win->WindowContentScale);
        CALLBACK_UNREF(win->FramebufferSize);
        CALLBACK_UNREF(win->Key);
        CALLBACK_UNREF(win->Char);
        CALLBACK_UNREF(win->CharMods);
        CALLBACK_UNREF(win->MouseButton);
        CALLBACK_UNREF(win->CursorPos);
        CALLBACK_UNREF(win->CursorEnter);
        CALLBACK_UNREF(win->Scroll);
        CALLBACK_UNREF(win->Drop);
        win_remove(win);
        }
    id_free(win->id);
    free(win);
    }

// Assembly:
pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rax
movl 0x20(%rax), %edi
callq 0x5410
cmpq (%rsp), %rax
jne 0x19978
jmp 0x195fd
movq (%rsp), %rax
cmpl $-0x2, 0x34(%rax)
je 0x1962d
movq 0xa9ca(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x34(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x34(%rax) # imm = 0xFFFFFFFE
jmp 0x1962f
jmp 0x19631
movq (%rsp), %rax
cmpl $-0x2, 0x38(%rax)
je 0x19661
movq 0xa996(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x38(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x38(%rax) # imm = 0xFFFFFFFE
jmp 0x19663
jmp 0x19665
movq (%rsp), %rax
cmpl $-0x2, 0x3c(%rax)
je 0x19695
movq 0xa962(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x3c(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x3c(%rax) # imm = 0xFFFFFFFE
jmp 0x19697
jmp 0x19699
movq (%rsp), %rax
cmpl $-0x2, 0x40(%rax)
je 0x196c9
movq 0xa92e(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x40(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x40(%rax) # imm = 0xFFFFFFFE
jmp 0x196cb
jmp 0x196cd
movq (%rsp), %rax
cmpl $-0x2, 0x44(%rax)
je 0x196fd
movq 0xa8fa(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x44(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x44(%rax) # imm = 0xFFFFFFFE
jmp 0x196ff
jmp 0x19701
movq (%rsp), %rax
cmpl $-0x2, 0x48(%rax)
je 0x19731
movq 0xa8c6(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x48(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x48(%rax) # imm = 0xFFFFFFFE
jmp 0x19733
jmp 0x19735
movq (%rsp), %rax
cmpl $-0x2, 0x4c(%rax)
je 0x19765
movq 0xa892(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x4c(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x4c(%rax) # imm = 0xFFFFFFFE
jmp 0x19767
jmp 0x19769
movq (%rsp), %rax
cmpl $-0x2, 0x50(%rax)
je 0x19799
movq 0xa85e(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x50(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x50(%rax) # imm = 0xFFFFFFFE
jmp 0x1979b
jmp 0x1979d
movq (%rsp), %rax
cmpl $-0x2, 0x54(%rax)
je 0x197cd
movq 0xa82a(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x54(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x54(%rax) # imm = 0xFFFFFFFE
jmp 0x197cf
jmp 0x197d1
movq (%rsp), %rax
cmpl $-0x2, 0x58(%rax)
je 0x19801
movq 0xa7f6(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x58(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x58(%rax) # imm = 0xFFFFFFFE
jmp 0x19803
jmp 0x19805
movq (%rsp), %rax
cmpl $-0x2, 0x5c(%rax)
je 0x19835
movq 0xa7c2(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x5c(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x5c(%rax) # imm = 0xFFFFFFFE
jmp 0x19837
jmp 0x19839
movq (%rsp), %rax
cmpl $-0x2, 0x60(%rax)
je 0x19869
movq 0xa78e(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x60(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x60(%rax) # imm = 0xFFFFFFFE
jmp 0x1986b
jmp 0x1986d
movq (%rsp), %rax
cmpl $-0x2, 0x64(%rax)
je 0x1989d
movq 0xa75a(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x64(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x64(%rax) # imm = 0xFFFFFFFE
jmp 0x1989f
jmp 0x198a1
movq (%rsp), %rax
cmpl $-0x2, 0x68(%rax)
je 0x198d1
movq 0xa726(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x68(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x68(%rax) # imm = 0xFFFFFFFE
jmp 0x198d3
jmp 0x198d5
movq (%rsp), %rax
cmpl $-0x2, 0x6c(%rax)
je 0x19905
movq 0xa6f2(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x6c(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x6c(%rax) # imm = 0xFFFFFFFE
jmp 0x19907
jmp 0x19909
movq (%rsp), %rax
cmpl $-0x2, 0x70(%rax)
je 0x19939
movq 0xa6be(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x70(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x70(%rax) # imm = 0xFFFFFFFE
jmp 0x1993b
jmp 0x1993d
movq (%rsp), %rax
cmpl $-0x2, 0x74(%rax)
je 0x1996d
movq 0xa68a(%rip), %rax      # 0x23fd8
movq (%rax), %rdi
movq (%rsp), %rax
movl 0x74(%rax), %edx
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x5660
movq (%rsp), %rax
movl $0xfffffffe, 0x74(%rax) # imm = 0xFFFFFFFE
jmp 0x1996f
movq (%rsp), %rdi
callq 0x19990
movq (%rsp), %rax
movl 0x20(%rax), %edi
callq 0x55a0
movq (%rsp), %rdi
callq 0x50b0
popq %rax
retq
nop