// File: /workspace/github_cpp_makefile_star2_O1/donfreiday[P]gb/./imgui/imgui_draw.cpp
// Function: ImDrawList::Clear()
void ImDrawList::Clear()
{
    CmdBuffer.resize(0);
    IdxBuffer.resize(0);
    VtxBuffer.resize(0);
    _VtxCurrentIdx = 0;
    _VtxWritePtr = NULL;
    _IdxWritePtr = NULL;
    _ClipRectStack.resize(0);
    _TextureIdStack.resize(0);
    _Path.resize(0);
    _ChannelsCurrent = 0;
    _ChannelsCount = 1;
    // NB: Do not clear channels so our allocations are re-used after the first frame.
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x4(%rdi), %eax
testl %eax, %eax
jns 0x2cd67
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
movq %r15, %rax
shlq $0x4, %rax
leaq (%rax,%rax,2), %rdi
callq 0x85d9
movq %rax, %r14
movq 0x8(%rbx), %rsi
movslq (%rbx), %rax
shlq $0x4, %rax
leaq (%rax,%rax,2), %rdx
movq %r14, %rdi
callq 0x7080
movq 0x8(%rbx), %rdi
callq 0x9065
movq %r14, 0x8(%rbx)
movl %r15d, 0x4(%rbx)
movl $0x0, (%rbx)
movl 0x14(%rbx), %eax
testl %eax, %eax
jns 0x2cdb8
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
leal (%r15,%r15), %edi
callq 0x85d9
movq %rax, %r14
movq 0x18(%rbx), %rsi
movslq 0x10(%rbx), %rdx
addq %rdx, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x18(%rbx), %rdi
callq 0x9065
movq %r14, 0x18(%rbx)
movl %r15d, 0x14(%rbx)
movl $0x0, 0x10(%rbx)
movl 0x24(%rbx), %eax
testl %eax, %eax
jns 0x2ce17
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
leaq (,%r15,4), %rax
leaq (%rax,%rax,4), %rdi
callq 0x85d9
movq %rax, %r14
movq 0x28(%rbx), %rsi
movslq 0x20(%rbx), %rax
shlq $0x2, %rax
leaq (%rax,%rax,4), %rdx
movq %r14, %rdi
callq 0x7080
movq 0x28(%rbx), %rdi
callq 0x9065
movq %r14, 0x28(%rbx)
movl %r15d, 0x24(%rbx)
xorl %r15d, %r15d
movl %r15d, 0x20(%rbx)
movl %r15d, 0x38(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rbx)
movl 0x54(%rbx), %eax
testl %eax, %eax
jns 0x2ce75
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
testl %ecx, %ecx
cmovgl %ecx, %r15d
movq %r15, %rdi
shlq $0x4, %rdi
callq 0x85d9
movq %rax, %r14
movq 0x58(%rbx), %rsi
movslq 0x50(%rbx), %rdx
shlq $0x4, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x58(%rbx), %rdi
callq 0x9065
movq %r14, 0x58(%rbx)
movl %r15d, 0x54(%rbx)
movl $0x0, 0x50(%rbx)
movl 0x64(%rbx), %eax
testl %eax, %eax
jns 0x2cecc
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
leaq (,%r15,8), %rdi
callq 0x85d9
movq %rax, %r14
movq 0x68(%rbx), %rsi
movslq 0x60(%rbx), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x68(%rbx), %rdi
callq 0x9065
movq %r14, 0x68(%rbx)
movl %r15d, 0x64(%rbx)
movl $0x0, 0x60(%rbx)
movl 0x74(%rbx), %eax
testl %eax, %eax
jns 0x2cf23
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
leaq (,%r15,8), %rdi
callq 0x85d9
movq %rax, %r14
movq 0x78(%rbx), %rsi
movslq 0x70(%rbx), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x78(%rbx), %rdi
callq 0x9065
movq %r14, 0x78(%rbx)
movl %r15d, 0x74(%rbx)
movl $0x0, 0x70(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x80(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq