#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ p_comment(char *);
int /*<<< orphan*/ print_neighbour_table_headers(char *, char *, char *, char *,
                                                 char *, char *, char *, char *,
                                                 char *, int /*<<< orphan*/ *);
void print_neighbour_header(void) {
  p_comment("neighbour table:");
  print_neighbour_table_headers("cell", "north", "ne", "east", "se", "south",
                                "sw", "west", "nw", NULL);
}


x86 assembly (clang, -O0):
<print_neighbour_header>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x28,%rsp
lea    0xed0(%rip),%rdi
call   1040 <p_comment@plt>
lea    0xed5(%rip),%rdi
lea    0xed3(%rip),%rsi
lea    0xed2(%rip),%rdx
lea    0xece(%rip),%rcx
lea    0xecc(%rip),%r8
lea    0xec8(%rip),%r9
lea    0xec7(%rip),%r11
lea    0xec3(%rip),%r10
lea    0xec1(%rip),%rax
xor    %ebx,%ebx
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %rax,0x10(%rsp)
movq   $0x0,0x18(%rsp)
call   1030 <print_neighbour_table_headers@plt>
add    $0x28,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_neighbour_header>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <p_comment@plt>
lea    0xf01(%rip),%rax
lea    0xef5(%rip),%r10
lea    0xeeb(%rip),%r11
lea    0xec8(%rip),%rdi
lea    0xec6(%rip),%rsi
lea    0xec5(%rip),%rdx
lea    0xec1(%rip),%rcx
lea    0xebf(%rip),%r8
lea    0xebb(%rip),%r9
push   $0x0
push   %rax
push   %r10
push   %r11
call   1030 <print_neighbour_table_headers@plt>
add    $0x20,%rsp
pop    %rax
ret

LLVM IR (-O0):
@.str = [17 x i8] c"neighbour table:\00"
@.str.1 = [5 x i8] c"cell\00"
@.str.2 = [6 x i8] c"north\00"
@.str.3 = [3 x i8] c"ne\00"
@.str.4 = [5 x i8] c"east\00"
@.str.5 = [3 x i8] c"se\00"
@.str.6 = [6 x i8] c"south\00"
@.str.7 = [3 x i8] c"sw\00"
@.str.8 = [5 x i8] c"west\00"
@.str.9 = [3 x i8] c"nw\00"
define void @print_neighbour_header() {
%1 = call i32 @p_comment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @print_neighbour_table_headers(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i32* null)
ret void
}

LLVM IR (-O2):
@.str = [17 x i8] c"neighbour table:\00"
@.str.1 = [5 x i8] c"cell\00"
@.str.2 = [6 x i8] c"north\00"
@.str.3 = [3 x i8] c"ne\00"
@.str.4 = [5 x i8] c"east\00"
@.str.5 = [3 x i8] c"se\00"
@.str.6 = [6 x i8] c"south\00"
@.str.7 = [3 x i8] c"sw\00"
@.str.8 = [5 x i8] c"west\00"
@.str.9 = [3 x i8] c"nw\00"
define void @print_neighbour_header() {
%1 = tail call i32 @p_comment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @print_neighbour_table_headers(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i32* null)
ret void
}