// File: /workspace/github_c_makefile_star2_O0/arkanis[P]process-map/./deps/raygui.h
// Function: GuiColorBarAlpha
float GuiColorBarAlpha(Rectangle bounds, float alpha)
{
    #define COLORBARALPHA_CHECKED_SIZE   10

    GuiControlState state = guiState;
    Rectangle selector = { (float)bounds.x + alpha*bounds.width - GuiGetStyle(COLORPICKER, HUEBAR_SELECTOR_OVERFLOW), (float)bounds.y - GuiGetStyle(COLORPICKER, HUEBAR_SELECTOR_OVERFLOW), (float)GuiGetStyle(COLORPICKER, HUEBAR_SELECTOR_HEIGHT), (float)bounds.height + GuiGetStyle(COLORPICKER, HUEBAR_SELECTOR_OVERFLOW)*2 };

    // Update control
    //--------------------------------------------------------------------
    if ((state != GUI_STATE_DISABLED) && !guiLocked)
    {
        Vector2 mousePoint = GetMousePosition();

        if (CheckCollisionPointRec(mousePoint, bounds) ||
            CheckCollisionPointRec(mousePoint, selector))
        {
            if (IsMouseButtonDown(MOUSE_LEFT_BUTTON))
            {
                state = GUI_STATE_PRESSED;
                selector.x = mousePoint.x - selector.width/2;

                alpha = (mousePoint.x - bounds.x)/bounds.width;
                if (alpha <= 0.0f) alpha = 0.0f;
                if (alpha >= 1.0f) alpha = 1.0f;
                //selector.x = bounds.x + (int)(((alpha - 0)/(100 - 0))*(bounds.width - 2*GuiGetStyle(SLIDER, BORDER_WIDTH))) - selector.width/2;
            }
            else state = GUI_STATE_FOCUSED;
        }
    }
    //--------------------------------------------------------------------

    // Draw control
    //--------------------------------------------------------------------

    // Draw alpha bar: checked background
    if (state != GUI_STATE_DISABLED)
    {
        int checksX = (int)bounds.width/COLORBARALPHA_CHECKED_SIZE;
        int checksY = (int)bounds.height/COLORBARALPHA_CHECKED_SIZE;

        for (int x = 0; x < checksX; x++)
        {
            for (int y = 0; y < checksY; y++)
            {
                Rectangle check = { bounds.x + x*COLORBARALPHA_CHECKED_SIZE, bounds.y + y*COLORBARALPHA_CHECKED_SIZE, COLORBARALPHA_CHECKED_SIZE, COLORBARALPHA_CHECKED_SIZE };
                GuiDrawRectangle(check, 0, BLANK, ((x + y)%2)? Fade(Fade(GetColor(GuiGetStyle(COLORPICKER, BORDER_COLOR_DISABLED)), 0.4f), guiAlpha) : Fade(Fade(GetColor(GuiGetStyle(COLORPICKER, BASE_COLOR_DISABLED)), 0.4f), guiAlpha));
            }
        }

        DrawRectangleGradientEx(bounds, RAYGUI_CLITERAL(Color){ 255, 255, 255, 0 }, RAYGUI_CLITERAL(Color){ 255, 255, 255, 0 }, Fade(RAYGUI_CLITERAL(Color){ 0, 0, 0, 255 }, guiAlpha), Fade(RAYGUI_CLITERAL(Color){ 0, 0, 0, 255 }, guiAlpha));
    }
    else DrawRectangleGradientEx(bounds, Fade(GetColor(GuiGetStyle(COLORPICKER, BASE_COLOR_DISABLED)), 0.1f), Fade(GetColor(GuiGetStyle(COLORPICKER, BASE_COLOR_DISABLED)), 0.1f), Fade(GetColor(GuiGetStyle(COLORPICKER, BORDER_COLOR_DISABLED)), guiAlpha), Fade(GetColor(GuiGetStyle(COLORPICKER, BORDER_COLOR_DISABLED)), guiAlpha));

    GuiDrawRectangle(bounds, 1, Fade(GetColor(GuiGetStyle(COLORPICKER, BORDER + state*3)), guiAlpha), BLANK);

    // Draw alpha bar: selector
    GuiDrawRectangle(selector, 0, BLANK, Fade(GetColor(GuiGetStyle(COLORPICKER, BORDER + state*3)), guiAlpha));
    //--------------------------------------------------------------------

    return alpha;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movlpd %xmm0, -0x10(%rbp)
movlpd %xmm1, -0x8(%rbp)
movss %xmm2, -0x14(%rbp)
movl 0xb9ca0(%rip), %eax     # 0xca0e0
movl %eax, -0x18(%rbp)
movss -0x10(%rbp), %xmm1
movss -0x14(%rbp), %xmm0
movss -0x8(%rbp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0xc4(%rbp)
movl $0xd, %edi
movl $0x14, %esi
callq 0x6f90
movss -0xc4(%rbp), %xmm0
cvtsi2ss %eax, %xmm1
subss %xmm1, %xmm0
movss %xmm0, -0x28(%rbp)
movss -0xc(%rbp), %xmm0
movss %xmm0, -0xc0(%rbp)
movl $0xd, %edi
movl $0x14, %esi
callq 0x6f90
movss -0xc0(%rbp), %xmm0
cvtsi2ss %eax, %xmm1
subss %xmm1, %xmm0
movss %xmm0, -0x24(%rbp)
movl $0xd, %edi
movl $0x13, %esi
callq 0x6f90
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x20(%rbp)
movss -0x4(%rbp), %xmm0
movss %xmm0, -0xbc(%rbp)
movl $0xd, %edi
movl $0x14, %esi
callq 0x6f90
movss -0xbc(%rbp), %xmm0
shll %eax
cvtsi2ss %eax, %xmm1
addss %xmm1, %xmm0
movss %xmm0, -0x1c(%rbp)
cmpl $0x3, -0x18(%rbp)
je 0x105dc
testb $0x1, 0xb9bd1(%rip)     # 0xca0e4
jne 0x105dc
callq 0x2dd60
movlpd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
movsd -0x8(%rbp), %xmm2
callq 0x3e640
testb $0x1, %al
jne 0x10558
movsd -0x30(%rbp), %xmm0
movsd -0x28(%rbp), %xmm1
movsd -0x20(%rbp), %xmm2
callq 0x3e640
testb $0x1, %al
jne 0x10558
jmp 0x105da
xorl %edi, %edi
callq 0x2ddd0
testb $0x1, %al
jne 0x10565
jmp 0x105d1
movl $0x2, -0x18(%rbp)
movss -0x30(%rbp), %xmm0
movss -0x20(%rbp), %xmm1
movss 0x7ba8a(%rip), %xmm2    # 0x8c008
divss %xmm2, %xmm1
subss %xmm1, %xmm0
movss %xmm0, -0x28(%rbp)
movss -0x30(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
divss -0x8(%rbp), %xmm0
movss %xmm0, -0x14(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x14(%rbp), %xmm0
jb 0x105b0
xorps %xmm0, %xmm0
movss %xmm0, -0x14(%rbp)
movss -0x14(%rbp), %xmm0
movss 0x7ba47(%rip), %xmm1    # 0x8c004
ucomiss %xmm1, %xmm0
jb 0x105cf
movss 0x7ba3a(%rip), %xmm0    # 0x8c004
movss %xmm0, -0x14(%rbp)
jmp 0x105d8
movl $0x1, -0x18(%rbp)
jmp 0x105da
jmp 0x105dc
cmpl $0x3, -0x18(%rbp)
je 0x107d0
cvttss2si -0x8(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, -0x34(%rbp)
cvttss2si -0x4(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0x1074a
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0x1073a
movss -0x10(%rbp), %xmm0
imull $0xa, -0x3c(%rbp), %eax
cvtsi2ss %eax, %xmm1
addss %xmm1, %xmm0
movss %xmm0, -0x50(%rbp)
movss -0xc(%rbp), %xmm0
imull $0xa, -0x40(%rbp), %eax
cvtsi2ss %eax, %xmm1
addss %xmm1, %xmm0
movss %xmm0, -0x4c(%rbp)
movss 0x7b9bc(%rip), %xmm0    # 0x8c01c
movss %xmm0, -0x48(%rbp)
movss 0x7b9af(%rip), %xmm0    # 0x8c01c
movss %xmm0, -0x44(%rbp)
movb $0x0, -0x54(%rbp)
movb $0x0, -0x53(%rbp)
movb $0x0, -0x52(%rbp)
movb $0x0, -0x51(%rbp)
movl -0x3c(%rbp), %eax
addl -0x40(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
je 0x106d6
movl $0xd, %edi
movl $0x9, %esi
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0x60(%rbp)
movl -0x60(%rbp), %edi
movss 0x7b98f(%rip), %xmm0    # 0x8c048
callq 0x51fa0
movl %eax, -0x5c(%rbp)
movss 0xb7d47(%rip), %xmm0    # 0xc8410
movl -0x5c(%rbp), %edi
callq 0x51fa0
movl %eax, -0x58(%rbp)
jmp 0x10715
movl $0xd, %edi
movl $0xa, %esi
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %edi
movss 0x7b94e(%rip), %xmm0    # 0x8c048
callq 0x51fa0
movl %eax, -0x64(%rbp)
movss 0xb7d06(%rip), %xmm0    # 0xc8410
movl -0x64(%rbp), %edi
callq 0x51fa0
movl %eax, -0x58(%rbp)
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
movl -0x54(%rbp), %esi
movl -0x58(%rbp), %edx
xorl %edi, %edi
callq 0x77c0
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x10620
jmp 0x1073c
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x1060d
movb $-0x1, -0x6c(%rbp)
movb $-0x1, -0x6b(%rbp)
movb $-0x1, -0x6a(%rbp)
movb $0x0, -0x69(%rbp)
movb $-0x1, -0x70(%rbp)
movb $-0x1, -0x6f(%rbp)
movb $-0x1, -0x6e(%rbp)
movb $0x0, -0x6d(%rbp)
movb $0x0, -0x78(%rbp)
movb $0x0, -0x77(%rbp)
movb $0x0, -0x76(%rbp)
movb $-0x1, -0x75(%rbp)
movss 0xb7c8e(%rip), %xmm0    # 0xc8410
movl -0x78(%rbp), %edi
callq 0x51fa0
movl %eax, -0x74(%rbp)
movb $0x0, -0x80(%rbp)
movb $0x0, -0x7f(%rbp)
movb $0x0, -0x7e(%rbp)
movb $-0x1, -0x7d(%rbp)
movss 0xb7c6b(%rip), %xmm0    # 0xc8410
movl -0x80(%rbp), %edi
callq 0x51fa0
movl %eax, -0x7c(%rbp)
movsd -0x10(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movl -0x6c(%rbp), %edi
movl -0x70(%rbp), %esi
movl -0x74(%rbp), %edx
movl -0x7c(%rbp), %ecx
callq 0x39090
jmp 0x108ea
movl $0xd, %edi
movl %edi, -0xcc(%rbp)
movl $0xa, %esi
movl %esi, -0xd4(%rbp)
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0x88(%rbp)
movl -0x88(%rbp), %edi
movss 0x7b82e(%rip), %xmm0    # 0x8c034
movss %xmm0, -0xd0(%rbp)
callq 0x51fa0
movl -0xd4(%rbp), %esi
movl -0xcc(%rbp), %edi
movl %eax, -0x84(%rbp)
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movss -0xd0(%rbp), %xmm0
movl %eax, -0x90(%rbp)
movl -0x90(%rbp), %edi
callq 0x51fa0
movl -0xcc(%rbp), %edi
movl %eax, -0x8c(%rbp)
movl $0x9, %esi
movl %esi, -0xc8(%rbp)
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0x98(%rbp)
movss 0xb7b95(%rip), %xmm0    # 0xc8410
movl -0x98(%rbp), %edi
callq 0x51fa0
movl -0xcc(%rbp), %edi
movl -0xc8(%rbp), %esi
movl %eax, -0x94(%rbp)
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0xa0(%rbp)
movss 0xb7b5e(%rip), %xmm0    # 0xc8410
movl -0xa0(%rbp), %edi
callq 0x51fa0
movl %eax, -0x9c(%rbp)
movsd -0x10(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movl -0x84(%rbp), %edi
movl -0x8c(%rbp), %esi
movl -0x94(%rbp), %edx
movl -0x9c(%rbp), %ecx
callq 0x39090
movl -0x18(%rbp), %ecx
movl %ecx, %eax
leal (%rax,%rax,2), %esi
movl $0xd, %edi
movl %edi, -0xd8(%rbp)
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0xa8(%rbp)
movss 0xb7af9(%rip), %xmm0    # 0xc8410
movl -0xa8(%rbp), %edi
callq 0x51fa0
movl %eax, -0xa4(%rbp)
movb $0x0, -0xac(%rbp)
movb $0x0, -0xab(%rbp)
movb $0x0, -0xaa(%rbp)
movb $0x0, -0xa9(%rbp)
movsd -0x10(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movl -0xa4(%rbp), %esi
movl -0xac(%rbp), %edx
movl $0x1, %edi
callq 0x77c0
movl -0xd8(%rbp), %edi
movb $0x0, -0xb0(%rbp)
movb $0x0, -0xaf(%rbp)
movb $0x0, -0xae(%rbp)
movb $0x0, -0xad(%rbp)
movl -0x18(%rbp), %ecx
movl %ecx, %eax
leal (%rax,%rax,2), %esi
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0xb8(%rbp)
movss 0xb7a68(%rip), %xmm0    # 0xc8410
movl -0xb8(%rbp), %edi
callq 0x51fa0
movl %eax, -0xb4(%rbp)
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
movl -0xb0(%rbp), %esi
movl -0xb4(%rbp), %edx
xorl %edi, %edi
callq 0x77c0
movss -0x14(%rbp), %xmm0
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)