// File: /workspace/github_c_makefile_star2_O0/cinemast[P]sudoku/sudoku.c
// Function: common
static
void
common (int el)
{
    int i, idx, row, col, digit, mask;

    for (digit = 1; digit <= 9; ++digit) {
        mask = DIGIT_STATE(digit);
        row = col = -1;  /* Value '9' indicates invalid */
        for (i = 0; i < 9; ++i) {
            /* Digit possible? */
            idx = idx_block(el, i);
            if (IS_EMPTY(idx) && 0 == (board[idx] & mask)) {
                if (row < 0) {
                    row = ROW(idx);
                } else if (row != ROW(idx)) {
                    row = 9; /* Digit appears in multiple rows */
                }
                if (col < 0) {
                    col = COLUMN(idx);
                } else if (col != COLUMN(idx)) {
                    col = 9; /* Digit appears in multiple columns */
                }
            }
        }
        if (-1 != row && row < 9) {
            exmask(mask, el, row, idx_row);
        }
        if (-1 != col && col < 9) {
            exmask(mask, el, col, idx_column);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movl $0x1, -0x18(%rbp)
cmpl $0x9, -0x18(%rbp)
jg 0x2cdd
movl -0x18(%rbp), %ecx
addl $0x6, %ecx
movl $0x1, %eax
shll %cl, %eax
movl %eax, -0x1c(%rbp)
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
movl $0xffffffff, -0x10(%rbp) # imm = 0xFFFFFFFF
movl $0x0, -0x8(%rbp)
cmpl $0x9, -0x8(%rbp)
jge 0x2c83
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
callq 0x2990
movl %eax, -0xc(%rbp)
movslq -0xc(%rbp), %rcx
leaq 0xf8dc(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %ecx
andl $0xf0000, %ecx          # imm = 0xF0000
sarl $0x10, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x2c73
movslq -0xc(%rbp), %rcx
leaq 0xf8bb(%rip), %rax      # 0x124b0
movl (%rax,%rcx,4), %ecx
andl -0x1c(%rbp), %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x2c73
cmpl $0x0, -0x10(%rbp)
jge 0x2c17
movl -0xc(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %eax, -0x10(%rbp)
jmp 0x2c3a
movl -0x10(%rbp), %eax
movl %eax, -0x20(%rbp)
movl -0xc(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x20(%rbp), %eax
cmpl %ecx, %eax
je 0x2c38
movl $0x9, -0x10(%rbp)
jmp 0x2c3a
cmpl $0x0, -0x14(%rbp)
jge 0x2c50
movl -0xc(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %edx, -0x14(%rbp)
jmp 0x2c71
movl -0x14(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0xc(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl -0x24(%rbp), %eax
cmpl %edx, %eax
je 0x2c6f
movl $0x9, -0x14(%rbp)
jmp 0x2c71
jmp 0x2c73
jmp 0x2c75
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x2bb1
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl -0x10(%rbp), %eax
je 0x2ca8
cmpl $0x9, -0x10(%rbp)
jge 0x2ca8
movl -0x1c(%rbp), %edi
movl -0x4(%rbp), %esi
movl -0x10(%rbp), %edx
leaq -0x523(%rip), %rcx      # 0x2780
callq 0x5b10
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl -0x14(%rbp), %eax
je 0x2ccd
cmpl $0x9, -0x14(%rbp)
jge 0x2ccd
movl -0x1c(%rbp), %edi
movl -0x4(%rbp), %esi
movl -0x14(%rbp), %edx
leaq -0x358(%rip), %rcx      # 0x2970
callq 0x5b10
jmp 0x2ccf
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x2b82
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)