#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 atoh(char);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int strlen(char *);
char tolower(char);
main(int argc, char **argv) {
  char c, *s, *four;
  long int result;
  int b, i, h;
  if (argc < 2 || argc > 3) {
    fprintf(stderr, "usage: four2hex four-string\n");
    fprintf(stderr, "   or: four2hex -r hex-string\n");
    return (1);
  }
  result = 0L;
  if (strcmp(argv[1], "-r") == 0) {
    for (s = argv[2]; *s != '\0'; s++) {
      c = tolower(*s);
      b = atoh(c);
      for (i = 0; i < 2; i++) {
        h = ((b & 0xc) >> 2) + 1;
        b = (b & 0x3) << 2;
        printf("%d", h);
      }
    }
    printf("\n");
  } else {
    four = argv[1];
    if (strlen(four) == 4 || strlen(four) == 8) {
      for (s = four; *s != '\0'; s++) {
        result = result << 2;
        switch (*s) {
        case '1':
          result = result + 0;
          break;
        case '2':
          result = result + 1;
          break;
        case '3':
          result = result + 2;
          break;
        case '4':
          result = result + 3;
          break;
        default:
          fprintf(stderr, "four-string may contain '1' to '4' only\n");
          break;
        }
      }
      if (strlen(four) == 8) {
        printf("%04x\n", result);
      } else {
        printf("%02x\n", result);
      }
    } else {
      fprintf(stderr, "four-string must be of length 4 or 8\n");
      return (1);
    }
  }
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     118a <main+0x2a>
cmpl   $0x3,-0x8(%rbp)
jle    11c0 <main+0x60>
mov    0x2e4f(%rip),%rax
mov    (%rax),%edi
lea    0xe76(%rip),%rsi
call   1070 <fprintf@plt>
mov    0x2e3a(%rip),%rax
mov    (%rax),%edi
lea    0xe7e(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13ee <main+0x28e>
movq   $0x0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe75(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1291 <main+0x131>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     127e <main+0x11e>
mov    -0x20(%rbp),%rax
movsbl (%rax),%edi
call   1080 <tolower@plt>
mov    %al,-0x11(%rbp)
movsbl -0x11(%rbp),%edi
call   1030 <atoh@plt>
mov    %eax,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
cmpl   $0x2,-0x38(%rbp)
jge    1268 <main+0x108>
mov    -0x34(%rbp),%eax
and    $0xc,%eax
sar    $0x2,%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x34(%rbp),%eax
and    $0x3,%eax
shl    $0x2,%eax
mov    %eax,-0x34(%rbp)
mov    -0x3c(%rbp),%esi
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1224 <main+0xc4>
jmp    126d <main+0x10d>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    11f2 <main+0x92>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13e7 <main+0x287>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
je     12c1 <main+0x161>
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x8,%eax
jne    13c1 <main+0x261>
mov    -0x28(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1381 <main+0x221>
mov    -0x30(%rbp),%rax
shl    $0x2,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
add    $0xffffffcf,%eax
mov    %eax,%ecx
mov    %rcx,-0x48(%rbp)
sub    $0x3,%eax
ja     1356 <main+0x1f6>
mov    -0x48(%rbp),%rax
lea    0xcf7(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x30(%rbp),%rax
add    $0x0,%rax
mov    %rax,-0x30(%rbp)
jmp    136b <main+0x20b>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    136b <main+0x20b>
mov    -0x30(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x30(%rbp)
jmp    136b <main+0x20b>
mov    -0x30(%rbp),%rax
add    $0x3,%rax
mov    %rax,-0x30(%rbp)
jmp    136b <main+0x20b>
mov    0x2c83(%rip),%rax
mov    (%rax),%edi
lea    0xcec(%rip),%rsi
call   1070 <fprintf@plt>
jmp    1370 <main+0x210>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    12c9 <main+0x169>
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x8,%eax
jne    13aa <main+0x24a>
mov    -0x30(%rbp),%rsi
lea    0xcdd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13bc <main+0x25c>
mov    -0x30(%rbp),%rsi
lea    0xccc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13e2 <main+0x282>
mov    0x2c18(%rip),%rax
mov    (%rax),%edi
lea    0xcb6(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13ee <main+0x28e>
jmp    13e7 <main+0x287>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
add    $0xfffffffc,%edi
cmp    $0xfffffffd,%edi
ja     11b0 <main+0x40>
mov    0x2e56(%rip),%rbx
mov    (%rbx),%edi
lea    0xe7d(%rip),%rsi
call   1080 <fprintf@plt>
mov    (%rbx),%edi
lea    0xe8c(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0x1,%ebp
jmp    131d <main+0x1ad>
mov    %rsi,%rbx
mov    0x8(%rsi),%rdi
lea    0xe8e(%rip),%rsi
call   1070 <strcmp@plt>
test   %rax,%rax
je     127e <main+0x10e>
mov    0x8(%rbx),%r14
mov    %r14,%rdi
call   1050 <strlen@plt>
cmp    $0x4,%eax
je     11ee <main+0x7e>
mov    %r14,%rdi
call   1050 <strlen@plt>
cmp    $0x8,%eax
jne    132e <main+0x1be>
mov    (%r14),%al
test   %al,%al
je     12f2 <main+0x182>
lea    0x1(%r14),%rbp
xor    %ebx,%ebx
mov    0x2dda(%rip),%r12
lea    0xe45(%rip),%r15
lea    0xdec(%rip),%r13
jmp    1234 <main+0xc4>
cs nopw 0x0(%rax,%rax,1)
or     $0x3,%rbx
movzbl 0x0(%rbp),%eax
add    $0x1,%rbp
test   %al,%al
je     12f4 <main+0x184>
movsbl %al,%eax
shl    $0x2,%rbx
add    $0xffffffcf,%eax
cmp    $0x3,%eax
ja     1270 <main+0x100>
movslq 0x0(%r13,%rax,4),%rax
add    %r13,%rax
jmp    *%rax
or     $0x1,%rbx
jmp    1224 <main+0xb4>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
or     $0x2,%rbx
jmp    1224 <main+0xb4>
cs nopw 0x0(%rax,%rax,1)
mov    (%r12),%edi
mov    %r15,%rsi
call   1080 <fprintf@plt>
jmp    1224 <main+0xb4>
mov    0x10(%rbx),%rbx
mov    (%rbx),%al
test   %al,%al
je     12e4 <main+0x174>
add    $0x1,%rbx
lea    0xdbc(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsbl %al,%edi
call   1090 <tolower@plt>
movsbl %al,%edi
call   1040 <atoh@plt>
mov    %eax,%ebp
mov    %eax,%esi
shr    $0x2,%esi
and    $0x3,%esi
add    $0x1,%esi
and    $0x3,%ebp
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%ebp
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl (%rbx),%eax
add    $0x1,%rbx
test   %al,%al
jne    12a0 <main+0x130>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %ebp,%ebp
jmp    131d <main+0x1ad>
xor    %ebx,%ebx
mov    %r14,%rdi
call   1050 <strlen@plt>
cmp    $0x8,%eax
jne    130a <main+0x19a>
lea    0xd73(%rip),%rdi
jmp    1311 <main+0x1a1>
lea    0xd70(%rip),%rdi
xor    %ebp,%ebp
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cab(%rip),%rax
mov    (%rax),%edi
lea    0xd49(%rip),%rsi
jmp    11a1 <main+0x31>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [29 x i8] c"usage: four2hex four-string\0A\00"
@.str.1 = [31 x i8] c" or: four2hex -r hex-string\0A\00"
@.str.2 = [3 x i8] c"-r\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [41 x i8] c"four-string may contain '1' to '4' only\0A\00"
@.str.6 = [6 x i8] c"%04x\0A\00"
@.str.7 = [6 x i8] c"%02x\0A\00"
@.str.8 = [38 x i8] c"four-string must be of length 4 or 8\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 2
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load i32, i32* %4
%17 = icmp sgt i32 %16, 3
br i1 %17, label %18, label %23
18: ; preds = %15, %2
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
store i32 1, i32* %3
br label %125
23: ; preds = %15
store i64 0, i64* %9
%24 = load i8**, i8*** %5
%25 = getelementptr inbounds i8*, i8** %24, i64 1
%26 = load i8*, i8** %25
%27 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %66
29: ; preds = %23
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 2
%32 = load i8*, i8** %31
store i8* %32, i8** %7
br label %33
33: ; preds = %61, %29
%34 = load i8*, i8** %7
%35 = load i8, i8* %34
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %64
38: ; preds = %33
%39 = load i8*, i8** %7
%40 = load i8, i8* %39
%41 = call signext i8 @tolower(i8 signext %40)
store i8 %41, i8* %6
%42 = load i8, i8* %6
%43 = call i32 @atoh(i8 signext %42)
store i32 %43, i32* %10
store i32 0, i32* %11
br label %44
44: ; preds = %57, %38
%45 = load i32, i32* %11
%46 = icmp slt i32 %45, 2
br i1 %46, label %47, label %60
47: ; preds = %44
%48 = load i32, i32* %10
%49 = and i32 %48, 12
%50 = ashr i32 %49, 2
%51 = add nsw i32 %50, 1
store i32 %51, i32* %12
%52 = load i32, i32* %10
%53 = and i32 %52, 3
%54 = shl i32 %53, 2
store i32 %54, i32* %10
%55 = load i32, i32* %12
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %55)
br label %57
57: ; preds = %47
%58 = load i32, i32* %11
%59 = add nsw i32 %58, 1
store i32 %59, i32* %11
br label %44
60: ; preds = %44
br label %61
61: ; preds = %60
%62 = load i8*, i8** %7
%63 = getelementptr inbounds i8, i8* %62, i32 1
store i8* %63, i8** %7
br label %33
64: ; preds = %33
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %124
66: ; preds = %23
%67 = load i8**, i8*** %5
%68 = getelementptr inbounds i8*, i8** %67, i64 1
%69 = load i8*, i8** %68
store i8* %69, i8** %8
%70 = load i8*, i8** %8
%71 = call i32 @strlen(i8* %70)
%72 = icmp eq i32 %71, 4
br i1 %72, label %77, label %73
73: ; preds = %66
%74 = load i8*, i8** %8
%75 = call i32 @strlen(i8* %74)
%76 = icmp eq i32 %75, 8
br i1 %76, label %77, label %120
77: ; preds = %73, %66
%78 = load i8*, i8** %8
store i8* %78, i8** %7
br label %79
79: ; preds = %106, %77
%80 = load i8*, i8** %7
%81 = load i8, i8* %80
%82 = sext i8 %81 to i32
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %109
84: ; preds = %79
%85 = load i64, i64* %9
%86 = shl i64 %85, 2
store i64 %86, i64* %9
%87 = load i8*, i8** %7
%88 = load i8, i8* %87
%89 = sext i8 %88 to i32
switch i32 %89, label %102 [
i32 49, label %90
i32 50, label %93
i32 51, label %96
i32 52, label %99
]
90: ; preds = %84
%91 = load i64, i64* %9
%92 = add nsw i64 %91, 0
store i64 %92, i64* %9
br label %105
93: ; preds = %84
%94 = load i64, i64* %9
%95 = add nsw i64 %94, 1
store i64 %95, i64* %9
br label %105
96: ; preds = %84
%97 = load i64, i64* %9
%98 = add nsw i64 %97, 2
store i64 %98, i64* %9
br label %105
99: ; preds = %84
%100 = load i64, i64* %9
%101 = add nsw i64 %100, 3
store i64 %101, i64* %9
br label %105
102: ; preds = %84
%103 = load i32, i32* @stderr
%104 = call i32 @fprintf(i32 %103, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
br label %105
105: ; preds = %102, %99, %96, %93, %90
br label %106
106: ; preds = %105
%107 = load i8*, i8** %7
%108 = getelementptr inbounds i8, i8* %107, i32 1
store i8* %108, i8** %7
br label %79
109: ; preds = %79
%110 = load i8*, i8** %8
%111 = call i32 @strlen(i8* %110)
%112 = icmp eq i32 %111, 8
br i1 %112, label %113, label %116
113: ; preds = %109
%114 = load i64, i64* %9
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 %114)
br label %119
116: ; preds = %109
%117 = load i64, i64* %9
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i64 %117)
br label %119
119: ; preds = %116, %113
br label %123
120: ; preds = %73
%121 = load i32, i32* @stderr
%122 = call i32 @fprintf(i32 %121, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
store i32 1, i32* %3
br label %125
123: ; preds = %119
br label %124
124: ; preds = %123, %64
store i32 0, i32* %3
br label %125
125: ; preds = %124, %120, %18
%126 = load i32, i32* %3
ret i32 %126
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [29 x i8] c"usage: four2hex four-string\0A\00"
@.str.1 = [31 x i8] c" or: four2hex -r hex-string\0A\00"
@.str.2 = [3 x i8] c"-r\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.5 = [41 x i8] c"four-string may contain '1' to '4' only\0A\00"
@.str.6 = [6 x i8] c"%04x\0A\00"
@.str.7 = [6 x i8] c"%02x\0A\00"
@.str.8 = [38 x i8] c"four-string must be of length 4 or 8\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = add i32 %0, -4
%4 = icmp ult i32 %3, -2
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = load i32, i32* @stderr
%7 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
br label %78
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call i64 @strcmp(i8* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %37
15: ; preds = %10
%16 = getelementptr inbounds i8*, i8** %1, i64 2
%17 = load i8*, i8** %16
%18 = load i8, i8* %17
%19 = icmp eq i8 %18, 0
br i1 %19, label %35, label %20
20: ; preds = %15, %20
%21 = phi i8 [ %33, %20 ], [ %18, %15 ]
%22 = phi i8* [ %32, %20 ], [ %17, %15 ]
%23 = tail call signext i8 @tolower(i8 signext %21)
%24 = tail call i32 @atoh(i8 signext %23)
%25 = lshr i32 %24, 2
%26 = and i32 %25, 3
%27 = add nuw nsw i32 %26, 1
%28 = and i32 %24, 3
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %27)
%30 = add nuw nsw i32 %28, 1
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %30)
%32 = getelementptr inbounds i8, i8* %22, i64 1
%33 = load i8, i8* %32
%34 = icmp eq i8 %33, 0
br i1 %34, label %35, label %20
35: ; preds = %20, %15
%36 = tail call i32 @putchar(i32 10)
br label %78
37: ; preds = %10
%38 = load i8*, i8** %11
%39 = tail call i32 @strlen(i8* %38)
%40 = icmp eq i32 %39, 4
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = tail call i32 @strlen(i8* %38)
%43 = icmp eq i32 %42, 8
br i1 %43, label %44, label %75
44: ; preds = %41, %37
%45 = load i8, i8* %38
%46 = icmp eq i8 %45, 0
br i1 %46, label %67, label %47
47: ; preds = %44, %62
%48 = phi i8 [ %65, %62 ], [ %45, %44 ]
%49 = phi i64 [ %63, %62 ], [ 0, %44 ]
%50 = phi i8* [ %64, %62 ], [ %38, %44 ]
%51 = sext i8 %48 to i32
%52 = shl i64 %49, 2
switch i32 %51, label %59 [
i32 49, label %62
i32 50, label %53
i32 51, label %55
i32 52, label %57
]
53: ; preds = %47
%54 = or i64 %52, 1
br label %62
55: ; preds = %47
%56 = or i64 %52, 2
br label %62
57: ; preds = %47
%58 = or i64 %52, 3
br label %62
59: ; preds = %47
%60 = load i32, i32* @stderr
%61 = tail call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
br label %62
62: ; preds = %47, %53, %55, %57, %59
%63 = phi i64 [ %52, %59 ], [ %58, %57 ], [ %56, %55 ], [ %54, %53 ], [ %52, %47 ]
%64 = getelementptr inbounds i8, i8* %50, i64 1
%65 = load i8, i8* %64
%66 = icmp eq i8 %65, 0
br i1 %66, label %67, label %47
67: ; preds = %62, %44
%68 = phi i64 [ 0, %44 ], [ %63, %62 ]
%69 = tail call i32 @strlen(i8* %38)
%70 = icmp eq i32 %69, 8
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 %68)
br label %78
73: ; preds = %67
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i64 %68)
br label %78
75: ; preds = %41
%76 = load i32, i32* @stderr
%77 = tail call i32 @fprintf(i32 %76, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
br label %78
78: ; preds = %35, %71, %73, %75, %5
%79 = phi i32 [ 1, %5 ], [ 1, %75 ], [ 0, %73 ], [ 0, %71 ], [ 0, %35 ]
ret i32 %79
}