#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*/ printf(char *, ...);
int /*<<< orphan*/ strcpy(char *, char *);
int main() {
  char char_arr[3] = {'z', 'n', 'k'};
  int int_arr[3] = {27983, 6924111, 32};
  char *char_pt;
  int *int_pt;
  void *void_ptr;
  int i;
  unsigned raw_int;
  char_pt = char_arr;
  int_pt = int_arr;
  printf("%s", "pointers\n");
  for (i = 0; i < 3; i++) {
    printf("%p is %c\n", char_pt, *char_pt);
    char_pt = char_pt + 1;
  }
  for (i = 0; i < 3; i++) {
    printf("%p is %i\n", int_pt, *int_pt);
    int_pt = int_pt + 1;
  }
  printf("%s", "// typecasting pointers.\n// using Int pointer to char arr\n");
  int_pt = (int *)char_arr;
  for (i = 0; i < 3; i++) {
    printf("%p is %c\n", int_pt, *int_pt);
    int_pt = (int *)((char *)int_pt + 1);
  }
  printf(
      "%s",
      "// using void pointer. \n// iterating int array using void pointer\n");
  void_ptr = (int *)int_arr;
  for (i = 0; i < 3; i++) {
    printf("%p is %i\n", void_ptr, *((int *)void_ptr));
    void_ptr = (void *)((int *)void_ptr + 1);
  }
  printf("%s", "// raw integer as pointer (holds address)\n");
  raw_int = (unsigned int)char_arr;
  for (i = 0; i < 3; i++) {
    printf("%p is %c\n", raw_int, *((char *)raw_int));
    raw_int = raw_int + sizeof(char);
  }
  printf("%s", "// fun with strings\n");
  char str_a[400];
  char *pointer;
  strcpy(str_a, "This is a test of the emergency broadcast system.\n");
  pointer = str_a;
  printf(pointer);
  pointer = pointer + 22;
  strcpy(pointer, "rewrite.\n");
  pointer = str_a;
  printf(pointer);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xec7(%rip),%ax
mov    %ax,-0x7(%rbp)
mov    0xebf(%rip),%al
mov    %al,-0x5(%rbp)
mov    0xeb7(%rip),%rax
mov    %rax,-0x14(%rbp)
mov    0xeb5(%rip),%eax
mov    %eax,-0xc(%rbp)
lea    -0x7(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    -0x14(%rbp),%rax
mov    %rax,-0x28(%rbp)
lea    0xe9f(%rip),%rdi
lea    0xe9b(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x3,-0x34(%rbp)
jge    11c3 <main+0xa3>
mov    -0x20(%rbp),%rsi
mov    -0x20(%rbp),%rax
movsbl (%rax),%edx
lea    0xe7b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1186 <main+0x66>
movl   $0x0,-0x34(%rbp)
cmpl   $0x3,-0x34(%rbp)
jge    1206 <main+0xe6>
mov    -0x28(%rbp),%rsi
mov    -0x28(%rbp),%rax
mov    (%rax),%edx
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x28(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11ca <main+0xaa>
lea    0xe03(%rip),%rdi
lea    0xe1d(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x7(%rbp),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x3,-0x34(%rbp)
jge    1266 <main+0x146>
mov    -0x28(%rbp),%rsi
mov    -0x28(%rbp),%rax
mov    (%rax),%edx
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    122a <main+0x10a>
lea    0xda3(%rip),%rdi
lea    0xdf8(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x14(%rbp),%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x3,-0x34(%rbp)
jge    12c6 <main+0x1a6>
mov    -0x30(%rbp),%rsi
mov    -0x30(%rbp),%rax
mov    (%rax),%edx
lea    0xd82(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x30(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x30(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    128a <main+0x16a>
lea    0xd43(%rip),%rdi
lea    0xddb(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x7(%rbp),%rax
mov    %eax,-0x38(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x3,-0x34(%rbp)
jge    1322 <main+0x202>
mov    -0x38(%rbp),%esi
mov    -0x38(%rbp),%eax
movsbl (%rax),%edx
lea    0xd1a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%rax
mov    %eax,-0x38(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12e9 <main+0x1c9>
lea    0xce7(%rip),%rdi
lea    0xdaa(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x1d0(%rbp),%rdi
lea    0xdaa(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1d0(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x1d8(%rbp),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1d8(%rbp),%rax
add    $0x16,%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x1d8(%rbp),%rdi
lea    0xd9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1d0(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x1d8(%rbp),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1b8,%rsp
movb   $0x6b,0xe(%rsp)
movw   $0x6e7a,0xc(%rsp)
lea    0xe(%rsp),%rbx
mov    0xeb4(%rip),%eax
mov    %eax,0x18(%rsp)
mov    0xea1(%rip),%rax
mov    %rax,0x10(%rsp)
lea    0x18(%rsp),%r14
lea    0xeed(%rip),%rdi
call   1040 <puts@plt>
lea    0xe90(%rip),%r13
lea    0xc(%rsp),%r15
mov    %r13,%rdi
mov    %r15,%rsi
mov    $0x7a,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd(%rsp),%r12
movsbl 0xd(%rsp),%edx
mov    %r13,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
movsbl 0xe(%rsp),%edx
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe53(%rip),%rbx
lea    0x10(%rsp),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x6d4f,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x14(%rsp),%rsi
mov    0x14(%rsp),%edx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rsp),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe61(%rip),%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%edx
mov    %r13,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xd(%rsp),%edx
mov    %r13,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xe(%rsp),%edx
mov    %r13,%rdi
lea    0xe(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe5a(%rip),%rdi
call   1040 <puts@plt>
mov    0x10(%rsp),%edx
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rsp),%edx
mov    %rbx,%rdi
lea    0x14(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rsp),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe5b(%rip),%rdi
call   1040 <puts@plt>
mov    %r15d,%ebx
movsbl (%rbx),%edx
mov    %r13,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1(%rbx),%rsi
movsbl 0x1(%rbx),%edx
mov    %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movsbl 0x2(%rbx),%edx
or     $0x2,%rbx
mov    %r13,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe40(%rip),%rdi
call   1040 <puts@plt>
lea    0xd48(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x36(%rsp),%rdi
lea    0xd58(%rip),%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x1b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.char_arr = [3 x i8] c"znk"
@__const.main.int_arr = [3 x i32] [i32 27983, i32 6924111, i32 32]
@.str = [3 x i8] c"%s\00"
@.str.1 = [10 x i8] c"pointers\0A\00"
@.str.2 = [10 x i8] c"%p is %c\0A\00"
@.str.3 = [10 x i8] c"%p is %i\0A\00"
@.str.4 = [59 x i8] c"// typecasting pointers.\0A// using Int pointer to char arr\0A\00"
@.str.5 = [67 x i8] c"// using void pointer. \0A// iterating int array using void pointer\0A\00"
@.str.6 = [43 x i8] c"// raw integer as pointer (holds address)\0A\00"
@.str.7 = [21 x i8] c"// fun with strings\0A\00"
@.str.8 = [51 x i8] c"This is a test of the emergency broadcast system.\0A\00"
@.str.9 = [10 x i8] c"rewrite.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [3 x i8]
%3 = alloca [3 x i32]
%4 = alloca i8*
%5 = alloca i32*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca [400 x i8]
%10 = alloca i8*
store i32 0, i32* %1
%11 = bitcast [3 x i8]* %2 to i8*
%12 = bitcast [3 x i32]* %3 to i8*
%13 = getelementptr inbounds [3 x i8], [3 x i8]* %2, i64 0, i64 0
store i8* %13, i8** %4
%14 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 0
store i32* %14, i32** %5
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %7
br label %16
16: ; preds = %27, %0
%17 = load i32, i32* %7
%18 = icmp slt i32 %17, 3
br i1 %18, label %19, label %30
19: ; preds = %16
%20 = load i8*, i8** %4
%21 = load i8*, i8** %4
%22 = load i8, i8* %21
%23 = sext i8 %22 to i32
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %20, i32 %23)
%25 = load i8*, i8** %4
%26 = getelementptr inbounds i8, i8* %25, i64 1
store i8* %26, i8** %4
br label %27
27: ; preds = %19
%28 = load i32, i32* %7
%29 = add nsw i32 %28, 1
store i32 %29, i32* %7
br label %16
30: ; preds = %16
store i32 0, i32* %7
br label %31
31: ; preds = %41, %30
%32 = load i32, i32* %7
%33 = icmp slt i32 %32, 3
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i32*, i32** %5
%36 = load i32*, i32** %5
%37 = load i32, i32* %36
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %35, i32 %37)
%39 = load i32*, i32** %5
%40 = getelementptr inbounds i32, i32* %39, i64 1
store i32* %40, i32** %5
br label %41
41: ; preds = %34
%42 = load i32, i32* %7
%43 = add nsw i32 %42, 1
store i32 %43, i32* %7
br label %31
44: ; preds = %31
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%46 = getelementptr inbounds [3 x i8], [3 x i8]* %2, i64 0, i64 0
%47 = bitcast i8* %46 to i32*
store i32* %47, i32** %5
store i32 0, i32* %7
br label %48
48: ; preds = %60, %44
%49 = load i32, i32* %7
%50 = icmp slt i32 %49, 3
br i1 %50, label %51, label %63
51: ; preds = %48
%52 = load i32*, i32** %5
%53 = load i32*, i32** %5
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32* %52, i32 %54)
%56 = load i32*, i32** %5
%57 = bitcast i32* %56 to i8*
%58 = getelementptr inbounds i8, i8* %57, i64 1
%59 = bitcast i8* %58 to i32*
store i32* %59, i32** %5
br label %60
60: ; preds = %51
%61 = load i32, i32* %7
%62 = add nsw i32 %61, 1
store i32 %62, i32* %7
br label %48
63: ; preds = %48
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%65 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 0
%66 = bitcast i32* %65 to i8*
store i8* %66, i8** %6
store i32 0, i32* %7
br label %67
67: ; preds = %80, %63
%68 = load i32, i32* %7
%69 = icmp slt i32 %68, 3
br i1 %69, label %70, label %83
70: ; preds = %67
%71 = load i8*, i8** %6
%72 = load i8*, i8** %6
%73 = bitcast i8* %72 to i32*
%74 = load i32, i32* %73
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* %71, i32 %74)
%76 = load i8*, i8** %6
%77 = bitcast i8* %76 to i32*
%78 = getelementptr inbounds i32, i32* %77, i64 1
%79 = bitcast i32* %78 to i8*
store i8* %79, i8** %6
br label %80
80: ; preds = %70
%81 = load i32, i32* %7
%82 = add nsw i32 %81, 1
store i32 %82, i32* %7
br label %67
83: ; preds = %67
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.6, i64 0, i64 0))
%85 = getelementptr inbounds [3 x i8], [3 x i8]* %2, i64 0, i64 0
%86 = ptrtoint i8* %85 to i32
store i32 %86, i32* %8
store i32 0, i32* %7
br label %87
87: ; preds = %102, %83
%88 = load i32, i32* %7
%89 = icmp slt i32 %88, 3
br i1 %89, label %90, label %105
90: ; preds = %87
%91 = load i32, i32* %8
%92 = load i32, i32* %8
%93 = zext i32 %92 to i64
%94 = inttoptr i64 %93 to i8*
%95 = load i8, i8* %94
%96 = sext i8 %95 to i32
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %91, i32 %96)
%98 = load i32, i32* %8
%99 = zext i32 %98 to i64
%100 = add i64 %99, 1
%101 = trunc i64 %100 to i32
store i32 %101, i32* %8
br label %102
102: ; preds = %90
%103 = load i32, i32* %7
%104 = add nsw i32 %103, 1
store i32 %104, i32* %7
br label %87
105: ; preds = %87
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
%107 = getelementptr inbounds [400 x i8], [400 x i8]* %9, i64 0, i64 0
%108 = call i32 @strcpy(i8* %107, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i64 0, i64 0))
%109 = getelementptr inbounds [400 x i8], [400 x i8]* %9, i64 0, i64 0
store i8* %109, i8** %10
%110 = load i8*, i8** %10
%111 = call i32 (i8*, ...) @printf(i8* %110)
%112 = load i8*, i8** %10
%113 = getelementptr inbounds i8, i8* %112, i64 22
store i8* %113, i8** %10
%114 = load i8*, i8** %10
%115 = call i32 @strcpy(i8* %114, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%116 = getelementptr inbounds [400 x i8], [400 x i8]* %9, i64 0, i64 0
store i8* %116, i8** %10
%117 = load i8*, i8** %10
%118 = call i32 (i8*, ...) @printf(i8* %117)
ret i32 0
}

LLVM IR (-O2):
@__const.main.char_arr = [3 x i8] c"znk"
@__const.main.int_arr = [3 x i32] [i32 27983, i32 6924111, i32 32]
@.str.2 = [10 x i8] c"%p is %c\0A\00"
@.str.3 = [10 x i8] c"%p is %i\0A\00"
@.str.8 = [51 x i8] c"This is a test of the emergency broadcast system.\0A\00"
@.str.9 = [10 x i8] c"rewrite.\0A\00"
@str = [9 x i8] c"pointers\00"
@str.10 = [58 x i8] c"// typecasting pointers.\0A// using Int pointer to char arr\00"
@str.11 = [66 x i8] c"// using void pointer. \0A// iterating int array using void pointer\00"
@str.12 = [42 x i8] c"// raw integer as pointer (holds address)\00"
@str.13 = [20 x i8] c"// fun with strings\00"
define i32 @main() {
%1 = alloca [3 x i8]
%2 = alloca [3 x i32]
%3 = alloca [400 x i8]
%4 = getelementptr inbounds [3 x i8], [3 x i8]* %1, i64 0, i64 0
%5 = bitcast [3 x i32]* %2 to i8*
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %4, i32 122)
%8 = getelementptr inbounds [3 x i8], [3 x i8]* %1, i64 0, i64 1
%9 = load i8, i8* %8
%10 = sext i8 %9 to i32
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %8, i32 %10)
%12 = getelementptr inbounds [3 x i8], [3 x i8]* %1, i64 0, i64 2
%13 = load i8, i8* %12
%14 = sext i8 %13 to i32
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %12, i32 %14)
%16 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 0
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %16, i32 27983)
%18 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 1
%19 = load i32, i32* %18
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %18, i32 %19)
%21 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 2
%22 = load i32, i32* %21
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %21, i32 %22)
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.10, i64 0, i64 0))
%25 = bitcast [3 x i8]* %1 to i32*
%26 = load i32, i32* %25
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), [3 x i8]* %1, i32 %26)
%28 = getelementptr inbounds [3 x i8], [3 x i8]* %1, i64 0, i64 1
%29 = bitcast i8* %28 to i32*
%30 = load i32, i32* %29
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %28, i32 %30)
%32 = getelementptr inbounds [3 x i8], [3 x i8]* %1, i64 0, i64 2
%33 = bitcast i8* %32 to i32*
%34 = load i32, i32* %33
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %32, i32 %34)
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.11, i64 0, i64 0))
%37 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 0
%38 = load i32, i32* %37
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), [3 x i32]* %2, i32 %38)
%40 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 1
%41 = load i32, i32* %40
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %40, i32 %41)
%43 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 2
%44 = load i32, i32* %43
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %43, i32 %44)
%46 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.12, i64 0, i64 0))
%47 = ptrtoint [3 x i8]* %1 to i64
%48 = trunc i64 %47 to i32
%49 = and i64 %47, 4294967292
%50 = inttoptr i64 %49 to i8*
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %48, i32 %52)
%54 = or i64 %49, 1
%55 = trunc i64 %54 to i32
%56 = inttoptr i64 %54 to i8*
%57 = load i8, i8* %56
%58 = sext i8 %57 to i32
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %55, i32 %58)
%60 = or i64 %49, 2
%61 = trunc i64 %60 to i32
%62 = inttoptr i64 %60 to i8*
%63 = load i8, i8* %62
%64 = sext i8 %63 to i32
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %61, i32 %64)
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.13, i64 0, i64 0))
%67 = getelementptr inbounds [400 x i8], [400 x i8]* %3, i64 0, i64 0
%68 = call i32 @strcpy(i8* %67, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i64 0, i64 0))
%69 = call i32 (i8*, ...) @printf(i8* %67)
%70 = getelementptr inbounds [400 x i8], [400 x i8]* %3, i64 0, i64 22
%71 = call i32 @strcpy(i8* %70, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%72 = call i32 (i8*, ...) @printf(i8* %67)
ret i32 0
}