// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_property
NK_LIB void
nk_property(struct nk_context *ctx, const char *name, struct nk_property_variant *variant,
    float inc_per_pixel, const enum nk_property_filter filter)
{
    struct nk_window *win;
    struct nk_panel *layout;
    struct nk_input *in;
    const struct nk_style *style;

    struct nk_rect bounds;
    enum nk_widget_layout_states s;

    int *state = 0;
    nk_hash hash = 0;
    char *buffer = 0;
    int *len = 0;
    int *cursor = 0;
    int *select_begin = 0;
    int *select_end = 0;
    int old_state;

    char dummy_buffer[NK_MAX_NUMBER_BUFFER];
    int dummy_state = NK_PROPERTY_DEFAULT;
    int dummy_length = 0;
    int dummy_cursor = 0;
    int dummy_select_begin = 0;
    int dummy_select_end = 0;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout)
        return;

    win = ctx->current;
    layout = win->layout;
    style = &ctx->style;
    s = nk_widget(&bounds, ctx);
    if (!s) return;

    /* calculate hash from name */
    if (name[0] == '#') {
        hash = nk_murmur_hash(name, (int)nk_strlen(name), win->property.seq++);
        name++; /* special number hash */
    } else hash = nk_murmur_hash(name, (int)nk_strlen(name), 42);

    /* check if property is currently hot item */
    if (win->property.active && hash == win->property.name) {
        buffer = win->property.buffer;
        len = &win->property.length;
        cursor = &win->property.cursor;
        state = &win->property.state;
        select_begin = &win->property.select_start;
        select_end = &win->property.select_end;
    } else {
        buffer = dummy_buffer;
        len = &dummy_length;
        cursor = &dummy_cursor;
        state = &dummy_state;
        select_begin =  &dummy_select_begin;
        select_end = &dummy_select_end;
    }

    /* execute property widget */
    old_state = *state;
    ctx->text_edit.clip = ctx->clip;
    in = ((s == NK_WIDGET_ROM && !win->property.active) ||
        layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_DISABLED) ? 0 : &ctx->input;
    nk_do_property(&ctx->last_widget_state, &win->buffer, bounds, name,
        variant, inc_per_pixel, buffer, len, state, cursor, select_begin,
        select_end, &style->property, filter, in, style->font, &ctx->text_edit,
        ctx->button_behavior);

    if (in && *state != NK_PROPERTY_DEFAULT && !win->property.active) {
        /* current property is now hot */
        win->property.active = 1;
        NK_MEMCPY(win->property.buffer, buffer, (nk_size)*len);
        win->property.length = *len;
        win->property.cursor = *cursor;
        win->property.state = *state;
        win->property.name = hash;
        win->property.select_start = *select_begin;
        win->property.select_end = *select_end;
        if (*state == NK_PROPERTY_DRAG) {
            ctx->input.mouse.grab = nk_true;
            ctx->input.mouse.grabbed = nk_true;
        }
    }
    /* check if previously active property is now inactive */
    if (*state == NK_PROPERTY_DEFAULT && old_state != NK_PROPERTY_DEFAULT) {
        if (old_state == NK_PROPERTY_DRAG) {
            ctx->input.mouse.grab = nk_false;
            ctx->input.mouse.grabbed = nk_false;
            ctx->input.mouse.ungrab = nk_true;
        }
        win->property.select_start = 0;
        win->property.select_end = 0;
        win->property.active = 0;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movl %ecx, 0x118(%rsp)
movss %xmm0, 0x20(%rsp)
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
xorl %eax, %eax
movl %eax, 0x12c(%rsp)
movl %eax, 0x128(%rsp)
movl %eax, 0x124(%rsp)
movl %eax, 0x120(%rsp)
movl %eax, 0x11c(%rsp)
cmpq $0x0, 0x4780(%rdi)
jne 0x4e72d
movq 0x398e8(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x2367a(%rip), %rsi     # 0x71d8c
leaq 0x23691(%rip), %rdx     # 0x71daa
movl $0x6f08, %ecx           # imm = 0x6F08
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x4e76a
movq 0x398ab(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x2363d(%rip), %rsi     # 0x71d8c
leaq 0x23654(%rip), %rdx     # 0x71daa
movl $0x6f09, %ecx           # imm = 0x6F09
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x4f899
movq 0xa8(%r12), %r14
testq %r14, %r14
je 0x4f899
leaq 0x210(%rsp), %rdi
movq %rbx, %rsi
callq 0x128e0
testl %eax, %eax
je 0x4f899
movl %eax, %ebp
movzbl (%r15), %esi
testl %esi, %esi
je 0x4e7ee
cmpl $0x23, %esi
jne 0x4e7e0
xorl %esi, %esi
cmpb $0x0, 0x1(%r15,%rsi)
leaq 0x1(%rsi), %rsi
jne 0x4e7b4
movl 0x110(%r12), %edx
leal 0x1(%rdx), %eax
movl %eax, 0x110(%r12)
movq %r15, %rdi
callq 0x12560
incq %r15
jmp 0x4e7fb
xorl %esi, %esi
cmpb $0x0, 0x1(%r15,%rsi)
leaq 0x1(%rsi), %rsi
jne 0x4e7e2
movq %r15, %rdi
movl $0x2a, %edx
callq 0x12560
leaq 0x11c(%rsp), %rcx
movq %rcx, 0xf0(%rsp)
leaq 0x120(%rsp), %rcx
movq %rcx, 0xe8(%rsp)
leaq 0x124(%rsp), %rcx
movq %rcx, 0x80(%rsp)
leaq 0x128(%rsp), %rcx
movq %rcx, 0x58(%rsp)
leaq 0x240(%rsp), %rcx
movq %rcx, 0x28(%rsp)
leaq 0x12c(%rsp), %rcx
cmpl $0x0, 0xb4(%r12)
movl %eax, 0x104(%rsp)
je 0x4e8bb
cmpl 0x10c(%r12), %eax
jne 0x4e8bb
leaq 0xbc(%r12), %rax
movq %rax, 0x28(%rsp)
leaq 0xfc(%r12), %rax
movq %rax, 0x58(%rsp)
leaq 0x100(%r12), %rax
movq %rax, 0x80(%rsp)
leaq 0x118(%r12), %rcx
leaq 0x104(%r12), %rax
movq %rax, 0xe8(%rsp)
leaq 0x108(%r12), %rax
movq %rax, 0xf0(%rsp)
movq %rcx, 0x30(%rsp)
movl (%rcx), %ecx
movq 0x2590(%rbx), %rax
movq %rax, 0x31e0(%rbx)
movups 0x2580(%rbx), %xmm0
movups %xmm0, 0x31d0(%rbx)
cmpl $0x2, %ebp
movl %ecx, 0x114(%rsp)
jne 0x4e8f9
cmpl $0x0, 0xb4(%r12)
je 0x4eaee
xorl %eax, %eax
testb $0x10, 0x5(%r14)
movq %rbx, %r14
cmovneq %rax, %r14
cmpl $0x3, %ebp
cmoveq %rax, %r14
movq 0x168(%rbx), %rbp
movl 0x259c(%rbx), %eax
movl %eax, 0x110(%rsp)
movsd 0x210(%rsp), %xmm2
movsd 0x218(%rsp), %xmm1
movaps %xmm1, 0x130(%rsp)
movaps %xmm2, %xmm0
movaps %xmm2, 0x60(%rsp)
shufps $0x55, %xmm2, %xmm0     # xmm0 = xmm0[1,1],xmm2[1,1]
movaps %xmm0, 0xa0(%rsp)
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
movaps %xmm0, 0xd0(%rsp)
movl $0x0, 0x3c(%rsp)
movss 0x8(%rbp), %xmm0
mulss 0x1ff3c(%rip), %xmm0    # 0x6e8b0
movaps %xmm0, 0xb0(%rsp)
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0x1c(%rsp)
addss %xmm0, %xmm2
addss 0xcc0(%rbx), %xmm2
movaps %xmm2, 0x170(%rsp)
movq %r15, %rdi
callq 0x12f10
movss 0x8(%rbp), %xmm0
movq (%rbp), %rdi
movq %r15, %rsi
movl %eax, 0x10c(%rsp)
movl %eax, %edx
callq *0x10(%rbp)
movss 0xcb8(%rbx), %xmm3
movaps 0x60(%rsp), %xmm4
movaps %xmm4, %xmm1
movaps 0xb0(%rsp), %xmm5
movss %xmm5, %xmm1            # xmm1 = xmm5[0],xmm1[1,2,3]
movaps 0x170(%rsp), %xmm2
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
addps %xmm1, %xmm2
movsd 0xcc0(%rbx), %xmm1
addps %xmm1, %xmm2
movaps %xmm2, 0x150(%rsp)
movaps %xmm1, %xmm2
addss %xmm1, %xmm2
addss %xmm0, %xmm2
movaps %xmm2, 0x160(%rsp)
movaps %xmm5, %xmm0
addss %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
addss %xmm1, %xmm1
addss %xmm3, %xmm3
addss %xmm1, %xmm3
movaps %xmm3, 0x40(%rsp)
movaps %xmm4, %xmm1
addss 0x130(%rsp), %xmm1
movaps %xmm1, 0x90(%rsp)
subss %xmm0, %xmm1
movaps %xmm1, 0x180(%rsp)
movq 0x30(%rsp), %rax
cmpl $0x1, (%rax)
movq %r14, 0xf8(%rsp)
movq %rbp, 0x88(%rsp)
jne 0x4eabc
movss 0x8(%rbp), %xmm0
movq 0x58(%rsp), %r14
movl (%r14), %edx
movq 0x88(%rsp), %rax
movq (%rax), %rdi
movq 0x28(%rsp), %rbp
movq %rbp, %rsi
movq 0x88(%rsp), %rax
callq *0x10(%rax)
addss 0x1074(%rbx), %xmm0
movq %rbp, 0x148(%rsp)
movq 0xf8(%rsp), %rax
movq %r14, 0x78(%rsp)
movq %rax, %r14
movq 0x88(%rsp), %rbp
jmp 0x4ecb3
movl (%r13), %eax
cmpl $0x2, %eax
je 0x4eb3f
cmpl $0x1, %eax
je 0x4eaf6
testl %eax, %eax
jne 0x4ec8b
movslq 0x8(%r13), %rcx
testq %rcx, %rcx
je 0x4eb92
testl %ecx, %ecx
js 0x4eba1
xorl %esi, %esi
jmp 0x4ebb1
xorl %r14d, %r14d
jmp 0x4e90e
xorps %xmm0, %xmm0
cvtss2sd 0x8(%r13), %xmm0
leaq 0x190(%rsp), %rdi
callq 0x5a4c4
xorl %eax, %eax
xorl %ecx, %ecx
movzbl 0x190(%rsp,%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4eb38
testl %esi, %esi
je 0x4ec87
cmpl $0x3, %ecx
je 0x4eb85
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4eb10
movsd 0x8(%r13), %xmm0
leaq 0x190(%rsp), %rdi
callq 0x5a4c4
xorl %eax, %eax
xorl %ecx, %ecx
movzbl 0x190(%rsp,%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4eb7e
testl %esi, %esi
je 0x4ec87
cmpl $0x3, %ecx
je 0x4eb85
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4eb56
movb $0x0, 0x190(%rsp,%rax)
jmp 0x4ec87
movw $0x30, 0x190(%rsp)
jmp 0x4ec69
movb $0x2d, 0x190(%rsp)
negq %rcx
movl $0x1, %esi
testq %rcx, %rcx
jle 0x4ebee
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %rcx, %rax
mulq %rdi
shrq $0x3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
movl %ecx, %r8d
subl %eax, %r8d
orb $0x30, %r8b
movb %r8b, 0x190(%rsp,%rsi)
incq %rsi
cmpq $0x9, %rcx
movq %rdx, %rcx
ja 0x4ebc0
movb $0x0, 0x190(%rsp,%rsi)
xorl %ecx, %ecx
cmpb $0x2d, 0x190(%rsp)
sete %cl
cmpb $0x0, 0x190(%rsp,%rcx)
je 0x4ec2a
leaq 0x190(%rsp), %rax
leaq (%rcx,%rax), %rdx
incq %rdx
xorl %eax, %eax
cmpb $0x0, (%rdx,%rax)
leaq 0x1(%rax), %rax
jne 0x4ec1e
jmp 0x4ec2c
xorl %eax, %eax
cmpl $0x2, %eax
jb 0x4ec69
leaq (%rsp,%rcx), %rdx
addq $0x190, %rdx            # imm = 0x190
movl %eax, %esi
shrl %eax
addq %rcx, %rsi
leaq (%rsp,%rsi), %rcx
addq $0x18f, %rcx            # imm = 0x18F
xorl %esi, %esi
movb (%rdx,%rsi), %dil
movb (%rcx), %r8b
movb %r8b, (%rdx,%rsi)
movb %dil, (%rcx)
incq %rsi
decq %rcx
cmpq %rsi, %rax
jne 0x4ec50
cmpb $0x0, 0x190(%rsp)
je 0x4ec85
xorl %eax, %eax
cmpb $0x0, 0x191(%rsp,%rax)
leaq 0x1(%rax), %rax
jne 0x4ec75
jmp 0x4ec87
xorl %eax, %eax
movl %eax, 0x3c(%rsp)
movss 0x8(%rbp), %xmm0
leaq 0x3c(%rsp), %rax
movq %rax, 0x78(%rsp)
movl (%rax), %edx
movq (%rbp), %rdi
leaq 0x190(%rsp), %rsi
movq %rsi, 0x148(%rsp)
callq *0x10(%rbp)
movaps 0xd0(%rsp), %xmm4
movaps %xmm4, %xmm6
subss 0x40(%rsp), %xmm6
leaq 0x2598(%rbx), %rax
movq %rax, 0x40(%rsp)
movss 0xcb8(%rbx), %xmm1
movss 0xcc0(%rbx), %xmm2
movaps %xmm2, %xmm5
addss %xmm2, %xmm5
addss %xmm0, %xmm5
movaps 0x150(%rsp), %xmm7
addss 0x160(%rsp), %xmm7
movaps 0x180(%rsp), %xmm3
movaps %xmm3, %xmm0
subss %xmm7, %xmm0
minss %xmm0, %xmm5
addss %xmm5, %xmm2
movaps %xmm3, %xmm8
subss %xmm2, %xmm8
movaps 0xa0(%rsp), %xmm3
movaps %xmm3, %xmm0
addss %xmm1, %xmm0
movaps %xmm8, %xmm2
unpcklps %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
movaps %xmm2, 0x1f0(%rsp)
addss %xmm1, %xmm1
movaps %xmm4, %xmm0
subss %xmm1, %xmm0
unpcklps %xmm0, %xmm5            # xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
movaps %xmm5, 0x200(%rsp)
movq 0x30(%rsp), %rsi
movl (%rsi), %eax
movl %eax, 0x108(%rsp)
movl 0x2598(%rbx), %eax
andl $0x2, %eax
orl $0x4, %eax
movl %eax, 0x2598(%rbx)
testq %r14, %r14
je 0x4edee
cmpl $0x0, (%rsi)
jne 0x4edee
movq 0x40(%rsp), %rdi
movaps 0x1f0(%rsp), %xmm0
movaps 0x200(%rsp), %xmm1
movq %r14, %rsi
xorl %edx, %edx
movaps %xmm6, 0x1d0(%rsp)
movaps %xmm7, 0x230(%rsp)
movaps %xmm8, 0x220(%rsp)
callq 0x521be
movaps 0x220(%rsp), %xmm7
movaps 0x230(%rsp), %xmm5
movaps 0x1d0(%rsp), %xmm6
movaps 0xa0(%rsp), %xmm3
movaps 0xd0(%rsp), %xmm4
movq 0x30(%rsp), %rsi
movl $0x1, %ecx
testl %eax, %eax
je 0x4ef1a
movl %ecx, (%rsi)
cmpl $0x2, (%rsi)
movss 0x1fab7(%rip), %xmm2    # 0x6e8b0
jne 0x4f0d8
testq %r14, %r14
je 0x4ee11
cmpl $0x0, 0x104(%r14)
setne %al
jmp 0x4ee13
xorl %eax, %eax
testq %r14, %r14
je 0x4ee60
movss 0x10c(%r14), %xmm0
xorl %ecx, %ecx
ucomiss 0x60(%rsp), %xmm0
jb 0x4ee62
movaps 0x90(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4ee62
movss 0x110(%r14), %xmm0
xorl %ecx, %ecx
ucomiss %xmm3, %xmm0
jb 0x4ee62
movaps %xmm3, %xmm1
addss %xmm4, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4ee62
cmpl $0x1, 0x104(%r14)
sete %cl
jmp 0x4ee62
xorl %ecx, %ecx
movq 0x40(%rsp), %rdi
movl (%rdi), %edx
andl $0x2, %edx
orl $0x4, %edx
movl %edx, (%rdi)
testq %r14, %r14
je 0x4eeb8
movss 0x144(%r14), %xmm0
ucomiss 0x60(%rsp), %xmm0
jb 0x4eeb8
movaps 0x90(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4eeb8
movss 0x148(%r14), %xmm0
ucomiss %xmm3, %xmm0
jb 0x4eeb8
movaps %xmm3, %xmm1
addss %xmm4, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4eeb8
movq 0x40(%rsp), %rdx
movl $0x12, (%rdx)
andb %cl, %al
cmpb $0x1, %al
jne 0x4f028
movss 0x20(%rsp), %xmm0
mulss 0x154(%r14), %xmm0
movss %xmm0, 0x20(%rsp)
movl (%r13), %eax
cmpl $0x2, %eax
je 0x4eff8
cmpl $0x1, %eax
je 0x4efd4
testl %eax, %eax
jne 0x4f01d
cvttss2si 0x20(%rsp), %eax
addl 0x8(%r13), %eax
movl 0x10(%r13), %ecx
movl 0x18(%r13), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%r13)
jmp 0x4f01d
movss 0x10c(%r14), %xmm0
ucomiss 0x150(%rsp), %xmm0
jb 0x4ef72
ucomiss %xmm0, %xmm5
jbe 0x4ef72
movss 0x110(%r14), %xmm1
movaps 0x150(%rsp), %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm2, %xmm1
jb 0x4ef72
addss %xmm6, %xmm2
ucomiss %xmm1, %xmm2
jbe 0x4ef72
cmpl $0x1, 0x104(%r14)
jne 0x4ef72
movl $0x2, %ecx
cmpl $0x0, 0x108(%r14)
jne 0x4edec
ucomiss %xmm5, %xmm0
jb 0x4edee
subss %xmm5, %xmm7
addss %xmm5, %xmm7
ucomiss %xmm0, %xmm7
jbe 0x4edee
movss 0x110(%r14), %xmm0
ucomiss %xmm3, %xmm0
jb 0x4edee
movaps %xmm3, %xmm1
addss %xmm4, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4edee
cmpl $0x1, 0x104(%r14)
jne 0x4edee
movl $0x2, %ecx
cmpl $0x0, 0x108(%r14)
jne 0x4edec
jmp 0x4edee
movss 0x20(%rsp), %xmm1
addss 0x8(%r13), %xmm1
minss 0x18(%r13), %xmm1
movss 0x10(%r13), %xmm0
maxss %xmm1, %xmm0
movss %xmm0, 0x8(%r13)
jmp 0x4f01d
xorps %xmm0, %xmm0
cvtss2sd 0x20(%rsp), %xmm0
addsd 0x8(%r13), %xmm0
minsd 0x18(%r13), %xmm0
movsd 0x10(%r13), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r13)
movq 0x40(%rsp), %rax
movl $0x22, (%rax)
movq 0x40(%rsp), %rax
movl (%rax), %eax
testb $0x10, %al
jne 0x4f07a
testq %r14, %r14
je 0x4f0c8
movss 0x14c(%r14), %xmm0
ucomiss 0x60(%rsp), %xmm0
jb 0x4f0c8
movaps 0x90(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4f0c8
movss 0x150(%r14), %xmm0
ucomiss %xmm3, %xmm0
jb 0x4f0c8
movaps %xmm3, %xmm1
addss %xmm4, %xmm1
movl $0x40, %ecx
ucomiss %xmm0, %xmm1
ja 0x4f0bf
jmp 0x4f0c8
movl $0x8, %ecx
testq %r14, %r14
je 0x4f0bf
movss 0x14c(%r14), %xmm0
ucomiss 0x60(%rsp), %xmm0
jb 0x4f0bf
movaps 0x90(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4f0bf
movss 0x150(%r14), %xmm0
ucomiss %xmm3, %xmm0
jb 0x4f0bf
movaps %xmm3, %xmm1
addss %xmm4, %xmm1
ucomiss %xmm0, %xmm1
ja 0x4f033
orl %ecx, %eax
movq 0x40(%rsp), %rcx
movl %eax, (%rcx)
movq 0x40(%rsp), %rax
testb $0x20, (%rax)
jne 0x4f0d8
movl $0x0, (%rsi)
addss 0x1c(%rsp), %xmm3
mulss %xmm2, %xmm4
leaq 0x68(%r12), %r14
movq 0x1250(%rbx), %rax
testq %rax, %rax
je 0x4f137
movq 0x1248(%rbx), %rsi
movq %r14, %rdi
movaps %xmm4, 0xd0(%rsp)
movaps %xmm3, 0xa0(%rsp)
movaps %xmm6, 0x1d0(%rsp)
callq *%rax
movaps 0x1d0(%rsp), %xmm6
movaps 0xa0(%rsp), %xmm3
movss 0x1f781(%rip), %xmm2    # 0x6e8b0
movaps 0xd0(%rsp), %xmm4
movq %r14, 0x20(%rsp)
addss %xmm3, %xmm4
mulss 0xb0(%rsp), %xmm2
movq 0x40(%rsp), %rax
movl (%rax), %eax
testb $0x20, %al
movq %r13, 0xa0(%rsp)
jne 0x4f16f
testb $0x10, %al
jne 0x4f17e
leaq 0xc28(%rbx), %r13
movl 0xca4(%rbx), %eax
jmp 0x4f18b
leaq 0xc78(%rbx), %r13
movl 0xcac(%rbx), %eax
jmp 0x4f18b
leaq 0xc50(%rbx), %r13
movl 0xca8(%rbx), %eax
movl %eax, 0xcc(%rsp)
subss %xmm2, %xmm4
movaps %xmm4, 0xd0(%rsp)
movaps 0x160(%rsp), %xmm0
unpcklps %xmm6, %xmm0            # xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
movaps %xmm0, 0x160(%rsp)
movss 0xcc8(%rbx), %xmm0
movl 0xcc(%rsp), %edi
movss %xmm0, 0x1c(%rsp)
callq 0x13e60
movl %eax, 0xcc(%rsp)
movl (%r13), %eax
testl %eax, %eax
je 0x4f2ba
cmpl $0x2, %eax
je 0x4f253
cmpl $0x1, %eax
movq 0x20(%rsp), %r14
jne 0x4f35c
movl $0x0, 0xc8(%rsp)
movss 0x1f6b4(%rip), %xmm0    # 0x6e8b8
movss 0x1c(%rsp), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
addq $0x8, %r13
movzbl %al, %eax
imull $0x10101, %eax, %eax    # imm = 0x10101
orl $0xff000000, %eax       # imm = 0xFF000000
ucomiss 0x1f689(%rip), %xmm1    # 0x6e8b4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovnel %eax, %edx
cmovpl %eax, %edx
movq %r14, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x130(%rsp), %xmm1
movq %r13, %rsi
callq 0x134d0
jmp 0x4f35c
movl $0x0, 0xc8(%rsp)
movss 0x1f652(%rip), %xmm0    # 0x6e8b8
movss 0x1c(%rsp), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
addq $0x8, %r13
movzbl %al, %eax
imull $0x10101, %eax, %eax    # imm = 0x10101
orl $0xff000000, %eax       # imm = 0xFF000000
ucomiss 0x1f627(%rip), %xmm1    # 0x6e8b4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovnel %eax, %edx
cmovpl %eax, %edx
movq 0x20(%rsp), %r14
movq %r14, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x130(%rsp), %xmm1
movq %r13, %rsi
callq 0x13fe0
jmp 0x4f35c
movl 0x8(%r13), %edi
movl %edi, 0xc8(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x90(%rsp)
movss 0x1c(%rsp), %xmm0
callq 0x13e60
movq 0x20(%rsp), %r14
movq %r14, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x130(%rsp), %xmm1
movss 0x90(%rsp), %xmm2
movl %eax, %esi
callq 0x12de0
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0x1c(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x90(%rsp)
movss 0xcc8(%rbx), %xmm0
movl 0x8(%r13), %edi
callq 0x13e60
movq %r14, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x130(%rsp), %xmm1
movss 0x90(%rsp), %xmm2
movss 0x1c(%rsp), %xmm3
movl %eax, %esi
callq 0x12060
movaps 0xb0(%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movaps %xmm0, 0xb0(%rsp)
movaps 0x170(%rsp), %xmm0
unpcklps 0xd0(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x170(%rsp)
leaq 0xc0(%rsp), %rcx
movq $0x0, (%rcx)
movq %r14, %rdi
movaps 0x150(%rsp), %xmm0
movaps 0x160(%rsp), %xmm1
movq %r15, %rsi
movl 0x10c(%rsp), %edx
movl $0x12, %r8d
movq %rbp, %r9
callq 0x45d79
movq 0x1258(%rbx), %rax
testq %rax, %rax
je 0x4f3da
movq 0x1248(%rbx), %rsi
movq %r14, %rdi
callq *%rax
movaps 0x180(%rsp), %xmm0
unpcklps 0xd0(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x180(%rsp)
movl 0xcb0(%rbx), %edx
leaq 0x1170(%rbx), %r8
movq %rbp, (%rsp)
movq 0x40(%rsp), %rdi
movq %r14, %rsi
movapd 0x170(%rsp), %xmm0
movapd 0xb0(%rsp), %xmm1
movl 0x110(%rsp), %r13d
movl %r13d, %ecx
movq 0xf8(%rsp), %r14
movq %r14, %r9
callq 0x40888
testl %eax, %eax
movq 0xa0(%rsp), %r15
je 0x4f4bb
movl (%r15), %eax
cmpl $0x2, %eax
je 0x4f499
cmpl $0x1, %eax
je 0x4f475
testl %eax, %eax
jne 0x4f4bb
movl 0x8(%r15), %eax
movl 0x10(%r15), %ecx
subl 0x20(%r15), %eax
movl 0x18(%r15), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%r15)
jmp 0x4f4bb
movss 0x8(%r15), %xmm0
movss 0x10(%r15), %xmm1
subss 0x20(%r15), %xmm0
minss 0x18(%r15), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r15)
jmp 0x4f4bb
movsd 0x8(%r15), %xmm0
movsd 0x10(%r15), %xmm1
subsd 0x20(%r15), %xmm0
minsd 0x18(%r15), %xmm0
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r15)
movl 0xcb4(%rbx), %edx
leaq 0x1098(%rbx), %r8
movq %rbp, (%rsp)
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rsi
movapd 0x180(%rsp), %xmm0
movapd 0xb0(%rsp), %xmm1
movl %r13d, %ecx
movq %r14, %r9
callq 0x40888
testl %eax, %eax
movq 0x30(%rsp), %r10
movq 0x148(%rsp), %rsi
je 0x4f57b
movl (%r15), %eax
cmpl $0x2, %eax
je 0x4f559
cmpl $0x1, %eax
je 0x4f535
testl %eax, %eax
jne 0x4f57b
movl 0x20(%r15), %eax
addl 0x8(%r15), %eax
movl 0x10(%r15), %ecx
movl 0x18(%r15), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%r15)
jmp 0x4f57b
movss 0x8(%r15), %xmm0
movss 0x10(%r15), %xmm1
addss 0x20(%r15), %xmm0
minss 0x18(%r15), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r15)
jmp 0x4f57b
movsd 0x8(%r15), %xmm0
movsd 0x10(%r15), %xmm1
addsd 0x20(%r15), %xmm0
minsd 0x18(%r15), %xmm0
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r15)
leaq 0x31d0(%rbx), %r8
cmpl $0x1, 0x108(%rsp)
movq %r12, 0x1e8(%rsp)
je 0x4f5e5
cmpl $0x1, (%r10)
jne 0x4f5e5
movq 0x78(%rsp), %r14
movslq (%r14), %rdx
movq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r8, %r12
callq 0x258b3
movl (%r14), %esi
movq %r15, %rdi
callq 0x12730
movq %r12, %r8
movq 0x30(%rsp), %r10
movq 0x80(%rsp), %rcx
movl %eax, (%rcx)
movl (%r14), %eax
movq 0x58(%rsp), %rcx
movl %eax, (%rcx)
xorl %edi, %edi
movq %r15, %rsi
movq %rcx, 0x78(%rsp)
jmp 0x4f5ef
xorl %edi, %edi
cmpl $0x1, (%r10)
sete %dil
movl 0x118(%rsp), %eax
leaq 0x37ce3(%rip), %rcx     # 0x872e0
movq (%rcx,%rax,8), %rcx
movabsq $0x3e7000000630000, %rax # imm = 0x3E7000000630000
movq %rax, 0x46d0(%rbx)
movaps 0x1f237(%rip), %xmm0    # 0x6e850
movups %xmm0, 0x3278(%rbx)
xorl %eax, %eax
movl %eax, 0x328c(%rbx)
movb $0x1, %dl
movb %dl, 0x3288(%rbx)
movq %rcx, 0x3268(%rbx)
movq %rax, 0x3270(%rbx)
movl %edi, 0xb0(%rsp)
movb %dil, 0x3289(%rbx)
movq 0x78(%rsp), %r13
movl (%r13), %edi
movl %edi, 0x3260(%rbx)
movq 0x80(%rsp), %r15
movl (%r15), %r9d
movl (%r13), %edi
cmpl %edi, %r9d
cmovll %r9d, %edi
testl %edi, %edi
cmovlel %eax, %edi
movl %edi, 0x3278(%rbx)
movq 0xe8(%rsp), %r14
movl (%r14), %r9d
movl (%r13), %edi
cmpl %edi, %r9d
cmovll %r9d, %edi
testl %edi, %edi
cmovlel %eax, %edi
movl %edi, 0x327c(%rbx)
movq 0xf0(%rsp), %rbp
movl (%rbp), %r9d
movl (%r13), %edi
cmpl %edi, %r9d
cmovll %r9d, %edi
testl %edi, %edi
cmovlel %eax, %edi
movl %edi, 0x3280(%rbx)
movslq (%r13), %rdi
movq %rdi, 0x3240(%rbx)
movl $0x40, %edi
movq %rdi, 0x3230(%rbx)
movq %rsi, 0x3228(%rbx)
movq %rdi, 0x3258(%rbx)
movb %dl, 0x3284(%rbx)
leaq 0xcd0(%rbx), %r9
cmpl $0x1, (%r10)
movq 0xf8(%rsp), %r12
cmoveq %r12, %rax
movq 0x88(%rsp), %rdx
movq %rdx, 0x8(%rsp)
movq %rax, (%rsp)
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rsi
movapd 0x1f0(%rsp), %xmm0
movaps 0x200(%rsp), %xmm1
movl $0x262, %edx            # imm = 0x262
callq 0x4cbca
movl 0x3260(%rbx), %eax
movl %eax, (%r13)
movl 0x3278(%rbx), %eax
movl %eax, (%r15)
movl 0x327c(%rbx), %eax
movl %eax, (%r14)
movl 0x3280(%rbx), %eax
movl %eax, (%rbp)
testq %r12, %r12
movq 0x1e8(%rsp), %r15
je 0x4f78e
cmpb $0x0, 0x3289(%rbx)
je 0x4f78e
cmpl $0x0, 0x20(%r12)
movl 0x24(%r12), %eax
je 0x4f920
testl %eax, %eax
je 0x4f78e
movb $0x0, 0x3289(%rbx)
cmpl $0x0, 0xb0(%rsp)
movq 0x30(%rsp), %rsi
je 0x4f7aa
cmpb $0x0, 0x3289(%rbx)
je 0x4f8ab
testq %r12, %r12
je 0x4f855
cmpl $0x0, (%rsi)
je 0x4f855
cmpl $0x0, 0xb4(%r15)
jne 0x4f855
movl $0x1, 0xb4(%r15)
leaq 0xbc(%r15), %rdi
movq 0x58(%rsp), %r14
movslq (%r14), %rdx
movq 0x28(%rsp), %rsi
callq 0x258b3
movq 0x30(%rsp), %rsi
movl (%r14), %eax
movl %eax, 0xfc(%r15)
movq 0x80(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x100(%r15)
movl (%rsi), %eax
movl %eax, 0x118(%r15)
movl 0x104(%rsp), %eax
movl %eax, 0x10c(%r15)
movq 0xe8(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x104(%r15)
movq 0xf0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x108(%r15)
cmpl $0x2, (%rsi)
jne 0x4f855
movw $0x101, 0x164(%rbx)     # imm = 0x101
cmpl $0x0, (%rsi)
sete %al
movl 0x114(%rsp), %edx
testl %edx, %edx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x4f899
cmpl $0x2, %edx
jne 0x4f883
movw $0x0, 0x164(%rbx)
movb $0x1, 0x166(%rbx)
movq $0x0, 0x104(%r15)
movl $0x0, 0xb4(%r15)
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x0, (%rsi)
movq 0x58(%rsp), %rax
movslq (%rax), %rax
movq 0x28(%rsp), %rcx
movb $0x0, (%rcx,%rax)
movq 0xa0(%rsp), %r14
movl (%r14), %eax
testl %eax, %eax
je 0x4f95b
cmpl $0x1, %eax
je 0x4f92e
cmpl $0x2, %eax
jne 0x4f7aa
xorl %ecx, %ecx
movq 0x28(%rsp), %rax
movq 0xa0(%rsp), %r14
movzbl (%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4f919
testl %esi, %esi
je 0x4f9bd
cmpl $0x3, %ecx
je 0x4f9ba
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4f8f2
cmpl $0x2, %eax
jae 0x4f787
jmp 0x4f78e
xorl %ecx, %ecx
movq 0x28(%rsp), %rax
movzbl (%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4f954
testl %esi, %esi
je 0x4f98a
cmpl $0x3, %ecx
je 0x4f987
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4f935
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x12f70
movq 0x30(%rsp), %rsi
movl 0x10(%r14), %ecx
movl 0x18(%r14), %edx
cmpl %edx, %eax
cmovll %eax, %edx
cmpl %ecx, %edx
cmovlel %ecx, %edx
movl %edx, 0x8(%r14)
jmp 0x4f7aa
movb $0x0, (%rax)
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x140c0
movq 0x30(%rsp), %rsi
cvtsd2ss %xmm0, %xmm0
minss 0x18(%r14), %xmm0
movss 0x10(%r14), %xmm1
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r14)
jmp 0x4f7aa
movb $0x0, (%rax)
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x140c0
movq 0x30(%rsp), %rsi
minsd 0x18(%r14), %xmm0
movsd 0x10(%r14), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r14)
jmp 0x4f7aa