#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__ conf_process_settings(char *, char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
char getopt(int, char **, char *);
char *optarg;
int optopt;
int /*<<< orphan*/ stderr;
scalar_t__ strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
int /*<<< orphan*/ usage();
int main(int argc, char **argv) {
  if (argc < 4) {
    usage();
    return 1;
  }
  char original_file[1024];
  original_file[0] = '\0';
  char new_file[1024];
  new_file[0] = '\0';
  char settings[1024];
  settings[0] = '\0';
  char o;
  while ((o = getopt(argc, argv, ":f:o:s:h")) != -1) {
    switch (o) {
    case 'f':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(original_file, optarg, 1024);
      break;
    case 'o':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(new_file, optarg, 1024);
      break;
    case 's':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(settings, optarg, 1024);
      break;
    case 'h':
      usage();
      return 0;
    case '?':
      fprintf(stderr, "Illegal option -%c\n", optopt);
      usage();
      return 1;
    defalt:
      fprintf(stderr, "Option -%c requires an argument.\n", optopt);
      usage();
      return 1;
    }
  }
  if (strlen(original_file) == 0 || strlen(new_file) == 0 ||
      strlen(settings) == 0) {
    usage();
    return 1;
  }
  if (conf_process_settings(original_file, new_file, settings) != 0) {
    fprintf(stderr, "Error while preparing new settings file\n");
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    1196 <main+0x36>
mov    $0x0,%al
call   1070 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
movb   $0x0,-0x410(%rbp)
movb   $0x0,-0x810(%rbp)
movb   $0x0,-0xc10(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe47(%rip),%rdx
call   1080 <getopt@plt>
mov    %al,-0xc11(%rbp)
movsbl %al,%eax
cmp    $0xffffffff,%eax
je     13cd <main+0x26d>
movsbl -0xc11(%rbp),%eax
mov    %eax,-0xc18(%rbp)
sub    $0x3f,%eax
je     1395 <main+0x235>
jmp    11eb <main+0x8b>
mov    -0xc18(%rbp),%eax
sub    $0x66,%eax
je     123b <main+0xdb>
jmp    11ff <main+0x9f>
mov    -0xc18(%rbp),%eax
sub    $0x68,%eax
je     1382 <main+0x222>
jmp    1213 <main+0xb3>
mov    -0xc18(%rbp),%eax
sub    $0x6f,%eax
je     12a8 <main+0x148>
jmp    1227 <main+0xc7>
mov    -0xc18(%rbp),%eax
sub    $0x73,%eax
je     1315 <main+0x1b5>
jmp    13c8 <main+0x268>
mov    0x2db6(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    1288 <main+0x128>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
mov    0x2d92(%rip),%rax
mov    (%rax),%rdx
lea    0xd99(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
lea    -0x410(%rbp),%rdi
mov    0x2d62(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    13c8 <main+0x268>
mov    0x2d49(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    12f5 <main+0x195>
mov    0x2d06(%rip),%rax
mov    (%rax),%edi
mov    0x2d25(%rip),%rax
mov    (%rax),%rdx
lea    0xd2c(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
lea    -0x810(%rbp),%rdi
mov    0x2cf5(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    13c8 <main+0x268>
mov    0x2cdc(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    1362 <main+0x202>
mov    0x2c99(%rip),%rax
mov    (%rax),%edi
mov    0x2cb8(%rip),%rax
mov    (%rax),%rdx
lea    0xcbf(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
lea    -0xc10(%rbp),%rdi
mov    0x2c88(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    13c8 <main+0x268>
mov    $0x0,%al
call   1070 <usage@plt>
movl   $0x0,-0x4(%rbp)
jmp    1470 <main+0x310>
mov    0x2c34(%rip),%rax
mov    (%rax),%edi
mov    0x2c3b(%rip),%rax
mov    (%rax),%edx
lea    0xc79(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x0,%al
call   1070 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
jmp    11ab <main+0x4b>
lea    -0x410(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     140f <main+0x2af>
lea    -0x810(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     140f <main+0x2af>
lea    -0xc10(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    1422 <main+0x2c2>
mov    $0x0,%al
call   1070 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
lea    -0x410(%rbp),%rdi
lea    -0x810(%rbp),%rsi
lea    -0xc10(%rbp),%rdx
call   1060 <conf_process_settings@plt>
cmp    $0x0,%rax
je     1469 <main+0x309>
mov    0x2b83(%rip),%rax
mov    (%rax),%edi
lea    0xc07(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1470 <main+0x310>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc18,%rsp
cmp    $0x3,%edi
jle    130f <main+0x1af>
mov    %rsi,%r12
mov    %edi,%r14d
movb   $0x0,0x810(%rsp)
movb   $0x0,0x410(%rsp)
movb   $0x0,0x10(%rsp)
lea    0xe9c(%rip),%rdx
call   1080 <getopt@plt>
cmp    $0xff,%al
je     130f <main+0x1af>
lea    0xe88(%rip),%r13
lea    0xe49(%rip),%rbp
mov    0x2e3a(%rip),%r15
mov    %r14d,0xc(%rsp)
jmp    1212 <main+0xb2>
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r15),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    132f <main+0x1cf>
lea    0x410(%rsp),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
mov    %r14d,%edi
mov    %r12,%rsi
mov    %r13,%rdx
call   1080 <getopt@plt>
cmp    $0xff,%al
je     12bc <main+0x15c>
movsbl %al,%eax
lea    -0x66(%rax),%ecx
cmp    $0xd,%ecx
ja     1291 <main+0x131>
movslq 0x0(%rbp,%rcx,4),%rax
add    %rbp,%rax
jmp    *%rax
mov    %r12,%r14
mov    %rbp,%r12
mov    %r15,%rbx
mov    %r15,%rbp
mov    (%r15),%r15
mov    %r15,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    134f <main+0x1ef>
lea    0x810(%rsp),%rdi
mov    %r15,%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
mov    %rbx,%r15
mov    %r12,%rbp
mov    %r14,%r12
mov    0xc(%rsp),%r14d
jmp    11fc <main+0x9c>
nop
mov    (%r15),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    132f <main+0x1cf>
lea    0x10(%rsp),%rdi
jmp    11ef <main+0x8f>
cmp    $0x3f,%eax
jne    11fc <main+0x9c>
mov    0x2d2f(%rip),%rax
mov    (%rax),%edi
mov    0x2d36(%rip),%rax
mov    (%rax),%edx
lea    0xdac(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    130f <main+0x1af>
cmpb   $0x0,0x810(%rsp)
je     130f <main+0x1af>
cmpb   $0x0,0x410(%rsp)
je     130f <main+0x1af>
cmpb   $0x0,0x10(%rsp)
je     130f <main+0x1af>
lea    0x810(%rsp),%rdi
lea    0x410(%rsp),%rsi
lea    0x10(%rsp),%rdx
call   1060 <conf_process_settings@plt>
test   %rax,%rax
je     1370 <main+0x210>
mov    0x2cd3(%rip),%rax
mov    (%rax),%edi
lea    0xd6d(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1316 <main+0x1b6>
xor    %eax,%eax
call   1070 <usage@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0xc18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c9a(%rip),%rax
mov    (%rax),%edi
lea    0xd02(%rip),%rsi
mov    %rbx,%rdx
jmp    1362 <main+0x202>
xor    %ebx,%ebx
xor    %eax,%eax
call   1070 <usage@plt>
jmp    131b <main+0x1bb>
mov    0x2c7a(%rip),%rax
mov    (%rax),%edi
lea    0xce2(%rip),%rsi
mov    %r15,%rdx
mov    $0x400,%ecx
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1316 <main+0x1b6>
xor    %ebx,%ebx
jmp    131b <main+0x1bb>

LLVM IR (-O0):
@.str = [9 x i8] c":f:o:s:h\00"
@optarg = global i8* null
@stderr = global i32 0
@.str.1 = [30 x i8] c"%s can not be longer than %d\0A\00"
@.str.2 = [20 x i8] c"Illegal option -%c\0A\00"
@optopt = global i32 0
@.str.3 = [34 x i8] c"Option -%c requires an argument.\0A\00"
@.str.4 = [41 x i8] c"Error while preparing new settings file\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [1024 x i8]
%7 = alloca [1024 x i8]
%8 = alloca [1024 x i8]
%9 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
14: ; preds = %2
%15 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
store i8 0, i8* %15
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
store i8 0, i8* %16
%17 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
store i8 0, i8* %17
br label %18
18: ; preds = %75, %14
%19 = load i32, i32* %4
%20 = load i8**, i8*** %5
%21 = call signext i8 @getopt(i32 %19, i8** %20, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i8 %21, i8* %9
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %76
24: ; preds = %18
%25 = load i8, i8* %9
%26 = sext i8 %25 to i32
switch i32 %26, label %75 [
i32 102, label %27
i32 111, label %39
i32 115, label %51
i32 104, label %63
i32 63, label %65
]
27: ; preds = %24
%28 = load i8*, i8** @optarg
%29 = call i64 @strlen(i8* %28)
%30 = icmp sgt i64 %29, 1024
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32, i32* @stderr
%33 = load i8*, i8** @optarg
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %33, i32 1024)
store i32 1, i32* %3
br label %100
35: ; preds = %27
%36 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%37 = load i8*, i8** @optarg
%38 = call i32 @strncpy(i8* %36, i8* %37, i32 1024)
br label %75
39: ; preds = %24
%40 = load i8*, i8** @optarg
%41 = call i64 @strlen(i8* %40)
%42 = icmp sgt i64 %41, 1024
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, i32* @stderr
%45 = load i8*, i8** @optarg
%46 = call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %45, i32 1024)
store i32 1, i32* %3
br label %100
47: ; preds = %39
%48 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%49 = load i8*, i8** @optarg
%50 = call i32 @strncpy(i8* %48, i8* %49, i32 1024)
br label %75
51: ; preds = %24
%52 = load i8*, i8** @optarg
%53 = call i64 @strlen(i8* %52)
%54 = icmp sgt i64 %53, 1024
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32, i32* @stderr
%57 = load i8*, i8** @optarg
%58 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %57, i32 1024)
store i32 1, i32* %3
br label %100
59: ; preds = %51
%60 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%61 = load i8*, i8** @optarg
%62 = call i32 @strncpy(i8* %60, i8* %61, i32 1024)
br label %75
63: ; preds = %24
%64 = call i32 (...) @usage()
store i32 0, i32* %3
br label %100
65: ; preds = %24
%66 = load i32, i32* @stderr
%67 = load i32, i32* @optopt
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %67)
%69 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
70: ; No predecessors!
%71 = load i32, i32* @stderr
%72 = load i32, i32* @optopt
%73 = call i32 (i32, i8*, ...) @fprintf(i32 %71, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i32 %72)
%74 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
75: ; preds = %24, %59, %47, %35
br label %18
76: ; preds = %18
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%78 = call i64 @strlen(i8* %77)
%79 = icmp eq i64 %78, 0
br i1 %79, label %88, label %80
80: ; preds = %76
%81 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%82 = call i64 @strlen(i8* %81)
%83 = icmp eq i64 %82, 0
br i1 %83, label %88, label %84
84: ; preds = %80
%85 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%86 = call i64 @strlen(i8* %85)
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %84, %80, %76
%89 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
90: ; preds = %84
%91 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%92 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%93 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%94 = call i64 @conf_process_settings(i8* %91, i8* %92, i8* %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load i32, i32* @stderr
%98 = call i32 (i32, i8*, ...) @fprintf(i32 %97, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %100
99: ; preds = %90
store i32 0, i32* %3
br label %100
100: ; preds = %99, %96, %88, %70, %65, %63, %55, %43, %31, %12
%101 = load i32, i32* %3
ret i32 %101
}

LLVM IR (-O2):
@.str = [9 x i8] c":f:o:s:h\00"
@optarg = global i8* null
@stderr = global i32 0
@.str.1 = [30 x i8] c"%s can not be longer than %d\0A\00"
@.str.2 = [20 x i8] c"Illegal option -%c\0A\00"
@optopt = global i32 0
@.str.4 = [41 x i8] c"Error while preparing new settings file\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [1024 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = icmp slt i32 %0, 4
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 (...) @usage()
br label %74
9: ; preds = %2
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
store i8 0, i8* %10
%11 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
store i8 0, i8* %11
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
store i8 0, i8* %12
%13 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%14 = icmp eq i8 %13, -1
br i1 %14, label %64, label %15
15: ; preds = %9, %52
%16 = phi i8 [ %53, %52 ], [ %13, %9 ]
%17 = sext i8 %16 to i32
switch i32 %17, label %52 [
i32 102, label %18
i32 111, label %27
i32 115, label %36
i32 104, label %45
i32 63, label %47
]
18: ; preds = %15
%19 = load i8*, i8** @optarg
%20 = call i64 @strlen(i8* dereferenceable(1) %19)
%21 = icmp sgt i64 %20, 1024
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %19, i32 1024)
br label %72
25: ; preds = %18
%26 = call i32 @strncpy(i8* %10, i8* %19, i32 1024)
br label %52
27: ; preds = %15
%28 = load i8*, i8** @optarg
%29 = call i64 @strlen(i8* dereferenceable(1) %28)
%30 = icmp sgt i64 %29, 1024
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %28, i32 1024)
br label %72
34: ; preds = %27
%35 = call i32 @strncpy(i8* %11, i8* %28, i32 1024)
br label %52
36: ; preds = %15
%37 = load i8*, i8** @optarg
%38 = call i64 @strlen(i8* dereferenceable(1) %37)
%39 = icmp sgt i64 %38, 1024
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, i32* @stderr
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %37, i32 1024)
br label %72
43: ; preds = %36
%44 = call i32 @strncpy(i8* %12, i8* %37, i32 1024)
br label %52
45: ; preds = %15
%46 = call i32 (...) @usage()
br label %72
47: ; preds = %15
%48 = load i32, i32* @stderr
%49 = load i32, i32* @optopt
%50 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %49)
%51 = call i32 (...) @usage()
br label %72
52: ; preds = %15, %43, %34, %25
%53 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%54 = icmp eq i8 %53, -1
br i1 %54, label %55, label %15
55: ; preds = %52
%56 = load i8, i8* %10
%57 = load i8, i8* %11
%58 = load i8, i8* %12
%59 = icmp eq i8 %56, 0
%60 = icmp eq i8 %57, 0
%61 = select i1 %59, i1 true, i1 %60
%62 = icmp eq i8 %58, 0
%63 = select i1 %61, i1 true, i1 %62
br i1 %63, label %64, label %66
64: ; preds = %9, %55
%65 = call i32 (...) @usage()
br label %72
66: ; preds = %55
%67 = call i64 @conf_process_settings(i8* %10, i8* %11, i8* %12)
%68 = icmp eq i64 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %66
%70 = load i32, i32* @stderr
%71 = call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
br label %72
72: ; preds = %66, %69, %64, %47, %45, %40, %31, %22
%73 = phi i32 [ 1, %47 ], [ 0, %45 ], [ 1, %40 ], [ 1, %31 ], [ 1, %22 ], [ 1, %64 ], [ 1, %69 ], [ 0, %66 ]
br label %74
74: ; preds = %72, %7
%75 = phi i32 [ 1, %7 ], [ %73, %72 ]
ret i32 %75
}