void init(sudoku) int sudoku[];
{
  rowinit(sudoku, 0, 0);
  rowinit(sudoku, 9, 3);
  rowinit(sudoku, 18, 6);
  rowinit(sudoku, 27, 1);
  rowinit(sudoku, 36, 4);
  rowinit(sudoku, 45, 7);
  rowinit(sudoku, 54, 2);
  rowinit(sudoku, 63, 5);
  rowinit(sudoku, 72, 8);
  return;
}


x86 assembly (clang, -O0):
<init>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
xor    %edx,%edx
mov    %edx,%esi
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x9,%esi
mov    $0x3,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x12,%esi
mov    $0x6,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1b,%esi
mov    $0x1,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
mov    $0x4,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2d,%esi
mov    $0x7,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x36,%esi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0x5,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
mov    -0x8(%rbp),%rdi
mov    $0x48,%esi
mov    $0x8,%edx
mov    $0x0,%al
call   1030 <rowinit@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<init>:
push   %rbx
mov    %rdi,%rbx
xor    %esi,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x6,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x1b,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x2d,%esi
mov    $0x7,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x36,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x3f,%esi
mov    $0x5,%edx
xor    %eax,%eax
call   1030 <rowinit@plt>
mov    %rbx,%rdi
mov    $0x48,%esi
mov    $0x8,%edx
xor    %eax,%eax
pop    %rbx
jmp    1030 <rowinit@plt>

LLVM IR (-O0):
define void @init(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %3, i32 0, i32 0)
%5 = load i32*, i32** %2
%6 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %5, i32 9, i32 3)
%7 = load i32*, i32** %2
%8 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %7, i32 18, i32 6)
%9 = load i32*, i32** %2
%10 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %9, i32 27, i32 1)
%11 = load i32*, i32** %2
%12 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %11, i32 36, i32 4)
%13 = load i32*, i32** %2
%14 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %13, i32 45, i32 7)
%15 = load i32*, i32** %2
%16 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %15, i32 54, i32 2)
%17 = load i32*, i32** %2
%18 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %17, i32 63, i32 5)
%19 = load i32*, i32** %2
%20 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %19, i32 72, i32 8)
ret void
}

LLVM IR (-O2):
define void @init(i32* %0) {
%2 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 0, i32 0)
%3 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 9, i32 3)
%4 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 18, i32 6)
%5 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 27, i32 1)
%6 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 36, i32 4)
%7 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 45, i32 7)
%8 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 54, i32 2)
%9 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 63, i32 5)
%10 = tail call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @rowinit to i32 (i32*, i32, i32, ...)*)(i32* %0, i32 72, i32 8)
ret void
}