// File: /workspace/github_c_makefile_star2_O0/cinemast[P]sudoku/sudoku.c
// Function: render
static
void
render (void)
{
    int i, x, y;

    for (i = 0; i < 81; ++i) {
        x = LEFT + 2 + 2 * (COLUMN(i) + COLUMN(i) / 3);
        y = TOP + 1 + ROW(i) + ROW(i) / 3;
        assert(0 <= DIGIT(i));
        assert(DIGIT(i) <= 9); /* XXX FAILING */
        if (IS_FIXED(i)) {
            attron(A_BOLD);
        }
        if (IS_EMPTY(i)) {
            mvaddch(y, x, '.');
        } else {
            mvaddch(y, x, '0' + DIGIT(i));
        }
        if (IS_FIXED(i)) {
            attroff(A_BOLD);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x4(%rbp)
cmpl $0x51, -0x4(%rbp)
jge 0x7f27
movl -0x4(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %edx, -0x14(%rbp)
movl -0x4(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x14(%rbp), %eax
addl %ecx, %eax
shll %eax
addl $0x1d, %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
addl $0x7, %eax
movl %eax, -0x10(%rbp)
movl -0x4(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x10(%rbp), %eax
addl %ecx, %eax
movl %eax, -0xc(%rbp)
movslq -0x4(%rbp), %rcx
leaq 0xa6fc(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %ecx
andl $0xf0000, %ecx          # imm = 0xF0000
sarl $0x10, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x7dc8
jmp 0x7de7
leaq 0x5d65(%rip), %rdi      # 0xdb34
leaq 0x4f1b(%rip), %rsi      # 0xccf1
movl $0x73b, %edx            # imm = 0x73B
leaq 0x5d60(%rip), %rcx      # 0xdb42
callq 0x2150
movslq -0x4(%rbp), %rcx
leaq 0xa6be(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %eax
andl $0xf0000, %eax          # imm = 0xF0000
sarl $0x10, %eax
cmpl $0x9, %eax
jg 0x7e04
jmp 0x7e23
leaq 0x5d49(%rip), %rdi      # 0xdb54
leaq 0x4edf(%rip), %rsi      # 0xccf1
movl $0x73c, %edx            # imm = 0x73C
leaq 0x5d24(%rip), %rcx      # 0xdb42
callq 0x2150
movslq -0x4(%rbp), %rcx
leaq 0xa682(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %eax
andl $0x100000, %eax         # imm = 0x100000
cmpl $0x0, %eax
je 0x7e53
movq 0x9196(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movl $0x200000, %esi         # imm = 0x200000
xorl %eax, %eax
movl %eax, %edx
callq 0x21b0
movslq -0x4(%rbp), %rcx
leaq 0xa652(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %ecx
andl $0xf0000, %ecx          # imm = 0xF0000
sarl $0x10, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x7ea2
movq 0x9161(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movl -0xc(%rbp), %esi
movl -0x8(%rbp), %edx
callq 0x22b0
cmpl $-0x1, %eax
jne 0x7e8c
jmp 0x7ea0
movq 0x9145(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movl $0x2e, %esi
callq 0x22e0
jmp 0x7ee7
movq 0x912f(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movl -0xc(%rbp), %esi
movl -0x8(%rbp), %edx
callq 0x22b0
cmpl $-0x1, %eax
jne 0x7ebe
jmp 0x7ee7
movq 0x9113(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movslq -0x4(%rbp), %rcx
leaq 0xa5dd(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %esi
andl $0xf0000, %esi          # imm = 0xF0000
sarl $0x10, %esi
addl $0x30, %esi
callq 0x22e0
movslq -0x4(%rbp), %rcx
leaq 0xa5be(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %eax
andl $0x100000, %eax         # imm = 0x100000
cmpl $0x0, %eax
je 0x7f17
movq 0x90d2(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
movl $0x200000, %esi         # imm = 0x200000
xorl %eax, %eax
movl %eax, %edx
callq 0x2340
jmp 0x7f19
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x7d3f
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)