// File: /workspace/github_c_makefile_star2_O0/comfies[P]custard/src/wm/decorations.c
// Function: triple_border_transient
void triple_border_transient(xcb_pixmap_t pixmap,
    xcb_gcontext_t graphics_context, unsigned int inner_size,
    unsigned int outer_size, unsigned int border_size,
    xcb_get_geometry_reply_t *geometry) {

    xcb_rectangle_t inner_border[8] = {
        {
            (short)(geometry->width + outer_size), 0,
            (unsigned short)inner_size,
            (unsigned short)(geometry->height + outer_size + inner_size)
        },
        {
            0, (short)(geometry->height + outer_size),
            (unsigned short)(geometry->width + outer_size),
            (unsigned short)inner_size
        },
        {
            (short)(geometry->width + border_size + outer_size), 0,
            (unsigned short)inner_size,
            (unsigned short)(geometry->height + outer_size)
        },
        {
            0, (short)(geometry->height + border_size + outer_size),
            (unsigned short)(geometry->width + outer_size),
            (unsigned short)inner_size
        },
        {
            (short)(geometry->width + border_size + outer_size),
            (short)(geometry->height + border_size + outer_size),
            (unsigned short)inner_size,
            (unsigned short)(outer_size + inner_size)
        },
        {
            (short)(geometry->width + border_size + outer_size),
            (short)(geometry->height + border_size + outer_size),
            (unsigned short)(outer_size + inner_size),
            (unsigned short)inner_size
        },
        {
            (short)(geometry->width + outer_size),
            (short)(geometry->height + border_size + outer_size),
            (unsigned short)inner_size,
            (unsigned short)(outer_size + inner_size)
        },
        {
            (short)(geometry->width + border_size + outer_size),
            (short)(geometry->height + outer_size),
            (unsigned short)(outer_size + inner_size),
            (unsigned short)inner_size
        }
    };

    xcb_poly_fill_rectangle(xcb_connection, pixmap, graphics_context,
        8, inner_border);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movl %ecx, -0x10(%rbp)
movl %r8d, -0x14(%rbp)
movq %r9, -0x20(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x60(%rbp)
movw $0x0, -0x5e(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x5c(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x10(%rbp), %eax
addl -0xc(%rbp), %eax
movw %ax, -0x5a(%rbp)
movw $0x0, -0x58(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x56(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x54(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x52(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x50(%rbp)
movw $0x0, -0x4e(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x4c(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x4a(%rbp)
movw $0x0, -0x48(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x46(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x44(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x42(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x3e(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x3c(%rbp)
movl -0x10(%rbp), %eax
addl -0xc(%rbp), %eax
movw %ax, -0x3a(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x38(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x36(%rbp)
movl -0x10(%rbp), %eax
addl -0xc(%rbp), %eax
movw %ax, -0x34(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x32(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x30(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x2e(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x2c(%rbp)
movl -0x10(%rbp), %eax
addl -0xc(%rbp), %eax
movw %ax, -0x2a(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x10(%rax), %eax
addl -0x14(%rbp), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movzwl 0x12(%rax), %eax
addl -0x10(%rbp), %eax
movw %ax, -0x26(%rbp)
movl -0x10(%rbp), %eax
addl -0xc(%rbp), %eax
movw %ax, -0x24(%rbp)
movl -0xc(%rbp), %eax
movw %ax, -0x22(%rbp)
leaq 0x6da2(%rip), %rax      # 0xd8f8
movq (%rax), %rdi
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
leaq -0x60(%rbp), %r8
movl $0x8, %ecx
callq 0x32a0
movl %eax, -0x64(%rbp)
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)