#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*/ run_once(char *);
scalar_t__ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  if ((argc == 2) && (strcmp(argv[1], "leak_check") == 0)) {
    run_once("result_folder: biobj produce_all_data 1");
  } else {
    run_once("result_folder: biobj produce_all_data 1");
    run_once(
        "result_folder: biobj log_nondominated: none  compute_indicators: 0");
    run_once(
        "result_folder: biobj log_nondominated: all   compute_indicators: 0");
    run_once(
        "result_folder: biobj log_nondominated: final compute_indicators: 0");
    run_once(
        "result_folder: biobj log_nondominated: none  compute_indicators: 1");
    run_once(
        "result_folder: biobj log_nondominated: all   compute_indicators: 1");
    run_once(
        "result_folder: biobj log_nondominated: final compute_indicators: 1");
    run_once("result_folder: biobj log_nondominated: none  compute_indicators: "
             "1 log_decision_variables: all");
    run_once("result_folder: biobj log_nondominated: all   compute_indicators: "
             "0 log_decision_variables: none");
    run_once("result_folder: biobj log_nondominated: final compute_indicators: "
             "1 log_decision_variables: low_dim");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jne    116f <main+0x4f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xeb1(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    116f <main+0x4f>
lea    0xea6(%rip),%rdi
call   1030 <run_once@plt>
jmp    11e7 <main+0xc7>
lea    0xe95(%rip),%rdi
call   1030 <run_once@plt>
lea    0xeb1(%rip),%rdi
call   1030 <run_once@plt>
lea    0xee8(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf1f(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf56(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf8d(%rip),%rdi
call   1030 <run_once@plt>
lea    0xfc4(%rip),%rdi
call   1030 <run_once@plt>
lea    0xffb(%rip),%rdi
call   1030 <run_once@plt>
lea    0x104e(%rip),%rdi
call   1030 <run_once@plt>
lea    0x10a2(%rip),%rdi
call   1030 <run_once@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
cmp    $0x2,%edi
jne    113b <main+0x1b>
mov    0x8(%rsi),%rdi
lea    0xecf(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     11b0 <main+0x90>
lea    0xec9(%rip),%rdi
call   1030 <run_once@plt>
lea    0xee5(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf1c(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf53(%rip),%rdi
call   1030 <run_once@plt>
lea    0xf8a(%rip),%rdi
call   1030 <run_once@plt>
lea    0xfc1(%rip),%rdi
call   1030 <run_once@plt>
lea    0xff8(%rip),%rdi
call   1030 <run_once@plt>
lea    0x102f(%rip),%rdi
call   1030 <run_once@plt>
lea    0x1082(%rip),%rdi
call   1030 <run_once@plt>
lea    0x10d6(%rip),%rdi
jmp    11b7 <main+0x97>
lea    0xe54(%rip),%rdi
call   1030 <run_once@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [11 x i8] c"leak_check\00"
@.str.1 = [40 x i8] c"result_folder: biobj produce_all_data 1\00"
@.str.2 = [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 0\00"
@.str.3 = [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0\00"
@.str.4 = [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 0\00"
@.str.5 = [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1\00"
@.str.6 = [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 1\00"
@.str.7 = [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1\00"
@.str.8 = [95 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1 log_decision_variables: all\00"
@.str.9 = [96 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0 log_decision_variables: none\00"
@.str.10 = [99 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1 log_decision_variables: low_dim\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load i8**, i8*** %5
%10 = getelementptr inbounds i8*, i8** %9, i64 1
%11 = load i8*, i8** %10
%12 = call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @run_once(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
br label %27
16: ; preds = %8, %2
%17 = call i32 @run_once(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%18 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%19 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0))
%21 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%22 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.6, i64 0, i64 0))
%23 = call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.7, i64 0, i64 0))
%24 = call i32 @run_once(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.8, i64 0, i64 0))
%25 = call i32 @run_once(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.9, i64 0, i64 0))
%26 = call i32 @run_once(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.10, i64 0, i64 0))
br label %27
27: ; preds = %16, %14
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"leak_check\00"
@.str.1 = [40 x i8] c"result_folder: biobj produce_all_data 1\00"
@.str.2 = [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 0\00"
@.str.3 = [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0\00"
@.str.4 = [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 0\00"
@.str.5 = [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1\00"
@.str.6 = [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 1\00"
@.str.7 = [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1\00"
@.str.8 = [95 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1 log_decision_variables: all\00"
@.str.9 = [96 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0 log_decision_variables: none\00"
@.str.10 = [99 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1 log_decision_variables: low_dim\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 2
br i1 %3, label %4, label %9
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = tail call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i64 %7, 0
br i1 %8, label %19, label %9
9: ; preds = %4, %2
%10 = tail call i32 @run_once(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%11 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%12 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.3, i64 0, i64 0))
%13 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0))
%14 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%15 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.6, i64 0, i64 0))
%16 = tail call i32 @run_once(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.7, i64 0, i64 0))
%17 = tail call i32 @run_once(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.8, i64 0, i64 0))
%18 = tail call i32 @run_once(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.9, i64 0, i64 0))
br label %19
19: ; preds = %4, %9
%20 = phi i8* [ getelementptr inbounds ([99 x i8], [99 x i8]* @.str.10, i64 0, i64 0), %9 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), %4 ]
%21 = tail call i32 @run_once(i8* %20)
ret i32 0
}