#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 */
scalar_t__ c_insensitive(char *, char *);
char getchar();
int /*<<< orphan*/ gets(char *);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  char input[10][64];
  char *isort[10];
  char *temp;
  int x, a, b;
  printf("Enter %d types of fruits:\n", 10);
  for (x = 0; x < 10; x++) {
    printf("#%d: ", x + 1);
    gets(input[x]);
    isort[x] = input[x];
  }
  for (a = 0; a < 10 - 1; a++)
    for (b = a + 1; b < 10; b++)
      if (c_insensitive(isort[a], isort[b]) > 0) {
        temp = isort[a];
        isort[a] = isort[b];
        isort[b] = temp;
      }
  printf("\n\nSorted list:\tOriginal list:\n");
  for (x = 0; x < 10; x++)
    printf("%12s\t%12s\n", isort[x], input[x]);
  while (getchar() != '~')
    continue;
  getchar();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x300,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea7(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x2ec(%rbp)
cmpl   $0xa,-0x2ec(%rbp)
jge    11e5 <main+0xa5>
mov    -0x2ec(%rbp),%esi
add    $0x1,%esi
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x2ec(%rbp),%rax
lea    -0x290(%rbp),%rdi
shl    $0x6,%rax
add    %rax,%rdi
call   1060 <gets@plt>
movslq -0x2ec(%rbp),%rax
lea    -0x290(%rbp),%rcx
shl    $0x6,%rax
add    %rax,%rcx
movslq -0x2ec(%rbp),%rax
mov    %rcx,-0x2e0(%rbp,%rax,8)
ff
mov    -0x2ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2ec(%rbp)
jmp    116f <main+0x2f>
movl   $0x0,-0x2f0(%rbp)
cmpl   $0x9,-0x2f0(%rbp)
jge    12c1 <main+0x181>
mov    -0x2f0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2f4(%rbp)
cmpl   $0xa,-0x2f4(%rbp)
jge    12a8 <main+0x168>
movslq -0x2f0(%rbp),%rax
mov    -0x2e0(%rbp,%rax,8),%rdi
ff
movslq -0x2f4(%rbp),%rax
mov    -0x2e0(%rbp,%rax,8),%rsi
ff
call   1050 <c_insensitive@plt>
cmp    $0x0,%rax
jle    128f <main+0x14f>
movslq -0x2f0(%rbp),%rax
mov    -0x2e0(%rbp,%rax,8),%rax
ff
mov    %rax,-0x2e8(%rbp)
movslq -0x2f4(%rbp),%rax
mov    -0x2e0(%rbp,%rax,8),%rcx
ff
movslq -0x2f0(%rbp),%rax
mov    %rcx,-0x2e0(%rbp,%rax,8)
ff
mov    -0x2e8(%rbp),%rcx
movslq -0x2f4(%rbp),%rax
mov    %rcx,-0x2e0(%rbp,%rax,8)
ff
jmp    1294 <main+0x154>
mov    -0x2f4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2f4(%rbp)
jmp    120b <main+0xcb>
jmp    12ad <main+0x16d>
mov    -0x2f0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2f0(%rbp)
jmp    11ef <main+0xaf>
lea    0xd59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x2ec(%rbp)
cmpl   $0xa,-0x2ec(%rbp)
jge    132c <main+0x1ec>
movslq -0x2ec(%rbp),%rax
mov    -0x2e0(%rbp,%rax,8),%rsi
ff
movslq -0x2ec(%rbp),%rax
lea    -0x290(%rbp),%rdx
shl    $0x6,%rax
add    %rax,%rdx
lea    0xd2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2ec(%rbp)
jmp    12d9 <main+0x199>
jmp    1331 <main+0x1f1>
mov    $0x0,%al
call   1040 <getchar@plt>
movsbl %al,%eax
cmp    $0x7e,%eax
je     1349 <main+0x209>
jmp    1331 <main+0x1f1>
mov    $0x0,%al
call   1040 <getchar@plt>
xor    %eax,%eax
add    $0x300,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2d8,%rsp
lea    0xe98(%rip),%rdi
xor    %r15d,%r15d
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe9d(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x50(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x90(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd0(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x10(%rsp)
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x110(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x18(%rsp)
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x150(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x20(%rsp)
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x190(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x28(%rsp)
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1d0(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x30(%rsp)
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x210(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x38(%rsp)
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x250(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <gets@plt>
mov    %rbp,0x40(%rsp)
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x290(%rsp),%rbx
mov    %rbx,%rdi
call   1070 <gets@plt>
mov    %rbx,0x48(%rsp)
mov    $0x1,%r12d
jmp    12fa <main+0x1aa>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r12
cmp    $0x9,%r15
je     133c <main+0x1ec>
mov    %r15,%r14
add    $0x1,%r15
mov    %r12,%rbp
jmp    131a <main+0x1ca>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    $0xa,%rbp
je     12f0 <main+0x1a0>
mov    (%rsp,%r14,8),%rbx
mov    (%rsp,%rbp,8),%r13
mov    %rbx,%rdi
mov    %r13,%rsi
call   1060 <c_insensitive@plt>
test   %rax,%rax
jle    1310 <main+0x1c0>
mov    %r13,(%rsp,%r14,8)
mov    %rbx,(%rsp,%rbp,8)
jmp    1310 <main+0x1c0>
lea    0xce9(%rip),%rdi
call   1030 <puts@plt>
mov    (%rsp),%rsi
lea    0xcce(%rip),%rbx
lea    0x50(%rsp),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
lea    0x90(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%rsi
mov    %rbx,%rdi
lea    0xd0(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%rsi
mov    %rbx,%rdi
lea    0x110(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%rsi
mov    %rbx,%rdi
lea    0x150(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%rsi
mov    %rbx,%rdi
lea    0x190(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%rsi
mov    %rbx,%rdi
lea    0x1d0(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%rsi
mov    %rbx,%rdi
lea    0x210(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%rsi
mov    %rbx,%rdi
lea    0x250(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x48(%rsp),%rsi
mov    %rbx,%rdi
lea    0x290(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <getchar@plt>
cmp    $0x7e,%al
jne    1440 <main+0x2f0>
xor    %eax,%eax
call   1050 <getchar@plt>
xor    %eax,%eax
add    $0x2d8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [27 x i8] c"Enter %d types of fruits:\0A\00"
@.str.1 = [6 x i8] c"#%d: \00"
@.str.2 = [31 x i8] c"\0A\0ASorted list:\09Original list:\0A\00"
@.str.3 = [11 x i8] c"%12s\09%12s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x [64 x i8]]
%3 = alloca [10 x i8*]
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 10)
store i32 0, i32* %5
br label %9
9: ; preds = %28, %0
%10 = load i32, i32* %5
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %31
12: ; preds = %9
%13 = load i32, i32* %5
%14 = add nsw i32 %13, 1
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %14)
%16 = load i32, i32* %5
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %2, i64 0, i64 %17
%19 = getelementptr inbounds [64 x i8], [64 x i8]* %18, i64 0, i64 0
%20 = call i32 @gets(i8* %19)
%21 = load i32, i32* %5
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %2, i64 0, i64 %22
%24 = getelementptr inbounds [64 x i8], [64 x i8]* %23, i64 0, i64 0
%25 = load i32, i32* %5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %26
store i8* %24, i8** %27
br label %28
28: ; preds = %12
%29 = load i32, i32* %5
%30 = add nsw i32 %29, 1
store i32 %30, i32* %5
br label %9
31: ; preds = %9
store i32 0, i32* %6
br label %32
32: ; preds = %73, %31
%33 = load i32, i32* %6
%34 = icmp slt i32 %33, 9
br i1 %34, label %35, label %76
35: ; preds = %32
%36 = load i32, i32* %6
%37 = add nsw i32 %36, 1
store i32 %37, i32* %7
br label %38
38: ; preds = %69, %35
%39 = load i32, i32* %7
%40 = icmp slt i32 %39, 10
br i1 %40, label %41, label %72
41: ; preds = %38
%42 = load i32, i32* %6
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %43
%45 = load i8*, i8** %44
%46 = load i32, i32* %7
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %47
%49 = load i8*, i8** %48
%50 = call i64 @c_insensitive(i8* %45, i8* %49)
%51 = icmp sgt i64 %50, 0
br i1 %51, label %52, label %68
52: ; preds = %41
%53 = load i32, i32* %6
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %54
%56 = load i8*, i8** %55
store i8* %56, i8** %4
%57 = load i32, i32* %7
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %58
%60 = load i8*, i8** %59
%61 = load i32, i32* %6
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %62
store i8* %60, i8** %63
%64 = load i8*, i8** %4
%65 = load i32, i32* %7
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %66
store i8* %64, i8** %67
br label %68
68: ; preds = %52, %41
br label %69
69: ; preds = %68
%70 = load i32, i32* %7
%71 = add nsw i32 %70, 1
store i32 %71, i32* %7
br label %38
72: ; preds = %38
br label %73
73: ; preds = %72
%74 = load i32, i32* %6
%75 = add nsw i32 %74, 1
store i32 %75, i32* %6
br label %32
76: ; preds = %32
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %5
br label %78
78: ; preds = %91, %76
%79 = load i32, i32* %5
%80 = icmp slt i32 %79, 10
br i1 %80, label %81, label %94
81: ; preds = %78
%82 = load i32, i32* %5
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 %83
%85 = load i8*, i8** %84
%86 = load i32, i32* %5
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %2, i64 0, i64 %87
%89 = getelementptr inbounds [64 x i8], [64 x i8]* %88, i64 0, i64 0
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %85, i8* %89)
br label %91
91: ; preds = %81
%92 = load i32, i32* %5
%93 = add nsw i32 %92, 1
store i32 %93, i32* %5
br label %78
94: ; preds = %78
br label %95
95: ; preds = %99, %94
%96 = call signext i8 (...) @getchar()
%97 = sext i8 %96 to i32
%98 = icmp ne i32 %97, 126
br i1 %98, label %99, label %100
99: ; preds = %95
br label %95
100: ; preds = %95
%101 = call signext i8 (...) @getchar()
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"Enter %d types of fruits:\0A\00"
@.str.1 = [6 x i8] c"#%d: \00"
@.str.3 = [11 x i8] c"%12s\09%12s\0A\00"
@str = [30 x i8] c"\0A\0ASorted list:\09Original list:\00"
define i32 @main() {
%1 = alloca [10 x [64 x i8]]
%2 = alloca [10 x i8*]
%3 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 0, i64 0
%4 = bitcast [10 x i8*]* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 10)
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 1)
%7 = call i32 @gets(i8* %3)
%8 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 0
store i8* %3, i8** %8
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 2)
%10 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 1, i64 0
%11 = call i32 @gets(i8* %10)
%12 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 1
store i8* %10, i8** %12
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 3)
%14 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 2, i64 0
%15 = call i32 @gets(i8* %14)
%16 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 2
store i8* %14, i8** %16
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 4)
%18 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 3, i64 0
%19 = call i32 @gets(i8* %18)
%20 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 3
store i8* %18, i8** %20
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 5)
%22 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 4, i64 0
%23 = call i32 @gets(i8* %22)
%24 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 4
store i8* %22, i8** %24
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 6)
%26 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 5, i64 0
%27 = call i32 @gets(i8* %26)
%28 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 5
store i8* %26, i8** %28
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 7)
%30 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 6, i64 0
%31 = call i32 @gets(i8* %30)
%32 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 6
store i8* %30, i8** %32
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 8)
%34 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 7, i64 0
%35 = call i32 @gets(i8* %34)
%36 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 7
store i8* %34, i8** %36
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 9)
%38 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 8, i64 0
%39 = call i32 @gets(i8* %38)
%40 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 8
store i8* %38, i8** %40
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 10)
%42 = getelementptr inbounds [10 x [64 x i8]], [10 x [64 x i8]]* %1, i64 0, i64 9, i64 0
%43 = call i32 @gets(i8* %42)
%44 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 9
store i8* %42, i8** %44
br label %48
45: ; preds = %61
%46 = add nuw nsw i64 %50, 1
%47 = icmp eq i64 %51, 9
br i1 %47, label %64, label %48
48: ; preds = %45, %0
%49 = phi i64 [ 0, %0 ], [ %51, %45 ]
%50 = phi i64 [ 1, %0 ], [ %46, %45 ]
%51 = add nuw nsw i64 %49, 1
%52 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 %49
br label %53
53: ; preds = %48, %61
%54 = phi i64 [ %50, %48 ], [ %62, %61 ]
%55 = load i8*, i8** %52
%56 = getelementptr inbounds [10 x i8*], [10 x i8*]* %2, i64 0, i64 %54
%57 = load i8*, i8** %56
%58 = call i64 @c_insensitive(i8* %55, i8* %57)
%59 = icmp sgt i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %53
store i8* %57, i8** %52
store i8* %55, i8** %56
br label %61
61: ; preds = %53, %60
%62 = add nuw nsw i64 %54, 1
%63 = icmp eq i64 %62, 10
br i1 %63, label %45, label %53
64: ; preds = %45
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%66 = load i8*, i8** %8
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %66, i8* %3)
%68 = load i8*, i8** %12
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %68, i8* %10)
%70 = load i8*, i8** %16
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %70, i8* %14)
%72 = load i8*, i8** %20
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %72, i8* %18)
%74 = load i8*, i8** %24
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %74, i8* %22)
%76 = load i8*, i8** %28
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %76, i8* %26)
%78 = load i8*, i8** %32
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %78, i8* %30)
%80 = load i8*, i8** %36
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %80, i8* %34)
%82 = load i8*, i8** %40
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %82, i8* %38)
%84 = load i8*, i8** %44
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %84, i8* %42)
br label %86
86: ; preds = %64, %86
%87 = call signext i8 (...) @getchar()
%88 = icmp eq i8 %87, 126
br i1 %88, label %89, label %86
89: ; preds = %86
%90 = call signext i8 (...) @getchar()
ret i32 0
}