#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 EXIT_SUCCESS;
int /*<<< orphan*/ fget(char *, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ sprintf(char *, char *, char *);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ system(char *);
int ideviceprovision() {
  char choice[80];
  char buildCommand[1024];
  char path[1024];
  char UUID[80];
  system("clear");
  printf("1) Install a validate profile\n");
  printf("2) List all profiles installed on the device\n");
  printf("3) Copy all profiles from the device to the host\n");
  printf("4) Remove profile using his UUID\n");
  printf("5) Display informations about a profile\n");
  fget(choice, 80);
  if (strcmp(choice, "install") == 0 || strcmp(choice, "1") == 0) {
    printf("Enter the directory to the file : ");
    fget(path, 1024);
    sprintf(buildCommand, "ideviceprovision install %s", path);
    system(buildCommand);
  }
  if (strcmp(choice, "list") == 0 || strcmp(choice, "2") == 0) {
    system("ideviceprovision list");
  }
  if (strcmp(choice, "copy") == 0 || strcmp(choice, "3") == 0) {
    printf("Enter the directory to copy the files : ");
    fget(path, 1024);
    sprintf(buildCommand, "ideviceprovision copy %s", path);
    system(buildCommand);
  }
  if (strcmp(choice, "remove") == 0 || strcmp(choice, "4") == 0) {
    printf("Enter the UUID of the profile : ");
    fget(UUID, 80);
    sprintf(buildCommand, "ideviceprovision remove %s", UUID);
    system(buildCommand);
  }
  if (strcmp(choice, "display") == 0 || strcmp(choice, "5") == 0) {
    printf("Enter the directory to the file to dump : ");
    fget(path, 1024);
    sprintf(buildCommand, "ideviceprovision dump %s", path);
    system(buildCommand);
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<ideviceprovision>:
push   %rbp
mov    %rsp,%rbp
sub    $0x8a0,%rsp
lea    0xe9e(%rip),%rdi
call   1030 <system@plt>
lea    0xe98(%rip),%rdi
call   1040 <printf@plt>
lea    0xeab(%rip),%rdi
call   1040 <printf@plt>
lea    0xecd(%rip),%rdi
call   1040 <printf@plt>
lea    0xef3(%rip),%rdi
call   1040 <printf@plt>
lea    0xf09(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0x50,%esi
call   1050 <fget@plt>
lea    -0x50(%rbp),%rdi
lea    0xf14(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     11e5 <ideviceprovision+0x95>
lea    -0x50(%rbp),%rdi
lea    0xf02(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1228 <ideviceprovision+0xd8>
lea    0xeee(%rip),%rdi
call   1040 <printf@plt>
lea    -0x850(%rbp),%rdi
mov    $0x400,%esi
call   1050 <fget@plt>
lea    -0x450(%rbp),%rdi
lea    -0x850(%rbp),%rdx
lea    0xee6(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x450(%rbp),%rdi
call   1030 <system@plt>
lea    -0x50(%rbp),%rdi
lea    0xef9(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     125c <ideviceprovision+0x10c>
lea    -0x50(%rbp),%rdi
lea    0xecc(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1268 <ideviceprovision+0x118>
lea    0xeb8(%rip),%rdi
call   1030 <system@plt>
lea    -0x50(%rbp),%rdi
lea    0xebe(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     129c <ideviceprovision+0x14c>
lea    -0x50(%rbp),%rdi
lea    0xea9(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    12df <ideviceprovision+0x18f>
lea    0xe95(%rip),%rdi
call   1040 <printf@plt>
lea    -0x850(%rbp),%rdi
mov    $0x400,%esi
call   1050 <fget@plt>
lea    -0x450(%rbp),%rdi
lea    -0x850(%rbp),%rdx
lea    0xe93(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x450(%rbp),%rdi
call   1030 <system@plt>
lea    -0x50(%rbp),%rdi
lea    0xe90(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1313 <ideviceprovision+0x1c3>
lea    -0x50(%rbp),%rdi
lea    0xe7d(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1356 <ideviceprovision+0x206>
lea    0xe69(%rip),%rdi
call   1040 <printf@plt>
lea    -0x8a0(%rbp),%rdi
mov    $0x50,%esi
call   1050 <fget@plt>
lea    -0x450(%rbp),%rdi
lea    -0x8a0(%rbp),%rdx
lea    0xe5f(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x450(%rbp),%rdi
call   1030 <system@plt>
lea    -0x50(%rbp),%rdi
lea    0xe5e(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     138a <ideviceprovision+0x23a>
lea    -0x50(%rbp),%rdi
lea    0xe4c(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    13cd <ideviceprovision+0x27d>
lea    0xe38(%rip),%rdi
call   1040 <printf@plt>
lea    -0x850(%rbp),%rdi
mov    $0x400,%esi
call   1050 <fget@plt>
lea    -0x450(%rbp),%rdi
lea    -0x850(%rbp),%rdx
lea    0xe38(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x450(%rbp),%rdi
call   1030 <system@plt>
mov    0x2c0c(%rip),%rax
mov    (%rax),%eax
add    $0x8a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ideviceprovision>:
push   %r14
push   %rbx
sub    $0x8a8,%rsp
lea    0xe8f(%rip),%rdi
call   1040 <system@plt>
lea    0xfc6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0xff9(%rip),%rdi
call   1030 <puts@plt>
lea    0x101e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1033(%rip),%rdi
call   1030 <puts@plt>
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x50,%esi
call   1060 <fget@plt>
lea    0xe3d(%rip),%rsi
mov    %rbx,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     11ea <ideviceprovision+0x8a>
lea    0xe31(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    122d <ideviceprovision+0xcd>
lea    0xe1f(%rip),%rdi
call   1050 <printf@plt>
lea    0x4a0(%rsp),%r14
mov    %r14,%rdi
mov    $0x400,%esi
call   1060 <fget@plt>
lea    0xe21(%rip),%rsi
lea    0xa0(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
lea    0xe2e(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1255 <ideviceprovision+0xf5>
lea    0xe07(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    1261 <ideviceprovision+0x101>
lea    0xdf5(%rip),%rdi
call   1040 <system@plt>
lea    0xdff(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1289 <ideviceprovision+0x129>
lea    0xdf0(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    12cc <ideviceprovision+0x16c>
lea    0xdde(%rip),%rdi
call   1050 <printf@plt>
lea    0x4a0(%rsp),%r14
mov    %r14,%rdi
mov    $0x400,%esi
call   1060 <fget@plt>
lea    0xde6(%rip),%rsi
lea    0xa0(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
lea    0xddd(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     12f4 <ideviceprovision+0x194>
lea    0xdd0(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    1334 <ideviceprovision+0x1d4>
lea    0xdbe(%rip),%rdi
call   1050 <printf@plt>
lea    0x50(%rsp),%r14
mov    %r14,%rdi
mov    $0x50,%esi
call   1060 <fget@plt>
lea    0xdc1(%rip),%rsi
lea    0xa0(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
lea    0xdba(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     135c <ideviceprovision+0x1fc>
lea    0xdae(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    139f <ideviceprovision+0x23f>
lea    0xd9c(%rip),%rdi
call   1050 <printf@plt>
lea    0x4a0(%rsp),%r14
mov    %r14,%rdi
mov    $0x400,%esi
call   1060 <fget@plt>
lea    0xda6(%rip),%rsi
lea    0xa0(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
mov    0x2c3a(%rip),%rax
mov    (%rax),%eax
add    $0x8a8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [6 x i8] c"clear\00"
@.str.1 = [31 x i8] c"1) Install a validate profile\0A\00"
@.str.2 = [46 x i8] c"2) List all profiles installed on the device\0A\00"
@.str.3 = [50 x i8] c"3) Copy all profiles from the device to the host\0A\00"
@.str.4 = [34 x i8] c"4) Remove profile using his UUID\0A\00"
@.str.5 = [41 x i8] c"5) Display informations about a profile\0A\00"
@.str.6 = [8 x i8] c"install\00"
@.str.7 = [2 x i8] c"1\00"
@.str.8 = [35 x i8] c"Enter the directory to the file : \00"
@.str.9 = [28 x i8] c"ideviceprovision install %s\00"
@.str.10 = [5 x i8] c"list\00"
@.str.11 = [2 x i8] c"2\00"
@.str.12 = [22 x i8] c"ideviceprovision list\00"
@.str.13 = [5 x i8] c"copy\00"
@.str.14 = [2 x i8] c"3\00"
@.str.15 = [41 x i8] c"Enter the directory to copy the files : \00"
@.str.16 = [25 x i8] c"ideviceprovision copy %s\00"
@.str.17 = [7 x i8] c"remove\00"
@.str.18 = [2 x i8] c"4\00"
@.str.19 = [33 x i8] c"Enter the UUID of the profile : \00"
@.str.20 = [27 x i8] c"ideviceprovision remove %s\00"
@.str.21 = [8 x i8] c"display\00"
@.str.22 = [2 x i8] c"5\00"
@.str.23 = [43 x i8] c"Enter the directory to the file to dump : \00"
@.str.24 = [25 x i8] c"ideviceprovision dump %s\00"
@EXIT_SUCCESS = global i32 0
define i32 @ideviceprovision() {
%1 = alloca [80 x i8]
%2 = alloca [1024 x i8]
%3 = alloca [1024 x i8]
%4 = alloca [80 x i8]
%5 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%11 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%12 = call i32 @fget(i8* %11, i32 80)
%13 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%14 = call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %0
%17 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%18 = call i64 @strcmp(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %16, %0
%21 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%23 = call i32 @fget(i8* %22, i32 1024)
%24 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%25 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%26 = call i32 @sprintf(i8* %24, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i8* %25)
%27 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%28 = call i32 @system(i8* %27)
br label %29
29: ; preds = %20, %16
%30 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%31 = call i64 @strcmp(i8* %30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33, %29
%38 = call i32 @system(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0))
br label %39
39: ; preds = %37, %33
%40 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%41 = call i64 @strcmp(i8* %40, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %43, %39
%48 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0))
%49 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%50 = call i32 @fget(i8* %49, i32 1024)
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%52 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%53 = call i32 @sprintf(i8* %51, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8* %52)
%54 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%55 = call i32 @system(i8* %54)
br label %56
56: ; preds = %47, %43
%57 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%58 = call i64 @strcmp(i8* %57, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %56
%61 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%62 = call i64 @strcmp(i8* %61, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %73
64: ; preds = %60, %56
%65 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0))
%66 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%67 = call i32 @fget(i8* %66, i32 80)
%68 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%69 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%70 = call i32 @sprintf(i8* %68, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0), i8* %69)
%71 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%72 = call i32 @system(i8* %71)
br label %73
73: ; preds = %64, %60
%74 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%75 = call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %73
%78 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %90
81: ; preds = %77, %73
%82 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.23, i64 0, i64 0))
%83 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%84 = call i32 @fget(i8* %83, i32 1024)
%85 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%86 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%87 = call i32 @sprintf(i8* %85, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.24, i64 0, i64 0), i8* %86)
%88 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%89 = call i32 @system(i8* %88)
br label %90
90: ; preds = %81, %77
%91 = load i32, i32* @EXIT_SUCCESS
ret i32 %91
}

LLVM IR (-O2):
@.str = [6 x i8] c"clear\00"
@.str.6 = [8 x i8] c"install\00"
@.str.7 = [2 x i8] c"1\00"
@.str.8 = [35 x i8] c"Enter the directory to the file : \00"
@.str.9 = [28 x i8] c"ideviceprovision install %s\00"
@.str.10 = [5 x i8] c"list\00"
@.str.11 = [2 x i8] c"2\00"
@.str.12 = [22 x i8] c"ideviceprovision list\00"
@.str.13 = [5 x i8] c"copy\00"
@.str.14 = [2 x i8] c"3\00"
@.str.15 = [41 x i8] c"Enter the directory to copy the files : \00"
@.str.16 = [25 x i8] c"ideviceprovision copy %s\00"
@.str.17 = [7 x i8] c"remove\00"
@.str.18 = [2 x i8] c"4\00"
@.str.19 = [33 x i8] c"Enter the UUID of the profile : \00"
@.str.20 = [27 x i8] c"ideviceprovision remove %s\00"
@.str.21 = [8 x i8] c"display\00"
@.str.22 = [2 x i8] c"5\00"
@.str.23 = [43 x i8] c"Enter the directory to the file to dump : \00"
@.str.24 = [25 x i8] c"ideviceprovision dump %s\00"
@EXIT_SUCCESS = global i32 0
@str = [30 x i8] c"1) Install a validate profile\00"
@str.25 = [45 x i8] c"2) List all profiles installed on the device\00"
@str.26 = [49 x i8] c"3) Copy all profiles from the device to the host\00"
@str.27 = [33 x i8] c"4) Remove profile using his UUID\00"
@str.28 = [40 x i8] c"5) Display informations about a profile\00"
define i32 @ideviceprovision() {
%1 = alloca [80 x i8]
%2 = alloca [1024 x i8]
%3 = alloca [1024 x i8]
%4 = alloca [80 x i8]
%5 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%9 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.28, i64 0, i64 0))
%15 = call i32 @fget(i8* %5, i32 80)
%16 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %0
%19 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18, %0
%22 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
%23 = call i32 @fget(i8* %7, i32 1024)
%24 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i8* %7)
%25 = call i32 @system(i8* %6)
br label %26
26: ; preds = %21, %18
%27 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29, %26
%33 = call i32 @system(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0))
br label %34
34: ; preds = %32, %29
%35 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %37, %34
%41 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0))
%42 = call i32 @fget(i8* %7, i32 1024)
%43 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8* %7)
%44 = call i32 @system(i8* %6)
br label %45
45: ; preds = %40, %37
%46 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %45
%49 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %48, %45
%52 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0))
%53 = call i32 @fget(i8* %8, i32 80)
%54 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0), i8* %8)
%55 = call i32 @system(i8* %6)
br label %56
56: ; preds = %51, %48
%57 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %67
62: ; preds = %59, %56
%63 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.23, i64 0, i64 0))
%64 = call i32 @fget(i8* %7, i32 1024)
%65 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.24, i64 0, i64 0), i8* %7)
%66 = call i32 @system(i8* %6)
br label %67
67: ; preds = %62, %59
%68 = load i32, i32* @EXIT_SUCCESS
ret i32 %68
}