#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 f1(char *);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  char array_1[10] = "123qweasd";
  int i = 0;
  int rez = 0;
  char *p_c;
  char *s;
  printf("====================================================\n");
  printf("\n\nHere we have pointers p_c and s; char array array_1 = '%s';\n\n",
         array_1);
  for (i = 0; i < 10; i++) {
    printf("array_1 [ %d ] = %c;\n", i, array_1[i]);
  }
  p_c = array_1;
  printf("\nExamples of pointer operations:\n");
  printf("\n* ( p_c = array_1 ) = %c;\n", *p_c);
  printf("\np_c [ 2 ] = %c;\n", p_c[2]);
  printf("\n* ( p_c + 2 ) = %c;\n", *(p_c + 2));
  printf("\np_c + 5 = %p; and & array_1 [ 5 ] = %p;\n", p_c + 5, &array_1[5]);
  s = p_c;
  printf("\ns = p_c;\n");
  printf("s = %p; and p_c = %p;\n", s, p_c);
  printf("====================================================\n");
  printf("\nFunction f1 counts all non zero symbols and puts rezult in value "
         "rez;\n");
  printf(
      "while using this function we check that operations inside function\n");
  printf("do not do any influence at the source array address;\n");
  printf("\nbefore f1 rez = %d; and array_1 = %p;\n", rez, array_1);
  rez = f1(array_1);
  printf("after f1 rez = %d; and array_1 = %p;\n\n", rez, array_1);
  printf("====================================================\n");
  printf("Here we describe all valid operations with pointers:\n\n");
  printf("Assignment of pointers of the same type'\n\n");
  printf("Adding or subtracting a pointer and an integer;\n\n");
  printf("Subtracting or comparing two pointers to members of the same array "
         "and assigning or comparing to zero;\n\n");
  printf("====================================================\n");
  printf("This operations are NOT legal:\n\n");
  printf("To add two pointers or to multipry or to divide or shift or mask "
         "them;\n\n");
  printf("Or to add float or double to them;\n\n");
  printf("Or even, except for void *, to assign a pointer of one type to a "
         "pointer of another type without a cast;\n\n");
  printf("====================================================\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeca(%rip),%rax
mov    %rax,-0xe(%rbp)
mov    0xec7(%rip),%ax
mov    %ax,-0x6(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xe(%rbp),%rsi
lea    0xed4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    11ac <main+0x8c>
mov    -0x14(%rbp),%esi
movslq -0x14(%rbp),%rax
movsbl -0xe(%rbp,%rax,1),%edx
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    117a <main+0x5a>
lea    -0xe(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
movsbl (%rax),%esi
lea    0xee8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
movsbl 0x2(%rax),%esi
lea    0xeee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
movsbl 0x2(%rax),%esi
lea    0xeea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rsi
add    $0x5,%rsi
lea    -0xe(%rbp),%rdx
add    $0x5,%rdx
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
lea    0xef6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rsi
mov    -0x20(%rbp),%rdx
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    -0xe(%rbp),%rdx
lea    0xf77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xe(%rbp),%rdi
call   1040 <f1@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
lea    -0xe(%rbp),%rdx
lea    0xf7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1040(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1053(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x108e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18,%rsp
movabs $0x7361657771333231,%rax
65 61 73
mov    %rax,0x8(%rsp)
movw   $0x64,0x10(%rsp)
lea    0x12b5(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xea3(%rip),%rdi
lea    0x8(%rsp),%r15
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x8(%rsp),%edx
lea    0xec8(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x9(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xa(%rsp),%edx
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xb(%rsp),%edx
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xc(%rsp),%edx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd(%rsp),%r12
movsbl 0xd(%rsp),%edx
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xe(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xf(%rsp),%edx
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x10(%rsp),%edx
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x11(%rsp),%edx
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee6(%rip),%rdi
call   1030 <puts@plt>
movsbl 0x8(%rsp),%esi
lea    0xe01(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xa(%rsp),%esi
lea    0xe0a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xa(%rsp),%esi
lea    0xe09(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe11(%rip),%rdi
mov    %r12,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeae(%rip),%rdi
call   1030 <puts@plt>
lea    0xe1b(%rip),%rdi
mov    %r15,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe90(%rip),%rdi
call   1030 <puts@plt>
lea    0xecb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xdf2(%rip),%rdi
xor    %esi,%esi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
call   1050 <f1@plt>
lea    0xdff(%rip),%rdi
mov    %eax,%esi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xfb6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfca(%rip),%rdi
call   1030 <puts@plt>
lea    0x1006(%rip),%rdi
call   1030 <puts@plt>
lea    0x101e(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.array_1 = [10 x i8] c"123qweasd\00"
@.str = [54 x i8] c"====================================================\0A\00"
@.str.1 = [64 x i8] c"\0A\0AHere we have pointers p_c and s; char array array_1 = '%s';\0A\0A\00"
@.str.2 = [22 x i8] c"array_1 [ %d ] = %c;\0A\00"
@.str.3 = [34 x i8] c"\0AExamples of pointer operations:\0A\00"
@.str.4 = [28 x i8] c"\0A* ( p_c = array_1 ) = %c;\0A\00"
@.str.5 = [18 x i8] c"\0Ap_c [ 2 ] = %c;\0A\00"
@.str.6 = [22 x i8] c"\0A* ( p_c + 2 ) = %c;\0A\00"
@.str.7 = [42 x i8] c"\0Ap_c + 5 = %p; and & array_1 [ 5 ] = %p;\0A\00"
@.str.8 = [11 x i8] c"\0As = p_c;\0A\00"
@.str.9 = [23 x i8] c"s = %p; and p_c = %p;\0A\00"
@.str.10 = [72 x i8] c"\0AFunction f1 counts all non zero symbols and puts rezult in value rez;\0A\00"
@.str.11 = [68 x i8] c"while using this function we check that operations inside function\0A\00"
@.str.12 = [54 x i8] c"do not do any influence at the source array address;\0A\00"
@.str.13 = [40 x i8] c"\0Abefore f1 rez = %d; and array_1 = %p;\0A\00"
@.str.14 = [39 x i8] c"after f1 rez = %d; and array_1 = %p;\0A\0A\00"
@.str.15 = [55 x i8] c"Here we describe all valid operations with pointers:\0A\0A\00"
@.str.16 = [43 x i8] c"Assignment of pointers of the same type'\0A\0A\00"
@.str.17 = [50 x i8] c"Adding or subtracting a pointer and an integer;\0A\0A\00"
@.str.18 = [105 x i8] c"Subtracting or comparing two pointers to members of the same array and assigning or comparing to zero;\0A\0A\00"
@.str.19 = [33 x i8] c"This operations are NOT legal:\0A\0A\00"
@.str.20 = [73 x i8] c"To add two pointers or to multipry or to divide or shift or mask them;\0A\0A\00"
@.str.21 = [37 x i8] c"Or to add float or double to them;\0A\0A\00"
@.str.22 = [107 x i8] c"Or even, except for void *, to assign a pointer of one type to a pointer of another type without a cast;\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x i8]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
store i32 0, i32* %1
%7 = bitcast [10 x i8]* %2 to i8*
store i32 0, i32* %3
store i32 0, i32* %4
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%9 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0), i8* %9)
store i32 0, i32* %3
br label %11
11: ; preds = %22, %0
%12 = load i32, i32* %3
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load i32, i32* %3
%16 = load i32, i32* %3
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 %17
%19 = load i8, i8* %18
%20 = sext i8 %19 to i32
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %15, i32 %20)
br label %22
22: ; preds = %14
%23 = load i32, i32* %3
%24 = add nsw i32 %23, 1
store i32 %24, i32* %3
br label %11
25: ; preds = %11
%26 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
store i8* %26, i8** %5
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%28 = load i8*, i8** %5
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %30)
%32 = load i8*, i8** %5
%33 = getelementptr inbounds i8, i8* %32, i64 2
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %35)
%37 = load i8*, i8** %5
%38 = getelementptr inbounds i8, i8* %37, i64 2
%39 = load i8, i8* %38
%40 = sext i8 %39 to i32
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i32 %40)
%42 = load i8*, i8** %5
%43 = getelementptr inbounds i8, i8* %42, i64 5
%44 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 5
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), i8* %43, i8* %44)
%46 = load i8*, i8** %5
store i8* %46, i8** %6
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%48 = load i8*, i8** %6
%49 = load i8*, i8** %5
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %48, i8* %49)
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.10, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.12, i64 0, i64 0))
%55 = load i32, i32* %4
%56 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.13, i64 0, i64 0), i32 %55, i8* %56)
%58 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%59 = call i32 @f1(i8* %58)
store i32 %59, i32* %4
%60 = load i32, i32* %4
%61 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i32 %60, i8* %61)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.15, i64 0, i64 0))
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.16, i64 0, i64 0))
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.17, i64 0, i64 0))
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([105 x i8], [105 x i8]* @.str.18, i64 0, i64 0))
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0))
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.20, i64 0, i64 0))
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.21, i64 0, i64 0))
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.22, i64 0, i64 0))
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@__const.main.array_1 = [10 x i8] c"123qweasd\00"
@.str.1 = [64 x i8] c"\0A\0AHere we have pointers p_c and s; char array array_1 = '%s';\0A\0A\00"
@.str.2 = [22 x i8] c"array_1 [ %d ] = %c;\0A\00"
@.str.4 = [28 x i8] c"\0A* ( p_c = array_1 ) = %c;\0A\00"
@.str.5 = [18 x i8] c"\0Ap_c [ 2 ] = %c;\0A\00"
@.str.6 = [22 x i8] c"\0A* ( p_c + 2 ) = %c;\0A\00"
@.str.7 = [42 x i8] c"\0Ap_c + 5 = %p; and & array_1 [ 5 ] = %p;\0A\00"
@.str.9 = [23 x i8] c"s = %p; and p_c = %p;\0A\00"
@.str.13 = [40 x i8] c"\0Abefore f1 rez = %d; and array_1 = %p;\0A\00"
@.str.14 = [39 x i8] c"after f1 rez = %d; and array_1 = %p;\0A\0A\00"
@str.23 = [33 x i8] c"\0AExamples of pointer operations:\00"
@str.24 = [10 x i8] c"\0As = p_c;\00"
@str.26 = [71 x i8] c"\0AFunction f1 counts all non zero symbols and puts rezult in value rez;\00"
@str.27 = [67 x i8] c"while using this function we check that operations inside function\00"
@str.28 = [53 x i8] c"do not do any influence at the source array address;\00"
@str.30 = [54 x i8] c"Here we describe all valid operations with pointers:\0A\00"
@str.31 = [42 x i8] c"Assignment of pointers of the same type'\0A\00"
@str.32 = [49 x i8] c"Adding or subtracting a pointer and an integer;\0A\00"
@str.33 = [104 x i8] c"Subtracting or comparing two pointers to members of the same array and assigning or comparing to zero;\0A\00"
@str.35 = [32 x i8] c"This operations are NOT legal:\0A\00"
@str.36 = [72 x i8] c"To add two pointers or to multipry or to divide or shift or mask them;\0A\00"
@str.37 = [36 x i8] c"Or to add float or double to them;\0A\00"
@str.38 = [106 x i8] c"Or even, except for void *, to assign a pointer of one type to a pointer of another type without a cast;\0A\00"
@str.39 = [53 x i8] c"====================================================\00"
define i32 @main() {
%1 = alloca [10 x i8]
%2 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0), i8* %2)
%5 = load i8, i8* %2
%6 = sext i8 %5 to i32
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %6)
%8 = getelementptr inbounds [10 x i8], [10 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 ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 %10)
%12 = getelementptr inbounds [10 x i8], [10 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 ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 %14)
%16 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 3
%17 = load i8, i8* %16
%18 = sext i8 %17 to i32
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 %18)
%20 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 4
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 %22)
%24 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 5
%25 = load i8, i8* %24
%26 = sext i8 %25 to i32
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 5, i32 %26)
%28 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 6
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 6, i32 %30)
%32 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 7
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 7, i32 %34)
%36 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 8
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 8, i32 %38)
%40 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 9
%41 = load i8, i8* %40
%42 = sext i8 %41 to i32
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 %42)
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.23, i64 0, i64 0))
%45 = load i8, i8* %2
%46 = sext i8 %45 to i32
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %46)
%48 = load i8, i8* %12
%49 = sext i8 %48 to i32
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %49)
%51 = load i8, i8* %12
%52 = sext i8 %51 to i32
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i32 %52)
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), i8* %24, i8* %24)
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.24, i64 0, i64 0))
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %2, i8* %2)
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.26, i64 0, i64 0))
%59 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.27, i64 0, i64 0))
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.28, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.13, i64 0, i64 0), i32 0, i8* %2)
%62 = call i32 @f1(i8* %2)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i32 %62, i8* %2)
%64 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.30, i64 0, i64 0))
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.31, i64 0, i64 0))
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.32, i64 0, i64 0))
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([104 x i8], [104 x i8]* @str.33, i64 0, i64 0))
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
%70 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.35, i64 0, i64 0))
%71 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.36, i64 0, i64 0))
%72 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.37, i64 0, i64 0))
%73 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @str.38, i64 0, i64 0))
%74 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
ret i32 0
}