#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*/ dest;
typedef int /*<<< orphan*/ d;
typedef int /*<<< orphan*/ c;
typedef int /*<<< orphan*/ b;
typedef int /*<<< orphan*/ a;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int strlen(unsigned char *);
int main(void) {
  unsigned int addr = 0x0;
  unsigned int ddr_start = 0x50000000;
  unsigned int ddr_end = 0x51000000;
  unsigned int len = ddr_end - ddr_start;
  unsigned char *dest = (unsigned char *)ddr_start;
  unsigned int *dest1 = &ddr_start;
  unsigned char *dest2 = (unsigned char *)0x50000000;
  char a = 'a';
  unsigned char b = 'b';
  char *c = &a;
  unsigned char *d = &b;
  printf("addr = %#x\n", addr);
  printf("len = %#x\n", len);
  printf("size of *dest = %i\n", sizeof(dest));
  printf("the address of ddr_start = %#x\n", (unsigned int)(&ddr_start));
  printf("the ascii value of ddr_start = %#x\n", (unsigned int)ddr_start);
  printf("the address of *dest = %#x\n", (unsigned int)(&dest));
  printf("the ascii value of *dest = %#x\n", (unsigned int)dest);
  printf("the address of dest[0] = %#x\n", (unsigned int)(&dest[0]));
  printf("the address of dest[1] = %#x\n", (unsigned int)(&dest[1]));
  printf("the address of dest[0] = %#x\n", (unsigned int)(&(*dest++)));
  printf("the address of dest[1] = %#x\n", (unsigned int)(&(*dest)));
  printf("--------------------------------------------------------\n");
  printf("the address of *dest1 = %#x\n", (unsigned int)(&dest1));
  printf("the ascii value of *dest1 = %#x\n", (unsigned int)dest1);
  printf("the ascii value of *dest1 point to = %#x\n", (unsigned int)(*dest1));
  printf("the address of dest1[0] = %#x\n", (unsigned int)(&dest1[0]));
  printf("the address of dest1[1] = %#x\n", (unsigned int)(&dest1[1]));
  printf("--------------------------------------------------------\n");
  printf("the ascii value of *dest2 = %#x\n", (unsigned int)dest2);
  printf("---------------------------------------------------------\n");
  printf("size of a = %i\n", sizeof(a));
  printf("size of b = %i\n", sizeof(b));
  printf("size of *c = %i\n", sizeof(c));
  printf("size of *d = %d\n", sizeof(d));
  printf("the address of a = %#x\n", (unsigned int)(&a));
  printf("the ascii value of a = %#x\n", (unsigned int)a);
  printf("the address of c = %#x\n", (unsigned int)(&c));
  printf("the ascii value of c = %#x\n", (unsigned int)c);
  printf("the ascii value of c point to = %#x\n", (unsigned int)(*c));
  printf("---------------------------------------------------------\n\n");
  unsigned char str[] = "hello, world";
  unsigned int str_addr = (unsigned int)(&str);
  unsigned char *array = (unsigned char *)str_addr;
  printf("the address of str[] = %#x\n", (unsigned int)(&str));
  printf("the str_addr = %#x\n", (unsigned int)str_addr);
  printf("the address of *array = %#x\n", (unsigned int)(&array));
  printf("the ascii value of *array = %#x\n", (unsigned int)array);
  puts("\n");
  for (int i = 0; i < strlen(str); ++i) {
    printf("the address of str[%i] = %#x\n", i, (unsigned int)(&str[i]));
    printf("the ascii  value of str[%i] = %#x\n", i, (unsigned int)str[i]);
  }
  puts("\n");
  for (int i = 0; i < strlen(str); ++i) {
    printf("the address of *array%i = %#x\n", i, (unsigned int)(&array[i]));
    printf("the ascii value of *array%i = %#x\n", i, (unsigned int)array[i]);
  }
  puts("\n");
  unsigned int *array1 = (unsigned int *)str_addr;
  for (int i = 0; i < 4; ++i) {
    printf("the address of *array1[%i] = %#x\n", i, (unsigned int)(&array1[i]));
    printf("the ascii value of *array1[%i] = %#x\n", i,
           (unsigned int)array1[i]);
  }
  printf("the value = %s\n", (unsigned char *)array1);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x50000000,-0xc(%rbp)
movl   $0x51000000,-0x10(%rbp)
mov    -0x10(%rbp),%eax
sub    -0xc(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x20(%rbp)
lea    -0xc(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    $0x50000000,%eax
mov    %rax,-0x30(%rbp)
movb   $0x61,-0x31(%rbp)
movb   $0x62,-0x32(%rbp)
lea    -0x31(%rbp),%rax
mov    %rax,-0x40(%rbp)
lea    -0x32(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%esi
lea    0x117f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xe55(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe52(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0xc(%rbp),%rax
mov    %eax,%esi
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x20(%rbp),%rax
mov    %eax,%esi
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%esi
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%esi
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %eax,%esi
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    %eax,%esi
lea    0xe49(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%esi
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x28(%rbp),%rax
mov    %eax,%esi
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
mov    %eax,%esi
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%esi
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
mov    %eax,%esi
lea    0xe7b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
add    $0x4,%rax
mov    %eax,%esi
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeb5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x30(%rbp),%rax
mov    %eax,%esi
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe92(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xebf(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xebc(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeb9(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeb7(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x31(%rbp),%rax
mov    %eax,%esi
lea    0xeaf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movsbl -0x31(%rbp),%esi
lea    0xeb5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rax
mov    %eax,%esi
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x40(%rbp),%rax
mov    %eax,%esi
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x40(%rbp),%rax
movsbl (%rax),%esi
lea    0xec8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0xf0d(%rip),%rax
mov    %rax,-0x55(%rbp)
mov    0xf0b(%rip),%eax
mov    %eax,-0x4d(%rbp)
mov    0xf06(%rip),%al
mov    %al,-0x49(%rbp)
lea    -0x55(%rbp),%rax
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
mov    %rax,-0x68(%rbp)
lea    -0x55(%rbp),%rax
mov    %eax,%esi
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x5c(%rbp),%esi
lea    0xef4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x68(%rbp),%rax
mov    %eax,%esi
lea    0xef4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x68(%rbp),%rax
mov    %eax,%esi
lea    0xefd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe93(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
mov    %eax,-0x80(%rbp)
lea    -0x55(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x80(%rbp),%eax
cmp    %ecx,%eax
jge    14c1 <main+0x391>
mov    -0x6c(%rbp),%esi
movslq -0x6c(%rbp),%rcx
lea    -0x55(%rbp),%rax
add    %rcx,%rax
mov    %eax,%edx
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x6c(%rbp),%esi
movslq -0x6c(%rbp),%rax
movzbl -0x55(%rbp,%rax,1),%edx
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    145f <main+0x32f>
lea    0xe1e(%rip),%rdi
call   1030 <puts@plt>
movl   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%eax
mov    %eax,-0x84(%rbp)
lea    -0x55(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x84(%rbp),%eax
cmp    %ecx,%eax
jge    153f <main+0x40f>
mov    -0x70(%rbp),%esi
mov    -0x68(%rbp),%rax
movslq -0x70(%rbp),%rcx
add    %rcx,%rax
mov    %eax,%edx
lea    0xe97(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x70(%rbp),%esi
mov    -0x68(%rbp),%rax
movslq -0x70(%rbp),%rcx
movzbl (%rax,%rcx,1),%edx
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    14d4 <main+0x3a4>
lea    0xda0(%rip),%rdi
call   1030 <puts@plt>
mov    -0x5c(%rbp),%eax
mov    %rax,-0x78(%rbp)
movl   $0x0,-0x7c(%rbp)
cmpl   $0x4,-0x7c(%rbp)
jge    15af <main+0x47f>
mov    -0x7c(%rbp),%esi
mov    -0x78(%rbp),%rax
movslq -0x7c(%rbp),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %eax,%edx
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x7c(%rbp),%esi
mov    -0x78(%rbp),%rax
movslq -0x7c(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xe6e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    1559 <main+0x429>
mov    -0x78(%rbp),%rsi
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x40,%rsp
movl   $0x50000000,0x1c(%rsp)
50
movq   $0x50000000,0x8(%rsp)
lea    0x1c(%rsp),%rbx
mov    %rbx,0x10(%rsp)
movb   $0x61,0x7(%rsp)
lea    0x7(%rsp),%r14
mov    %r14,0x38(%rsp)
lea    0x1134(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe82(%rip),%rdi
mov    $0x1000000,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe7a(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe7b(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%rsp),%esi
lea    0xe87(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rsi
lea    0xe98(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
lea    0xea2(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
lea    0xeb0(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
add    $0x1,%esi
lea    0xeb6(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%rsi
lea    0x1(%rsi),%rax
mov    %rax,0x8(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x118a(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x10(%rsp),%rsi
lea    0xe89(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%esi
lea    0xe94(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%rax
mov    (%rax),%esi
lea    0xea0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%esi
lea    0xeb8(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%esi
add    $0x4,%esi
lea    0xec2(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xecb(%rip),%rdi
mov    $0x50000000,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x10fe(%rip),%rdi
call   1030 <puts@plt>
lea    0xecd(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeca(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec7(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec5(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec3(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movsbl 0x7(%rsp),%esi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x38(%rsp),%rsi
lea    0xece(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x38(%rsp),%esi
lea    0xed4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x38(%rsp),%rax
movsbl (%rax),%esi
lea    0xeda(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <puts@plt>
movabs $0x646c726f77202c,%rax
mov    %rax,0x25(%rsp)
movabs $0x77202c6f6c6c6568,%rax
2c 20 77
mov    %rax,0x20(%rsp)
lea    0x20(%rsp),%r14
mov    %r14d,%r12d
mov    %r12,0x30(%rsp)
lea    0xec7(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed2(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x30(%rsp),%rsi
lea    0xed0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rsp),%esi
lea    0xedb(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    1468 <main+0x338>
lea    0xed6(%rip),%r14
lea    0xeed(%rip),%r15
lea    0x20(%rsp),%r13
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%rsp,%rbx,1),%rdx
add    $0x20,%rdx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x20(%rsp,%rbx,1),%edx
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
mov    %r13,%rdi
call   1040 <strlen@plt>
cltq
cmp    %rax,%rbx
jl     1430 <main+0x300>
lea    0xfcb(%rip),%rdi
call   1030 <puts@plt>
lea    0x20(%rsp),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    14da <main+0x3aa>
lea    0xea4(%rip),%r14
lea    0xebc(%rip),%r15
lea    0x20(%rsp),%r13
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    0x30(%rsp),%edx
add    %ebx,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x30(%rsp),%rax
movzbl (%rax,%rbx,1),%edx
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
mov    %r13,%rdi
call   1040 <strlen@plt>
cltq
cmp    %rax,%rbx
jl     14a0 <main+0x370>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0x20(%rsp),%rdx
lea    0xe7d(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r12),%edx
lea    0xe88(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%r12),%rdx
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%r12),%edx
mov    %r15,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%r12),%rdx
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%r12),%edx
mov    %r15,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%r12),%rdx
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%r12),%edx
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe23(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [12 x i8] c"addr = %#x\0A\00"
@.str.1 = [11 x i8] c"len = %#x\0A\00"
@.str.2 = [20 x i8] c"size of *dest = %i\0A\00"
@.str.3 = [32 x i8] c"the address of ddr_start = %#x\0A\00"
@.str.4 = [36 x i8] c"the ascii value of ddr_start = %#x\0A\00"
@.str.5 = [28 x i8] c"the address of *dest = %#x\0A\00"
@.str.6 = [32 x i8] c"the ascii value of *dest = %#x\0A\00"
@.str.7 = [30 x i8] c"the address of dest[0] = %#x\0A\00"
@.str.8 = [30 x i8] c"the address of dest[1] = %#x\0A\00"
@.str.9 = [58 x i8] c"--------------------------------------------------------\0A\00"
@.str.10 = [29 x i8] c"the address of *dest1 = %#x\0A\00"
@.str.11 = [33 x i8] c"the ascii value of *dest1 = %#x\0A\00"
@.str.12 = [42 x i8] c"the ascii value of *dest1 point to = %#x\0A\00"
@.str.13 = [31 x i8] c"the address of dest1[0] = %#x\0A\00"
@.str.14 = [31 x i8] c"the address of dest1[1] = %#x\0A\00"
@.str.15 = [33 x i8] c"the ascii value of *dest2 = %#x\0A\00"
@.str.16 = [59 x i8] c"---------------------------------------------------------\0A\00"
@.str.17 = [16 x i8] c"size of a = %i\0A\00"
@.str.18 = [16 x i8] c"size of b = %i\0A\00"
@.str.19 = [17 x i8] c"size of *c = %i\0A\00"
@.str.20 = [17 x i8] c"size of *d = %d\0A\00"
@.str.21 = [24 x i8] c"the address of a = %#x\0A\00"
@.str.22 = [28 x i8] c"the ascii value of a = %#x\0A\00"
@.str.23 = [24 x i8] c"the address of c = %#x\0A\00"
@.str.24 = [28 x i8] c"the ascii value of c = %#x\0A\00"
@.str.25 = [37 x i8] c"the ascii value of c point to = %#x\0A\00"
@.str.26 = [60 x i8] c"---------------------------------------------------------\0A\0A\00"
@__const.main.str = [13 x i8] c"hello, world\00"
@.str.27 = [28 x i8] c"the address of str[] = %#x\0A\00"
@.str.28 = [20 x i8] c"the str_addr = %#x\0A\00"
@.str.29 = [29 x i8] c"the address of *array = %#x\0A\00"
@.str.30 = [33 x i8] c"the ascii value of *array = %#x\0A\00"
@.str.31 = [2 x i8] c"\0A\00"
@.str.32 = [30 x i8] c"the address of str[%i] = %#x\0A\00"
@.str.33 = [35 x i8] c"the ascii value of str[%i] = %#x\0A\00"
@.str.34 = [31 x i8] c"the address of *array%i = %#x\0A\00"
@.str.35 = [35 x i8] c"the ascii value of *array%i = %#x\0A\00"
@.str.36 = [34 x i8] c"the address of *array1[%i] = %#x\0A\00"
@.str.37 = [38 x i8] c"the ascii value of *array1[%i] = %#x\0A\00"
@.str.38 = [16 x i8] c"the value = %s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca i8*
%9 = alloca i8
%10 = alloca i8
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca [13 x i8]
%14 = alloca i32
%15 = alloca i8*
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32*
%19 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 1342177280, i32* %3
store i32 1358954496, i32* %4
%20 = load i32, i32* %4
%21 = load i32, i32* %3
%22 = sub i32 %20, %21
store i32 %22, i32* %5
%23 = load i32, i32* %3
%24 = zext i32 %23 to i64
%25 = inttoptr i64 %24 to i8*
store i8* %25, i8** %6
store i32* %3, i32** %7
store i8* inttoptr (i64 1342177280 to i8*), i8** %8
store i8 97, i8* %9
store i8 98, i8* %10
store i8* %9, i8** %11
store i8* %10, i8** %12
%26 = load i32, i32* %2
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %26)
%28 = load i32, i32* %5
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %28)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i64 8)
%31 = ptrtoint i32* %3 to i32
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 %31)
%33 = load i32, i32* %3
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = ptrtoint i8** %6 to i32
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %35)
%37 = load i8*, i8** %6
%38 = ptrtoint i8* %37 to i32
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %38)
%40 = load i8*, i8** %6
%41 = getelementptr inbounds i8, i8* %40, i64 0
%42 = ptrtoint i8* %41 to i32
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %42)
%44 = load i8*, i8** %6
%45 = getelementptr inbounds i8, i8* %44, i64 1
%46 = ptrtoint i8* %45 to i32
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %46)
%48 = load i8*, i8** %6
%49 = getelementptr inbounds i8, i8* %48, i32 1
store i8* %49, i8** %6
%50 = ptrtoint i8* %48 to i32
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %50)
%52 = load i8*, i8** %6
%53 = ptrtoint i8* %52 to i32
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%56 = ptrtoint i32** %7 to i32
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %56)
%58 = load i32*, i32** %7
%59 = ptrtoint i32* %58 to i32
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %59)
%61 = load i32*, i32** %7
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0), i32 %62)
%64 = load i32*, i32** %7
%65 = getelementptr inbounds i32, i32* %64, i64 0
%66 = ptrtoint i32* %65 to i32
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i32 %66)
%68 = load i32*, i32** %7
%69 = getelementptr inbounds i32, i32* %68, i64 1
%70 = ptrtoint i32* %69 to i32
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i32 %70)
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%73 = load i8*, i8** %8
%74 = ptrtoint i8* %73 to i32
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.15, i64 0, i64 0), i32 %74)
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.16, i64 0, i64 0))
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i64 1)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i64 1)
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), i64 8)
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i64 8)
%81 = ptrtoint i8* %9 to i32
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), i32 %81)
%83 = load i8, i8* %9
%84 = sext i8 %83 to i32
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.22, i64 0, i64 0), i32 %84)
%86 = ptrtoint i8** %11 to i32
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.23, i64 0, i64 0), i32 %86)
%88 = load i8*, i8** %11
%89 = ptrtoint i8* %88 to i32
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), i32 %89)
%91 = load i8*, i8** %11
%92 = load i8, i8* %91
%93 = sext i8 %92 to i32
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.25, i64 0, i64 0), i32 %93)
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.26, i64 0, i64 0))
%96 = bitcast [13 x i8]* %13 to i8*
%97 = ptrtoint [13 x i8]* %13 to i32
store i32 %97, i32* %14
%98 = load i32, i32* %14
%99 = zext i32 %98 to i64
%100 = inttoptr i64 %99 to i8*
store i8* %100, i8** %15
%101 = ptrtoint [13 x i8]* %13 to i32
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.27, i64 0, i64 0), i32 %101)
%103 = load i32, i32* %14
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.28, i64 0, i64 0), i32 %103)
%105 = ptrtoint i8** %15 to i32
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.29, i64 0, i64 0), i32 %105)
%107 = load i8*, i8** %15
%108 = ptrtoint i8* %107 to i32
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.30, i64 0, i64 0), i32 %108)
%110 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
store i32 0, i32* %16
br label %111
111: ; preds = %130, %0
%112 = load i32, i32* %16
%113 = getelementptr inbounds [13 x i8], [13 x i8]* %13, i64 0, i64 0
%114 = call i32 @strlen(i8* %113)
%115 = icmp slt i32 %112, %114
br i1 %115, label %116, label %133
116: ; preds = %111
%117 = load i32, i32* %16
%118 = load i32, i32* %16
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [13 x i8], [13 x i8]* %13, i64 0, i64 %119
%121 = ptrtoint i8* %120 to i32
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.32, i64 0, i64 0), i32 %117, i32 %121)
%123 = load i32, i32* %16
%124 = load i32, i32* %16
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [13 x i8], [13 x i8]* %13, i64 0, i64 %125
%127 = load i8, i8* %126
%128 = zext i8 %127 to i32
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.33, i64 0, i64 0), i32 %123, i32 %128)
br label %130
130: ; preds = %116
%131 = load i32, i32* %16
%132 = add nsw i32 %131, 1
store i32 %132, i32* %16
br label %111
133: ; preds = %111
%134 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
store i32 0, i32* %17
br label %135
135: ; preds = %156, %133
%136 = load i32, i32* %17
%137 = getelementptr inbounds [13 x i8], [13 x i8]* %13, i64 0, i64 0
%138 = call i32 @strlen(i8* %137)
%139 = icmp slt i32 %136, %138
br i1 %139, label %140, label %159
140: ; preds = %135
%141 = load i32, i32* %17
%142 = load i8*, i8** %15
%143 = load i32, i32* %17
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, i8* %142, i64 %144
%146 = ptrtoint i8* %145 to i32
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i32 %141, i32 %146)
%148 = load i32, i32* %17
%149 = load i8*, i8** %15
%150 = load i32, i32* %17
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i8, i8* %149, i64 %151
%153 = load i8, i8* %152
%154 = zext i8 %153 to i32
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.35, i64 0, i64 0), i32 %148, i32 %154)
br label %156
156: ; preds = %140
%157 = load i32, i32* %17
%158 = add nsw i32 %157, 1
store i32 %158, i32* %17
br label %135
159: ; preds = %135
%160 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
%161 = load i32, i32* %14
%162 = zext i32 %161 to i64
%163 = inttoptr i64 %162 to i32*
store i32* %163, i32** %18
store i32 0, i32* %19
br label %164
164: ; preds = %182, %159
%165 = load i32, i32* %19
%166 = icmp slt i32 %165, 4
br i1 %166, label %167, label %185
167: ; preds = %164
%168 = load i32, i32* %19
%169 = load i32*, i32** %18
%170 = load i32, i32* %19
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, i32* %169, i64 %171
%173 = ptrtoint i32* %172 to i32
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), i32 %168, i32 %173)
%175 = load i32, i32* %19
%176 = load i32*, i32** %18
%177 = load i32, i32* %19
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i32, i32* %176, i64 %178
%180 = load i32, i32* %179
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.37, i64 0, i64 0), i32 %175, i32 %180)
br label %182
182: ; preds = %167
%183 = load i32, i32* %19
%184 = add nsw i32 %183, 1
store i32 %184, i32* %19
br label %164
185: ; preds = %164
%186 = load i32*, i32** %18
%187 = bitcast i32* %186 to i8*
%188 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.38, i64 0, i64 0), i8* %187)
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"addr = %#x\0A\00"
@.str.1 = [11 x i8] c"len = %#x\0A\00"
@.str.2 = [20 x i8] c"size of *dest = %i\0A\00"
@.str.3 = [32 x i8] c"the address of ddr_start = %#x\0A\00"
@.str.4 = [36 x i8] c"the ascii value of ddr_start = %#x\0A\00"
@.str.5 = [28 x i8] c"the address of *dest = %#x\0A\00"
@.str.6 = [32 x i8] c"the ascii value of *dest = %#x\0A\00"
@.str.7 = [30 x i8] c"the address of dest[0] = %#x\0A\00"
@.str.8 = [30 x i8] c"the address of dest[1] = %#x\0A\00"
@.str.10 = [29 x i8] c"the address of *dest1 = %#x\0A\00"
@.str.11 = [33 x i8] c"the ascii value of *dest1 = %#x\0A\00"
@.str.12 = [42 x i8] c"the ascii value of *dest1 point to = %#x\0A\00"
@.str.13 = [31 x i8] c"the address of dest1[0] = %#x\0A\00"
@.str.14 = [31 x i8] c"the address of dest1[1] = %#x\0A\00"
@.str.15 = [33 x i8] c"the ascii value of *dest2 = %#x\0A\00"
@.str.17 = [16 x i8] c"size of a = %i\0A\00"
@.str.18 = [16 x i8] c"size of b = %i\0A\00"
@.str.19 = [17 x i8] c"size of *c = %i\0A\00"
@.str.20 = [17 x i8] c"size of *d = %d\0A\00"
@.str.21 = [24 x i8] c"the address of a = %#x\0A\00"
@.str.22 = [28 x i8] c"the ascii value of a = %#x\0A\00"
@.str.23 = [24 x i8] c"the address of c = %#x\0A\00"
@.str.24 = [28 x i8] c"the ascii value of c = %#x\0A\00"
@.str.25 = [37 x i8] c"the ascii value of c point to = %#x\0A\00"
@__const.main.str = [13 x i8] c"hello, world\00"
@.str.27 = [28 x i8] c"the address of str[] = %#x\0A\00"
@.str.28 = [20 x i8] c"the str_addr = %#x\0A\00"
@.str.29 = [29 x i8] c"the address of *array = %#x\0A\00"
@.str.30 = [33 x i8] c"the ascii value of *array = %#x\0A\00"
@.str.31 = [2 x i8] c"\0A\00"
@.str.32 = [30 x i8] c"the address of str[%i] = %#x\0A\00"
@.str.33 = [35 x i8] c"the ascii value of str[%i] = %#x\0A\00"
@.str.34 = [31 x i8] c"the address of *array%i = %#x\0A\00"
@.str.35 = [35 x i8] c"the ascii value of *array%i = %#x\0A\00"
@.str.36 = [34 x i8] c"the address of *array1[%i] = %#x\0A\00"
@.str.37 = [38 x i8] c"the ascii value of *array1[%i] = %#x\0A\00"
@.str.38 = [16 x i8] c"the value = %s\0A\00"
@str.39 = [57 x i8] c"--------------------------------------------------------\00"
@str.40 = [58 x i8] c"---------------------------------------------------------\00"
@str.41 = [59 x i8] c"---------------------------------------------------------\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i32*
%4 = alloca i8
%5 = alloca i8*
%6 = alloca [13 x i8]
%7 = alloca i8*
%8 = bitcast i32* %1 to i8*
store i32 1342177280, i32* %1
%9 = bitcast i8** %2 to i8*
store i8* inttoptr (i64 1342177280 to i8*), i8** %2
%10 = bitcast i32** %3 to i8*
store i32* %1, i32** %3
store i8 97, i8* %4
%11 = bitcast i8** %5 to i8*
store i8* %4, i8** %5
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 0)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 16777216)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i64 8)
%15 = ptrtoint i32* %1 to i64
%16 = trunc i64 %15 to i32
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 %16)
%18 = load i32, i32* %1
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0), i32 %18)
%20 = ptrtoint i8** %2 to i64
%21 = trunc i64 %20 to i32
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %21)
%23 = load i8*, i8** %2
%24 = ptrtoint i8* %23 to i64
%25 = trunc i64 %24 to i32
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %25)
%27 = load i8*, i8** %2
%28 = ptrtoint i8* %27 to i64
%29 = trunc i64 %28 to i32
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %29)
%31 = load i8*, i8** %2
%32 = getelementptr inbounds i8, i8* %31, i64 1
%33 = ptrtoint i8* %32 to i64
%34 = trunc i64 %33 to i32
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %34)
%36 = load i8*, i8** %2
%37 = getelementptr inbounds i8, i8* %36, i64 1
store i8* %37, i8** %2
%38 = ptrtoint i8* %36 to i64
%39 = trunc i64 %38 to i32
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %39)
%41 = load i8*, i8** %2
%42 = ptrtoint i8* %41 to i64
%43 = trunc i64 %42 to i32
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %43)
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.39, i64 0, i64 0))
%46 = ptrtoint i32** %3 to i64
%47 = trunc i64 %46 to i32
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %47)
%49 = load i32*, i32** %3
%50 = ptrtoint i32* %49 to i64
%51 = trunc i64 %50 to i32
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %51)
%53 = load i32*, i32** %3
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0), i32 %54)
%56 = load i32*, i32** %3
%57 = ptrtoint i32* %56 to i64
%58 = trunc i64 %57 to i32
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i32 %58)
%60 = load i32*, i32** %3
%61 = getelementptr inbounds i32, i32* %60, i64 1
%62 = ptrtoint i32* %61 to i64
%63 = trunc i64 %62 to i32
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i32 %63)
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.39, i64 0, i64 0))
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.15, i64 0, i64 0), i32 1342177280)
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.40, i64 0, i64 0))
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i64 1)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i64 1)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), i64 8)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i64 8)
%72 = ptrtoint i8* %4 to i64
%73 = trunc i64 %72 to i32
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), i32 %73)
%75 = load i8, i8* %4
%76 = sext i8 %75 to i32
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.22, i64 0, i64 0), i32 %76)
%78 = ptrtoint i8** %5 to i64
%79 = trunc i64 %78 to i32
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.23, i64 0, i64 0), i32 %79)
%81 = load i8*, i8** %5
%82 = ptrtoint i8* %81 to i64
%83 = trunc i64 %82 to i32
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0), i32 %83)
%85 = load i8*, i8** %5
%86 = load i8, i8* %85
%87 = sext i8 %86 to i32
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.25, i64 0, i64 0), i32 %87)
%89 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.41, i64 0, i64 0))
%90 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%91 = ptrtoint [13 x i8]* %6 to i64
%92 = trunc i64 %91 to i32
%93 = bitcast i8** %7 to i8*
%94 = and i64 %91, 4294967295
%95 = inttoptr i64 %94 to i8*
store i8* %95, i8** %7
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.27, i64 0, i64 0), i32 %92)
%97 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.28, i64 0, i64 0), i32 %92)
%98 = ptrtoint i8** %7 to i64
%99 = trunc i64 %98 to i32
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.29, i64 0, i64 0), i32 %99)
%101 = load i8*, i8** %7
%102 = ptrtoint i8* %101 to i64
%103 = trunc i64 %102 to i32
%104 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.30, i64 0, i64 0), i32 %103)
%105 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
%106 = call i32 @strlen(i8* %90)
%107 = icmp sgt i32 %106, 0
br i1 %107, label %112, label %108
108: ; preds = %112, %0
%109 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
%110 = call i32 @strlen(i8* %90)
%111 = icmp sgt i32 %110, 0
br i1 %111, label %152, label %126
112: ; preds = %0, %112
%113 = phi i64 [ %122, %112 ], [ 0, %0 ]
%114 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %113
%115 = ptrtoint i8* %114 to i64
%116 = trunc i64 %115 to i32
%117 = trunc i64 %113 to i32
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.32, i64 0, i64 0), i32 %117, i32 %116)
%119 = load i8, i8* %114
%120 = zext i8 %119 to i32
%121 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.33, i64 0, i64 0), i32 %117, i32 %120)
%122 = add nuw nsw i64 %113, 1
%123 = call i32 @strlen(i8* %90)
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %122, %124
br i1 %125, label %112, label %108
126: ; preds = %152, %108
%127 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
%128 = inttoptr i64 %94 to i32*
%129 = trunc i64 %91 to i32
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), i32 0, i32 %129)
%131 = load i32, i32* %128
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.37, i64 0, i64 0), i32 0, i32 %131)
%133 = getelementptr inbounds i32, i32* %128, i64 1
%134 = ptrtoint i32* %133 to i64
%135 = trunc i64 %134 to i32
%136 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), i32 1, i32 %135)
%137 = load i32, i32* %133
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.37, i64 0, i64 0), i32 1, i32 %137)
%139 = getelementptr inbounds i32, i32* %128, i64 2
%140 = ptrtoint i32* %139 to i64
%141 = trunc i64 %140 to i32
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), i32 2, i32 %141)
%143 = load i32, i32* %139
%144 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.37, i64 0, i64 0), i32 2, i32 %143)
%145 = getelementptr inbounds i32, i32* %128, i64 3
%146 = ptrtoint i32* %145 to i64
%147 = trunc i64 %146 to i32
%148 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), i32 3, i32 %147)
%149 = load i32, i32* %145
%150 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.37, i64 0, i64 0), i32 3, i32 %149)
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.38, i64 0, i64 0), i8* %95)
ret i32 0
152: ; preds = %108, %152
%153 = phi i64 [ %165, %152 ], [ 0, %108 ]
%154 = load i8*, i8** %7
%155 = getelementptr inbounds i8, i8* %154, i64 %153
%156 = ptrtoint i8* %155 to i64
%157 = trunc i64 %156 to i32
%158 = trunc i64 %153 to i32
%159 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i32 %158, i32 %157)
%160 = load i8*, i8** %7
%161 = getelementptr inbounds i8, i8* %160, i64 %153
%162 = load i8, i8* %161
%163 = zext i8 %162 to i32
%164 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.35, i64 0, i64 0), i32 %158, i32 %163)
%165 = add nuw nsw i64 %153, 1
%166 = call i32 @strlen(i8* %90)
%167 = sext i32 %166 to i64
%168 = icmp slt i64 %165, %167
br i1 %168, label %152, label %126
}