#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 /*<<< orphan*/ chdir(char *);
int /*<<< orphan*/ execute(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int, char *, char *);
int /*<<< orphan*/ sprintf(char *, char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ system(char *);
void cldcEvaluate(char *outPrefix, int iter) {
  char command[1000];
  chdir("cldc/scripts/de2en");
  if (iter < 0) {
    sprintf(command,
            "./prepare-data-klement-4cat-train-valid-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    sprintf(command,
            "./prepare-data-klement-4cat-all-sizes-my-embeddings.ch %s",
            outPrefix);
    execute(command);
  } else {
    sprintf(command, "./prepare-data-klement-4cat-1000-my-embeddings.ch %s",
            outPrefix);
    execute(command);
  }
  if (iter < 0) {
    sprintf(command, "./run-perceptron-train-valid-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    sprintf(command, "./run-perceptron-all-sizes-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    system("");
  } else {
    fprintf(stderr, "# eval %d %s %s", iter, "de2en", "cldc");
    sprintf(command, "./run-perceptron-1000-my-embeddings.ch %s", outPrefix);
    execute(command);
  }
  chdir("../en2de");
  if (iter < 0) {
    sprintf(command,
            "./prepare-data-klement-4cat-train-valid-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    sprintf(command,
            "./prepare-data-klement-4cat-all-sizes-my-embeddings.ch %s",
            outPrefix);
    execute(command);
  } else {
    sprintf(command, "./prepare-data-klement-4cat-1000-my-embeddings.ch %s",
            outPrefix);
    execute(command);
  }
  if (iter < 0) {
    sprintf(command, "./run-perceptron-train-valid-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    sprintf(command, "./run-perceptron-all-sizes-my-embeddings.ch %s",
            outPrefix);
    execute(command);
    system("");
  } else {
    fprintf(stderr, "# eval %d %s %s", iter, "en2de", "cldc");
    sprintf(command, "./run-perceptron-1000-my-embeddings.ch %s", outPrefix);
    execute(command);
  }
  chdir("../../..");
}


x86 assembly (clang, -O0):
<cldcEvaluate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x400,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
lea    0xe97(%rip),%rdi
call   1030 <chdir@plt>
cmpl   $0x0,-0xc(%rbp)
jge    11c3 <cldcEvaluate+0x73>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xe89(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xea2(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
jmp    11e6 <cldcEvaluate+0x96>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xeb4(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
cmpl   $0x0,-0xc(%rbp)
jge    1247 <cldcEvaluate+0xf7>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xebc(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xeca(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    0xf31(%rip),%rdi
call   1040 <system@plt>
jmp    1290 <cldcEvaluate+0x140>
mov    0x2d92(%rip),%rax
mov    (%rax),%edi
mov    -0xc(%rbp),%edx
lea    0xec4(%rip),%rsi
lea    0xdac(%rip),%rcx
lea    0xec6(%rip),%r8
call   1060 <fprintf@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xeb4(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    0xec6(%rip),%rdi
call   1030 <chdir@plt>
cmpl   $0x0,-0xc(%rbp)
jge    12f1 <cldcEvaluate+0x1a1>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd5b(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd74(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
jmp    1314 <cldcEvaluate+0x1c4>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd86(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
cmpl   $0x0,-0xc(%rbp)
jge    1375 <cldcEvaluate+0x225>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd8e(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd9c(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    0xe03(%rip),%rdi
call   1040 <system@plt>
jmp    13be <cldcEvaluate+0x26e>
mov    0x2c64(%rip),%rax
mov    (%rax),%edi
mov    -0xc(%rbp),%edx
lea    0xd96(%rip),%rsi
lea    0xdd1(%rip),%rcx
lea    0xd98(%rip),%r8
call   1060 <fprintf@plt>
lea    -0x400(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd86(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x400(%rbp),%rdi
call   1050 <execute@plt>
lea    0xda1(%rip),%rdi
call   1030 <chdir@plt>
add    $0x400,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cldcEvaluate>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3e8,%rsp
mov    %esi,%ebp
mov    %rdi,%rbx
lea    0xe93(%rip),%rdi
call   1030 <chdir@plt>
test   %ebp,%ebp
js     123b <cldcEvaluate+0xeb>
lea    0xf08(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    0x2e42(%rip),%r12
mov    (%r12),%edi
lea    0xf75(%rip),%r13
lea    0xe5d(%rip),%rcx
lea    0xf77(%rip),%r8
mov    %r13,%rsi
mov    %ebp,%edx
call   1060 <fprintf@plt>
lea    0xf6b(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
lea    0xf78(%rip),%rdi
call   1030 <chdir@plt>
mov    %r14,%rdi
lea    0xe95(%rip),%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    (%r12),%edi
lea    0xf51(%rip),%rcx
mov    %r13,%rsi
mov    %ebp,%edx
lea    0xf13(%rip),%r8
call   1060 <fprintf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
jmp    132e <cldcEvaluate+0x1de>
lea    0xdd1(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
lea    0xdf0(%rip),%r12
mov    %r14,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
lea    0xe42(%rip),%r13
mov    %r14,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
lea    0xe56(%rip),%rbp
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
lea    0xeb8(%rip),%r15
mov    %r15,%rdi
call   1040 <system@plt>
lea    0xe98(%rip),%rdi
call   1030 <chdir@plt>
mov    %r14,%rdi
lea    0xd3f(%rip),%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %rbx,%rdx
call   1070 <sprintf@plt>
mov    %r14,%rdi
call   1050 <execute@plt>
mov    %r15,%rdi
call   1040 <system@plt>
lea    0xe31(%rip),%rdi
call   1030 <chdir@plt>
add    $0x3e8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [19 x i8] c"cldc/scripts/de2en\00"
@.str.1 = [60 x i8] c"./prepare-data-klement-4cat-train-valid-my-embeddings.ch %s\00"
@.str.2 = [58 x i8] c"./prepare-data-klement-4cat-all-sizes-my-embeddings.ch %s\00"
@.str.3 = [53 x i8] c"./prepare-data-klement-4cat-1000-my-embeddings.ch %s\00"
@.str.4 = [49 x i8] c"./run-perceptron-train-valid-my-embeddings.ch %s\00"
@.str.5 = [47 x i8] c"./run-perceptron-all-sizes-my-embeddings.ch %s\00"
@.str.6 = [1 x i8] zeroinitializer
@stderr = global i32 0
@.str.7 = [16 x i8] c"# eval %d %s %s\00"
@.str.8 = [6 x i8] c"de2en\00"
@.str.9 = [5 x i8] c"cldc\00"
@.str.10 = [42 x i8] c"./run-perceptron-1000-my-embeddings.ch %s\00"
@.str.11 = [9 x i8] c"../en2de\00"
@.str.12 = [6 x i8] c"en2de\00"
@.str.13 = [9 x i8] c"../../..\00"
define void @cldcEvaluate(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [1000 x i8]
store i8* %0, i8** %3
store i32 %1, i32* %4
%6 = call i32 @chdir(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* %4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%11 = load i8*, i8** %3
%12 = call i32 @sprintf(i8* %10, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.1, i64 0, i64 0), i8* %11)
%13 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%14 = call i32 @execute(i8* %13)
%15 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%16 = load i8*, i8** %3
%17 = call i32 @sprintf(i8* %15, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0), i8* %16)
%18 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%19 = call i32 @execute(i8* %18)
br label %26
20: ; preds = %2
%21 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%22 = load i8*, i8** %3
%23 = call i32 @sprintf(i8* %21, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i8* %22)
%24 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%25 = call i32 @execute(i8* %24)
br label %26
26: ; preds = %20, %9
%27 = load i32, i32* %4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %41
29: ; preds = %26
%30 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%31 = load i8*, i8** %3
%32 = call i32 @sprintf(i8* %30, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* %31)
%33 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%34 = call i32 @execute(i8* %33)
%35 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%36 = load i8*, i8** %3
%37 = call i32 @sprintf(i8* %35, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i8* %36)
%38 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%39 = call i32 @execute(i8* %38)
%40 = call i32 @system(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.6, i64 0, i64 0))
br label %50
41: ; preds = %26
%42 = load i32, i32* @stderr
%43 = load i32, i32* %4
%44 = call i32 @fprintf(i32 %42, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%45 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%46 = load i8*, i8** %3
%47 = call i32 @sprintf(i8* %45, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %46)
%48 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%49 = call i32 @execute(i8* %48)
br label %50
50: ; preds = %41, %29
%51 = call i32 @chdir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%52 = load i32, i32* %4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %65
54: ; preds = %50
%55 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%56 = load i8*, i8** %3
%57 = call i32 @sprintf(i8* %55, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.1, i64 0, i64 0), i8* %56)
%58 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%59 = call i32 @execute(i8* %58)
%60 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%61 = load i8*, i8** %3
%62 = call i32 @sprintf(i8* %60, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0), i8* %61)
%63 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%64 = call i32 @execute(i8* %63)
br label %71
65: ; preds = %50
%66 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%67 = load i8*, i8** %3
%68 = call i32 @sprintf(i8* %66, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i8* %67)
%69 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%70 = call i32 @execute(i8* %69)
br label %71
71: ; preds = %65, %54
%72 = load i32, i32* %4
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %86
74: ; preds = %71
%75 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%76 = load i8*, i8** %3
%77 = call i32 @sprintf(i8* %75, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* %76)
%78 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%79 = call i32 @execute(i8* %78)
%80 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%81 = load i8*, i8** %3
%82 = call i32 @sprintf(i8* %80, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i8* %81)
%83 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%84 = call i32 @execute(i8* %83)
%85 = call i32 @system(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.6, i64 0, i64 0))
br label %95
86: ; preds = %71
%87 = load i32, i32* @stderr
%88 = load i32, i32* %4
%89 = call i32 @fprintf(i32 %87, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %88, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%90 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%91 = load i8*, i8** %3
%92 = call i32 @sprintf(i8* %90, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %91)
%93 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%94 = call i32 @execute(i8* %93)
br label %95
95: ; preds = %86, %74
%96 = call i32 @chdir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"cldc/scripts/de2en\00"
@.str.1 = [60 x i8] c"./prepare-data-klement-4cat-train-valid-my-embeddings.ch %s\00"
@.str.2 = [58 x i8] c"./prepare-data-klement-4cat-all-sizes-my-embeddings.ch %s\00"
@.str.3 = [53 x i8] c"./prepare-data-klement-4cat-1000-my-embeddings.ch %s\00"
@.str.4 = [49 x i8] c"./run-perceptron-train-valid-my-embeddings.ch %s\00"
@.str.5 = [47 x i8] c"./run-perceptron-all-sizes-my-embeddings.ch %s\00"
@.str.6 = [1 x i8] zeroinitializer
@stderr = global i32 0
@.str.7 = [16 x i8] c"# eval %d %s %s\00"
@.str.8 = [6 x i8] c"de2en\00"
@.str.9 = [5 x i8] c"cldc\00"
@.str.10 = [42 x i8] c"./run-perceptron-1000-my-embeddings.ch %s\00"
@.str.11 = [9 x i8] c"../en2de\00"
@.str.12 = [6 x i8] c"en2de\00"
@.str.13 = [9 x i8] c"../../..\00"
define void @cldcEvaluate(i8* %0, i32 %1) {
%3 = alloca [1000 x i8]
%4 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 0
%5 = tail call i32 @chdir(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%6 = icmp slt i32 %1, 0
br i1 %6, label %7, label %27
7: ; preds = %2
%8 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%9 = call i32 @execute(i8* %4)
%10 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%11 = call i32 @execute(i8* %4)
%12 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* %0)
%13 = call i32 @execute(i8* %4)
%14 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i8* %0)
%15 = call i32 @execute(i8* %4)
%16 = call i32 @system(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.6, i64 0, i64 0))
%17 = call i32 @chdir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%18 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%19 = call i32 @execute(i8* %4)
%20 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%21 = call i32 @execute(i8* %4)
%22 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* %0)
%23 = call i32 @execute(i8* %4)
%24 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i8* %0)
%25 = call i32 @execute(i8* %4)
%26 = call i32 @system(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.6, i64 0, i64 0))
br label %41
27: ; preds = %2
%28 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%29 = call i32 @execute(i8* %4)
%30 = load i32, i32* @stderr
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%32 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %0)
%33 = call i32 @execute(i8* %4)
%34 = call i32 @chdir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%35 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%36 = call i32 @execute(i8* %4)
%37 = load i32, i32* @stderr
%38 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%39 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %0)
%40 = call i32 @execute(i8* %4)
br label %41
41: ; preds = %27, %7
%42 = call i32 @chdir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
ret void
}