// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_color_pick
NK_API nk_bool
nk_color_pick(struct nk_context * ctx, struct nk_colorf *color,
    enum nk_color_format fmt)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_style *config;
    const struct nk_input *in;

    enum nk_widget_layout_states state;
    struct nk_rect bounds;

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

    win = ctx->current;
    config = &ctx->style;
    layout = win->layout;
    state = nk_widget(&bounds, ctx);
    if (!state) return 0;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    return nk_do_color_picker(&ctx->last_widget_state, &win->buffer, color, fmt, bounds,
                nk_vec2(0,0), in, config->font);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movl %edx, %r13d
movq %rsi, %r14
movq %rdi, %r12
testq %rdi, %rdi
jne 0x5106e
movq 0x36fa7(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20d39(%rip), %rsi     # 0x71d8c
leaq 0x20d50(%rip), %rdx     # 0x71daa
movl $0x71a6, %ecx           # imm = 0x71A6
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
testq %r14, %r14
jne 0x5109f
movq 0x36f76(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20d08(%rip), %rsi     # 0x71d8c
leaq 0x20d1f(%rip), %rdx     # 0x71daa
movl $0x71a7, %ecx           # imm = 0x71A7
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%r12)
jne 0x510d6
movq 0x36f3f(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20cd1(%rip), %rsi     # 0x71d8c
leaq 0x20ce8(%rip), %rdx     # 0x71daa
movl $0x71a8, %ecx           # imm = 0x71A8
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
movq 0x4780(%r12), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x51114
movq 0x36f01(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20c93(%rip), %rsi     # 0x71d8c
leaq 0x20caa(%rip), %rdx     # 0x71daa
movl $0x71a9, %ecx           # imm = 0x71A9
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
xorl %r15d, %r15d
testq %r12, %r12
je 0x51c8b
movq 0x4780(%r12), %rbx
testq %rbx, %rbx
je 0x51c8b
testq %r14, %r14
sete %al
movq 0xa8(%rbx), %rbp
testq %rbp, %rbp
sete %cl
orb %al, %cl
jne 0x51c8b
leaq 0x130(%rsp), %rdi
movq %r12, %rsi
callq 0x128e0
movl %eax, %r15d
testl %eax, %eax
je 0x51c8b
movl %r13d, 0x30(%rsp)
xorl %r13d, %r13d
cmpl $0x1, %r15d
jne 0x5117d
testb $0x10, 0x5(%rbp)
cmoveq %r12, %r13
movq 0x168(%r12), %rax
testq %rax, %rax
je 0x51383
movsd 0x130(%rsp), %xmm1
movsd 0x138(%rsp), %xmm6
movss 0x8(%rax), %xmm5
xorps %xmm0, %xmm0
movaps %xmm1, 0xd0(%rsp)
addps %xmm1, %xmm0
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
movaps %xmm5, %xmm1
addss %xmm5, %xmm1
xorps %xmm3, %xmm3
addss %xmm1, %xmm3
movaps %xmm6, %xmm4
subss %xmm3, %xmm4
movaps %xmm0, %xmm1
addss %xmm4, %xmm1
movaps %xmm1, 0x50(%rsp)
movaps %xmm5, 0xf0(%rsp)
addss %xmm1, %xmm5
leaq 0x190(%rsp), %r15
movaps %xmm5, 0x180(%rsp)
movss %xmm5, (%r15)
movss %xmm2, 0x4(%r15)
xorl %ebp, %ebp
cmpl $0x1, 0x30(%rsp)
cmovneq %rbp, %r15
movsd (%r14), %xmm5
movsd 0x8(%r14), %xmm8
movaps %xmm5, %xmm1
shufps $0x55, %xmm5, %xmm1     # xmm1 = xmm1[1,1],xmm5[1,1]
movaps %xmm1, 0xb0(%rsp)
movaps %xmm8, %xmm7
ucomiss %xmm1, %xmm8
jbe 0x51243
shufps $0x11, %xmm5, %xmm7     # xmm7 = xmm7[1,0],xmm5[1,0]
shufps $0xe2, %xmm5, %xmm7     # xmm7 = xmm7[2,0],xmm5[2,3]
movaps %xmm5, %xmm1
unpcklps %xmm8, %xmm1            # xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
movaps %xmm1, %xmm5
addq $0x2598, %r12           # imm = 0x2598
movaps %xmm6, %xmm1
subss %xmm3, %xmm1
movaps %xmm5, %xmm3
shufps $0x55, %xmm5, %xmm3     # xmm3 = xmm3[1,1],xmm5[1,1]
movaps %xmm3, 0x140(%rsp)
ucomiss %xmm5, %xmm3
movaps %xmm2, (%rsp)
movaps %xmm5, 0xc0(%rsp)
movaps %xmm8, 0x160(%rsp)
jbe 0x5127e
shufps $0xe1, %xmm5, %xmm5     # xmm5 = xmm5[1,0,2,3]
movaps %xmm5, 0x60(%rsp)
movaps %xmm6, %xmm2
shufps $0x55, %xmm6, %xmm2     # xmm2 = xmm2[1,1],xmm6[1,1]
movaps %xmm2, 0x20(%rsp)
movaps %xmm6, %xmm3
movaps 0xf0(%rsp), %xmm2
movss %xmm2, %xmm3            # xmm3 = xmm2[0],xmm3[1,2,3]
movaps %xmm3, 0xe0(%rsp)
movaps %xmm0, %xmm2
addss %xmm4, %xmm2
movaps %xmm2, 0x80(%rsp)
movaps %xmm5, %xmm2
shufps $0x55, %xmm5, %xmm2     # xmm2 = xmm2[1,1],xmm5[1,1]
movaps %xmm2, 0x150(%rsp)
minss %xmm7, %xmm2
movaps %xmm5, %xmm3
subss %xmm2, %xmm3
movaps %xmm3, 0xa0(%rsp)
movaps %xmm7, 0x170(%rsp)
movaps %xmm7, %xmm2
shufps $0x55, %xmm7, %xmm2     # xmm2 = xmm2[1,1],xmm7[1,1]
movaps %xmm2, 0x10(%rsp)
movq %r12, %rdi
movaps %xmm1, 0x120(%rsp)
movq %r13, %rsi
movl $0x1, %edx
movaps %xmm0, 0x40(%rsp)
movaps %xmm4, 0x110(%rsp)
movaps %xmm6, 0x70(%rsp)
callq 0x521be
movaps 0x70(%rsp), %xmm1
testl %eax, %eax
je 0x513b7
movaps 0x110(%rsp), %xmm0
movss %xmm0, %xmm1            # xmm1 = xmm0[0],xmm1[1,2,3]
addps 0x1d4eb(%rip), %xmm1    # 0x6e820
movsd 0x144(%r13), %xmm0
movaps 0x40(%rsp), %xmm2
subps %xmm2, %xmm0
divps %xmm1, %xmm0
movaps %xmm0, %xmm1
shufps $0x11, %xmm0, %xmm1     # xmm1 = xmm1[1,0],xmm0[1,0]
movaps 0x1d519(%rip), %xmm2    # 0x6e870
cmpltps %xmm1, %xmm2
movmskps %xmm2, %eax
movss 0x1d54e(%rip), %xmm5    # 0x6e8b4
movaps %xmm5, %xmm2
testb $0x1, %al
jne 0x51370
xorps %xmm2, %xmm2
movaps %xmm5, %xmm1
testb $0x4, %al
jne 0x5137a
movaps %xmm2, %xmm1
testb $0x1, %al
jne 0x513da
movaps %xmm1, %xmm2
jmp 0x513e1
movq 0x36c66(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x209f8(%rip), %rsi     # 0x71d8c
leaq 0x20a0f(%rip), %rdx     # 0x71daa
xorl %r15d, %r15d
movl $0x717c, %ecx           # imm = 0x717C
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
jmp 0x51c8b
movaps 0x60(%rsp), %xmm0
addss 0x1d50c(%rip), %xmm0    # 0x6e8d0
movaps 0xa0(%rsp), %xmm1
divss %xmm0, %xmm1
movaps %xmm1, 0x90(%rsp)
jmp 0x51416
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
testb $0x4, %al
jne 0x513e8
movaps %xmm2, %xmm1
movaps %xmm5, %xmm2
testb $0xa, %al
jne 0x513f2
xorps %xmm2, %xmm2
testb $0x2, %al
jne 0x513f9
movaps %xmm2, %xmm0
testb $0x8, %al
jne 0x51400
movaps %xmm0, %xmm2
movaps %xmm2, 0x90(%rsp)
subss %xmm1, %xmm5
movaps %xmm5, 0x60(%rsp)
movl $0x1, %ebp
movq %r12, %rdi
movaps 0x80(%rsp), %xmm0
movaps 0xe0(%rsp), %xmm1
movq %r13, %rsi
movl $0x1, %edx
callq 0x521be
testl %eax, %eax
je 0x514a1
movss 0x148(%r13), %xmm0
movaps (%rsp), %xmm4
subss %xmm4, %xmm0
movss 0x1d471(%rip), %xmm1    # 0x6e8c4
addss 0x20(%rsp), %xmm1
divss %xmm1, %xmm0
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
movss 0x1d449(%rip), %xmm1    # 0x6e8b4
movaps %xmm1, %xmm7
cmpltss %xmm0, %xmm7
cmpltss %xmm0, %xmm2
andps %xmm1, %xmm2
movaps %xmm7, %xmm3
andnps %xmm2, %xmm3
andps %xmm1, %xmm7
orps %xmm3, %xmm7
movaps %xmm0, %xmm2
ja 0x5148f
movaps %xmm7, %xmm2
ucomiss %xmm1, %xmm0
ja 0x51497
movaps %xmm2, %xmm7
movl $0x1, %ebp
jmp 0x51528
movaps 0xb0(%rsp), %xmm2
cmpltss 0x160(%rsp), %xmm2
movss 0x1d409(%rip), %xmm0    # 0x6e8c4
andps %xmm0, %xmm2
movss 0x1d402(%rip), %xmm0    # 0x6e8c8
subss %xmm2, %xmm0
movaps 0xc0(%rsp), %xmm1
cmpltss 0x140(%rsp), %xmm1
movaps 0xa0(%rsp), %xmm3
mulss 0x1d3e0(%rip), %xmm3    # 0x6e8cc
andps %xmm1, %xmm0
andnps %xmm2, %xmm1
orps %xmm0, %xmm1
movaps 0x150(%rsp), %xmm0
subss 0x170(%rsp), %xmm0
addss 0x1d3c2(%rip), %xmm3    # 0x6e8d0
divss %xmm3, %xmm0
addss %xmm1, %xmm0
movaps 0x1d053(%rip), %xmm7    # 0x6e570
xorps %xmm0, %xmm7
maxss %xmm0, %xmm7
movaps (%rsp), %xmm4
cmpl $0x1, 0x30(%rsp)
movq %r15, 0x108(%rsp)
jne 0x515e2
movsd (%r15), %xmm0
movq %r12, %rdi
movaps 0xe0(%rsp), %xmm1
movq %r13, %rsi
movl $0x1, %edx
movaps %xmm7, 0x80(%rsp)
callq 0x521be
movaps 0x80(%rsp), %xmm7
movaps (%rsp), %xmm4
movl %ebp, %r15d
testl %eax, %eax
movaps 0x70(%rsp), %xmm5
movaps 0x10(%rsp), %xmm3
je 0x515ef
movss 0x148(%r13), %xmm0
subss %xmm4, %xmm0
movss 0x1d332(%rip), %xmm1    # 0x6e8c4
addss 0x20(%rsp), %xmm1
divss %xmm1, %xmm0
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
movss 0x1d30a(%rip), %xmm3    # 0x6e8b4
movaps %xmm3, %xmm1
cmpltss %xmm0, %xmm1
cmpltss %xmm0, %xmm2
andps %xmm3, %xmm2
movaps %xmm1, %xmm6
andnps %xmm2, %xmm6
andps %xmm3, %xmm1
orps %xmm6, %xmm1
movaps %xmm0, %xmm2
ja 0x515ce
movaps %xmm1, %xmm2
ucomiss %xmm3, %xmm0
ja 0x515d6
movaps %xmm2, %xmm1
subss %xmm1, %xmm3
movl $0x1, %r15d
jmp 0x515ef
movl %ebp, %r15d
movaps 0x70(%rsp), %xmm5
movaps 0x10(%rsp), %xmm3
movl (%r12), %eax
andl $0x2, %eax
orl $0x4, %eax
movl %eax, (%r12)
testl %ebp, %ebp
je 0x51638
movaps %xmm7, %xmm0
movaps 0x90(%rsp), %xmm1
movaps 0x60(%rsp), %xmm2
movaps %xmm3, 0x10(%rsp)
callq 0x13400
movaps 0x10(%rsp), %xmm3
movaps 0x70(%rsp), %xmm5
movaps (%rsp), %xmm4
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, (%r14)
movl $0x22, (%r12)
testl %r15d, %r15d
je 0x5164b
movss %xmm3, 0xc(%r14)
movl $0x22, (%r12)
testq %r13, %r13
movaps 0xd0(%rsp), %xmm2
je 0x5169f
movss 0x144(%r13), %xmm0
ucomiss %xmm2, %xmm0
jb 0x5169f
movaps 0x40(%rsp), %xmm1
addss %xmm5, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x5169f
movss 0x148(%r13), %xmm0
movaps %xmm2, %xmm1
shufps $0x55, %xmm2, %xmm1     # xmm1 = xmm1[1,1],xmm2[1,1]
ucomiss %xmm1, %xmm0
jb 0x5169f
movaps %xmm4, %xmm1
addss 0x20(%rsp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x5169f
movl $0x12, (%r12)
movl (%r12), %eax
testb $0x10, %al
jne 0x516f4
testq %r13, %r13
je 0x51747
movss 0x14c(%r13), %xmm0
ucomiss %xmm2, %xmm0
jb 0x51747
addss 0x40(%rsp), %xmm5
ucomiss %xmm0, %xmm5
jbe 0x51747
movss 0x150(%r13), %xmm0
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm2, %xmm0
jb 0x51747
movaps %xmm4, %xmm1
addss 0x20(%rsp), %xmm1
movl $0x40, %ecx
ucomiss %xmm0, %xmm1
ja 0x51741
jmp 0x51747
movl $0x8, %ecx
testq %r13, %r13
je 0x51741
movss 0x14c(%r13), %xmm0
ucomiss %xmm2, %xmm0
jb 0x51741
movaps 0x40(%rsp), %xmm1
addss %xmm5, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x51741
movss 0x150(%r13), %xmm0
movaps %xmm2, %xmm1
shufps $0x55, %xmm2, %xmm1     # xmm1 = xmm1[1,1],xmm2[1,1]
ucomiss %xmm1, %xmm0
jb 0x51741
movaps %xmm4, %xmm1
addss 0x20(%rsp), %xmm1
ucomiss %xmm0, %xmm1
ja 0x516a7
orl %ecx, %eax
movl %eax, (%r12)
movsd (%r14), %xmm3
movsd 0x8(%r14), %xmm2
movaps %xmm3, %xmm0
shufps $0x55, %xmm3, %xmm0     # xmm0 = xmm0[1,1],xmm3[1,1]
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm5
cmpltss %xmm2, %xmm5
movss 0x1d158(%rip), %xmm1    # 0x6e8c4
andps %xmm1, %xmm5
ja 0x51776
movaps %xmm2, %xmm0
jmp 0x51779
unpcklps %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
movl 0x30(%rsp), %ebp
movss 0x1d143(%rip), %xmm1    # 0x6e8c8
movaps %xmm2, 0xb0(%rsp)
movaps %xmm3, %xmm2
shufps $0x55, %xmm3, %xmm2     # xmm2 = xmm2[1,1],xmm3[1,1]
movaps %xmm2, 0x90(%rsp)
ucomiss %xmm3, %xmm2
movaps %xmm3, 0x80(%rsp)
ja 0x517ae
movaps %xmm3, %xmm2
jmp 0x517b5
movaps %xmm3, %xmm2
shufps $0xe1, %xmm3, %xmm2     # xmm2 = xmm2[1,0],xmm3[2,3]
addq $0x68, %rbx
movaps %xmm5, 0xa0(%rsp)
subss %xmm5, %xmm1
movaps %xmm1, 0xd0(%rsp)
movaps %xmm2, %xmm3
shufps $0x55, %xmm2, %xmm3     # xmm3 = xmm3[1,1],xmm2[1,1]
movaps %xmm3, %xmm1
minss %xmm0, %xmm1
movaps %xmm2, 0x60(%rsp)
subss %xmm1, %xmm2
subss %xmm0, %xmm3
movss 0x1d0dc(%rip), %xmm0    # 0x6e8cc
movaps %xmm2, 0x10(%rsp)
movaps %xmm2, %xmm1
mulss %xmm0, %xmm1
addss 0x1d0cc(%rip), %xmm1    # 0x6e8d0
divss %xmm1, %xmm3
movaps %xmm3, 0xc0(%rsp)
movaps 0x20(%rsp), %xmm1
divss %xmm0, %xmm1
movss 0x1d08f(%rip), %xmm2    # 0x6e8b0
movss %xmm1, 0x30(%rsp)
addss %xmm1, %xmm2
movaps 0xf0(%rsp), %xmm0
movlhps %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
shufps $0xe2, %xmm0, %xmm2     # xmm2 = xmm2[2,0],xmm0[2,3]
movaps %xmm2, 0x70(%rsp)
xorl %eax, %eax
leaq 0x20528(%rip), %r14     # 0x71d70
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
mulss 0x30(%rsp), %xmm0
addss (%rsp), %xmm0
addss 0x1d04e(%rip), %xmm0    # 0x6e8b0
leaq 0x1(%rax), %r12
movl (%r14,%rax,4), %edx
movl 0x4(%r14,%rax,4), %ecx
movaps 0x50(%rsp), %xmm1
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
shufps $0xe2, %xmm1, %xmm0     # xmm0 = xmm0[2,0],xmm1[2,3]
movq %rbx, %rdi
movaps 0x70(%rsp), %xmm1
movl %edx, %esi
movl %ecx, %r8d
callq 0x13680
movq %r12, %rax
cmpq $0x6, %r12
jne 0x51848
movaps 0x80(%rsp), %xmm1
cmpltss 0x90(%rsp), %xmm1
movaps 0xd0(%rsp), %xmm0
andps %xmm1, %xmm0
andnps 0xa0(%rsp), %xmm1
orps %xmm0, %xmm1
addss 0xc0(%rsp), %xmm1
movaps 0x1cca2(%rip), %xmm0    # 0x6e570
xorps %xmm1, %xmm0
maxss %xmm1, %xmm0
movaps %xmm0, 0x30(%rsp)
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
movaps 0x30(%rsp), %xmm0
testq %rax, %rax
je 0x51952
movaps 0x180(%rsp), %xmm1
addss 0x1d01a(%rip), %xmm1    # 0x6e920
movaps 0x50(%rsp), %xmm2
addss 0x1cfb1(%rip), %xmm2    # 0x6e8c4
movaps %xmm0, %xmm3
mulss 0x20(%rsp), %xmm3
addss (%rsp), %xmm3
addss 0x1cf87(%rip), %xmm3    # 0x6e8b0
cvttss2si %xmm3, %ecx
cvttss2si %xmm2, %edx
movw $0x1, 0x10(%rax)
movw %dx, 0x12(%rax)
cvttss2si %xmm1, %edx
movw %cx, 0x14(%rax)
movw %dx, 0x16(%rax)
movw %cx, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
cmpl $0x1, %ebp
jne 0x51a3c
movq 0x108(%rsp), %r14
movsd (%r14), %xmm0
movq %rbx, %rdi
movaps 0xe0(%rsp), %xmm1
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0xff000000, %ecx       # imm = 0xFF000000
movl $0xff000000, %r8d       # imm = 0xFF000000
callq 0x13680
movss (%r14), %xmm0
movss %xmm0, 0x50(%rsp)
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
movaps 0x30(%rsp), %xmm0
testq %rax, %rax
je 0x51a3c
movaps 0xf0(%rsp), %xmm3
movss 0x50(%rsp), %xmm5
addss %xmm5, %xmm3
addss 0x1cf4e(%rip), %xmm3    # 0x6e920
addss 0x1ceea(%rip), %xmm5    # 0x6e8c4
movaps 0xb0(%rsp), %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
movss 0x1cec6(%rip), %xmm4    # 0x6e8b4
movaps %xmm4, %xmm1
minss %xmm2, %xmm1
xorps %xmm2, %xmm2
maxss %xmm2, %xmm1
subss %xmm1, %xmm4
mulss 0x20(%rsp), %xmm4
addss (%rsp), %xmm4
addss 0x1ce9d(%rip), %xmm4    # 0x6e8b0
cvttss2si %xmm4, %ecx
cvttss2si %xmm5, %edx
movw $0x1, 0x10(%rax)
movw %dx, 0x12(%rax)
cvttss2si %xmm3, %edx
movw %cx, 0x14(%rax)
movw %dx, 0x16(%rax)
movw %cx, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
movss 0x1ce8c(%rip), %xmm2    # 0x6e8d0
addss 0x60(%rsp), %xmm2
movaps 0x10(%rsp), %xmm1
divss %xmm2, %xmm1
movaps %xmm1, 0x10(%rsp)
movss 0x1ce54(%rip), %xmm1    # 0x6e8b4
movaps %xmm1, %xmm2
movaps %xmm1, %xmm3
callq 0x13400
movaps %xmm1, %xmm2
movaps %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
movaps %xmm2, %xmm3
shufps $0x55, %xmm2, %xmm3     # xmm3 = xmm3[1,1],xmm2[1,1]
callq 0x131e0
movq %rbx, %rdi
movaps 0x40(%rsp), %xmm0
movaps 0x120(%rsp), %xmm1
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl %eax, %edx
movl %eax, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x13680
movq %rbx, %rdi
movaps 0x40(%rsp), %xmm0
movaps 0x120(%rsp), %xmm1
xorl %esi, %esi
xorl %edx, %edx
movl $0xff000000, %ecx       # imm = 0xFF000000
movl $0xff000000, %r8d       # imm = 0xFF000000
callq 0x13680
movaps 0x10(%rsp), %xmm0
mulss 0x110(%rsp), %xmm0
addss 0x40(%rsp), %xmm0
movaps %xmm0, 0x10(%rsp)
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movss 0x1cdbe(%rip), %xmm0    # 0x6e8b4
subss 0x60(%rsp), %xmm0
mulss 0x20(%rsp), %xmm0
addss (%rsp), %xmm0
cvttss2si %xmm0, %ebp
cvttps2dq %xmm0, %xmm0
movaps %xmm0, (%rsp)
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
movaps 0x50(%rsp), %xmm2
testq %rax, %rax
je 0x51b6c
movss 0x1cde5(%rip), %xmm0    # 0x6e91c
addss %xmm2, %xmm0
movss 0x1ce15(%rip), %xmm1    # 0x6e958
addss %xmm2, %xmm1
cvttss2si %xmm1, %ecx
movw $0x1, 0x10(%rax)
movw %cx, 0x12(%rax)
cvttss2si %xmm0, %ecx
movw %bp, 0x14(%rax)
movw %cx, 0x16(%rax)
movw %bp, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
cvtdq2ps (%rsp), %xmm0
movaps %xmm0, (%rsp)
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
testq %rax, %rax
je 0x51bd1
movss 0x1cd69(%rip), %xmm0    # 0x6e8fc
movaps 0x50(%rsp), %xmm1
addss %xmm1, %xmm0
addss 0x1cdb8(%rip), %xmm1    # 0x6e95c
addss 0x1cd08(%rip), %xmm1    # 0x6e8b4
cvttss2si %xmm1, %ecx
movw $0x1, 0x10(%rax)
movw %cx, 0x12(%rax)
cvttss2si %xmm0, %ecx
movw %bp, 0x14(%rax)
movw %cx, 0x16(%rax)
movw %bp, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
cvttss2si 0x10(%rsp), %ebp
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
testq %rax, %rax
je 0x51c37
movss 0x1cd06(%rip), %xmm0    # 0x6e8fc
movaps (%rsp), %xmm2
addss %xmm2, %xmm0
movss 0x1cd56(%rip), %xmm1    # 0x6e95c
addss %xmm2, %xmm1
addss 0x1cca2(%rip), %xmm1    # 0x6e8b4
movw $0x1, 0x10(%rax)
movw %bp, 0x12(%rax)
cvttss2si %xmm1, %ecx
movw %cx, 0x14(%rax)
movw %bp, 0x16(%rax)
cvttss2si %xmm0, %ecx
movw %cx, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
movl $0x20, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x2703d
testq %rax, %rax
je 0x51c8b
movss 0x1ccc6(%rip), %xmm0    # 0x6e91c
movaps (%rsp), %xmm1
addss %xmm1, %xmm0
addss 0x1ccf2(%rip), %xmm1    # 0x6e958
movw $0x1, 0x10(%rax)
movw %bp, 0x12(%rax)
cvttss2si %xmm1, %ecx
movw %cx, 0x14(%rax)
movw %bp, 0x16(%rax)
cvttss2si %xmm0, %ecx
movw %cx, 0x18(%rax)
movl $0xffffffff, 0x1a(%rax) # imm = 0xFFFFFFFF
movl %r15d, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq