// File: /workspace/github_cpp_makefile_star2_O3/donfreiday[P]gb/./imgui/imgui_draw.cpp
// Function: ImDrawList::PathArcTo(ImVec2 const&, float, float, float, int)
void ImDrawList::PathArcTo(const ImVec2& centre, float radius, float amin, float amax, int num_segments)
{
    if (radius == 0.0f)
        _Path.push_back(centre);
    _Path.reserve(_Path.Size + (num_segments + 1));
    for (int i = 0; i <= num_segments; i++)
    {
        const float a = amin + ((float)i / (float)num_segments) * (amax - amin);
        _Path.push_back(ImVec2(centre.x + cosf(a) * radius, centre.y + sinf(a) * radius));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm2, -0x2c(%rbp)
movss %xmm1, -0x34(%rbp)
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm1, %xmm1
movss %xmm0, -0x4c(%rbp)
ucomiss %xmm1, %xmm0
jne 0x2ec50
jp 0x2ec50
movl 0x70(%r14), %eax
cmpl 0x74(%r14), %eax
jne 0x2ebf1
movq %rdx, %r13
leal 0x1(%rax), %ecx
testl %eax, %eax
je 0x2ebf7
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x2ebfc
movq 0x78(%r14), %r12
jmp 0x2ec40
movl $0x8, %edx
cmpl %ecx, %edx
cmovgl %edx, %ecx
movslq %ecx, %r15
leaq (,%r15,8), %rdi
callq 0x8589
movq %rax, %r12
movq 0x78(%r14), %rsi
movslq 0x70(%r14), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r14), %rdi
callq 0x9019
movq %r12, 0x78(%r14)
movl %r15d, 0x74(%r14)
movl 0x70(%r14), %eax
movq %r13, %rdx
leal 0x1(%rax), %ecx
movl %ecx, 0x70(%r14)
cltq
movq (%rbx), %rcx
movq %rcx, (%r12,%rax,8)
movslq 0x70(%r14), %rax
leal 0x1(%rdx), %r13d
movslq %r13d, %r15
addq %rax, %r15
cmpl %r15d, 0x74(%r14)
jge 0x2eca0
movq %r15, %rdi
shlq $0x3, %rdi
movq %rdx, -0x40(%rbp)
callq 0x8589
movq %rax, %r12
movq 0x78(%r14), %rsi
movslq 0x70(%r14), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r14), %rdi
callq 0x9019
movq -0x40(%rbp), %rdx
movq %r12, 0x78(%r14)
movl %r15d, 0x74(%r14)
testl %edx, %edx
js 0x2edc5
xorps %xmm0, %xmm0
cvtsi2ss %edx, %xmm0
movss %xmm0, -0x48(%rbp)
movss -0x2c(%rbp), %xmm0
subss -0x34(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
xorl %r12d, %r12d
movl %r13d, -0x44(%rbp)
xorps %xmm1, %xmm1
cvtsi2ss %r12d, %xmm1
divss -0x48(%rbp), %xmm1
mulss -0x2c(%rbp), %xmm1
addss -0x34(%rbp), %xmm1
movss %xmm1, -0x30(%rbp)
movss (%rbx), %xmm0
movss %xmm0, -0x54(%rbp)
movaps %xmm1, %xmm0
callq 0x74e0
movss %xmm0, -0x40(%rbp)
movss 0x4(%rbx), %xmm0
movss %xmm0, -0x50(%rbp)
movss -0x30(%rbp), %xmm0
callq 0x7050
movl 0x70(%r14), %eax
cmpl 0x74(%r14), %eax
jne 0x2ed30
testl %eax, %eax
movss %xmm0, -0x30(%rbp)
je 0x2ed36
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x2ed3b
movq 0x78(%r14), %r15
jmp 0x2ed87
movl $0x8, %ecx
incl %eax
cmpl %eax, %ecx
cmovgl %ecx, %eax
movslq %eax, %r13
leaq (,%r13,8), %rdi
callq 0x8589
movq %rax, %r15
movq 0x78(%r14), %rsi
movslq 0x70(%r14), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%r14), %rdi
callq 0x9019
movq %r15, 0x78(%r14)
movl %r13d, 0x74(%r14)
movl 0x70(%r14), %eax
movl -0x44(%rbp), %r13d
movss -0x30(%rbp), %xmm0
movss -0x4c(%rbp), %xmm2
movss -0x40(%rbp), %xmm1
mulss %xmm2, %xmm1
addss -0x54(%rbp), %xmm1
mulss %xmm2, %xmm0
addss -0x50(%rbp), %xmm0
leal 0x1(%rax), %ecx
movl %ecx, 0x70(%r14)
cltq
movss %xmm1, (%r15,%rax,8)
movss %xmm0, 0x4(%r15,%rax,8)
incl %r12d
cmpl %r12d, %r13d
jne 0x2ecca
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq