// File: /workspace/github_cpp_makefile_star2_O1/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 0x6430
movq %rax, %rbx
leaq 0x4d9d(%rip), %r13      # 0x2bede
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x62d0
movq %rbx, %rdi
movl %r12d, %esi
callq 0x6430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x62d0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x4c00(%rip), %rsi      # 0x2bd83
movl $0xc, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movq %rax, %rbx
leaq 0x4b79(%rip), %rsi      # 0x2bd3a
movl $0x8, %edx
movq %rax, %rdi
callq 0x62d0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x62d0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x4b42(%rip), %rsi      # 0x2bd43
movl $0x8, %edx
movq %rax, %rdi
callq 0x62d0
movq %rbx, %rdi
movl 0xc(%rsp), %r14d
movl %r14d, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x4b24(%rip), %rsi      # 0x2bd4c
movl $0xd, %edx
movq %rax, %rdi
callq 0x62d0
movq %rbx, %rdi
movl 0x10(%rsp), %r12d
movl %r12d, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x4b0b(%rip), %rsi      # 0x2bd5a
movl $0x9, %edx
movq %rax, %rdi
callq 0x62d0
movl %r14d, %ebp
negl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x4aef(%rip), %rsi      # 0x2bd64
movl $0x19, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movq %rax, %rbx
leaq 0x4acb(%rip), %rsi      # 0x2bd7e
movl $0x11, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movq %rax, %rbx
movl $0x8, %edx
movq %rax, %rdi
leaq 0x4a41(%rip), %rsi      # 0x2bd3a
callq 0x62d0
movq %rbx, %rdi
movl 0x14(%rsp), %esi
callq 0x6430
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x62d0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x6430
movq %rax, %rbx
movl $0x8, %edx
movq %rax, %rdi
leaq 0x4a09(%rip), %rsi      # 0x2bd43
callq 0x62d0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6430
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x49f0(%rip), %rsi      # 0x2bd4c
callq 0x62d0
movq %rbx, %rdi
movl %r12d, %esi
callq 0x6430
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x49dc(%rip), %rsi      # 0x2bd5a
callq 0x62d0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6430
movq %rax, %rbx
leaq 0x49f9(%rip), %rsi      # 0x2bd90
movl $0x1b, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x61b0