// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddQuad(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float)
void ImDrawList::AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathLineTo(p4);
    PathStroke(col, true, thickness);
}

// Assembly:
cmpl $0x1000000, %r9d        # imm = 0x1000000
jb 0x7a202
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %r14d
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
movl 0x78(%rdi), %r12d
movl 0x7c(%rdi), %eax
cmpl %eax, %r12d
movss %xmm0, -0x2c(%rbp)
jne 0x79fe0
incl %r12d
testl %eax, %eax
je 0x79f73
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x79f78
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x79fe0
movq %rcx, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x79fc8
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %rax, %rdi
movq %rax, -0x48(%rbp)
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x425d4
movq -0x48(%rbp), %rax
movq %rax, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movss -0x2c(%rbp), %xmm0
movq -0x40(%rbp), %r8
movq -0x38(%rbp), %rcx
movq 0x80(%rbx), %rax
movslq 0x78(%rbx), %rsi
movq (%r15), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%rbx), %r12d
movl 0x7c(%rbx), %eax
leal 0x1(%r12), %edx
movl %edx, 0x78(%rbx)
cmpl %eax, %edx
jne 0x7a082
addl $0x2, %r12d
testl %eax, %eax
je 0x7a01a
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x7a01f
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x7a082
movq %rcx, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x7a06a
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x425d4
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movss -0x2c(%rbp), %xmm0
movq -0x40(%rbp), %r8
movq -0x38(%rbp), %rcx
movq 0x80(%rbx), %rax
movslq 0x78(%rbx), %rsi
movq (%r13), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%rbx), %r12d
movl 0x7c(%rbx), %eax
leal 0x1(%r12), %edx
movl %edx, 0x78(%rbx)
cmpl %eax, %edx
jne 0x7a123
addl $0x2, %r12d
testl %eax, %eax
je 0x7a0bd
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %eax, %edx
jmp 0x7a0c2
movl $0x8, %edx
cmpl %r12d, %edx
cmovgl %edx, %r12d
cmpl %r12d, %eax
jge 0x7a123
movq %rcx, -0x38(%rbp)
movq %r8, %r13
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x7a10c
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x425d4
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movss -0x2c(%rbp), %xmm0
movq %r13, %r8
movq -0x38(%rbp), %rcx
movq 0x80(%rbx), %rax
movslq 0x78(%rbx), %rsi
movq (%rcx), %rdx
movq %rdx, (%rax,%rsi,8)
movl 0x78(%rbx), %r12d
movl 0x7c(%rbx), %eax
leal 0x1(%r12), %ecx
movl %ecx, 0x78(%rbx)
cmpl %eax, %ecx
jne 0x7a1bb
addl $0x2, %r12d
testl %eax, %eax
je 0x7a15d
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x7a162
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
cmpl %r12d, %eax
jge 0x7a1bb
movq %r8, %r13
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x80(%rbx), %rsi
testq %rsi, %rsi
je 0x7a1a8
movslq 0x78(%rbx), %rdx
shlq $0x3, %rdx
movq %r15, %rdi
callq 0xc080
movq 0x80(%rbx), %rdi
callq 0x425d4
movq %r15, 0x80(%rbx)
movl %r12d, 0x7c(%rbx)
movss -0x2c(%rbp), %xmm0
movq %r13, %r8
movq 0x80(%rbx), %rax
movslq 0x78(%rbx), %rcx
movq (%r8), %rdx
movq %rdx, (%rax,%rcx,8)
movl 0x78(%rbx), %edx
incl %edx
movl %edx, 0x78(%rbx)
movq 0x80(%rbx), %rsi
movq %rbx, %rdi
movl %r14d, %ecx
movl $0x1, %r8d
callq 0x77886
movl $0x0, 0x78(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop