// File: /workspace/github_c_makefile_star2_O3/arkanis[P]process-map/./deps/raygui.h
// Function: GuiLine
void GuiLine(Rectangle bounds, const char *text)
{
    #define LINE_TEXT_PADDING  10

    GuiControlState state = guiState;

    Color color = Fade(GetColor(GuiGetStyle(DEFAULT, (state == GUI_STATE_DISABLED)? BORDER_COLOR_DISABLED : LINE_COLOR)), guiAlpha);

    // Draw control
    //--------------------------------------------------------------------
    if (text == NULL) GuiDrawRectangle(RAYGUI_CLITERAL(Rectangle){ bounds.x, bounds.y + bounds.height/2, bounds.width, 1 }, 0, BLANK, color);
    else
    {
        Rectangle textBounds = { 0 };
        textBounds.width = (float)GetTextWidth(text);      // TODO: Consider text icon
        textBounds.height = (float)GuiGetStyle(DEFAULT, TEXT_SIZE);
        textBounds.x = bounds.x + LINE_TEXT_PADDING;
        textBounds.y = bounds.y - (float)GuiGetStyle(DEFAULT, TEXT_SIZE)/2;

        // Draw line with embedded text label: "--- text --------------"
        GuiDrawRectangle(RAYGUI_CLITERAL(Rectangle){ bounds.x, bounds.y, LINE_TEXT_PADDING - 2, 1 }, 0, BLANK, color);
        GuiLabel(textBounds, text);
        GuiDrawRectangle(RAYGUI_CLITERAL(Rectangle){ bounds.x + LINE_TEXT_PADDING + textBounds.width + 4, bounds.y, bounds.width - textBounds.width - LINE_TEXT_PADDING - 4, 1 }, 0, BLANK, color);
    }
    //--------------------------------------------------------------------
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %r14
movaps %xmm1, 0x50(%rsp)
xorl %eax, %eax
cmpl $0x3, 0x9c248(%rip)     # 0xa4250
setne %al
leaq (%rax,%rax,8), %rbx
addq $0x9, %rbx
cmpb $0x0, 0x9c23b(%rip)     # 0xa4255
movaps %xmm0, (%rsp)
jne 0x8029
callq 0x6a3c
movaps (%rsp), %xmm0
movaps %xmm0, 0x40(%rsp)
leaq 0x9c25b(%rip), %rax     # 0xa4290
movl (%rax,%rbx,4), %edi
callq 0x4144d
movss 0x9b3eb(%rip), %xmm0    # 0xa3430
movl %eax, %edi
callq 0x41122
movl %eax, %ebx
testq %r14, %r14
je 0x8094
movq %r14, %rdi
callq 0x81f3
cvtsi2ss %eax, %xmm2
cmpb $0x1, 0x9c1ef(%rip)     # 0xa4255
movaps %xmm2, 0x30(%rsp)
jne 0x80a9
xorps %xmm0, %xmm0
cvtsi2ssl 0x9c258(%rip), %xmm0 # 0xa42d0
movaps %xmm0, %xmm1
movlhps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
shufps $0xe2, %xmm2, %xmm1     # xmm1 = xmm1[2,0],xmm2[2,3]
movss 0x5cf86(%rip), %xmm2    # 0x65010
movaps (%rsp), %xmm3
addss %xmm3, %xmm2
jmp 0x8109
cmpl $0x1000000, %ebx        # imm = 0x1000000
jae 0x81b0
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
callq 0x6a3c
xorps %xmm0, %xmm0
cvtsi2ssl 0x9c217(%rip), %xmm0 # 0xa42d0
movaps %xmm0, %xmm1
movaps 0x30(%rsp), %xmm2
movlhps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
shufps $0xe2, %xmm2, %xmm1     # xmm1 = xmm1[2,0],xmm2[2,3]
movss 0x5cf40(%rip), %xmm2    # 0x65010
movaps (%rsp), %xmm3
addss %xmm3, %xmm2
cmpb $0x0, 0x9c176(%rip)     # 0xa4255
jne 0x8109
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0x6a3c
movaps 0x10(%rsp), %xmm1
movaps 0x20(%rsp), %xmm2
movaps (%rsp), %xmm3
xorps %xmm0, %xmm0
cvtsi2ssl 0x9c1c7(%rip), %xmm0 # 0xa42d0
mulss 0x5cf03(%rip), %xmm0    # 0x65014
shufps $0x55, %xmm3, %xmm3     # xmm3 = xmm3[1,1,1,1]
addss %xmm3, %xmm0
movlhps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
shufps $0xe2, %xmm2, %xmm0     # xmm0 = xmm0[2,0],xmm2[2,3]
cmpl $0x1000000, %ebx        # imm = 0x1000000
jae 0x8138
movq %r14, %rdi
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x8278
cvttss2si 0x40(%rsp), %edi
cvttss2si %xmm3, %ebp
movl %ebp, %esi
movl $0x8, %edx
movl $0x1, %ecx
movl %ebx, %r8d
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x2e4dc
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movq %r14, %rdi
callq 0x8278
movaps 0x50(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
subss %xmm1, %xmm0
addss 0x5ce8d(%rip), %xmm0    # 0x65018
addss 0x5ce89(%rip), %xmm0    # 0x6501c
movaps 0x20(%rsp), %xmm2
addss %xmm1, %xmm2
addss 0x5ce7c(%rip), %xmm2    # 0x65020
cvttss2si %xmm2, %edi
cvttss2si %xmm0, %edx
movl %ebp, %esi
jmp 0x81de
movaps (%rsp), %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
movaps 0x50(%rsp), %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
mulss 0x5ce40(%rip), %xmm0    # 0x6500c
addss %xmm2, %xmm0
cvttss2si 0x40(%rsp), %edi
cvttss2si %xmm0, %esi
cvttss2si %xmm1, %edx
movl $0x1, %ecx
movl %ebx, %r8d
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x2e4dc