// File: /workspace/github_c_makefile_star2_O3/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 $0x278, %rsp            # imm = 0x278
movl %ecx, 0xe8(%rsp)
movss %xmm0, 0x30(%rsp)
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
xorl %eax, %eax
movl %eax, 0xfc(%rsp)
movl %eax, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
movl %eax, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
movq 0x4780(%rdi), %r12
testq %r12, %r12
jne 0x4db4a
movq 0x394d2(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x23274(%rip), %rsi     # 0x70d9c
leaq 0x2328b(%rip), %rdx     # 0x70dba
movl $0x6f08, %ecx           # imm = 0x6F08
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
cmpq $0x0, 0xa8(%r12)
jne 0x4db91
movq 0x39494(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x23236(%rip), %rsi     # 0x70d9c
leaq 0x2324d(%rip), %rdx     # 0x70dba
movl $0x6f09, %ecx           # imm = 0x6F09
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x4edf2
movq 0xa8(%r12), %r14
testq %r14, %r14
je 0x4edf2
leaq 0x1f0(%rsp), %rdi
movq %rbx, %rsi
callq 0x128e0
testl %eax, %eax
je 0x4edf2
movl %eax, %ebp
movzbl (%r13), %esi
testl %esi, %esi
je 0x4dc06
cmpl $0x23, %esi
jne 0x4dbf8
xorl %esi, %esi
cmpb $0x0, 0x1(%r13,%rsi)
leaq 0x1(%rsi), %rsi
jne 0x4dbcc
movl 0x110(%r12), %edx
leal 0x1(%rdx), %eax
movl %eax, 0x110(%r12)
movq %r13, %rdi
callq 0x12560
incq %r13
jmp 0x4dc13
xorl %esi, %esi
cmpb $0x0, 0x1(%r13,%rsi)
leaq 0x1(%rsi), %rsi
jne 0x4dbfa
movq %r13, %rdi
movl $0x2a, %edx
callq 0x12560
leaq 0xec(%rsp), %rcx
movq %rcx, 0xc8(%rsp)
leaq 0xf0(%rsp), %rcx
movq %rcx, 0xc0(%rsp)
leaq 0xf4(%rsp), %rcx
movq %rcx, 0xb8(%rsp)
leaq 0xf8(%rsp), %rcx
movq %rcx, 0x58(%rsp)
leaq 0x230(%rsp), %rcx
movq %rcx, 0x20(%rsp)
leaq 0xfc(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movl $0x0, 0x3c(%rsp)
cmpl $0x0, 0xb4(%r12)
movl %eax, 0xd8(%rsp)
je 0x4dcf1
cmpl 0x10c(%r12), %eax
jne 0x4dcf1
leaq 0xbc(%r12), %rax
movq %rax, 0x20(%rsp)
leaq 0xfc(%r12), %rax
movq %rax, 0x58(%rsp)
leaq 0x100(%r12), %rax
movq %rax, 0xb8(%rsp)
leaq 0x118(%r12), %rax
movq %rax, 0x10(%rsp)
leaq 0x104(%r12), %rax
movq %rax, 0xc0(%rsp)
leaq 0x108(%r12), %rax
movq %rax, 0xc8(%rsp)
movl 0x118(%r12), %eax
movl %eax, 0x3c(%rsp)
movq 0x2590(%rbx), %rax
movq %rax, 0x31e0(%rbx)
movups 0x2580(%rbx), %xmm0
movups %xmm0, 0x31d0(%rbx)
cmpl $0x2, %ebp
movq %r15, 0x18(%rsp)
jne 0x4dd26
cmpl $0x0, 0xb4(%r12)
je 0x4df0f
xorl %eax, %eax
testb $0x10, 0x5(%r14)
movq %rbx, %rcx
cmovneq %rax, %rcx
cmpl $0x3, %ebp
movq %rcx, %rbp
cmoveq %rax, %rbp
movq 0x168(%rbx), %r15
movl 0x259c(%rbx), %eax
movl %eax, 0xe4(%rsp)
movsd 0x1f0(%rsp), %xmm2
movsd 0x1f8(%rsp), %xmm1
movaps %xmm1, 0x110(%rsp)
movaps %xmm2, %xmm0
movaps %xmm2, 0x60(%rsp)
shufps $0x55, %xmm2, %xmm0     # xmm0 = xmm0[1,1],xmm2[1,1]
movaps %xmm0, 0x100(%rsp)
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
movaps %xmm0, 0x40(%rsp)
movl $0x0, 0x38(%rsp)
movss 0x8(%r15), %xmm0
mulss 0x1fafe(%rip), %xmm0    # 0x6d8a0
movaps %xmm0, 0x90(%rsp)
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0x28(%rsp)
addss %xmm0, %xmm2
addss 0xcc0(%rbx), %xmm2
movaps %xmm2, 0x160(%rsp)
movq %r13, %rdi
callq 0x12f10
movss 0x8(%r15), %xmm0
movq (%r15), %rdi
movq %r13, %rsi
movl %eax, 0xe0(%rsp)
movl %eax, %edx
callq *0x10(%r15)
movss 0xcb8(%rbx), %xmm3
movaps 0x60(%rsp), %xmm4
movaps %xmm4, %xmm1
movaps 0x90(%rsp), %xmm5
movss %xmm5, %xmm1            # xmm1 = xmm5[0],xmm1[1,2,3]
movaps 0x160(%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, 0x140(%rsp)
movaps %xmm1, %xmm2
addss %xmm1, %xmm2
addss %xmm0, %xmm2
movaps %xmm2, 0x150(%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, 0x80(%rsp)
movaps %xmm4, %xmm1
addss 0x110(%rsp), %xmm1
movaps %xmm1, 0x130(%rsp)
subss %xmm0, %xmm1
movaps %xmm1, 0xa0(%rsp)
movq 0x10(%rsp), %rax
cmpl $0x1, (%rax)
movq %rbp, 0x78(%rsp)
movq %r15, 0xd0(%rsp)
jne 0x4ded7
movss 0x8(%r15), %xmm0
movq 0x58(%rsp), %r14
movl (%r14), %edx
movq (%r15), %rdi
movq 0x20(%rsp), %rbp
movq %rbp, %rsi
callq *0x10(%r15)
addss 0x1074(%rbx), %xmm0
movq %rbp, 0x120(%rsp)
movq 0x78(%rsp), %rbp
movq %r14, 0xb0(%rsp)
movq 0x18(%rsp), %r14
jmp 0x4e0c6
movq 0x18(%rsp), %r14
movl (%r14), %eax
cmpl $0x2, %eax
je 0x4df5f
cmpl $0x1, %eax
je 0x4df16
xorl %edx, %edx
testl %eax, %eax
jne 0x4e096
movslq 0x8(%r14), %rcx
testq %rcx, %rcx
je 0x4dfb2
testl %ecx, %ecx
js 0x4dfc1
xorl %eax, %eax
jmp 0x4dfd1
xorl %ebp, %ebp
jmp 0x4dd3e
xorps %xmm0, %xmm0
cvtss2sd 0x8(%r14), %xmm0
leaq 0x190(%rsp), %rdi
callq 0x5974a
xorl %edx, %edx
xorl %eax, %eax
movzbl 0x190(%rsp,%rdx), %esi
movl $0x1, %ecx
cmpl $0x2e, %esi
je 0x4df58
testl %esi, %esi
je 0x4e092
cmpl $0x3, %eax
je 0x4dfa5
xorl %ecx, %ecx
testl %eax, %eax
setg %cl
addl %eax, %ecx
incq %rdx
movl %ecx, %eax
jmp 0x4df30
movsd 0x8(%r14), %xmm0
leaq 0x190(%rsp), %rdi
callq 0x5974a
xorl %edx, %edx
xorl %eax, %eax
movzbl 0x190(%rsp,%rdx), %esi
movl $0x1, %ecx
cmpl $0x2e, %esi
je 0x4df9e
testl %esi, %esi
je 0x4e092
cmpl $0x3, %eax
je 0x4dfa5
xorl %ecx, %ecx
testl %eax, %eax
setg %cl
addl %eax, %ecx
incq %rdx
movl %ecx, %eax
jmp 0x4df76
movb $0x0, 0x190(%rsp,%rdx)
jmp 0x4e092
movw $0x30, 0x190(%rsp)
jmp 0x4e07e
movb $0x2d, 0x190(%rsp)
negq %rcx
movl $0x1, %eax
leaq (%rsp,%rax), %rsi
addq $0x190, %rsi            # imm = 0x190
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, (%rsi)
incq %rsi
cmpq $0x9, %rcx
movq %rdx, %rcx
ja 0x4dfe6
movb $0x0, (%rsi)
movb 0x190(%rsp), %dl
xorl %eax, %eax
cmpb $0x2d, %dl
sete %al
cmpb $0x0, 0x190(%rsp,%rax)
je 0x4e07a
addq %rsp, %rax
addq $0x190, %rax            # imm = 0x190
xorl %ecx, %ecx
cmpb $0x0, 0x1(%rax,%rcx)
leaq 0x1(%rcx), %rcx
jne 0x4e036
cmpl $0x1, %ecx
je 0x4e07a
movq %rcx, %rdx
shrq %rdx
negq %rdx
xorl %esi, %esi
movq %rax, %rdi
movb (%rdi), %r8b
leaq (%rax,%rsi), %r9
movb -0x1(%rcx,%r9), %r10b
movb %r10b, (%rdi)
movb %r8b, -0x1(%rcx,%r9)
decq %rsi
incq %rdi
cmpq %rsi, %rdx
jne 0x4e054
movb 0x190(%rsp), %dl
testb %dl, %dl
je 0x4e090
xorl %edx, %edx
cmpb $0x0, 0x191(%rsp,%rdx)
leaq 0x1(%rdx), %rdx
jne 0x4e080
jmp 0x4e092
xorl %edx, %edx
movl %edx, 0x38(%rsp)
movq 0xd0(%rsp), %rax
movss 0x8(%rax), %xmm0
movq (%rax), %rdi
leaq 0x190(%rsp), %rsi
movq %rsi, 0x120(%rsp)
callq *0x10(%rax)
leaq 0x38(%rsp), %rax
movq %rax, 0xb0(%rsp)
movaps 0x100(%rsp), %xmm6
movaps %xmm6, %xmm10
addss 0x28(%rsp), %xmm10
movaps 0x40(%rsp), %xmm7
movaps %xmm7, %xmm8
movss 0x1f7b6(%rip), %xmm5    # 0x6d8a0
mulss %xmm5, %xmm8
movaps %xmm7, %xmm9
subss 0x80(%rsp), %xmm9
leaq 0x2598(%rbx), %rax
movq %rax, 0x28(%rsp)
movss 0xcb8(%rbx), %xmm1
movss 0xcc0(%rbx), %xmm2
movaps %xmm2, %xmm4
addss %xmm2, %xmm4
addss %xmm0, %xmm4
movaps 0x140(%rsp), %xmm11
addss 0x150(%rsp), %xmm11
movaps 0xa0(%rsp), %xmm3
movaps %xmm3, %xmm0
subss %xmm11, %xmm0
minss %xmm0, %xmm4
addss %xmm4, %xmm2
subss %xmm2, %xmm3
movaps %xmm6, %xmm0
addss %xmm1, %xmm0
movaps %xmm3, %xmm2
unpcklps %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
movaps %xmm2, 0x1d0(%rsp)
addss %xmm1, %xmm1
movaps %xmm7, %xmm0
subss %xmm1, %xmm0
unpcklps %xmm0, %xmm4            # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
movaps %xmm4, 0x1e0(%rsp)
movq 0x10(%rsp), %rcx
movl (%rcx), %eax
movl %eax, 0xdc(%rsp)
movl 0x2598(%rbx), %eax
andl $0x2, %eax
orl $0x4, %eax
movl %eax, 0x2598(%rbx)
movl (%rcx), %ecx
testq %rbp, %rbp
je 0x4e2bd
testl %ecx, %ecx
je 0x4e2cb
cmpl $0x2, %ecx
jne 0x4e4f7
movss 0x10c(%rbp), %xmm0
movl 0x104(%rbp), %ecx
xorl %edx, %edx
ucomiss 0x60(%rsp), %xmm0
jb 0x4e209
movaps 0x130(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e209
movss 0x110(%rbp), %xmm0
movaps %xmm6, %xmm1
addss 0x40(%rsp), %xmm1
movaps %xmm6, %xmm2
cmpleps %xmm0, %xmm2
cmpltps %xmm1, %xmm0
andps %xmm2, %xmm0
movd %xmm0, %eax
cmpl $0x1, %ecx
sete %dl
andb %al, %dl
movq 0x28(%rsp), %rsi
movl (%rsi), %eax
andl $0x2, %eax
orl $0x4, %eax
movl %eax, (%rsi)
movss 0x144(%rbp), %xmm0
ucomiss 0x60(%rsp), %xmm0
movss 0x30(%rsp), %xmm2
jb 0x4e265
movaps 0x130(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e265
movss 0x148(%rbp), %xmm0
ucomiss %xmm6, %xmm0
jb 0x4e265
movaps %xmm6, %xmm1
addss 0x40(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e265
movq 0x28(%rsp), %rax
movl $0x12, (%rax)
movl $0x12, %eax
testl %ecx, %ecx
sete %cl
xorb $0x1, %dl
orb %cl, %dl
jne 0x4e401
mulss 0x154(%rbp), %xmm2
movl (%r14), %eax
cmpl $0x2, %eax
je 0x4e479
cmpl $0x1, %eax
je 0x4e45b
testl %eax, %eax
jne 0x4e49c
cvttss2si %xmm2, %eax
addl 0x8(%r14), %eax
movl 0x10(%r14), %ecx
movl 0x18(%r14), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%r14)
jmp 0x4e49c
cmpl $0x2, %ecx
je 0x4e4e3
jmp 0x4e4f7
movaps %xmm3, 0x200(%rsp)
movaps %xmm11, 0x210(%rsp)
movq 0x28(%rsp), %rdi
movaps 0x1d0(%rsp), %xmm0
movaps 0x1e0(%rsp), %xmm1
movq %rbp, %rsi
xorl %edx, %edx
movaps %xmm8, 0x80(%rsp)
movaps %xmm9, 0x180(%rsp)
movaps %xmm10, 0x220(%rsp)
callq 0x5160c
movaps 0x220(%rsp), %xmm10
movaps 0x180(%rsp), %xmm9
movaps 0x80(%rsp), %xmm8
movaps 0x100(%rsp), %xmm6
movss 0x1f55f(%rip), %xmm5    # 0x6d8a0
movl $0x1, %ecx
testl %eax, %eax
jne 0x4e4f0
movss 0x10c(%rbp), %xmm0
ucomiss 0x140(%rsp), %xmm0
movaps 0x210(%rsp), %xmm3
jb 0x4e3a2
ucomiss %xmm0, %xmm3
jbe 0x4e3a2
movss 0x110(%rbp), %xmm1
movaps 0x140(%rsp), %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm2, %xmm1
jb 0x4e3a2
addss %xmm9, %xmm2
ucomiss %xmm1, %xmm2
jbe 0x4e3a2
cmpl $0x1, 0x104(%rbp)
jne 0x4e3a2
cmpl $0x0, 0x108(%rbp)
jne 0x4e3f1
ucomiss %xmm3, %xmm0
jb 0x4e448
movaps 0x200(%rsp), %xmm1
subss %xmm3, %xmm1
addss %xmm3, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e448
movss 0x110(%rbp), %xmm1
ucomiss %xmm6, %xmm1
jb 0x4e448
movaps %xmm6, %xmm2
addss 0x40(%rsp), %xmm2
ucomiss %xmm1, %xmm2
jbe 0x4e448
cmpl $0x1, 0x104(%rbp)
jne 0x4e448
cmpl $0x0, 0x108(%rbp)
je 0x4e448
movq 0x10(%rsp), %rax
movl $0x2, (%rax)
jmp 0x4e1c2
testb $0x10, %al
je 0x4e4ac
movss 0x14c(%rbp), %xmm0
ucomiss 0x60(%rsp), %xmm0
jb 0x4e440
movaps 0x130(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e440
movss 0x150(%rbp), %xmm1
ucomiss %xmm6, %xmm1
jb 0x4e440
movaps %xmm6, %xmm2
addss 0x40(%rsp), %xmm2
ucomiss %xmm1, %xmm2
ja 0x4e4b4
orl $0x8, %eax
jmp 0x4e4e3
movq 0x10(%rsp), %rax
cmpl $0x2, (%rax)
je 0x4e1c2
jmp 0x4e4f7
addss 0x8(%r14), %xmm2
minss 0x18(%r14), %xmm2
movss 0x10(%r14), %xmm0
maxss %xmm2, %xmm0
movss %xmm0, 0x8(%r14)
jmp 0x4e49c
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
addsd 0x8(%r14), %xmm0
minsd 0x18(%r14), %xmm0
movsd 0x10(%r14), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r14)
movq 0x28(%rsp), %rax
movl $0x22, (%rax)
movl $0x22, %eax
movss 0x14c(%rbp), %xmm0
ucomiss 0x60(%rsp), %xmm0
jb 0x4e4ea
movaps 0x130(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x4e4ea
movss 0x150(%rbp), %xmm0
ucomiss %xmm6, %xmm0
jb 0x4e4ea
addss 0x40(%rsp), %xmm6
ucomiss %xmm0, %xmm6
jbe 0x4e4ea
orl $0x40, %eax
movq 0x28(%rsp), %rcx
movl %eax, (%rcx)
xorl %ecx, %ecx
testb $0x20, %al
jne 0x4e4f7
movq 0x10(%rsp), %rax
movl %ecx, (%rax)
addss %xmm10, %xmm8
mulss 0x90(%rsp), %xmm5
leaq 0x68(%r12), %r15
leaq 0xc28(%rbx), %r14
movq 0x1250(%rbx), %rax
testq %rax, %rax
je 0x4e559
movq 0x1248(%rbx), %rsi
movq %r15, %rdi
movss %xmm5, 0x30(%rsp)
movaps %xmm8, 0x80(%rsp)
movaps %xmm9, 0x180(%rsp)
callq *%rax
movaps 0x180(%rsp), %xmm9
movaps 0x80(%rsp), %xmm8
movss 0x30(%rsp), %xmm5
movq %r15, 0x30(%rsp)
movl 0x2598(%rbx), %eax
movl %eax, %ecx
andl $0x10, %ecx
movl %ecx, %edx
shrl $0x2, %edx
addq $0x7c, %rdx
xorl %esi, %esi
testl %ecx, %ecx
movl $0x28, %ecx
cmoveq %rsi, %rcx
testb $0x20, %al
movl $0x84, %eax
cmoveq %rdx, %rax
subss %xmm5, %xmm8
movaps %xmm8, 0x80(%rsp)
movl $0x50, %ebp
cmoveq %rcx, %rbp
movaps 0x150(%rsp), %xmm0
unpcklps %xmm9, %xmm0            # xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
movaps %xmm0, 0x150(%rsp)
addq %rbp, %r14
movl 0xc28(%rbx,%rax), %edi
movss 0xcc8(%rbx), %xmm0
movss %xmm0, 0x40(%rsp)
callq 0x13e60
movl %eax, 0x17c(%rsp)
movl 0xc28(%rbx,%rbp), %eax
testl %eax, %eax
movq 0xd0(%rsp), %r15
movq %r12, 0x128(%rsp)
je 0x4e6d9
cmpl $0x2, %eax
je 0x4e672
cmpl $0x1, %eax
movq 0x78(%rsp), %rbp
movq 0x30(%rsp), %r12
jne 0x4e780
movl $0x0, 0x178(%rsp)
movss 0x1f285(%rip), %xmm0    # 0x6d8a8
movss 0x40(%rsp), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
addq $0x8, %r14
movzbl %al, %eax
imull $0x10101, %eax, %eax    # imm = 0x10101
orl $0xff000000, %eax       # imm = 0xFF000000
ucomiss 0x1f25a(%rip), %xmm1    # 0x6d8a4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovnel %eax, %edx
cmovpl %eax, %edx
movq %r12, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movq %r14, %rsi
callq 0x134d0
jmp 0x4e780
movl $0x0, 0x178(%rsp)
movss 0x1f223(%rip), %xmm0    # 0x6d8a8
movss 0x40(%rsp), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
addq $0x8, %r14
movzbl %al, %eax
imull $0x10101, %eax, %eax    # imm = 0x10101
orl $0xff000000, %eax       # imm = 0xFF000000
ucomiss 0x1f1f8(%rip), %xmm1    # 0x6d8a4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovnel %eax, %edx
cmovpl %eax, %edx
movq 0x30(%rsp), %r12
movq %r12, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movq %r14, %rsi
callq 0x13fe0
jmp 0x4e77b
movl 0x8(%r14), %edi
movl %edi, 0x178(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x100(%rsp)
movss 0x40(%rsp), %xmm0
callq 0x13e60
movq 0x30(%rsp), %r12
movq %r12, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movss 0x100(%rsp), %xmm2
movl %eax, %esi
callq 0x12de0
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0x40(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x100(%rsp)
movss 0xcc8(%rbx), %xmm0
movl 0x8(%r14), %edi
callq 0x13e60
movq %r12, %rdi
movaps 0x60(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movss 0x100(%rsp), %xmm2
movss 0x40(%rsp), %xmm3
movl %eax, %esi
callq 0x12060
movq 0x78(%rsp), %rbp
movaps 0x90(%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movaps %xmm0, 0x90(%rsp)
movaps 0x160(%rsp), %xmm0
unpcklps 0x80(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x160(%rsp)
leaq 0x170(%rsp), %rcx
movq $0x0, (%rcx)
movq %r12, %rdi
movaps 0x140(%rsp), %xmm0
movaps 0x150(%rsp), %xmm1
movq %r13, %rsi
movl 0xe0(%rsp), %edx
movl $0x12, %r8d
movq %r15, %r9
callq 0x451c6
movq 0x1258(%rbx), %rax
testq %rax, %rax
je 0x4e7fe
movq 0x1248(%rbx), %rsi
movq %r12, %rdi
callq *%rax
movaps 0xa0(%rsp), %xmm0
unpcklps 0x80(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0xa0(%rsp)
movl 0xcb0(%rbx), %edx
leaq 0x1170(%rbx), %r8
movq %r15, (%rsp)
movq 0x28(%rsp), %rdi
movq %r12, %rsi
movapd 0x160(%rsp), %xmm0
movapd 0x90(%rsp), %xmm1
movl 0xe4(%rsp), %r13d
movl %r13d, %ecx
movq %rbp, %r9
callq 0x3ffe3
testl %eax, %eax
movq 0xb8(%rsp), %r14
je 0x4e8db
movq 0x18(%rsp), %rax
movl (%rax), %eax
cmpl $0x2, %eax
je 0x4e8b9
cmpl $0x1, %eax
je 0x4e895
testl %eax, %eax
jne 0x4e8db
movq 0x18(%rsp), %rsi
movl 0x8(%rsi), %eax
movl 0x10(%rsi), %ecx
subl 0x20(%rsi), %eax
movl 0x18(%rsi), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%rsi)
jmp 0x4e8db
movq 0x18(%rsp), %rax
movss 0x8(%rax), %xmm0
movss 0x10(%rax), %xmm1
subss 0x20(%rax), %xmm0
minss 0x18(%rax), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%rax)
jmp 0x4e8db
movq 0x18(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
subsd 0x20(%rax), %xmm0
minsd 0x18(%rax), %xmm0
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rax)
movl 0xcb4(%rbx), %edx
leaq 0x1098(%rbx), %r8
movq %r15, (%rsp)
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
movapd 0xa0(%rsp), %xmm0
movapd 0x90(%rsp), %xmm1
movl %r13d, %ecx
movq %rbp, %r9
callq 0x3ffe3
testl %eax, %eax
movq 0x120(%rsp), %rsi
je 0x4e99a
movq 0x18(%rsp), %rax
movl (%rax), %eax
cmpl $0x2, %eax
je 0x4e978
cmpl $0x1, %eax
je 0x4e954
testl %eax, %eax
jne 0x4e99a
movq 0x18(%rsp), %rdi
movl 0x20(%rdi), %eax
addl 0x8(%rdi), %eax
movl 0x10(%rdi), %ecx
movl 0x18(%rdi), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%rdi)
jmp 0x4e99a
movq 0x18(%rsp), %rax
movss 0x8(%rax), %xmm0
movss 0x10(%rax), %xmm1
addss 0x20(%rax), %xmm0
minss 0x18(%rax), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%rax)
jmp 0x4e99a
movq 0x18(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
addsd 0x20(%rax), %xmm0
minsd 0x18(%rax), %xmm0
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rax)
leaq 0x31d0(%rbx), %r8
cmpl $0x1, 0xdc(%rsp)
setne %cl
movq 0x10(%rsp), %rax
movl (%rax), %eax
cmpl $0x1, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x4ea02
movq 0xb0(%rsp), %r12
movslq (%r12), %rdx
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r8, %r13
callq 0x25a38
movl (%r12), %esi
movq %r15, %rdi
callq 0x12730
movq %r13, %r8
movl %eax, (%r14)
movl (%r12), %eax
movq 0x58(%rsp), %r13
movl %eax, (%r13)
xorl %edx, %edx
movq %r15, %rsi
jmp 0x4ea12
xorl %edx, %edx
cmpl $0x1, %eax
sete %dl
movq 0xb0(%rsp), %r13
movl %edx, 0xa0(%rsp)
testq %rbp, %rbp
sete 0x90(%rsp)
movl 0xe8(%rsp), %eax
leaq 0x378ae(%rip), %rcx     # 0x862e0
movq (%rcx,%rax,8), %rcx
movabsq $0x3e7000000630000, %rax # imm = 0x3E7000000630000
movq %rax, 0x46d0(%rbx)
xorl %eax, %eax
movl %eax, 0x3280(%rbx)
movl %eax, 0x328c(%rbx)
movl $0x1000100, 0x3285(%rbx) # imm = 0x1000100
movq %rcx, 0x3268(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x3270(%rbx)
movb %dl, 0x3289(%rbx)
movl (%r13), %edx
movl %edx, 0x3260(%rbx)
movl (%r14), %r10d
cmpl %edx, %r10d
cmovll %r10d, %edx
testl %edx, %edx
cmovlel %eax, %edx
movl %edx, 0x3278(%rbx)
movq %r14, %r15
movq 0xc0(%rsp), %r14
movl (%r14), %edx
movl (%r13), %r10d
cmpl %r10d, %edx
cmovll %edx, %r10d
testl %r10d, %r10d
cmovlel %eax, %r10d
movl %r10d, 0x327c(%rbx)
movq 0xc8(%rsp), %r12
movl (%r12), %edx
movl (%r13), %edi
cmpl %edi, %edx
cmovll %edx, %edi
testl %edi, %edi
cmovlel %eax, %edi
movl %edi, 0x3280(%rbx)
movslq (%r13), %rdx
movq %rdx, 0x3240(%rbx)
movl $0x40, %edx
movq %rdx, 0x3230(%rbx)
movq %rsi, 0x3228(%rbx)
movq %rdx, 0x3258(%rbx)
movb $0x1, 0x3284(%rbx)
leaq 0xcd0(%rbx), %r9
movq 0x10(%rsp), %rdx
cmpl $0x1, (%rdx)
cmoveq %rbp, %rax
movq 0xd0(%rsp), %rdx
movq %rdx, 0x8(%rsp)
movq %rax, (%rsp)
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
movapd 0x1d0(%rsp), %xmm0
movaps 0x1e0(%rsp), %xmm1
movl $0x262, %edx            # imm = 0x262
callq 0x4bfb5
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, (%r12)
movb 0x3289(%rbx), %al
testb %al, %al
sete %cl
orb 0x90(%rsp), %cl
je 0x4ebad
testb %al, %al
sete %al
testb %al, 0xa0(%rsp)
movq 0x18(%rsp), %r14
movq 0x128(%rsp), %r15
jne 0x4ebeb
jmp 0x4ecf2
movl 0xa0(%rsp), %ecx
cmpl $0x0, 0x20(%rbp)
movl 0x24(%rbp), %eax
movq 0x18(%rsp), %r14
movq 0x128(%rsp), %r15
je 0x4ebd3
testl %eax, %eax
jne 0x4ebdc
jmp 0x4ecfb
cmpl $0x1, %eax
jbe 0x4ecfb
movb $0x0, 0x3289(%rbx)
testl %ecx, %ecx
je 0x4ecfb
movq 0x10(%rsp), %rax
movl $0x0, (%rax)
movq 0x58(%rsp), %rax
movslq (%rax), %rax
movq 0x20(%rsp), %rcx
movb $0x0, (%rcx,%rax)
movl (%r14), %eax
testl %eax, %eax
je 0x4ec7e
cmpl $0x1, %eax
je 0x4ec51
cmpl $0x2, %eax
jne 0x4ecf2
xorl %ecx, %ecx
movq 0x20(%rsp), %rax
movzbl (%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4ec4a
testl %esi, %esi
je 0x4ecd0
cmpl $0x3, %ecx
je 0x4eccd
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4ec23
xorl %ecx, %ecx
movq 0x20(%rsp), %rax
movzbl (%rax), %esi
movl $0x1, %edx
cmpl $0x2e, %esi
je 0x4ec77
testl %esi, %esi
je 0x4eca5
cmpl $0x3, %ecx
je 0x4eca2
xorl %edx, %edx
testl %ecx, %ecx
setg %dl
addl %ecx, %edx
incq %rax
movl %edx, %ecx
jmp 0x4ec58
movq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x12f70
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 0x4ecf2
movb $0x0, (%rax)
movq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x140c0
cvtsd2ss %xmm0, %xmm0
minss 0x18(%r14), %xmm0
movss 0x10(%r14), %xmm1
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r14)
jmp 0x4ecf2
movb $0x0, (%rax)
movq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x140c0
minsd 0x18(%r14), %xmm0
movsd 0x10(%r14), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r14)
testq %rbp, %rbp
je 0x4edaa
movq 0x10(%rsp), %rax
cmpl $0x0, (%rax)
je 0x4eda6
cmpl $0x0, 0xb4(%r15)
jne 0x4edf2
movl $0x1, 0xb4(%r15)
leaq 0xbc(%r15), %rdi
movq 0x58(%rsp), %r14
movslq (%r14), %rdx
movq 0x20(%rsp), %rsi
callq 0x25a38
movl (%r14), %eax
movl %eax, 0xfc(%r15)
movq 0xb8(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x100(%r15)
movq 0x10(%rsp), %rcx
movl (%rcx), %eax
movl %eax, 0x118(%r15)
movl 0xd8(%rsp), %eax
movl %eax, 0x10c(%r15)
movq 0xc0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x104(%r15)
movq 0xc8(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x108(%r15)
movl (%rcx), %eax
cmpl $0x2, %eax
jne 0x4edb1
movw $0x101, 0x164(%rbx)     # imm = 0x101
jmp 0x4edf2
xorl %eax, %eax
jmp 0x4edb1
movq 0x10(%rsp), %rax
movl (%rax), %eax
testl %eax, %eax
sete %al
cmpl $0x0, 0x3c(%rsp)
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x4edf2
cmpl $0x2, 0x3c(%rsp)
jne 0x4eddc
movw $0x0, 0x164(%rbx)
movb $0x1, 0x166(%rbx)
movq $0x0, 0x104(%r15)
movl $0x0, 0xb4(%r15)
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq