// File: /workspace/github_c_makefile_star2_O0/arkanis[P]process-map/./deps/raygui.h
// Function: GuiLabelButton
bool GuiLabelButton(Rectangle bounds, const char *text)
{
    GuiControlState state = guiState;
    bool pressed = false;

    // NOTE: We force bounds.width to be all text
    float textWidth = MeasureTextEx(guiFont, text, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), (float)GuiGetStyle(DEFAULT, TEXT_SPACING)).x;
    if (bounds.width < textWidth) bounds.width = textWidth;

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

        // Check checkbox state
        if (CheckCollisionPointRec(mousePoint, bounds))
        {
            if (IsMouseButtonDown(MOUSE_LEFT_BUTTON)) state = GUI_STATE_PRESSED;
            else state = GUI_STATE_FOCUSED;

            if (IsMouseButtonReleased(MOUSE_LEFT_BUTTON)) pressed = true;
        }
    }
    //--------------------------------------------------------------------

    // Draw control
    //--------------------------------------------------------------------
    GuiDrawText(text, GetTextBounds(LABEL, bounds), GuiGetStyle(LABEL, TEXT_ALIGNMENT), Fade(GetColor(GuiGetStyle(LABEL, TEXT + (state*3))), guiAlpha));
    //--------------------------------------------------------------------

    return pressed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movlpd %xmm0, -0x10(%rbp)
movlpd %xmm1, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movl 0xbffd1(%rip), %eax     # 0xca0e0
movl %eax, -0x1c(%rbp)
movb $0x0, -0x1d(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
xorl %edi, %edi
movl %edi, -0x5c(%rbp)
movl $0x10, %esi
callq 0x6f90
movl -0x5c(%rbp), %edi
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x50(%rbp)
movl $0x11, %esi
callq 0x6f90
movq -0x58(%rbp), %rdi
movss -0x50(%rbp), %xmm0
cvtsi2ss %eax, %xmm1
movups 0xbffb1(%rip), %xmm2    # 0xca108
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups 0xbff93(%rip), %xmm2    # 0xca0f8
movups %xmm2, 0x10(%rax)
movups 0xbff78(%rip), %xmm2    # 0xca0e8
movups %xmm2, (%rax)
callq 0x66400
movlpd %xmm0, -0x2c(%rbp)
movss -0x2c(%rbp), %xmm0
movss %xmm0, -0x24(%rbp)
movss -0x8(%rbp), %xmm1
movss -0x24(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0xa1a0
movss -0x24(%rbp), %xmm0
movss %xmm0, -0x8(%rbp)
cmpl $0x3, -0x1c(%rbp)
je 0xa205
testb $0x1, 0xbff37(%rip)     # 0xca0e4
jne 0xa205
callq 0x2dd60
movlpd %xmm0, -0x34(%rbp)
movsd -0x34(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
movsd -0x8(%rbp), %xmm2
callq 0x3e640
testb $0x1, %al
jne 0xa1d3
jmp 0xa203
xorl %edi, %edi
callq 0x2ddd0
testb $0x1, %al
jne 0xa1e0
jmp 0xa1e9
movl $0x2, -0x1c(%rbp)
jmp 0xa1f0
movl $0x1, -0x1c(%rbp)
xorl %edi, %edi
callq 0x34c30
testb $0x1, %al
jne 0xa1fd
jmp 0xa201
movb $0x1, -0x1d(%rbp)
jmp 0xa203
jmp 0xa205
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
movsd -0x10(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movl $0x1, %edi
movl %edi, -0x6c(%rbp)
callq 0x9f70
movl -0x6c(%rbp), %edi
movlpd %xmm0, -0x44(%rbp)
movlpd %xmm1, -0x3c(%rbp)
movl $0xe, %esi
callq 0x6f90
movl -0x6c(%rbp), %edi
movl %eax, -0x60(%rbp)
movl -0x1c(%rbp), %ecx
movl %ecx, %eax
leal 0x2(%rax,%rax,2), %esi
callq 0x6f90
movl %eax, %edi
callq 0x526e0
movl %eax, -0x4c(%rbp)
movss 0xbe1af(%rip), %xmm0    # 0xc8410
movl -0x4c(%rbp), %edi
callq 0x51fa0
movq -0x68(%rbp), %rdi
movl -0x60(%rbp), %esi
movl %eax, -0x48(%rbp)
movsd -0x44(%rbp), %xmm0
movsd -0x3c(%rbp), %xmm1
movl -0x48(%rbp), %edx
callq 0x9cf0
movb -0x1d(%rbp), %al
andb $0x1, %al
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)