// File: /workspace/github_c_makefile_star2_O1/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 $0x68, %rsp
movq %rdi, %rbx
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x50(%rsp)
movl 0x9d874(%rip), %r15d    # 0xa7250
cmpb $0x0, 0x9d872(%rip)     # 0xa7255
jne 0x99ea
callq 0x6a18
xorps %xmm0, %xmm0
cvtsi2ssl 0x9d8db(%rip), %xmm0 # 0xa72d0
cmpb $0x0, 0x9d859(%rip)     # 0xa7255
jne 0x9a0f
movss %xmm0, 0x4c(%rsp)
callq 0x6a18
movss 0x4c(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2ssl 0x9d8ba(%rip), %xmm1 # 0xa72d4
movups 0x9d857(%rip), %xmm2    # 0xa7278
movups %xmm2, 0x20(%rsp)
movups 0x9d83b(%rip), %xmm2    # 0xa7268
movups %xmm2, 0x10(%rsp)
movups 0x9d81f(%rip), %xmm2    # 0xa7258
movups %xmm2, (%rsp)
movq %rbx, %rdi
callq 0x51b09
movaps 0x30(%rsp), %xmm1
ucomiss %xmm1, %xmm0
ja 0x9a52
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 0x9a68
movl $0x3, %r15d
jmp 0x9a71
cmpb $0x0, 0x9d7e5(%rip)     # 0xa7254
je 0x9a75
xorl %ebp, %ebp
jmp 0x9ab2
movaps %xmm1, 0x30(%rsp)
callq 0x2867d
movaps 0x50(%rsp), %xmm1
movaps 0x30(%rsp), %xmm2
callq 0x34d6b
testb %al, %al
je 0x9aab
xorl %edi, %edi
callq 0x286ba
movzbl %al, %r15d
incl %r15d
xorl %edi, %edi
callq 0x2e875
movl %eax, %ebp
jmp 0x9aad
xorl %ebp, %ebp
movaps 0x30(%rsp), %xmm1
movl $0x1, %edi
movaps 0x50(%rsp), %xmm0
callq 0x982d
movaps %xmm0, 0x30(%rsp)
movaps %xmm1, 0x50(%rsp)
cmpb $0x0, 0x9d783(%rip)     # 0xa7255
jne 0x9ad9
callq 0x6a18
movl 0x9d848(%rip), %r14d    # 0xa7328
cmpb $0x0, 0x9d76e(%rip)     # 0xa7255
jne 0x9aee
callq 0x6a18
leal (%r15,%r15,2), %eax
addl $0x1a, %eax
cltq
leaq 0x9d792(%rip), %rcx     # 0xa7290
movl (%rcx,%rax,4), %edi
callq 0x44152
movss 0x9c922(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movq %rbx, %rdi
movaps 0x30(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movl %r14d, %esi
movl %eax, %edx
callq 0x95ee
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq