#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 */
typedef int /*<<< orphan*/ data;

/* Variables and functions */
int /*<<< orphan*/ hexdump(unsigned char *, int);
int main(int argc, char **argv) {
  unsigned char data[32] = {'A'};
  data[0] = 0;
  data[1] = 1;
  data[2] = 'A';
  data[3] = 'U';
  data[4] = 'K';
  data[5] = 'I';
  data[6] = 'N';
  data[7] = ' ';
  hexdump(data, sizeof(data));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xed3(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xed0(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xecd(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xeca(%rip),%rax
mov    %rax,-0x18(%rbp)
movb   $0x0,-0x30(%rbp)
movb   $0x1,-0x2f(%rbp)
movb   $0x41,-0x2e(%rbp)
movb   $0x55,-0x2d(%rbp)
movb   $0x4b,-0x2c(%rbp)
movb   $0x49,-0x2b(%rbp)
movb   $0x4e,-0x2a(%rbp)
movb   $0x20,-0x29(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x20,%esi
call   1030 <hexdump@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
movaps 0xee5(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xeea(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movabs $0x204e494b55410100,%rax
49 4e 20
mov    %rax,(%rsp)
mov    %rsp,%rdi
mov    $0x20,%esi
call   1030 <hexdump@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@__const.main.data = <{ i8, [31 x i8] }> <{ i8 65, [31 x i8] zeroinitializer }>
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [32 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = bitcast [32 x i8]* %6 to i8*
%8 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
store i8 0, i8* %8
%9 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 1
store i8 1, i8* %9
%10 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 2
store i8 65, i8* %10
%11 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 3
store i8 85, i8* %11
%12 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 4
store i8 75, i8* %12
%13 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 5
store i8 73, i8* %13
%14 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 6
store i8 78, i8* %14
%15 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 7
store i8 32, i8* %15
%16 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%17 = call i32 @hexdump(i8* %16, i32 32)
ret i32 0
}

LLVM IR (-O2):
@__const.main.data = <{ i8, [31 x i8] }> <{ i8 65, [31 x i8] zeroinitializer }>
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [32 x i8]
%4 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
store i8 0, i8* %4
%5 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 1
store i8 1, i8* %5
%6 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 2
store i8 65, i8* %6
%7 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 3
store i8 85, i8* %7
%8 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 4
store i8 75, i8* %8
%9 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 5
store i8 73, i8* %9
%10 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 6
store i8 78, i8* %10
%11 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 7
store i8 32, i8* %11
%12 = call i32 @hexdump(i8* %4, i32 32)
ret i32 0
}