// File: /workspace/github_cpp_makefile_star2_O3/bonetblai[P]mdp-engine/race/parsing.cc
// Function: ps::draw_filled_rectangle(std::ostream&, int, int, int, int, int, int, int)
void draw_filled_rectangle(ostream &os, int x, int y, int dx, int dy, int r, int g, int b) {
    os << r << " " << g << " " << b << " setrgbcolor" << endl
       << "newpath " << x << " " << y << " moveto "
       << dx << " 0 rlineto 0 " << dy << " rlineto "
       << -dx << " 0 rlineto closepath fill" << endl
       << "0 0 0 setrgbcolor" << endl
       << "newpath " << x << " " << y << " moveto "
       << dx << " 0 rlineto 0 " << dy << " rlineto " << -dx
       << " 0 rlineto closepath stroke" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, 0x10(%rsp)
movl %ecx, 0xc(%rsp)
movl %edx, %r15d
movl %esi, %r14d
movl %esi, 0x14(%rsp)
movl 0x58(%rsp), %ebp
movl 0x50(%rsp), %r12d
movl %r9d, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x5a41(%rip), %r13      # 0x2ae7e
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x52d0
movq %rbx, %rdi
movl %r12d, %esi
callq 0x5430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x52d0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x58a4(%rip), %rsi      # 0x2ad23
movl $0xc, %edx
movq %rax, %rdi
callq 0x52d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51b0
movq %rax, %rbx
leaq 0x581d(%rip), %rsi      # 0x2acda
movl $0x8, %edx
movq %rax, %rdi
callq 0x52d0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x5430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x52d0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x57e6(%rip), %rsi      # 0x2ace3
movl $0x8, %edx
movq %rax, %rdi
callq 0x52d0
movq %rbx, %rdi
movl 0xc(%rsp), %r14d
movl %r14d, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x57c8(%rip), %rsi      # 0x2acec
movl $0xd, %edx
movq %rax, %rdi
callq 0x52d0
movq %rbx, %rdi
movl 0x10(%rsp), %r12d
movl %r12d, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x57af(%rip), %rsi      # 0x2acfa
movl $0x9, %edx
movq %rax, %rdi
callq 0x52d0
movl %r14d, %ebp
negl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x5793(%rip), %rsi      # 0x2ad04
movl $0x19, %edx
movq %rax, %rdi
callq 0x52d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51b0
movq %rax, %rbx
leaq 0x576f(%rip), %rsi      # 0x2ad1e
movl $0x11, %edx
movq %rax, %rdi
callq 0x52d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51b0
movq %rax, %rbx
movl $0x8, %edx
movq %rax, %rdi
leaq 0x56e5(%rip), %rsi      # 0x2acda
callq 0x52d0
movq %rbx, %rdi
movl 0x14(%rsp), %esi
callq 0x5430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x52d0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x5430
movq %rax, %rbx
movl $0x8, %edx
movq %rax, %rdi
leaq 0x56ad(%rip), %rsi      # 0x2ace3
callq 0x52d0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x5430
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x5694(%rip), %rsi      # 0x2acec
callq 0x52d0
movq %rbx, %rdi
movl %r12d, %esi
callq 0x5430
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x5680(%rip), %rsi      # 0x2acfa
callq 0x52d0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5430
movq %rax, %rbx
leaq 0x569d(%rip), %rsi      # 0x2ad30
movl $0x1b, %edx
movq %rax, %rdi
callq 0x52d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x51b0