// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x40(%rsp)
movl 0x99920(%rip), %r15d    # 0xa4250
cmpb $0x1, 0x9991e(%rip)     # 0xa4255
jne 0xa941
movl 0x99991(%rip), %ebp     # 0xa42d0
jmp 0xa95a
callq 0x6a3c
movl 0x99984(%rip), %ebp     # 0xa42d0
cmpb $0x0, 0x99902(%rip)     # 0xa4255
jne 0xa95a
callq 0x6a3c
xorps %xmm0, %xmm0
cvtsi2ss %ebp, %xmm0
xorps %xmm1, %xmm1
cvtsi2ssl 0x99968(%rip), %xmm1 # 0xa42d4
movaps 0x9990d(%rip), %xmm2    # 0xa4280
movups %xmm2, 0x20(%rsp)
movaps 0x998f1(%rip), %xmm2    # 0xa4270
movups %xmm2, 0x10(%rsp)
movaps 0x998d5(%rip), %xmm2    # 0xa4260
movups %xmm2, (%rsp)
movq %rbx, %rdi
callq 0x4eae9
movaps 0x30(%rsp), %xmm1
ucomiss %xmm1, %xmm0
ja 0xa9a4
movaps %xmm1, %xmm0
shufps $0x1, %xmm0, %xmm1      # xmm1 = xmm1[1,0],xmm0[0,0]
shufps $0xe2, %xmm0, %xmm1     # xmm1 = xmm1[2,0],xmm0[2,3]
cmpl $0x3, %r15d
jne 0xa9ba
movl $0x3, %r15d
jmp 0xa9c3
cmpb $0x0, 0x99893(%rip)     # 0xa4254
je 0xa9c7
xorl %ebp, %ebp
jmp 0xaa04
movaps %xmm1, 0x30(%rsp)
callq 0x26136
movaps 0x40(%rsp), %xmm1
movaps 0x30(%rsp), %xmm2
callq 0x320c1
testb %al, %al
je 0xa9fd
xorl %edi, %edi
callq 0x2615e
movzbl %al, %r15d
incl %r15d
xorl %edi, %edi
callq 0x2bd0b
movl %eax, %ebp
jmp 0xa9ff
xorl %ebp, %ebp
movaps 0x30(%rsp), %xmm1
movl $0x1, %edi
movaps 0x40(%rsp), %xmm0
callq 0xa726
movaps %xmm0, 0x30(%rsp)
movaps %xmm1, 0x40(%rsp)
cmpb $0x1, 0x99831(%rip)     # 0xa4255
jne 0xaa2f
movl 0x998fb(%rip), %r14d    # 0xa4328
jmp 0xaa49
callq 0x6a3c
movl 0x998ed(%rip), %r14d    # 0xa4328
cmpb $0x0, 0x99813(%rip)     # 0xa4255
jne 0xaa49
callq 0x6a3c
leal (%r15,%r15,2), %eax
addl $0x1a, %eax
cltq
leaq 0x99837(%rip), %rcx     # 0xa4290
movl (%rcx,%rax,4), %edi
callq 0x4144d
movss 0x989c7(%rip), %xmm0    # 0xa3430
movl %eax, %edi
callq 0x41122
movq %rbx, %rdi
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movl %r14d, %esi
movl %eax, %edx
callq 0xa506
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq