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

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ free(int *);
int /*<<< orphan*/ function_1();
int *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
size_t strtoul(char *, int /*<<< orphan*/ *, int);
int main() {
  printf("%d\n", 0);
  int x_int = 0;
  short x_short = 0;
  char x_char = 0;
  char y_char = 'y';
  long x_long = 0;
  long long x_long_long = 0;
  float x_float = 0.0f;
  double x_double = 0.0;
  unsigned short ux_short;
  unsigned int ux_int;
  unsigned long long ux_long_long;
  '0';
  'A';
  printf("%zu\n", sizeof(int));
  int a = 1;
  size_t size = sizeof(a++);
  printf("sizeof(a++) = %zu where a = %d\n", size, a);
  char my_char_array[20];
  int my_int_array[20];
  char my_array[20] = {0};
  my_array[0];
  my_array[1] = 2;
  printf("%d\n", my_array[1]);
  printf("Enter the array size: ");
  char buf[0x100];
  fgets(buf, sizeof buf, stdin);
  size_t size2 = strtoul(buf, NULL, 10);
  int var_length_array[size2];
  printf("sizeof array = %zu\n", sizeof var_length_array);
  char a_string[20] = "This is a string";
  printf("%s\n", a_string);
  printf("%d\n", a_string[16]);
  int cha = 'a';
  char chb = 'a';
  int multi_array[2][5] = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 0}};
  int array_int = multi_array[0][2];
  int i1 = 1, i2 = 2;
  float f1 = 1.0, f2 = 2.0;
  int b, c;
  b = c = 0;
  i1 + i2;
  i2 - i1;
  i2 *i1;
  i1 / i2;
  (float)i1 / i2;
  i1 / (double)i2;
  f1 / f2;
  11 % 3;
  3 == 2;
  3 != 2;
  3 > 2;
  3 < 2;
  2 <= 2;
  2 >= 2;
  int between_0_and_2 = 0 < a && a < 2;
  !3;
  !0;
  1 && 1;
  0 && 1;
  0 || 1;
  0 || 0;
  int e = 5;
  int f = 10;
  int z;
  z = (e > f) ? e : f;
  char *s = "iLoveC";
  int j = 0;
  s[j++];
  j = 0;
  s[++j];
  ~0x0F;
  0x0F & 0xF0;
  0x0F | 0xF0;
  0x04 ^ 0x0F;
  0x01 << 1;
  0x02 >> 1;
  if (0) {
    printf("I am never run\n");
  } else if (0) {
    printf("I am also never run\n");
  } else {
    printf("I print\n");
  }
  int ii = 0;
  while (ii < 10) {
    printf("%d, ", ii++);
  }
  printf("\n");
  int kk = 0;
  do {
    printf("%d, ", kk);
  } while (++kk < 10);
  printf("\n");
  int jj;
  for (jj = 0; jj < 10; jj++) {
    printf("%d, ", jj);
  }
  printf("\n");
  int i;
  for (i = 0; i <= 5; i++) {
    ;
  }
  switch (a) {
  case 0:
    printf("Hey, 'a' equals 0!\n");
    break;
  case 1:
    printf("Huh, 'a' equals 1!\n");
    break;
  default:
    fputs("error!\n", stderr);
    exit(-1);
    break;
  }
  int x_hex = 0x01;
  printf("%d\n", x_hex);
  printf("%d\n", (short)x_hex);
  printf("%d\n", (char)x_hex);
  printf("%d\n", (unsigned char)257);
  printf("%f\n", (float)100);
  printf("%lf\n", (double)100);
  printf("%d\n", (char)100.0);
  int x = 0;
  printf("%p\n", (void *)&x);
  int *px, not_a_pointer;
  px = &x;
  printf("%p\n", (void *)px);
  printf("%zu, %zu\n", sizeof(px), sizeof(not_a_pointer));
  printf("%d\n", *px);
  (*px)++;
  printf("%d\n", *px);
  printf("%d\n", x);
  int x_array[20];
  int xx;
  for (xx = 0; xx < 20; xx++) {
    x_array[xx] = 20 - xx;
  }
  int *x_ptr = x_array;
  int arr[10];
  int(*ptr_to_arr)[10] = &arr;
  char otherarr[] = "foobarbazquirk";
  int arraythethird[10];
  int *ptr = arraythethird;
  printf("%zu, %zu\n", sizeof arraythethird, sizeof ptr);
  printf("%d\n", *(x_ptr + 1));
  printf("%d\n", x_array[1]);
  int *my_ptr = malloc(sizeof(*my_ptr) * 20);
  for (xx = 0; xx < 20; xx++) {
    *(my_ptr + xx) = 20 - xx;
  }
  printf("%d\n", *(my_ptr + 21));
  free(my_ptr);
  const char *my_str = "This is my very own string literal";
  printf("%c\n", *my_str);
  char foo[] = "foo";
  foo[0] = 'a';
  function_1();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3b0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe73(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
movw   $0x0,-0xa(%rbp)
movb   $0x0,-0xb(%rbp)
movb   $0x79,-0xc(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x24(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
lea    0xeb8(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x44(%rbp)
movq   $0x4,-0x50(%rbp)
mov    -0x50(%rbp),%rsi
mov    -0x44(%rbp),%edx
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xe0(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1060 <memset@plt>
movb   $0x2,-0xdf(%rbp)
movsbl -0xdf(%rbp),%esi
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdcc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x1e0(%rbp),%rdi
mov    0x2d6f(%rip),%rax
mov    (%rax),%edx
mov    $0x100,%esi
call   1070 <fgets@plt>
lea    -0x1e0(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0xa,%edx
call   10b0 <strtoul@plt>
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rsi
mov    %rsp,%rax
mov    %rax,-0x1f0(%rbp)
mov    %rsi,-0x1f8(%rbp)
shl    $0x2,%rsi
lea    0xd83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0xe2e(%rip),%rax
mov    %rax,-0x210(%rbp)
mov    0xe28(%rip),%rax
mov    %rax,-0x208(%rbp)
mov    0xe23(%rip),%eax
mov    %eax,-0x200(%rbp)
lea    -0x210(%rbp),%rsi
lea    0xd5a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsbl -0x200(%rbp),%esi
lea    0xd16(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x61,-0x214(%rbp)
movb   $0x61,-0x215(%rbp)
lea    -0x240(%rbp),%rdi
lea    0xde4(%rip),%rsi
mov    $0x28,%edx
call   1080 <memcpy@plt>
mov    -0x238(%rbp),%eax
mov    %eax,-0x244(%rbp)
movl   $0x1,-0x248(%rbp)
movl   $0x2,-0x24c(%rbp)
movss  0xc96(%rip),%xmm0
movss  %xmm0,-0x250(%rbp)
ff
movss  0xc82(%rip),%xmm0
movss  %xmm0,-0x254(%rbp)
ff
movl   $0x0,-0x25c(%rbp)
movl   $0x0,-0x258(%rbp)
xor    %eax,%eax
xor    %ecx,%ecx
cmp    -0x44(%rbp),%ecx
mov    %al,-0x39d(%rbp)
jge    13ba <main+0x21a>
cmpl   $0x2,-0x44(%rbp)
setl   %al
mov    %al,-0x39d(%rbp)
mov    -0x39d(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x260(%rbp)
movl   $0x5,-0x264(%rbp)
movl   $0xa,-0x268(%rbp)
mov    -0x264(%rbp),%eax
cmp    -0x268(%rbp),%eax
jle    1402 <main+0x262>
mov    -0x264(%rbp),%eax
mov    %eax,-0x3a4(%rbp)
jmp    140e <main+0x26e>
mov    -0x268(%rbp),%eax
mov    %eax,-0x3a4(%rbp)
mov    -0x3a4(%rbp),%eax
mov    %eax,-0x26c(%rbp)
lea    0xc3e(%rip),%rax
mov    %rax,-0x278(%rbp)
movl   $0x0,-0x27c(%rbp)
mov    -0x27c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x27c(%rbp)
movl   $0x0,-0x27c(%rbp)
mov    -0x27c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x27c(%rbp)
lea    0xc05(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x280(%rbp)
cmpl   $0xa,-0x280(%rbp)
jge    14a3 <main+0x303>
mov    -0x280(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x280(%rbp)
lea    0xbd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1472 <main+0x2d2>
lea    0xbdc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x284(%rbp)
mov    -0x284(%rbp),%esi
lea    0xba7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x284(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x284(%rbp)
cmp    $0xa,%eax
jl     14bb <main+0x31b>
lea    0xb98(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x288(%rbp)
cmpl   $0xa,-0x288(%rbp)
jge    1534 <main+0x394>
mov    -0x288(%rbp),%esi
lea    0xb56(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x288(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x288(%rbp)
jmp    14ff <main+0x35f>
lea    0xb4b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x28c(%rbp)
cmpl   $0x5,-0x28c(%rbp)
jg     1572 <main+0x3d2>
jmp    155e <main+0x3be>
mov    -0x28c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28c(%rbp)
jmp    154c <main+0x3ac>
mov    -0x44(%rbp),%eax
mov    %eax,-0x3a8(%rbp)
test   %eax,%eax
je     159c <main+0x3fc>
jmp    1588 <main+0x3e8>
mov    -0x3a8(%rbp),%eax
sub    $0x1,%eax
je     15af <main+0x40f>
jmp    15c2 <main+0x422>
lea    0xad1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15e1 <main+0x441>
lea    0xad2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15e1 <main+0x441>
mov    0x2a0f(%rip),%rax
mov    (%rax),%esi
lea    0xaca(%rip),%rdi
call   1050 <fputs@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
movl   $0x1,-0x290(%rbp)
mov    -0x290(%rbp),%esi
lea    0xa34(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x290(%rbp),%eax
movswl %ax,%esi
lea    0xa1d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x290(%rbp),%eax
movsbl %al,%esi
lea    0xa06(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x9f8(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xa5d(%rip),%rdi
movsd  0x9b9(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xa4b(%rip),%rdi
movsd  0x9a3(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x9b9(%rip),%rdi
mov    $0x64,%esi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x294(%rbp)
lea    -0x294(%rbp),%rsi
lea    0xa16(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x294(%rbp),%rax
mov    %rax,-0x2a0(%rbp)
mov    -0x2a0(%rbp),%rsi
lea    0x9f3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x9e9(%rip),%rdi
mov    $0x8,%esi
mov    $0x4,%edx
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x2a0(%rbp),%rax
mov    (%rax),%esi
lea    0x943(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x2a0(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
mov    -0x2a0(%rbp),%rax
mov    (%rax),%esi
lea    0x91e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x294(%rbp),%esi
lea    0x90a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x304(%rbp)
cmpl   $0x14,-0x304(%rbp)
jge    176d <main+0x5cd>
mov    $0x14,%ecx
sub    -0x304(%rbp),%ecx
movslq -0x304(%rbp),%rax
mov    %ecx,-0x300(%rbp,%rax,4)
mov    -0x304(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x304(%rbp)
jmp    1733 <main+0x593>
lea    -0x300(%rbp),%rax
mov    %rax,-0x310(%rbp)
lea    -0x340(%rbp),%rax
mov    %rax,-0x348(%rbp)
mov    0x92b(%rip),%rax
mov    %rax,-0x357(%rbp)
mov    0x926(%rip),%eax
mov    %eax,-0x34f(%rbp)
mov    0x91d(%rip),%ax
mov    %ax,-0x34b(%rbp)
mov    0x912(%rip),%al
mov    %al,-0x349(%rbp)
lea    -0x380(%rbp),%rax
mov    %rax,-0x388(%rbp)
lea    0x8df(%rip),%rdi
mov    $0x28,%esi
mov    $0x8,%edx
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x310(%rbp),%rax
mov    0x4(%rax),%esi
lea    0x838(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x2fc(%rbp),%esi
lea    0x824(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x50,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x390(%rbp)
movl   $0x0,-0x304(%rbp)
cmpl   $0x14,-0x304(%rbp)
jge    1867 <main+0x6c7>
mov    $0x14,%edx
sub    -0x304(%rbp),%edx
mov    -0x390(%rbp),%rax
movslq -0x304(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x304(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x304(%rbp)
jmp    182a <main+0x68a>
mov    -0x390(%rbp),%rax
mov    0x54(%rax),%esi
lea    0x7b4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x390(%rbp),%rdi
call   1030 <free@plt>
lea    0x838(%rip),%rax
mov    %rax,-0x398(%rbp)
mov    -0x398(%rbp),%rax
movsbl (%rax),%esi
lea    0x843(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x83a(%rip),%eax
mov    %eax,-0x39c(%rbp)
movb   $0x61,-0x39c(%rbp)
mov    $0x0,%al
call   1090 <function_1@plt>
mov    -0x1f0(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x138,%rsp
lea    0xee7(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xf1a(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xea5(%rip),%rdi
mov    $0x4,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe9e(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2df8(%rip),%rax
mov    (%rax),%edx
lea    0x30(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x100,%esi
call   1070 <fgets@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0xa,%edx
call   10a0 <strtoul@plt>
mov    %rsp,%r12
lea    0x0(,%rax,4),%rsi
lea    0xe72(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movaps 0xebd(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movl   $0x0,0x20(%rsp)
lea    0x10(%rsp),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe6e(%rip),%rdi
call   1050 <puts@plt>
lea    0xe42(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xc8c(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xc21(%rip),%rdi
movsd  0xb69(%rip),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xc0f(%rip),%rdi
movsd  0xb53(%rip),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1060 <printf@plt>
movl   $0x0,0xc(%rsp)
lea    0xbe7(%rip),%rbx
lea    0xc(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xbc5(%rip),%rbx
mov    $0x8,%esi
mov    $0x4,%edx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%esi
add    $0x1,%esi
mov    %esi,0xc(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x28,%esi
mov    $0x8,%edx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x50,%edi
call   1090 <malloc@plt>
mov    %rax,%rbx
movaps 0xa8d(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xa93(%rip),%xmm0
movups %xmm0,0x10(%rax)
movaps 0xa98(%rip),%xmm0
movups %xmm0,0x20(%rax)
movaps 0xa9d(%rip),%xmm0
movups %xmm0,0x30(%rax)
movaps 0xaa2(%rip),%xmm0
movups %xmm0,0x40(%rax)
mov    0x54(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xaf9(%rip),%rdi
mov    $0x54,%esi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1080 <function_1@plt>
mov    %r12,%rsp
xor    %eax,%eax
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [5 x i8] c"%zu\0A\00"
@.str.2 = [32 x i8] c"sizeof(a++) = %zu where a = %d\0A\00"
@.str.3 = [23 x i8] c"Enter the array size: \00"
@stdin = global i32 0
@.str.4 = [20 x i8] c"sizeof array = %zu\0A\00"
@__const.main.a_string = [20 x i8] c"This is a string\00\00\00\00"
@.str.5 = [4 x i8] c"%s\0A\00"
@__const.main.multi_array = [2 x [5 x i32]] [[5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], [5 x i32] [i32 6, i32 7, i32 8, i32 9, i32 0]]
@.str.6 = [7 x i8] c"iLoveC\00"
@.str.7 = [9 x i8] c"I print\0A\00"
@.str.8 = [5 x i8] c"%d, \00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [20 x i8] c"Hey, 'a' equals 0!\0A\00"
@.str.11 = [20 x i8] c"Huh, 'a' equals 1!\0A\00"
@.str.12 = [8 x i8] c"error!\0A\00"
@stderr = global i32 0
@.str.13 = [4 x i8] c"%f\0A\00"
@.str.14 = [5 x i8] c"%lf\0A\00"
@.str.15 = [4 x i8] c"%p\0A\00"
@.str.16 = [10 x i8] c"%zu, %zu\0A\00"
@__const.main.otherarr = [15 x i8] c"foobarbazquirk\00"
@.str.17 = [35 x i8] c"This is my very own string literal\00"
@.str.18 = [4 x i8] c"%c\0A\00"
@__const.main.foo = [4 x i8] c"foo\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i16
%4 = alloca i8
%5 = alloca i8
%6 = alloca i64
%7 = alloca i64
%8 = alloca float
%9 = alloca double
%10 = alloca i16
%11 = alloca i32
%12 = alloca i64
%13 = alloca i32
%14 = alloca i64
%15 = alloca [20 x i8]
%16 = alloca [20 x i32]
%17 = alloca [20 x i8]
%18 = alloca [256 x i8]
%19 = alloca i64
%20 = alloca i8*
%21 = alloca i64
%22 = alloca [20 x i8]
%23 = alloca i32
%24 = alloca i8
%25 = alloca [2 x [5 x i32]]
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca float
%30 = alloca float
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = alloca i32
%36 = alloca i32
%37 = alloca i8*
%38 = alloca i32
%39 = alloca i32
%40 = alloca i32
%41 = alloca i32
%42 = alloca i32
%43 = alloca i32
%44 = alloca i32
%45 = alloca i32*
%46 = alloca i32
%47 = alloca [20 x i32]
%48 = alloca i32
%49 = alloca i32*
%50 = alloca [10 x i32]
%51 = alloca [10 x i32]*
%52 = alloca [15 x i8]
%53 = alloca [10 x i32]
%54 = alloca i32*
%55 = alloca i32*
%56 = alloca i8*
%57 = alloca [4 x i8]
store i32 0, i32* %1
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
store i32 0, i32* %2
store i16 0, i16* %3
store i8 0, i8* %4
store i8 121, i8* %5
store i64 0, i64* %6
store i64 0, i64* %7
store float 0.000000e+00, float* %8
store double 0.000000e+00, double* %9
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 4)
store i32 1, i32* %13
store i64 4, i64* %14
%60 = load i64, i64* %14
%61 = load i32, i32* %13
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i64 %60, i32 %61)
%63 = bitcast [20 x i8]* %17 to i8*
%64 = getelementptr inbounds [20 x i8], [20 x i8]* %17, i64 0, i64 0
%65 = load i8, i8* %64
%66 = getelementptr inbounds [20 x i8], [20 x i8]* %17, i64 0, i64 1
store i8 2, i8* %66
%67 = getelementptr inbounds [20 x i8], [20 x i8]* %17, i64 0, i64 1
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %69)
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%72 = getelementptr inbounds [256 x i8], [256 x i8]* %18, i64 0, i64 0
%73 = load i32, i32* @stdin
%74 = call i32 @fgets(i8* %72, i32 256, i32 %73)
%75 = getelementptr inbounds [256 x i8], [256 x i8]* %18, i64 0, i64 0
%76 = call i64 @strtoul(i8* %75, i32* null, i32 10)
store i64 %76, i64* %19
%77 = load i64, i64* %19
%78 = call i8* @llvm.stacksave()
store i8* %78, i8** %20
%79 = alloca i32, i64 %77
store i64 %77, i64* %21
%80 = mul nuw i64 4, %77
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 %80)
%82 = bitcast [20 x i8]* %22 to i8*
%83 = getelementptr inbounds [20 x i8], [20 x i8]* %22, i64 0, i64 0
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %83)
%85 = getelementptr inbounds [20 x i8], [20 x i8]* %22, i64 0, i64 16
%86 = load i8, i8* %85
%87 = sext i8 %86 to i32
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %87)
store i32 97, i32* %23
store i8 97, i8* %24
%89 = bitcast [2 x [5 x i32]]* %25 to i8*
%90 = getelementptr inbounds [2 x [5 x i32]], [2 x [5 x i32]]* %25, i64 0, i64 0
%91 = getelementptr inbounds [5 x i32], [5 x i32]* %90, i64 0, i64 2
%92 = load i32, i32* %91
store i32 %92, i32* %26
store i32 1, i32* %27
store i32 2, i32* %28
store float 1.000000e+00, float* %29
store float 2.000000e+00, float* %30
store i32 0, i32* %32
store i32 0, i32* %31
%93 = load i32, i32* %27
%94 = load i32, i32* %28
%95 = add nsw i32 %93, %94
%96 = load i32, i32* %28
%97 = load i32, i32* %27
%98 = sub nsw i32 %96, %97
%99 = load i32, i32* %28
%100 = load i32, i32* %27
%101 = mul nsw i32 %99, %100
%102 = load i32, i32* %27
%103 = load i32, i32* %28
%104 = sdiv i32 %102, %103
%105 = load i32, i32* %27
%106 = sitofp i32 %105 to float
%107 = load i32, i32* %28
%108 = sitofp i32 %107 to float
%109 = fdiv float %106, %108
%110 = load i32, i32* %27
%111 = sitofp i32 %110 to double
%112 = load i32, i32* %28
%113 = sitofp i32 %112 to double
%114 = fdiv double %111, %113
%115 = load float, float* %29
%116 = load float, float* %30
%117 = fdiv float %115, %116
%118 = load i32, i32* %13
%119 = icmp slt i32 0, %118
br i1 %119, label %120, label %123
120: ; preds = %0
%121 = load i32, i32* %13
%122 = icmp slt i32 %121, 2
br label %123
123: ; preds = %120, %0
%124 = phi i1 [ false, %0 ], [ %122, %120 ]
%125 = zext i1 %124 to i32
store i32 %125, i32* %33
store i32 5, i32* %34
store i32 10, i32* %35
%126 = load i32, i32* %34
%127 = load i32, i32* %35
%128 = icmp sgt i32 %126, %127
br i1 %128, label %129, label %131
129: ; preds = %123
%130 = load i32, i32* %34
br label %133
131: ; preds = %123
%132 = load i32, i32* %35
br label %133
133: ; preds = %131, %129
%134 = phi i32 [ %130, %129 ], [ %132, %131 ]
store i32 %134, i32* %36
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %37
store i32 0, i32* %38
%135 = load i8*, i8** %37
%136 = load i32, i32* %38
%137 = add nsw i32 %136, 1
store i32 %137, i32* %38
%138 = sext i32 %136 to i64
%139 = getelementptr inbounds i8, i8* %135, i64 %138
%140 = load i8, i8* %139
store i32 0, i32* %38
%141 = load i8*, i8** %37
%142 = load i32, i32* %38
%143 = add nsw i32 %142, 1
store i32 %143, i32* %38
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, i8* %141, i64 %144
%146 = load i8, i8* %145
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %39
br label %148
148: ; preds = %151, %133
%149 = load i32, i32* %39
%150 = icmp slt i32 %149, 10
br i1 %150, label %151, label %155
151: ; preds = %148
%152 = load i32, i32* %39
%153 = add nsw i32 %152, 1
store i32 %153, i32* %39
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %152)
br label %148
155: ; preds = %148
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %40
br label %157
157: ; preds = %160, %155
%158 = load i32, i32* %40
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %158)
br label %160
160: ; preds = %157
%161 = load i32, i32* %40
%162 = add nsw i32 %161, 1
store i32 %162, i32* %40
%163 = icmp slt i32 %162, 10
br i1 %163, label %157, label %164
164: ; preds = %160
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %41
br label %166
166: ; preds = %172, %164
%167 = load i32, i32* %41
%168 = icmp slt i32 %167, 10
br i1 %168, label %169, label %175
169: ; preds = %166
%170 = load i32, i32* %41
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %170)
br label %172
172: ; preds = %169
%173 = load i32, i32* %41
%174 = add nsw i32 %173, 1
store i32 %174, i32* %41
br label %166
175: ; preds = %166
%176 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %42
br label %177
177: ; preds = %181, %175
%178 = load i32, i32* %42
%179 = icmp sle i32 %178, 5
br i1 %179, label %180, label %184
180: ; preds = %177
br label %181
181: ; preds = %180
%182 = load i32, i32* %42
%183 = add nsw i32 %182, 1
store i32 %183, i32* %42
br label %177
184: ; preds = %177
%185 = load i32, i32* %13
switch i32 %185, label %190 [
i32 0, label %186
i32 1, label %188
]
186: ; preds = %184
%187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0))
br label %194
188: ; preds = %184
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0))
br label %194
190: ; preds = %184
%191 = load i32, i32* @stderr
%192 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 %191)
%193 = call i32 @exit(i32 -1)
unreachable
194: ; preds = %188, %186
store i32 1, i32* %43
%195 = load i32, i32* %43
%196 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %195)
%197 = load i32, i32* %43
%198 = trunc i32 %197 to i16
%199 = sext i16 %198 to i32
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %199)
%201 = load i32, i32* %43
%202 = trunc i32 %201 to i8
%203 = sext i8 %202 to i32
%204 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %203)
%205 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), double 1.000000e+02)
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), double 1.000000e+02)
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 100)
store i32 0, i32* %44
%209 = bitcast i32* %44 to i8*
%210 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* %209)
store i32* %44, i32** %45
%211 = load i32*, i32** %45
%212 = bitcast i32* %211 to i8*
%213 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* %212)
%214 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i64 8, i64 4)
%215 = load i32*, i32** %45
%216 = load i32, i32* %215
%217 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %216)
%218 = load i32*, i32** %45
%219 = load i32, i32* %218
%220 = add nsw i32 %219, 1
store i32 %220, i32* %218
%221 = load i32*, i32** %45
%222 = load i32, i32* %221
%223 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %222)
%224 = load i32, i32* %44
%225 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %224)
store i32 0, i32* %48
br label %226
226: ; preds = %235, %194
%227 = load i32, i32* %48
%228 = icmp slt i32 %227, 20
br i1 %228, label %229, label %238
229: ; preds = %226
%230 = load i32, i32* %48
%231 = sub nsw i32 20, %230
%232 = load i32, i32* %48
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [20 x i32], [20 x i32]* %47, i64 0, i64 %233
store i32 %231, i32* %234
br label %235
235: ; preds = %229
%236 = load i32, i32* %48
%237 = add nsw i32 %236, 1
store i32 %237, i32* %48
br label %226
238: ; preds = %226
%239 = getelementptr inbounds [20 x i32], [20 x i32]* %47, i64 0, i64 0
store i32* %239, i32** %49
store [10 x i32]* %50, [10 x i32]** %51
%240 = bitcast [15 x i8]* %52 to i8*
%241 = getelementptr inbounds [10 x i32], [10 x i32]* %53, i64 0, i64 0
store i32* %241, i32** %54
%242 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i64 40, i64 8)
%243 = load i32*, i32** %49
%244 = getelementptr inbounds i32, i32* %243, i64 1
%245 = load i32, i32* %244
%246 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %245)
%247 = getelementptr inbounds [20 x i32], [20 x i32]* %47, i64 0, i64 1
%248 = load i32, i32* %247
%249 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %248)
%250 = call i32* @malloc(i32 80)
store i32* %250, i32** %55
store i32 0, i32* %48
br label %251
251: ; preds = %261, %238
%252 = load i32, i32* %48
%253 = icmp slt i32 %252, 20
br i1 %253, label %254, label %264
254: ; preds = %251
%255 = load i32, i32* %48
%256 = sub nsw i32 20, %255
%257 = load i32*, i32** %55
%258 = load i32, i32* %48
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i32, i32* %257, i64 %259
store i32 %256, i32* %260
br label %261
261: ; preds = %254
%262 = load i32, i32* %48
%263 = add nsw i32 %262, 1
store i32 %263, i32* %48
br label %251
264: ; preds = %251
%265 = load i32*, i32** %55
%266 = getelementptr inbounds i32, i32* %265, i64 21
%267 = load i32, i32* %266
%268 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %267)
%269 = load i32*, i32** %55
%270 = call i32 @free(i32* %269)
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.17, i64 0, i64 0), i8** %56
%271 = load i8*, i8** %56
%272 = load i8, i8* %271
%273 = sext i8 %272 to i32
%274 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 %273)
%275 = bitcast [4 x i8]* %57 to i8*
%276 = getelementptr inbounds [4 x i8], [4 x i8]* %57, i64 0, i64 0
store i8 97, i8* %276
%277 = call i32 (...) @function_1()
%278 = load i8*, i8** %20
%279 = load i32, i32* %1
ret i32 %279
}

LLVM IR (-O2):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [5 x i8] c"%zu\0A\00"
@.str.2 = [32 x i8] c"sizeof(a++) = %zu where a = %d\0A\00"
@.str.3 = [23 x i8] c"Enter the array size: \00"
@stdin = global i32 0
@.str.4 = [20 x i8] c"sizeof array = %zu\0A\00"
@__const.main.a_string = [20 x i8] c"This is a string\00\00\00\00"
@.str.8 = [5 x i8] c"%d, \00"
@stderr = global i32 0
@.str.13 = [4 x i8] c"%f\0A\00"
@.str.14 = [5 x i8] c"%lf\0A\00"
@.str.15 = [4 x i8] c"%p\0A\00"
@.str.16 = [10 x i8] c"%zu, %zu\0A\00"
@.str.18 = [4 x i8] c"%c\0A\00"
@str = [8 x i8] c"I print\00"
@str.19 = [19 x i8] c"Huh, 'a' equals 1!\00"
define i32 @main() {
%1 = alloca [256 x i8]
%2 = alloca [20 x i8]
%3 = alloca i32
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 4)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i64 4, i32 1)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 2)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%9 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%10 = load i32, i32* @stdin
%11 = call i32 @fgets(i8* %9, i32 256, i32 %10)
%12 = call i64 @strtoul(i8* nocapture %9, i32* null, i32 10)
%13 = call i8* @llvm.stacksave()
%14 = shl nuw i64 %12, 2
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 %14)
%16 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%17 = call i32 @puts(i8* %16)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%19 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 0)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 1)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 2)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 3)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 5)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 6)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 7)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 8)
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 9)
%30 = call i32 @putchar(i32 10)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 0)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 1)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 2)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 3)
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 5)
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 6)
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 7)
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 8)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 9)
%41 = call i32 @putchar(i32 10)
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 0)
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 1)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 2)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 3)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 5)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 6)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 7)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 8)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 9)
%52 = call i32 @putchar(i32 10)
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.19, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), double 1.000000e+02)
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), double 1.000000e+02)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 100)
%61 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i32* %3)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i32* %3)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i64 8, i64 4)
%65 = load i32, i32* %3
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %65)
%67 = load i32, i32* %3
%68 = add nsw i32 %67, 1
store i32 %68, i32* %3
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %68)
%70 = load i32, i32* %3
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %70)
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i64 40, i64 8)
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 19)
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 19)
%75 = call i32* @malloc(i32 80)
%76 = bitcast i32* %75 to <4 x i32>*
store <4 x i32> <i32 20, i32 19, i32 18, i32 17>, <4 x i32>* %76
%77 = getelementptr inbounds i32, i32* %75, i64 4
%78 = bitcast i32* %77 to <4 x i32>*
store <4 x i32> <i32 16, i32 15, i32 14, i32 13>, <4 x i32>* %78
%79 = getelementptr inbounds i32, i32* %75, i64 8
%80 = bitcast i32* %79 to <4 x i32>*
store <4 x i32> <i32 12, i32 11, i32 10, i32 9>, <4 x i32>* %80
%81 = getelementptr inbounds i32, i32* %75, i64 12
%82 = bitcast i32* %81 to <4 x i32>*
store <4 x i32> <i32 8, i32 7, i32 6, i32 5>, <4 x i32>* %82
%83 = getelementptr inbounds i32, i32* %75, i64 16
%84 = bitcast i32* %83 to <4 x i32>*
store <4 x i32> <i32 4, i32 3, i32 2, i32 1>, <4 x i32>* %84
%85 = getelementptr inbounds i32, i32* %75, i64 21
%86 = load i32, i32* %85
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %86)
%88 = call i32 @free(i32* %75)
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 84)
%90 = call i32 (...) @function_1()
ret i32 0
}