// File: /workspace/github_c_makefile_star2_O2/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 $0x258, %rsp            # imm = 0x258
andl $0x0, 0xfc(%rsp)
andl $0x0, 0xf8(%rsp)
movl %ecx, 0xe8(%rsp)
andl $0x0, 0xf4(%rsp)
movss %xmm0, 0x38(%rsp)
andl $0x0, 0xf0(%rsp)
movq %rdx, %r15
andl $0x0, 0xec(%rsp)
movq %rsi, %r12
movq %rdi, %rbx
movq 0x4780(%rdi), %r13
testq %r13, %r13
jne 0x49883
movq 0x3b799(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x204ab(%rip), %rsi     # 0x69d0c
leaq 0x204c2(%rip), %rdx     # 0x69d2a
movl $0x6f08, %ecx           # imm = 0x6F08
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq 0x4780(%rbx), %r13
cmpq $0x0, 0xa8(%r13)
jne 0x498c9
movq 0x3b75c(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x2046e(%rip), %rsi     # 0x69d0c
leaq 0x20485(%rip), %rdx     # 0x69d2a
movl $0x6f09, %ecx           # imm = 0x6F09
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq 0x4780(%rbx), %r13
testq %r13, %r13
je 0x4a7d1
movq 0xa8(%r13), %r14
testq %r14, %r14
je 0x4a7d1
leaq 0x1c0(%rsp), %rdi
movq %rbx, %rsi
callq 0x12990
testl %eax, %eax
je 0x4a7d1
movl %eax, %ebp
movq %r15, 0x60(%rsp)
movb (%r12), %r15b
movq %r12, %rdi
callq 0x13040
cmpb $0x23, %r15b
jne 0x4992a
movl 0x110(%r13), %edx
leal 0x1(%rdx), %ecx
movl %ecx, 0x110(%r13)
movq %r12, %rdi
movl %eax, %esi
callq 0x125c0
incq %r12
jmp 0x49937
pushq $0x2a
popq %rdx
movq %r12, %rdi
movl %eax, %esi
callq 0x125c0
leaq 0xec(%rsp), %rcx
movq %rcx, 0xd0(%rsp)
leaq 0xf0(%rsp), %rcx
movq %rcx, 0xc8(%rsp)
leaq 0xf4(%rsp), %rcx
movq %rcx, 0x70(%rsp)
leaq 0xf8(%rsp), %rcx
movq %rcx, 0x68(%rsp)
leaq 0x210(%rsp), %rcx
movq %rcx, 0x30(%rsp)
leaq 0xfc(%rsp), %rcx
movq %rcx, 0x20(%rsp)
xorl %ecx, %ecx
cmpl $0x0, 0xb4(%r13)
movq 0x60(%rsp), %r15
je 0x499fa
cmpl 0x10c(%r13), %eax
jne 0x499fa
leaq 0xbc(%r13), %rcx
movq %rcx, 0x30(%rsp)
leaq 0xfc(%r13), %rcx
movq %rcx, 0x68(%rsp)
leaq 0x100(%r13), %rcx
movq %rcx, 0x70(%rsp)
leaq 0x118(%r13), %rcx
movq %rcx, 0x20(%rsp)
leaq 0x104(%r13), %rcx
movq %rcx, 0xc8(%rsp)
leaq 0x108(%r13), %rcx
movq %rcx, 0xd0(%rsp)
movl 0x118(%r13), %ecx
movl %ecx, 0x4c(%rsp)
movq 0x2590(%rbx), %rcx
movq %rcx, 0x31e0(%rbx)
movups 0x2580(%rbx), %xmm0
movups %xmm0, 0x31d0(%rbx)
cmpl $0x2, %ebp
movl %eax, 0xe0(%rsp)
jne 0x49a34
cmpl $0x0, 0xb4(%r13)
je 0x49c09
xorl %eax, %eax
testb $0x10, 0x5(%r14)
movq %rbx, %rcx
cmovneq %rax, %rcx
cmpl $0x3, %ebp
cmoveq %rax, %rcx
movq %rcx, 0x18(%rsp)
movq 0x168(%rbx), %rbp
movl 0x259c(%rbx), %eax
movl %eax, 0x7c(%rsp)
movsd 0x1c0(%rsp), %xmm2
movsd 0x1c8(%rsp), %xmm1
movaps %xmm1, 0x90(%rsp)
movaps %xmm2, %xmm0
movaps %xmm2, 0x80(%rsp)
shufps $0x55, %xmm2, %xmm0     # xmm0 = xmm0[1,1],xmm2[1,1]
movaps %xmm0, 0x130(%rsp)
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movaps %xmm1, 0x110(%rsp)
andl $0x0, 0x2c(%rsp)
movss 0x1cd87(%rip), %xmm0    # 0x66830
movss 0x8(%rbp), %xmm1
movss %xmm0, 0x14(%rsp)
mulss %xmm0, %xmm1
movaps %xmm1, 0xb0(%rsp)
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0xa0(%rsp)
addss %xmm0, %xmm2
addss 0xcc0(%rbx), %xmm2
movaps %xmm2, 0x150(%rsp)
movq %r12, %rdi
callq 0x13040
movss 0x8(%rbp), %xmm0
movq (%rbp), %rdi
movq %r12, %rsi
movl %eax, 0xe4(%rsp)
movl %eax, %edx
callq *0x10(%rbp)
movss 0xcb8(%rbx), %xmm1
movaps 0x80(%rsp), %xmm4
movaps %xmm4, %xmm2
movaps 0xb0(%rsp), %xmm5
movss %xmm5, %xmm2            # xmm2 = xmm5[0],xmm2[1,2,3]
movaps 0x150(%rsp), %xmm3
unpcklps %xmm1, %xmm3            # xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
addps %xmm2, %xmm3
movsd 0xcc0(%rbx), %xmm2
addps %xmm2, %xmm3
movaps %xmm3, 0x1a0(%rsp)
movaps %xmm2, %xmm3
addss %xmm2, %xmm3
addss %xmm0, %xmm3
movaps %xmm3, 0x140(%rsp)
movaps %xmm5, %xmm0
addss %xmm2, %xmm0
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
addss %xmm2, %xmm2
addss %xmm1, %xmm1
addss %xmm2, %xmm1
movaps 0x110(%rsp), %xmm2
subss %xmm1, %xmm2
movaps %xmm2, 0x190(%rsp)
movaps %xmm4, %xmm1
addss 0x90(%rsp), %xmm1
subss %xmm0, %xmm1
movaps %xmm1, 0x100(%rsp)
movq 0x20(%rsp), %rax
cmpl $0x1, (%rax)
movq %rbp, 0x128(%rsp)
jne 0x49bde
movss 0x8(%rbp), %xmm0
movq 0x68(%rsp), %r14
movl (%r14), %edx
movq (%rbp), %rdi
movq 0x30(%rsp), %r15
movq %r15, %rsi
callq *0x10(%rbp)
addss 0x1074(%rbx), %xmm0
movq %r14, 0xc0(%rsp)
jmp 0x49c80
movl (%r15), %eax
cmpl $0x2, %eax
je 0x49c1f
cmpl $0x1, %eax
je 0x49c17
xorl %edx, %edx
testl %eax, %eax
jne 0x49c5c
movslq 0x8(%r15), %rax
testq %rax, %rax
je 0x49c3f
testl %eax, %eax
js 0x4a7e3
xorl %ecx, %ecx
jmp 0x4a7f1
movq $0x0, 0x18(%rsp)
jmp 0x49a4e
cvtss2sd 0x8(%r15), %xmm0
jmp 0x49c25
movsd 0x8(%r15), %xmm0
leaq 0x1d0(%rsp), %r14
movq %r14, %rdi
callq 0x5406c
movq %r14, %rdi
callq 0x54269
jmp 0x49c56
movw $0x30, 0x1d0(%rsp)
leaq 0x1d0(%rsp), %rdi
callq 0x13040
movl %eax, %edx
movl %eax, 0x2c(%rsp)
movss 0x8(%rbp), %xmm0
movq (%rbp), %rdi
leaq 0x1d0(%rsp), %r15
movq %r15, %rsi
callq *0x10(%rbp)
leaq 0x2c(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq %r15, 0xd8(%rsp)
movaps 0x130(%rsp), %xmm6
movaps %xmm6, %xmm7
addss 0xa0(%rsp), %xmm7
movaps 0x110(%rsp), %xmm5
movaps %xmm5, %xmm1
mulss 0x1cb81(%rip), %xmm1    # 0x66830
movaps %xmm1, 0xa0(%rsp)
leaq 0x2598(%rbx), %rax
movq %rax, 0x40(%rsp)
movss 0xcb8(%rbx), %xmm1
movss 0xcc0(%rbx), %xmm2
movaps %xmm2, %xmm4
addss %xmm2, %xmm4
addss %xmm0, %xmm4
movaps 0x1a0(%rsp), %xmm8
movaps 0x140(%rsp), %xmm0
addss %xmm0, %xmm8
unpcklps 0x190(%rsp), %xmm0      # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x140(%rsp)
movaps 0x100(%rsp), %xmm3
movaps %xmm3, %xmm0
subss %xmm8, %xmm0
minss %xmm0, %xmm4
addss %xmm4, %xmm2
subss %xmm2, %xmm3
addss %xmm1, %xmm6
movaps %xmm3, %xmm0
unpcklps %xmm6, %xmm0            # xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
movaps %xmm0, 0x130(%rsp)
addss %xmm1, %xmm1
subss %xmm1, %xmm5
unpcklps %xmm5, %xmm4            # xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
movaps %xmm4, 0x110(%rsp)
movq 0x20(%rsp), %rax
movl (%rax), %ecx
movl %ecx, 0x190(%rsp)
movl 0x2598(%rbx), %ebp
andl $0x2, %ebp
orl $0x4, %ebp
movl %ebp, 0x2598(%rbx)
movl (%rax), %eax
cmpq $0x0, 0x18(%rsp)
je 0x49dcc
cmpl $0x2, %eax
je 0x49e4e
testl %eax, %eax
jne 0x49fde
movaps %xmm3, 0x170(%rsp)
movaps %xmm8, 0x180(%rsp)
movaps %xmm7, 0x50(%rsp)
movq 0x40(%rsp), %rdi
movapd 0x130(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movq 0x18(%rsp), %r14
movq %r14, %rsi
xorl %edx, %edx
callq 0x4c99d
testl %eax, %eax
je 0x49dda
pushq $0x1
popq %rax
movaps 0x50(%rsp), %xmm7
jmp 0x49fd7
cmpl $0x2, %eax
je 0x49f27
jmp 0x49fde
pushq $0x1
popq %rdx
movq %r14, %rdi
xorl %esi, %esi
movaps 0x1a0(%rsp), %xmm0
movaps 0x140(%rsp), %xmm1
callq 0x13c40
testl %eax, %eax
jne 0x49e3e
movaps 0x180(%rsp), %xmm1
movaps 0x170(%rsp), %xmm2
subss %xmm1, %xmm2
movaps 0x80(%rsp), %xmm0
movss %xmm1, %xmm0            # xmm0 = xmm1[0],xmm0[1,2,3]
movaps 0x90(%rsp), %xmm1
movss %xmm2, %xmm1            # xmm1 = xmm2[0],xmm1[1,2,3]
pushq $0x1
popq %rdx
movq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x13c40
testl %eax, %eax
je 0x4a867
movq 0x20(%rsp), %rax
movl $0x2, (%rax)
movaps 0x50(%rsp), %xmm7
movaps %xmm7, 0x50(%rsp)
movq 0x18(%rsp), %rbp
movl 0x104(%rbp), %eax
movl %eax, 0x180(%rsp)
pushq $0x1
popq %rdx
movq %rbp, %rdi
xorl %esi, %esi
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
callq 0x12750
movl %eax, 0x170(%rsp)
movq 0x40(%rsp), %r14
movl (%r14), %r15d
andl $0x2, %r15d
orl $0x4, %r15d
movl %r15d, (%r14)
movq %rbp, %rdi
movapd 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
callq 0x143d0
testl %eax, %eax
pushq $0x12
popq %rbp
cmovel %r15d, %ebp
movl %ebp, (%r14)
cmpl $0x0, 0x180(%rsp)
je 0x49f22
cmpl $0x0, 0x170(%rsp)
movq 0x60(%rsp), %rsi
movaps 0x50(%rsp), %xmm7
je 0x49f27
movq 0x18(%rsp), %rax
movss 0x38(%rsp), %xmm1
mulss 0x154(%rax), %xmm1
movl (%rsi), %eax
cmpl $0x2, %eax
je 0x49f70
cmpl $0x1, %eax
je 0x49f56
testl %eax, %eax
jne 0x49f8c
cvttss2si %xmm1, %eax
addl 0x8(%rsi), %eax
movl 0x10(%rsi), %ecx
movl 0x18(%rsi), %edx
cmpl %edx, %eax
cmovgel %edx, %eax
cmpl %ecx, %eax
cmovlel %ecx, %eax
movl %eax, 0x8(%rsi)
jmp 0x49f8c
movaps 0x50(%rsp), %xmm7
movaps %xmm7, 0x50(%rsp)
testb $0x10, %bpl
je 0x49f9a
movq 0x18(%rsp), %rdi
movapd 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
callq 0x13d20
testl %eax, %eax
jne 0x49f9a
orl $0x8, %ebp
jmp 0x49fbc
addss 0x8(%rsi), %xmm1
minss 0x18(%rsi), %xmm1
movss 0x10(%rsi), %xmm0
maxss %xmm1, %xmm0
movss %xmm0, 0x8(%rsi)
jmp 0x49f8c
cvtss2sd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
minsd 0x18(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsi)
movq 0x40(%rsp), %rax
movl $0x22, (%rax)
pushq $0x22
popq %rbp
movq 0x18(%rsp), %rdi
movapd 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
callq 0x13d20
testl %eax, %eax
je 0x49fca
orl $0x40, %ebp
movaps 0x50(%rsp), %xmm7
movq 0x40(%rsp), %rax
movl %ebp, (%rax)
jmp 0x49fcf
movaps 0x50(%rsp), %xmm7
xorl %eax, %eax
testb $0x20, %bpl
jne 0x49fde
movq 0x20(%rsp), %rcx
movl %eax, (%rcx)
movaps 0xa0(%rsp), %xmm0
addss %xmm7, %xmm0
movaps %xmm0, 0xa0(%rsp)
movss 0x14(%rsp), %xmm0
mulss 0xb0(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
leaq 0x68(%r13), %r15
leaq 0xc28(%rbx), %r14
movq 0x1250(%rbx), %rax
testq %rax, %rax
je 0x4a02a
movq 0x1248(%rbx), %rsi
movq %r15, %rdi
callq *%rax
movq %r15, 0x38(%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
pushq $0x28
popq %rcx
cmoveq %rsi, %rcx
testb $0x20, %al
movl $0x84, %eax
cmoveq %rdx, %rax
pushq $0x50
popq %r15
cmoveq %rcx, %r15
movaps 0xa0(%rsp), %xmm0
subss 0x14(%rsp), %xmm0
movaps %xmm0, 0xa0(%rsp)
addq %r15, %r14
movl 0xc28(%rbx,%rax), %edi
movss 0xcc8(%rbx), %xmm0
movss %xmm0, 0x14(%rsp)
callq 0x140a0
movl %eax, 0x16c(%rsp)
movl 0xc28(%rbx,%r15), %eax
testl %eax, %eax
movq 0x128(%rsp), %rbp
movq %r12, 0x1b0(%rsp)
je 0x4a150
cmpl $0x2, %eax
je 0x4a10f
cmpl $0x1, %eax
movq 0x60(%rsp), %r15
movq 0x38(%rsp), %r12
jne 0x4a1f1
andl $0x0, 0x168(%rsp)
addq $0x8, %r14
pushq $-0x1
popq %rdi
movss 0x14(%rsp), %xmm0
callq 0x140a0
movq %r12, %rdi
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
movq %r14, %rsi
movl %eax, %edx
callq 0x13660
jmp 0x4a1f1
andl $0x0, 0x168(%rsp)
addq $0x8, %r14
pushq $-0x1
popq %rdi
movss 0x14(%rsp), %xmm0
callq 0x140a0
movq 0x38(%rsp), %r12
movq %r12, %rdi
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
movq %r14, %rsi
movl %eax, %edx
callq 0x14230
jmp 0x4a1ec
movl 0x8(%r14), %edi
movl %edi, 0x168(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x50(%rsp)
movss 0x14(%rsp), %xmm0
callq 0x140a0
movq 0x38(%rsp), %r12
movq %r12, %rdi
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
movss 0x50(%rsp), %xmm2
movl %eax, %esi
callq 0x12f00
movss 0xcb8(%rbx), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0xcbc(%rbx), %xmm0
movss %xmm0, 0x50(%rsp)
movss 0xcc8(%rbx), %xmm0
movl 0x8(%r14), %edi
callq 0x140a0
movq %r12, %rdi
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
movss 0x50(%rsp), %xmm2
movss 0x14(%rsp), %xmm3
movl %eax, %esi
callq 0x12070
movq 0x60(%rsp), %r15
movaps 0xb0(%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movaps %xmm0, 0xb0(%rsp)
movaps 0x150(%rsp), %xmm0
unpcklps 0xa0(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x150(%rsp)
leaq 0x160(%rsp), %rcx
andq $0x0, (%rcx)
pushq $0x12
popq %r8
movq %r12, %rdi
movaps 0x1a0(%rsp), %xmm0
movaps 0x140(%rsp), %xmm1
movq 0x1b0(%rsp), %rsi
movl 0xe4(%rsp), %edx
movq %rbp, %r9
callq 0x41852
movq 0x1258(%rbx), %rax
testq %rax, %rax
je 0x4a26f
movq 0x1248(%rbx), %rsi
movq %r12, %rdi
callq *%rax
movaps 0x100(%rsp), %xmm0
unpcklps 0xa0(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, 0x100(%rsp)
movl 0xcb0(%rbx), %edx
leaq 0x1170(%rbx), %r8
movq %rbp, (%rsp)
movq 0x40(%rsp), %rdi
movq %r12, %rsi
movapd 0x150(%rsp), %xmm0
movapd 0xb0(%rsp), %xmm1
movl 0x7c(%rsp), %ecx
movq 0x18(%rsp), %r12
movq %r12, %r9
callq 0x3c90b
testl %eax, %eax
movq 0x70(%rsp), %r14
je 0x4a343
movl (%r15), %eax
cmpl $0x2, %eax
je 0x4a321
cmpl $0x1, %eax
je 0x4a2fd
testl %eax, %eax
jne 0x4a343
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 0x4a343
movss 0x8(%r15), %xmm0
movss 0x10(%r15), %xmm1
subss 0x20(%r15), %xmm0
minss 0x18(%r15), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r15)
jmp 0x4a343
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 0x38(%rsp), %rsi
movapd 0x100(%rsp), %xmm0
movapd 0xb0(%rsp), %xmm1
movl 0x7c(%rsp), %ecx
movq %r12, %r9
callq 0x3c90b
testl %eax, %eax
je 0x4a3f7
movl (%r15), %eax
cmpl $0x2, %eax
je 0x4a3d5
cmpl $0x1, %eax
je 0x4a3b1
testl %eax, %eax
jne 0x4a3f7
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 0x4a3f7
movss 0x8(%r15), %xmm0
movss 0x10(%r15), %xmm1
addss 0x20(%r15), %xmm0
minss 0x18(%r15), %xmm0
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r15)
jmp 0x4a3f7
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), %rax
movq %rax, 0xb0(%rsp)
cmpl $0x1, 0x190(%rsp)
setne %cl
movq 0x20(%rsp), %rax
movl (%rax), %eax
cmpl $0x1, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
movq %r13, 0x1b8(%rsp)
jne 0x4a47a
movq 0xc0(%rsp), %r12
movslq (%r12), %rdx
movq 0x30(%rsp), %r15
movq %r15, %rdi
movq 0xd8(%rsp), %rsi
callq 0x24323
movl (%r12), %esi
movq %r15, %rdi
callq 0x127b0
movl %eax, (%r14)
movl (%r12), %eax
movq 0x68(%rsp), %r13
movl %eax, (%r13)
movq %r14, %rbp
xorl %r14d, %r14d
movq %r15, 0xd8(%rsp)
jmp 0x4a48f
movq %r14, %rbp
xorl %r14d, %r14d
cmpl $0x1, %eax
sete %r14b
movq 0xc0(%rsp), %r13
movq %rbp, 0x70(%rsp)
movl 0xe8(%rsp), %eax
leaq 0x39e3e(%rip), %rcx     # 0x842e0
movq (%rcx,%rax,8), %rdx
movq %rdx, 0xa0(%rsp)
xorl %r15d, %r15d
movq 0xb0(%rsp), %r12
movq %r12, %rdi
xorl %esi, %esi
callq 0x476ee
movl %r14d, 0x100(%rsp)
movb %r14b, 0x3289(%rbx)
movl (%r13), %eax
movl %eax, 0x3260(%rbx)
movl (%rbp), %ecx
cmpl %eax, %ecx
cmovll %ecx, %eax
testl %eax, %eax
cmovlel %r15d, %eax
movl %eax, 0x3278(%rbx)
movq 0xc8(%rsp), %r14
movl (%r14), %eax
movl (%r13), %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
testl %ecx, %ecx
cmovlel %r15d, %ecx
movl %ecx, 0x327c(%rbx)
movq %r12, %r8
movq 0xd0(%rsp), %rbp
movl (%rbp), %eax
movl (%r13), %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
testl %ecx, %ecx
cmovlel %r15d, %ecx
movl %ecx, 0x3280(%rbx)
movslq (%r13), %rax
movq %rax, 0x3240(%rbx)
pushq $0x40
popq %rax
movq %rax, 0x3230(%rbx)
movq 0xd8(%rsp), %rcx
movq %rcx, 0x3228(%rbx)
movq %rax, 0x3258(%rbx)
movb $0x1, 0x3284(%rbx)
leaq 0xcd0(%rbx), %r9
movq 0x20(%rsp), %rax
cmpl $0x1, (%rax)
movq 0x18(%rsp), %r12
cmoveq %r12, %r15
movq 0x128(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq %r15, (%rsp)
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rsi
movaps 0x130(%rsp), %xmm0
movapd 0x110(%rsp), %xmm1
movl $0x262, %edx            # imm = 0x262
movq 0xa0(%rsp), %rcx
callq 0x47f92
movl 0x3260(%rbx), %eax
movl %eax, (%r13)
movl 0x3278(%rbx), %eax
movq 0x70(%rsp), %rcx
movl %eax, (%rcx)
movl 0x327c(%rbx), %eax
movl %eax, (%r14)
movl 0x3280(%rbx), %eax
movl %eax, (%rbp)
cmpb $0x0, 0x3289(%rbx)
movq 0x60(%rsp), %r14
movq 0x1b8(%rsp), %r15
je 0x4a614
pushq $0x4
popq %rsi
movq %r12, %rdi
callq 0x124e0
testl %eax, %eax
je 0x4a6da
movb $0x0, 0x3289(%rbx)
cmpl $0x0, 0x100(%rsp)
je 0x4a6da
movq 0x20(%rsp), %rax
andl $0x0, (%rax)
movq 0x68(%rsp), %rax
movslq (%rax), %rax
movq 0x30(%rsp), %rcx
movb $0x0, (%rcx,%rax)
movl (%r14), %eax
cmpl $0x2, %eax
je 0x4a6a8
cmpl $0x1, %eax
je 0x4a674
testl %eax, %eax
jne 0x4a6da
movq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x130b0
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 0x4a6da
movq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x54269
movq %r12, %rdi
movq 0x18(%rsp), %r12
xorl %esi, %esi
callq 0x142f0
minss 0x18(%r14), %xmm0
movss 0x10(%r14), %xmm1
maxss %xmm0, %xmm1
movss %xmm1, 0x8(%r14)
jmp 0x4a6da
movq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x54269
movq %r12, %rdi
movq 0x18(%rsp), %r12
xorl %esi, %esi
callq 0x14340
minsd 0x18(%r14), %xmm0
movsd 0x10(%r14), %xmm1
maxsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r14)
movq 0x20(%rsp), %rax
movl (%rax), %eax
testq %r12, %r12
je 0x4a794
testl %eax, %eax
movl 0x4c(%rsp), %edx
je 0x4a79a
cmpl $0x0, 0xb4(%r15)
jne 0x4a7d1
movl $0x1, 0xb4(%r15)
leaq 0xbc(%r15), %rdi
movq 0x68(%rsp), %r14
movslq (%r14), %rdx
movq 0x30(%rsp), %rsi
callq 0x24323
movl 0x4c(%rsp), %edx
movl (%r14), %eax
movl %eax, 0xfc(%r15)
movq 0x70(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x100(%r15)
movq 0x20(%rsp), %rcx
movl (%rcx), %eax
movl %eax, 0x118(%r15)
movl 0xe0(%rsp), %eax
movl %eax, 0x10c(%r15)
movq 0xc8(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x104(%r15)
movq 0xd0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x108(%r15)
movl (%rcx), %eax
cmpl $0x2, %eax
jne 0x4a79c
movw $0x101, 0x164(%rbx)     # imm = 0x101
jmp 0x4a7d1
movl 0x4c(%rsp), %edx
jmp 0x4a79c
xorl %eax, %eax
testl %eax, %eax
sete %al
testl %edx, %edx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x4a7d1
cmpl $0x2, %edx
jne 0x4a7c1
andw $0x0, 0x164(%rbx)
movb $0x1, 0x166(%rbx)
andq $0x0, 0x104(%r15)
andl $0x0, 0xb4(%r15)
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x2d, 0x1d0(%rsp)
negq %rax
pushq $0x1
popq %rcx
addq %rsp, %rcx
addq $0x1d0, %rcx            # imm = 0x1D0
pushq $0xa
popq %rsi
testq %rax, %rax
jle 0x4a812
xorl %edx, %edx
divq %rsi
orb $0x30, %dl
movb %dl, (%rcx)
incq %rcx
jmp 0x4a7fe
movb $0x0, (%rcx)
xorl %eax, %eax
cmpb $0x2d, 0x1d0(%rsp)
sete %al
leaq (%rsp,%rax), %r14
addq $0x1d0, %r14            # imm = 0x1D0
movq %r14, %rdi
callq 0x13040
movl %eax, %ecx
pushq $0x2
popq %rsi
cltd
idivl %esi
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
decl %ecx
cmpq %rdx, %rax
je 0x49c49
movb (%r14,%rdx), %sil
movslq %ecx, %rcx
movb (%r14,%rcx), %dil
movb %dil, (%r14,%rdx)
movb %sil, (%r14,%rcx)
incq %rdx
jmp 0x4a844
movq 0x20(%rsp), %rax
cmpl $0x2, (%rax)
movaps 0x50(%rsp), %xmm7
je 0x49e4e
jmp 0x49fde