#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*/ calc_cent(char *, char *, char);
int /*<<< orphan*/ calc_interactive();
int /*<<< orphan*/ calc_pair(char *, char *, char);
int /*<<< orphan*/ distcalc_help();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  int no_error = 1;
  switch (argc) {
  case 1:
    distcalc_help();
    return 1;
    break;
  case 2:
    if (strcmp(argv[1], "-i") == 0) {
      if (calc_interactive())
        no_error = 0;
    } else {
      distcalc_help();
    }
    break;
  case 3:
    if (strcmp(argv[1], "-c") == 0) {
      if (calc_cent(argv[2], NULL, '#'))
        no_error = 0;
    } else if (strcmp(argv[1], "-p") == 0) {
      if (calc_pair(argv[2], NULL, '#'))
        no_error = 0;
    } else if (strcmp(argv[1], "-i") == 0) {
      if (calc_interactive())
        no_error = 0;
    } else {
      distcalc_help();
    }
    break;
  case 4:
    if (strcmp(argv[1], "-c") == 0) {
      if (calc_cent(argv[2], argv[3], '#'))
        no_error = 0;
    } else if (strcmp(argv[1], "-p") == 0) {
      if (calc_pair(argv[2], argv[3], '#'))
        no_error = 0;
    } else if (strcmp(argv[1], "-i") == 0) {
      if (calc_interactive())
        no_error = 0;
    } else {
      distcalc_help();
    }
    break;
  default:
    fprintf(stderr, "\n***WARNING: Too many arguments.***\n\n");
    distcalc_help();
    return 1;
    break;
  }
  if (no_error) {
    printf("\nCompleted program distcalc.\n\n");
    return 0;
  } else {
    fprintf(stderr, "ERROR.  Exiting program\n");
    return 1;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0x3,%eax
ja     13d4 <main+0x264>
mov    -0x20(%rbp),%rax
lea    0xe53(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   1030 <distcalc_help@plt>
movl   $0x1,-0x4(%rbp)
jmp    143a <main+0x2ca>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe38(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1202 <main+0x92>
mov    $0x0,%al
call   1080 <calc_interactive@plt>
cmp    $0x0,%eax
je     11fd <main+0x8d>
movl   $0x0,-0x14(%rbp)
jmp    1209 <main+0x99>
mov    $0x0,%al
call   1030 <distcalc_help@plt>
jmp    13fc <main+0x28c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdf6(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1256 <main+0xe6>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x23,%edx
call   1090 <calc_cent@plt>
cmp    $0x0,%eax
je     1251 <main+0xe1>
movl   $0x0,-0x14(%rbp)
jmp    12e8 <main+0x178>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdb1(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    129e <main+0x12e>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x23,%edx
call   1040 <calc_pair@plt>
cmp    $0x0,%eax
je     1299 <main+0x129>
movl   $0x0,-0x14(%rbp)
jmp    12e3 <main+0x173>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd63(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    12d7 <main+0x167>
mov    $0x0,%al
call   1080 <calc_interactive@plt>
cmp    $0x0,%eax
je     12d2 <main+0x162>
movl   $0x0,-0x14(%rbp)
jmp    12de <main+0x16e>
mov    $0x0,%al
call   1030 <distcalc_help@plt>
jmp    12e3 <main+0x173>
jmp    12e8 <main+0x178>
jmp    13fc <main+0x28c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd17(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1339 <main+0x1c9>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rsi
mov    $0x23,%edx
call   1090 <calc_cent@plt>
cmp    $0x0,%eax
je     1334 <main+0x1c4>
movl   $0x0,-0x14(%rbp)
jmp    13cf <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xcce(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1385 <main+0x215>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rsi
mov    $0x23,%edx
call   1040 <calc_pair@plt>
cmp    $0x0,%eax
je     1380 <main+0x210>
movl   $0x0,-0x14(%rbp)
jmp    13ca <main+0x25a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc7c(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    13be <main+0x24e>
mov    $0x0,%al
call   1080 <calc_interactive@plt>
cmp    $0x0,%eax
je     13b9 <main+0x249>
movl   $0x0,-0x14(%rbp)
jmp    13c5 <main+0x255>
mov    $0x0,%al
call   1030 <distcalc_help@plt>
jmp    13ca <main+0x25a>
jmp    13cf <main+0x25f>
jmp    13fc <main+0x28c>
mov    0x2c05(%rip),%rax
mov    (%rax),%edi
lea    0xc35(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x0,%al
call   1030 <distcalc_help@plt>
movl   $0x1,-0x4(%rbp)
jmp    143a <main+0x2ca>
cmpl   $0x0,-0x14(%rbp)
je     141e <main+0x2ae>
lea    0xc32(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    143a <main+0x2ca>
mov    0x2bbb(%rip),%rax
mov    (%rax),%edi
lea    0xc30(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
add    $0xffffffff,%edi
cmp    $0x3,%edi
ja     119f <main+0x2f>
mov    %rsi,%rbx
lea    0xe7a(%rip),%rax
movslq (%rax,%rdi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    0x8(%rbx),%rdi
lea    0xe76(%rip),%rsi
jmp    122e <main+0xbe>
mov    0x2e3a(%rip),%rax
mov    (%rax),%edi
lea    0xe6a(%rip),%rsi
call   1070 <fprintf@plt>
xor    %eax,%eax
call   1030 <distcalc_help@plt>
mov    $0x1,%eax
jmp    12ab <main+0x13b>
mov    0x8(%rbx),%r14
lea    0xe43(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     124d <main+0xdd>
lea    0xe33(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
jne    1224 <main+0xb4>
mov    0x10(%rbx),%rdi
xor    %esi,%esi
jmp    128f <main+0x11f>
mov    0x8(%rbx),%r14
lea    0xe0e(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1255 <main+0xe5>
lea    0xdfe(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1287 <main+0x117>
lea    0xde5(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1240 <main+0xd0>
xor    %eax,%eax
call   1030 <distcalc_help@plt>
jmp    129d <main+0x12d>
xor    %eax,%eax
call   1080 <calc_interactive@plt>
test   %eax,%eax
jne    126b <main+0xfb>
jmp    129d <main+0x12d>
mov    0x10(%rbx),%rdi
xor    %esi,%esi
jmp    125d <main+0xed>
mov    0x10(%rbx),%rdi
mov    0x18(%rbx),%rsi
mov    $0x23,%edx
call   1090 <calc_cent@plt>
test   %eax,%eax
je     129d <main+0x12d>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
lea    0xdc4(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%eax
jmp    12ab <main+0x13b>
mov    0x10(%rbx),%rdi
mov    0x18(%rbx),%rsi
mov    $0x23,%edx
call   1050 <calc_pair@plt>
test   %eax,%eax
jne    126b <main+0xfb>
lea    0xdb4(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [3 x i8] c"-i\00"
@.str.1 = [3 x i8] c"-c\00"
@.str.2 = [3 x i8] c"-p\00"
@stderr = global i32 0
@.str.3 = [38 x i8] c"\0A***WARNING: Too many arguments.***\0A\0A\00"
@.str.4 = [31 x i8] c"\0ACompleted program distcalc.\0A\0A\00"
@.str.5 = [25 x i8] c"ERROR. Exiting program\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %6
%7 = load i32, i32* %4
switch i32 %7, label %118 [
i32 1, label %8
i32 2, label %10
i32 3, label %24
i32 4, label %68
]
8: ; preds = %2
%9 = call i32 (...) @distcalc_help()
store i32 1, i32* %3
br label %130
10: ; preds = %2
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
%14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %10
%17 = call i32 (...) @calc_interactive()
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 0, i32* %6
br label %20
20: ; preds = %19, %16
br label %23
21: ; preds = %10
%22 = call i32 (...) @distcalc_help()
br label %23
23: ; preds = %21, %20
br label %122
24: ; preds = %2
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 1
%27 = load i8*, i8** %26
%28 = call i32 @strcmp(i8* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %24
%31 = load i8**, i8*** %5
%32 = getelementptr inbounds i8*, i8** %31, i64 2
%33 = load i8*, i8** %32
%34 = call i32 @calc_cent(i8* %33, i8* null, i8 signext 35)
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30
store i32 0, i32* %6
br label %37
37: ; preds = %36, %30
br label %67
38: ; preds = %24
%39 = load i8**, i8*** %5
%40 = getelementptr inbounds i8*, i8** %39, i64 1
%41 = load i8*, i8** %40
%42 = call i32 @strcmp(i8* %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %52
44: ; preds = %38
%45 = load i8**, i8*** %5
%46 = getelementptr inbounds i8*, i8** %45, i64 2
%47 = load i8*, i8** %46
%48 = call i32 @calc_pair(i8* %47, i8* null, i8 signext 35)
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %44
store i32 0, i32* %6
br label %51
51: ; preds = %50, %44
br label %66
52: ; preds = %38
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 1
%55 = load i8*, i8** %54
%56 = call i32 @strcmp(i8* %55, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %52
%59 = call i32 (...) @calc_interactive()
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %58
store i32 0, i32* %6
br label %62
62: ; preds = %61, %58
br label %65
63: ; preds = %52
%64 = call i32 (...) @distcalc_help()
br label %65
65: ; preds = %63, %62
br label %66
66: ; preds = %65, %51
br label %67
67: ; preds = %66, %37
br label %122
68: ; preds = %2
%69 = load i8**, i8*** %5
%70 = getelementptr inbounds i8*, i8** %69, i64 1
%71 = load i8*, i8** %70
%72 = call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %85
74: ; preds = %68
%75 = load i8**, i8*** %5
%76 = getelementptr inbounds i8*, i8** %75, i64 2
%77 = load i8*, i8** %76
%78 = load i8**, i8*** %5
%79 = getelementptr inbounds i8*, i8** %78, i64 3
%80 = load i8*, i8** %79
%81 = call i32 @calc_cent(i8* %77, i8* %80, i8 signext 35)
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %84
83: ; preds = %74
store i32 0, i32* %6
br label %84
84: ; preds = %83, %74
br label %117
85: ; preds = %68
%86 = load i8**, i8*** %5
%87 = getelementptr inbounds i8*, i8** %86, i64 1
%88 = load i8*, i8** %87
%89 = call i32 @strcmp(i8* %88, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %102
91: ; preds = %85
%92 = load i8**, i8*** %5
%93 = getelementptr inbounds i8*, i8** %92, i64 2
%94 = load i8*, i8** %93
%95 = load i8**, i8*** %5
%96 = getelementptr inbounds i8*, i8** %95, i64 3
%97 = load i8*, i8** %96
%98 = call i32 @calc_pair(i8* %94, i8* %97, i8 signext 35)
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %91
store i32 0, i32* %6
br label %101
101: ; preds = %100, %91
br label %116
102: ; preds = %85
%103 = load i8**, i8*** %5
%104 = getelementptr inbounds i8*, i8** %103, i64 1
%105 = load i8*, i8** %104
%106 = call i32 @strcmp(i8* %105, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %113
108: ; preds = %102
%109 = call i32 (...) @calc_interactive()
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %108
store i32 0, i32* %6
br label %112
112: ; preds = %111, %108
br label %115
113: ; preds = %102
%114 = call i32 (...) @distcalc_help()
br label %115
115: ; preds = %113, %112
br label %116
116: ; preds = %115, %101
br label %117
117: ; preds = %116, %84
br label %122
118: ; preds = %2
%119 = load i32, i32* @stderr
%120 = call i32 @fprintf(i32 %119, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%121 = call i32 (...) @distcalc_help()
store i32 1, i32* %3
br label %130
122: ; preds = %117, %67, %23
%123 = load i32, i32* %6
%124 = icmp ne i32 %123, 0
br i1 %124, label %125, label %127
125: ; preds = %122
%126 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %3
br label %130
127: ; preds = %122
%128 = load i32, i32* @stderr
%129 = call i32 @fprintf(i32 %128, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
store i32 1, i32* %3
br label %130
130: ; preds = %127, %125, %118, %8
%131 = load i32, i32* %3
ret i32 %131
}

LLVM IR (-O2):
@.str = [3 x i8] c"-i\00"
@.str.1 = [3 x i8] c"-c\00"
@.str.2 = [3 x i8] c"-p\00"
@stderr = global i32 0
@.str.3 = [38 x i8] c"\0A***WARNING: Too many arguments.***\0A\0A\00"
@.str.5 = [25 x i8] c"ERROR. Exiting program\0A\00"
@str = [30 x i8] c"\0ACompleted program distcalc.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
switch i32 %0, label %62 [
i32 1, label %3
i32 2, label %5
i32 3, label %13
i32 4, label %37
]
3: ; preds = %2
%4 = tail call i32 (...) @distcalc_help()
br label %76
5: ; preds = %2
%6 = getelementptr inbounds i8*, i8** %1, i64 1
%7 = load i8*, i8** %6
%8 = tail call i32 @strcmp(i8* dereferenceable(1) %7, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %69
10: ; preds = %5
%11 = tail call i32 (...) @calc_interactive()
%12 = icmp eq i32 %11, 0
br i1 %12, label %71, label %73
13: ; preds = %2
%14 = getelementptr inbounds i8*, i8** %1, i64 1
%15 = load i8*, i8** %14
%16 = tail call i32 @strcmp(i8* dereferenceable(1) %15, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = getelementptr inbounds i8*, i8** %1, i64 2
%20 = load i8*, i8** %19
%21 = tail call i32 @calc_cent(i8* %20, i8* null, i8 signext 35)
%22 = icmp eq i32 %21, 0
br i1 %22, label %71, label %73
23: ; preds = %13
%24 = tail call i32 @strcmp(i8* dereferenceable(1) %15, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = getelementptr inbounds i8*, i8** %1, i64 2
%28 = load i8*, i8** %27
%29 = tail call i32 @calc_pair(i8* %28, i8* null, i8 signext 35)
%30 = icmp eq i32 %29, 0
br i1 %30, label %71, label %73
31: ; preds = %23
%32 = tail call i32 @strcmp(i8* dereferenceable(1) %15, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %69
34: ; preds = %31
%35 = tail call i32 (...) @calc_interactive()
%36 = icmp eq i32 %35, 0
br i1 %36, label %71, label %73
37: ; preds = %2
%38 = getelementptr inbounds i8*, i8** %1, i64 1
%39 = load i8*, i8** %38
%40 = tail call i32 @strcmp(i8* dereferenceable(1) %39, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %49
42: ; preds = %37
%43 = getelementptr inbounds i8*, i8** %1, i64 2
%44 = load i8*, i8** %43
%45 = getelementptr inbounds i8*, i8** %1, i64 3
%46 = load i8*, i8** %45
%47 = tail call i32 @calc_cent(i8* %44, i8* %46, i8 signext 35)
%48 = icmp eq i32 %47, 0
br i1 %48, label %71, label %73
49: ; preds = %37
%50 = tail call i32 @strcmp(i8* dereferenceable(1) %39, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %49
%53 = getelementptr inbounds i8*, i8** %1, i64 2
%54 = load i8*, i8** %53
%55 = getelementptr inbounds i8*, i8** %1, i64 3
%56 = load i8*, i8** %55
%57 = tail call i32 @calc_pair(i8* %54, i8* %56, i8 signext 35)
%58 = icmp eq i32 %57, 0
br i1 %58, label %71, label %73
59: ; preds = %49
%60 = tail call i32 @strcmp(i8* dereferenceable(1) %39, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%61 = icmp eq i32 %60, 0
br i1 %61, label %66, label %69
62: ; preds = %2
%63 = load i32, i32* @stderr
%64 = tail call i32 @fprintf(i32 %63, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%65 = tail call i32 (...) @distcalc_help()
br label %76
66: ; preds = %59
%67 = tail call i32 (...) @calc_interactive()
%68 = icmp eq i32 %67, 0
br i1 %68, label %71, label %73
69: ; preds = %59, %31, %5
%70 = tail call i32 (...) @distcalc_help()
br label %71
71: ; preds = %69, %52, %42, %34, %26, %18, %10, %66
%72 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
br label %76
73: ; preds = %52, %42, %34, %26, %18, %10, %66
%74 = load i32, i32* @stderr
%75 = tail call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
br label %76
76: ; preds = %73, %71, %62, %3
%77 = phi i32 [ 1, %62 ], [ 0, %71 ], [ 1, %73 ], [ 1, %3 ]
ret i32 %77
}