// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_end
NK_API void
nk_end(struct nk_context *ctx)
{
    struct nk_panel *layout;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current && "if this triggers you forgot to call `nk_begin`");
    if (!ctx || !ctx->current)
        return;

    layout = ctx->current->layout;
    if (!layout || (layout->type == NK_PANEL_WINDOW && (ctx->current->flags & NK_WINDOW_HIDDEN))) {
        ctx->current = 0;
        return;
    }
    nk_panel_end(ctx);
    nk_free_panel(ctx, ctx->current->layout);
    ctx->current = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3b1a6
movq 0x4be6f(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x35c11(%rip), %rsi     # 0x70d9c
leaq 0x35c28(%rip), %rdx     # 0x70dba
movl $0x5024, %ecx           # imm = 0x5024
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rbp
testq %rbp, %rbp
jne 0x3b1ee
movq 0x4be37(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x35bd9(%rip), %rsi     # 0x70d9c
leaq 0x35bf0(%rip), %rdx     # 0x70dba
movl $0x5025, %ecx           # imm = 0x5025
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rbp
testq %rbp, %rbp
je 0x3c011
movq 0xa8(%rbp), %r13
testq %r13, %r13
je 0x3c006
movl (%r13), %esi
cmpl $0x1, %esi
jne 0x3b238
testb $0x20, 0x49(%rbp)
jne 0x3c006
leaq 0x168(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x68(%rbp), %r15
leaq 0x4(%r13), %rax
movq %rax, 0x48(%rsp)
xorl %r14d, %r14d
testb $0x14, 0x5(%r13)
cmoveq %rbx, %r14
jmp 0x3b269
leaq 0x168(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x68(%rbp), %r15
leaq 0x4(%r13), %rax
movq %rax, 0x48(%rsp)
movl 0x4(%r13), %r12d
xorl %r14d, %r14d
testl $0x1400, %r12d          # imm = 0x1400
cmoveq %rbx, %r14
testb $-0xa, %sil
jne 0x3b287
movaps 0x32280(%rip), %xmm0    # 0x6d4f0
movaps 0x32289(%rip), %xmm1    # 0x6d500
movq %r15, %rdi
callq 0x13a50
movl (%r13), %esi
movl 0x4(%r13), %r12d
movsd 0x24bc(%rbx), %xmm0
movaps %xmm0, 0x30(%rsp)
movq 0x68(%rsp), %rdi
callq 0x3f4dd
movss 0x78(%r13), %xmm1
addss 0x2c(%r13), %xmm1
movaps %xmm0, 0x50(%rsp)
movss %xmm1, 0x2c(%r13)
andl $0x8800, %r12d          # imm = 0x8800
cmpl $0x800, %r12d           # imm = 0x800
movq 0x48(%rsp), %r12
jne 0x3b3dc
movss 0xc(%r13), %xmm2
movss 0x14(%r13), %xmm0
addss %xmm2, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x3b2ed
subss %xmm2, %xmm1
movss %xmm1, 0x14(%r13)
movl 0x2448(%rbx), %esi
movss 0x4c(%rbp), %xmm0
movss 0x54(%rbp), %xmm3
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movaps 0x50(%rsp), %xmm1
movss %xmm3, %xmm1            # xmm1 = xmm3[0],xmm1[1,2,3]
xorps %xmm2, %xmm2
movq %r15, %rdi
callq 0x12de0
movss 0x3c(%r13), %xmm1
addss 0x50(%rsp), %xmm1
movl 0x2448(%rbx), %esi
movss 0xc(%r13), %xmm2
movss 0x14(%r13), %xmm0
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movss 0x4c(%rbp), %xmm0
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
xorps %xmm2, %xmm2
movq %r15, %rdi
callq 0x12de0
movss 0x8(%r13), %xmm0
addss 0x10(%r13), %xmm0
movss 0xc(%r13), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movss 0x3c(%r13), %xmm2
addss 0x50(%rsp), %xmm2
movss 0x14(%r13), %xmm3
movaps %xmm2, %xmm1
unpcklps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movq 0x20(%r13), %rax
cmpl $0x0, (%rax)
jne 0x3b38f
testb $0x20, (%r12)
jne 0x3b38f
addss 0x30(%rsp), %xmm2
movss %xmm2, %xmm1            # xmm1 = xmm2[0],xmm1[1,2,3]
movl 0x2448(%rbx), %esi
xorps %xmm2, %xmm2
movq %r15, %rdi
callq 0x12de0
movss 0x34(%r13), %xmm2
ucomiss 0x32533(%rip), %xmm2    # 0x6d8e0
jbe 0x3b3dc
movss 0xc(%r13), %xmm1
addss 0x14(%r13), %xmm1
movl 0x2448(%rbx), %esi
movss 0x4c(%rbp), %xmm0
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movss 0x54(%rbp), %xmm1
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
xorps %xmm2, %xmm2
movq %r15, %rdi
callq 0x12de0
movzwl (%r12), %eax
testl $0x8020, %eax           # imm = 0x8020
jne 0x3ba28
movss 0x32528(%rip), %xmm0    # 0x6d91c
ucomiss 0xb0(%rbp), %xmm0
jbe 0x3ba28
testb $-0xa, (%r13)
je 0x3b444
movq 0xa8(%rbp), %rax
movq %rax, %rdx
movq %rdx, %rcx
movq 0x1c8(%rdx), %rdx
testq %rdx, %rdx
jne 0x3b412
movq %rbp, %rsi
movq %rsi, %rdx
movq 0x1d8(%rsi), %rsi
testq %rsi, %rsi
jne 0x3b424
cmpq 0x4778(%rbx), %rdx
je 0x3b459
xorl %r12d, %r12d
jmp 0x3b579
cmpq 0x4778(%rbx), %rbp
je 0x3b52b
xorl %r12d, %r12d
jmp 0x3b534
cmpl $0x0, 0x40(%r13)
je 0x3b43c
testq %r14, %r14
je 0x3b43c
movsd 0x8(%r13), %xmm0
movss 0x144(%r14), %xmm1
xorl %r12d, %r12d
ucomiss %xmm0, %xmm1
jb 0x3b579
movsd 0x10(%r13), %xmm4
movaps %xmm0, %xmm2
addss %xmm4, %xmm2
ucomiss %xmm1, %xmm2
jbe 0x3b579
movaps %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
movss 0x148(%r14), %xmm5
xorl %r12d, %r12d
ucomiss %xmm1, %xmm5
jb 0x3b579
movaps %xmm0, %xmm3
addps %xmm4, %xmm3
shufps $0x55, %xmm3, %xmm3     # xmm3 = xmm3[1,1,1,1]
ucomiss %xmm5, %xmm3
jbe 0x3b579
movss 0x44(%rcx), %xmm4
ucomiss %xmm4, %xmm2
jbe 0x3b43c
addss 0x4c(%rcx), %xmm4
ucomiss %xmm0, %xmm4
jbe 0x3b43c
movss 0x48(%rcx), %xmm0
ucomiss %xmm0, %xmm3
jbe 0x3b43c
addss 0x50(%rcx), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x3b43c
movq 0x1c8(%rax), %rcx
testq %rcx, %rcx
je 0x3c066
movq %rcx, %rdx
movl $0x0, 0x40(%rax)
movq 0x1c8(%rcx), %rcx
movq %rdx, %rax
testq %rcx, %rcx
jne 0x3b50d
jmp 0x3c069
cmpl $0x0, 0x40(%r13)
setne %r12b
testq %r14, %r14
je 0x3b54f
movss 0x160(%r14), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jbe 0x3b55b
testb %r12b, %r12b
jne 0x3b56f
movl $0x0, 0x1ac(%rbp)
jmp 0x3b579
movss 0x15c(%r14), %xmm1
ucomiss %xmm0, %xmm1
seta %al
testb %r12b, %al
je 0x3b54f
movl $0x1, 0x1ac(%rbp)
movzbl %r12b, %edx
leaq 0x70(%rsp), %rdi
movl $0x0, (%rdi)
movss 0x8(%r13), %xmm0
movss 0xc(%r13), %xmm6
addss 0x10(%r13), %xmm0
addss 0x50(%rsp), %xmm0
movss 0x14(%r13), %xmm1
movq 0x20(%r13), %rax
movl (%rax), %eax
xorps %xmm2, %xmm2
cvtsi2ss %rax, %xmm2
movss 0x32374(%rip), %xmm4    # 0x6d930
mulss %xmm1, %xmm4
movss 0x32334(%rip), %xmm5    # 0x6d8fc
mulss %xmm1, %xmm5
movss 0x2c(%r13), %xmm3
subss %xmm6, %xmm3
cvttps2dq %xmm3, %xmm3
cvtdq2ps %xmm3, %xmm3
leaq 0x1968(%rbx), %rcx
movq 0x168(%rbx), %r9
movaps 0x30(%rsp), %xmm7
movlhps %xmm7, %xmm1            # xmm1 = xmm1[0],xmm7[0]
shufps $0xe2, %xmm7, %xmm1     # xmm1 = xmm1[2,0],xmm7[2,3]
unpcklps %xmm6, %xmm0            # xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
movq %r15, %rsi
movl %edx, 0x14(%rsp)
movq %r14, %r8
callq 0x56d26
cvttss2si %xmm0, %rax
movq 0x20(%r13), %rcx
movl %eax, (%rcx)
testq %r14, %r14
je 0x3b629
testb %r12b, %r12b
je 0x3b629
movl $0x0, 0x160(%r14)
movl $0x0, 0x2c(%rsp)
movss 0x8(%r13), %xmm3
movss 0xc(%r13), %xmm7
addss 0x14(%r13), %xmm7
movaps %xmm3, %xmm0
unpcklps %xmm7, %xmm0            # xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
movq 0x18(%r13), %rax
movl (%rax), %eax
movss 0x30(%r13), %xmm6
movaps %xmm6, %xmm1
subss %xmm3, %xmm1
cvttps2dq %xmm1, %xmm1
cvtdq2ps %xmm1, %xmm4
movq 0x168(%rbx), %r12
movaps 0x30(%rsp), %xmm1
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movss 0x32228(%rip), %xmm8    # 0x6d8a4
maxss %xmm1, %xmm8
movaps %xmm8, %xmm9
addss %xmm8, %xmm9
movaps %xmm9, %xmm1
maxss 0x10(%r13), %xmm1
movlps %xmm0, 0x70(%rsp)
movss %xmm8, 0x7c(%rsp)
movss %xmm1, 0x78(%rsp)
xorps %xmm2, %xmm2
ucomiss %xmm4, %xmm1
jae 0x3ba18
xorps %xmm5, %xmm5
cvtsi2ss %rax, %xmm5
movss 0x32272(%rip), %xmm2    # 0x6d934
mulss %xmm6, %xmm2
cmpl $0x0, 0x1794(%rbx)
movaps %xmm4, 0xa0(%rsp)
je 0x3b85b
movaps %xmm9, 0xf0(%rsp)
movss %xmm5, 0x18(%rsp)
movaps %xmm7, 0xc0(%rsp)
movaps %xmm1, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
mulss 0x3222e(%rip), %xmm6    # 0x6d938
movss %xmm2, 0x28(%rsp)
minss %xmm6, %xmm2
movss %xmm2, 0x24(%rsp)
movl 0x194c(%rbx), %edx
leaq 0x1870(%rbx), %r8
movq %r12, (%rsp)
movaps %xmm8, 0xd0(%rsp)
movaps %xmm8, %xmm1
shufps $0x0, %xmm8, %xmm1      # xmm1 = xmm1[0,0],xmm8[0,0]
leaq 0xb0(%rsp), %rdi
movq %r15, %rsi
movaps %xmm0, 0x100(%rsp)
movaps %xmm1, 0xe0(%rsp)
movl $0x1, %ecx
movq %r14, %r9
callq 0x3ffe3
xorps %xmm0, %xmm0
testl %eax, %eax
je 0x3b772
movss 0x24(%rsp), %xmm0
movss 0x18(%rsp), %xmm1
subss %xmm0, %xmm1
movss %xmm1, 0x18(%rsp)
movaps 0x90(%rsp), %xmm2
movaps 0x80(%rsp), %xmm1
addss %xmm1, %xmm2
subss 0xf0(%rsp), %xmm1
movaps %xmm1, 0x80(%rsp)
subss 0xd0(%rsp), %xmm2
movl 0x1948(%rbx), %edx
leaq 0x1798(%rbx), %r8
movq %r12, (%rsp)
movaps 0x100(%rsp), %xmm0
movss %xmm2, %xmm0            # xmm0 = xmm2[0],xmm0[1,2,3]
leaq 0xb0(%rsp), %rdi
movq %r15, %rsi
movaps 0xe0(%rsp), %xmm1
movl $0x1, %ecx
movq %r14, %r9
callq 0x3ffe3
testl %eax, %eax
je 0x3b815
movss 0x18(%rsp), %xmm5
addss 0x24(%rsp), %xmm5
movaps 0xa0(%rsp), %xmm4
movaps 0xc0(%rsp), %xmm7
movss 0x28(%rsp), %xmm2
jmp 0x3b831
movaps 0xa0(%rsp), %xmm4
movaps 0xc0(%rsp), %xmm7
movss 0x28(%rsp), %xmm2
movss 0x18(%rsp), %xmm5
movaps 0x90(%rsp), %xmm3
movaps 0xd0(%rsp), %xmm8
addss %xmm8, %xmm3
movss %xmm3, 0x70(%rsp)
movaps 0x80(%rsp), %xmm1
movss %xmm1, 0x78(%rsp)
leaq 0x1678(%rbx), %rax
movq %rax, 0x18(%rsp)
minss %xmm1, %xmm2
movaps %xmm4, %xmm0
subss %xmm1, %xmm0
minss %xmm0, %xmm5
xorps %xmm0, %xmm0
maxss %xmm5, %xmm0
movaps %xmm1, %xmm5
movaps %xmm1, %xmm10
divss %xmm4, %xmm10
movaps %xmm0, %xmm9
divss %xmm4, %xmm9
movaps %xmm4, %xmm1
movss 0x1774(%rbx), %xmm4
mulss %xmm5, %xmm9
movaps %xmm5, %xmm11
addss %xmm3, %xmm9
movsd 0x1784(%rbx), %xmm5
movaps %xmm3, %xmm12
movaps %xmm4, %xmm3
movaps %xmm5, %xmm6
shufps $0x0, %xmm4, %xmm4      # xmm4 = xmm4[0,0,0,0]
unpcklps %xmm7, %xmm9            # xmm9 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
addps %xmm4, %xmm9
addps %xmm5, %xmm9
addss %xmm5, %xmm5
addss %xmm3, %xmm3
addss %xmm3, %xmm5
movaps %xmm11, 0x80(%rsp)
mulss %xmm11, %xmm10
subss %xmm5, %xmm10
leaq 0xb0(%rsp), %r12
movss %xmm10, 0x8(%r12)
shufps $0x55, %xmm6, %xmm6     # xmm6 = xmm6[1,1,1,1]
addss %xmm6, %xmm6
addss %xmm3, %xmm6
movaps %xmm8, %xmm3
subss %xmm6, %xmm3
movss %xmm3, 0xc(%r12)
movlps %xmm9, (%r12)
leaq 0x128(%rsp), %r9
movaps %xmm12, %xmm3
movaps %xmm12, 0x90(%rsp)
movss %xmm12, (%r9)
movss %xmm7, 0x4(%r9)
addss %xmm9, %xmm10
subss %xmm12, %xmm9
movss %xmm9, 0x8(%r9)
movss %xmm8, 0xc(%r9)
leaq 0x118(%rsp), %rax
movss %xmm10, (%rax)
movss %xmm7, 0x4(%rax)
addss %xmm11, %xmm3
subss %xmm10, %xmm3
movss %xmm3, 0x8(%rax)
movss %xmm8, 0xc(%rax)
movq %rax, (%rsp)
movl $0x1, 0x8(%rsp)
leaq 0x2c(%rsp), %rdi
leaq 0x70(%rsp), %rcx
movq %r14, %rsi
movl 0x14(%rsp), %edx
movq %r12, %r8
callq 0x5719c
movss %xmm0, 0x14(%rsp)
divss 0xa0(%rsp), %xmm0
mulss 0x80(%rsp), %xmm0
addss 0x90(%rsp), %xmm0
movss %xmm0, (%r12)
movq 0x1958(%rbx), %rax
testq %rax, %rax
je 0x3b9dc
movq 0x1950(%rbx), %rsi
movq %r15, %rdi
callq *%rax
movl 0x2c(%rsp), %esi
leaq 0x70(%rsp), %rcx
leaq 0xb0(%rsp), %r8
movq %r15, %rdi
movq 0x18(%rsp), %rdx
callq 0x57643
movq 0x1960(%rbx), %rax
testq %rax, %rax
je 0x3ba12
movq 0x1950(%rbx), %rsi
movq %r15, %rdi
callq *%rax
movss 0x14(%rsp), %xmm2
cvttss2si %xmm2, %rax
movq 0x18(%r13), %rcx
movl %eax, (%rcx)
movq 0x48(%rsp), %r12
testb $-0x80, 0x48(%rbp)
jne 0x3ba3a
movl $0x0, 0xb0(%rbp)
jmp 0x3ba93
movss 0x154(%rbx), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jne 0x3ba5f
jp 0x3ba5f
movss 0x158(%rbx), %xmm1
ucomiss %xmm0, %xmm1
jne 0x3ba5f
jnp 0x3bd04
movq %rbx, %rdi
callq 0x13fc0
testl %eax, %eax
setne %al
testb %al, %al
jne 0x3ba2e
movl 0x2598(%rbx), %eax
andl $0x2, %eax
jne 0x3ba2e
movss 0x30d8(%rbx), %xmm0
addss 0xb0(%rbp), %xmm0
movss %xmm0, 0xb0(%rbp)
movl (%r12), %eax
testb $0x1, %al
je 0x3bb62
movl (%r13), %edx
movl $0x22e4, %ecx           # imm = 0x22E4
cmpl $0x1f, %edx
jg 0x3bac3
cmpl $0x2, %edx
je 0x3badc
cmpl $0x4, %edx
je 0x3baea
cmpl $0x10, %edx
jne 0x3baef
movl $0x22f0, %ecx           # imm = 0x22F0
jmp 0x3baef
cmpl $0x20, %edx
je 0x3bae3
cmpl $0x40, %edx
je 0x3bad5
cmpl $0x80, %edx
jne 0x3baef
movl $0x22f4, %ecx           # imm = 0x22F4
jmp 0x3baef
movl $0x22f8, %ecx           # imm = 0x22F8
jmp 0x3baef
movl $0x22ec, %ecx           # imm = 0x22EC
jmp 0x3baef
movl $0x22e8, %ecx           # imm = 0x22E8
movq 0x68(%rsp), %rdx
movl (%rdx,%rcx), %esi
testw %ax, %ax
js 0x3bb0e
btl $0xb, %eax
jb 0x3bb23
movss 0x50(%rbp), %xmm2
addss 0x58(%rbp), %xmm2
jmp 0x3bb35
movss 0x2490(%rbx), %xmm2
addss 0x50(%rbp), %xmm2
addss 0x38(%r13), %xmm2
jmp 0x3bb35
movss 0xc(%r13), %xmm2
addss 0x14(%r13), %xmm2
addss 0x34(%r13), %xmm2
movsd 0x4c(%rbp), %xmm0
movsd 0x54(%rbp), %xmm1
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
subss %xmm3, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movss 0x3c(%r13), %xmm3
xorps %xmm2, %xmm2
movq %r15, %rdi
callq 0x12060
movl 0x4(%r13), %eax
testq %r14, %r14
je 0x3bdc8
movl %eax, %ecx
andl $0x8004, %ecx           # imm = 0x8004
cmpl $0x4, %ecx
jne 0x3bdc8
movss 0x8(%r13), %xmm0
movss 0xc(%r13), %xmm1
addss 0x14(%r13), %xmm1
btl $0x9, %eax
jb 0x3bba2
addss 0x10(%r13), %xmm0
addss 0x50(%rsp), %xmm0
jmp 0x3bbb4
movss 0x31d26(%rip), %xmm2    # 0x6d8d0
mulss 0x50(%rsp), %xmm2
addss %xmm2, %xmm0
movaps %xmm0, %xmm5
unpcklps %xmm1, %xmm5            # xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
testb $0x20, %al
je 0x3bbc8
subss 0x30(%rsp), %xmm0
movss %xmm0, %xmm5            # xmm5 = xmm0[0],xmm5[1,2,3]
cmpl $0x1, 0x2468(%rbx)
movaps %xmm5, 0x50(%rsp)
jne 0x3bbf4
leaq 0x2470(%rbx), %rsi
movq %r15, %rdi
movaps %xmm5, %xmm0
movaps 0x30(%rsp), %xmm1
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x134d0
jmp 0x3bc32
btl $0x9, %eax
movl 0x2470(%rbx), %esi
movaps 0x30(%rsp), %xmm4
addps %xmm5, %xmm4
movaps %xmm5, %xmm1
shufps $0x55, %xmm5, %xmm1     # xmm1 = xmm1[1,1],xmm5[1,1]
movaps %xmm4, %xmm3
shufps $0x55, %xmm4, %xmm3     # xmm3 = xmm3[1,1],xmm4[1,1]
movq %r15, %rdi
jb 0x3bc24
movaps %xmm4, %xmm0
movaps %xmm4, %xmm2
movaps %xmm5, %xmm4
jmp 0x3bc2a
movaps %xmm5, %xmm0
movaps %xmm5, %xmm2
movaps %xmm3, %xmm5
callq 0x138e0
testb $0x10, 0x49(%rbp)
movaps 0x50(%rsp), %xmm5
jne 0x3bdc8
movss 0x10c(%r14), %xmm0
ucomiss %xmm5, %xmm0
jb 0x3bdc8
movaps 0x30(%rsp), %xmm1
addss %xmm5, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x3bdc8
movaps %xmm5, %xmm1
shufps $0x55, %xmm5, %xmm1     # xmm1 = xmm1[1,1],xmm5[1,1]
movss 0x110(%r14), %xmm0
ucomiss %xmm1, %xmm0
jb 0x3bdc8
movaps 0x30(%rsp), %xmm1
addps %xmm5, %xmm1
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
ucomiss %xmm0, %xmm1
jbe 0x3bdc8
cmpl $0x1, 0x104(%r14)
jne 0x3bdc8
movss 0x24c4(%rbx), %xmm3
movss 0x24c8(%rbx), %xmm0
movss 0x154(%r14), %xmm1
movl (%r12), %eax
btl $0x9, %eax
movaps %xmm1, %xmm2
jae 0x3bcdf
movaps 0x318a2(%rip), %xmm2    # 0x6d570
xorps %xmm1, %xmm2
movss 0x4c(%rbp), %xmm4
addss %xmm1, %xmm4
movss %xmm4, 0x4c(%rbp)
movss 0x54(%rbp), %xmm4
addss %xmm2, %xmm4
ucomiss %xmm3, %xmm4
jb 0x3bd48
xorps %xmm3, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x3bd35
movss %xmm4, 0x54(%rbp)
addss %xmm5, %xmm1
movss %xmm1, %xmm5            # xmm5 = xmm1[0],xmm5[1,2,3]
jmp 0x3bd48
ucomiss 0x160(%rbx), %xmm0
setnp %al
sete %r12b
andb %al, %r12b
movq %rbx, %rdi
callq 0x13fc0
testl %eax, %eax
setne %al
testb %al, %r12b
movq 0x48(%rsp), %r12
je 0x3ba6c
jmp 0x3ba7b
ucomiss %xmm3, %xmm2
jbe 0x3bd48
movss 0x144(%r14), %xmm2
ucomiss %xmm5, %xmm2
jae 0x3bcf5
btl $0xb, %eax
jb 0x3bda3
movss 0x158(%r14), %xmm1
movss 0x58(%rbp), %xmm2
addss %xmm1, %xmm2
ucomiss %xmm0, %xmm2
jbe 0x3bda3
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x3bd89
movaps %xmm5, %xmm0
shufps $0x55, %xmm5, %xmm0     # xmm0 = xmm0[1,1],xmm5[1,1]
movss %xmm2, 0x58(%rbp)
addss %xmm0, %xmm1
movlhps %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
shufps $0xe2, %xmm5, %xmm1     # xmm1 = xmm1[2,0],xmm5[2,3]
movaps %xmm1, %xmm5
jmp 0x3bda3
ucomiss %xmm0, %xmm1
jbe 0x3bda3
movss 0x148(%r14), %xmm3
movaps %xmm5, %xmm0
shufps $0x55, %xmm5, %xmm0     # xmm0 = xmm0[1,1],xmm5[1,1]
ucomiss %xmm0, %xmm3
jae 0x3bd74
movq 0x1a0(%rbx), %rax
movq %rax, 0x1a8(%rbx)
movaps 0x30(%rsp), %xmm0
mulps 0x31813(%rip), %xmm0    # 0x6d5d0
addps %xmm5, %xmm0
movlps %xmm0, 0x10c(%r14)
testb $-0xa, (%r13)
movl 0x4(%r13), %eax
jne 0x3be30
btl $0xd, %eax
jb 0x3be0c
movq 0x2560(%rbx), %rcx
movq %rcx, 0x98(%rbp)
cmpl $0x0, 0x150(%rbp)
je 0x3be30
movq 0x2548(%rbx), %rcx
movq 0x138(%rbp), %rdx
movq 0x148(%rbp), %rsi
movq %rsi, 0x8(%rcx,%rdx)
jmp 0x3be30
xorps %xmm0, %xmm0
movups %xmm0, 0x90(%rbp)
movq $0x0, 0xa0(%rbp)
movups 0x31a68(%rip), %xmm0    # 0x6d890
movups %xmm0, 0x70(%rbp)
movl (%r12), %eax
btl $0x10, %eax
jae 0x3be3f
andl $0xfffeefff, %eax       # imm = 0xFFFEEFFF
movl %eax, (%r12)
movl %eax, 0x48(%rbp)
movl 0xb4(%rbp), %eax
testl %eax, %eax
je 0x3bec6
movl 0x110(%rbp), %edx
movl 0x114(%rbp), %ecx
cmpl %edx, %ecx
je 0x3becc
movl %edx, %ecx
cmpl 0xb8(%rbp), %eax
jne 0x3becc
leaq 0xb4(%rbp), %r15
movq %r15, %r14
andq $0x3, %r14
je 0x3c023
movl $0x4, %r12d
subq %r14, %r12
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x12b50
xorps %xmm0, %xmm0
leaq (%r15,%r12), %rdi
addq $0x64, %rdi
movups %xmm0, -0x64(%rdi)
movups %xmm0, -0x54(%rdi)
movups %xmm0, -0x44(%rdi)
movups %xmm0, -0x34(%rdi)
movups %xmm0, -0x24(%rdi)
movups %xmm0, -0x14(%rdi)
movl $0x0, -0x4(%rdi)
xorl %esi, %esi
movq %r14, %rdx
callq 0x12b50
jmp 0x3bee2
movl 0x110(%rbp), %ecx
movl %ecx, 0x114(%rbp)
movl %eax, 0xb8(%rbp)
movl $0x0, 0x110(%rbp)
movl 0x18c(%rbp), %eax
testl %eax, %eax
je 0x3bf57
movl 0x184(%rbp), %edx
movl 0x188(%rbp), %ecx
cmpl %edx, %ecx
je 0x3bf5d
movl %edx, %ecx
cmpl 0x190(%rbp), %eax
jne 0x3bf5d
leaq 0x180(%rbp), %r15
movq %r15, %r14
andq $0x3, %r14
je 0x3c050
movl $0x4, %r12d
subq %r14, %r12
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x12b50
xorps %xmm0, %xmm0
leaq (%r15,%r12), %rdi
addq $0x28, %rdi
movups %xmm0, -0x28(%rdi)
movups %xmm0, -0x18(%rdi)
movq $0x0, -0x8(%rdi)
xorl %esi, %esi
movq %r14, %rdx
callq 0x12b50
jmp 0x3bf73
movl 0x184(%rbp), %ecx
movl %ecx, 0x188(%rbp)
movl %eax, 0x190(%rbp)
movl $0x0, 0x184(%rbp)
cmpl $0x0, 0x16c(%rbp)
je 0x3bf9e
movl 0x168(%rbp), %eax
cmpl 0x164(%rbp), %eax
je 0x3bfa4
leaq 0x16c(%rbp), %rcx
movq $0x0, 0x164(%rbp)
jmp 0x3bfb1
movl 0x164(%rbp), %eax
leaq 0x164(%rbp), %rcx
movl %eax, 0x168(%rbp)
xorl %eax, %eax
movl %eax, (%rcx)
movl %eax, 0x160(%rbp)
cmpl %eax, 0xb0(%r13)
je 0x3bff0
movq 0x4b025(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34dc7(%rip), %rsi     # 0x70d9c
leaq 0x34dde(%rip), %rdx     # 0x70dba
movl $0x4ef5, %ecx           # imm = 0x4EF5
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
movq 0xa8(%rax), %rsi
movq %rbx, %rdi
callq 0x56ab8
movq $0x0, 0x4780(%rbx)
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r15)
movups %xmm0, 0x40(%r15)
movups %xmm0, 0x30(%r15)
movups %xmm0, 0x20(%r15)
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
movq $0x0, 0x60(%r15)
jmp 0x3bee2
xorps %xmm0, %xmm0
movups %xmm0, 0x1c(%r15)
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
jmp 0x3bf73
movq %rax, %rdx
movl $0x0, 0x40(%rdx)
movb $0x1, %r12b
jmp 0x3b579