#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*/ emitusage();
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int run_as31(char *, int, int, char *, char *);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  char *dashF = NULL, *dashA = NULL;
  int use_stdout = 0, do_lst = 0;
  int r, i;
  fprintf(stderr, "AS31 2.0b3 (beta), March 20, 2001\n");
  fprintf(stderr, "Please report problems to: paul@pjrc.com\n\n");
  if (argc < 2) {
    fprintf(stderr, "Usage: %s [-l] [-s] [-Ffmt] [-Aarg] file.asm\n", argv[0]);
    fprintf(stderr, "\t -l :  create list file\n");
    fprintf(stderr, "\t -s :  send output to stdout\n");
    fprintf(stderr, "\t -F :  output format (intel hex default)\n");
    fprintf(stderr, "\t -A :  optional output format argument\n");
    emitusage();
    exit(1);
  }
  for (i = 1; i < argc; i++) {
    if (argv[i][0] != '-')
      break;
    if (argv[i][1] == 'l')
      do_lst = 1;
    else if (argv[i][1] == 's')
      use_stdout = 1;
    else if (dashF == NULL && argv[i][1] == 'F')
      dashF = argv[i] + 2;
    else if (dashA == NULL && argv[i][1] == 'A')
      dashA = argv[i] + 2;
    else {
      fprintf(stderr, "Duplicate or unknown flag.\n");
      exit(1);
    }
  }
  if (i == argc) {
    fprintf(stderr, "Missing input file.\n");
    exit(1);
  }
  r = run_as31(argv[i], do_lst, use_stdout, dashF, dashA);
  return r;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
mov    0x2e65(%rip),%rax
mov    (%rax),%edi
lea    0xe7c(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2e4e(%rip),%rax
mov    (%rax),%edi
lea    0xe88(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpl   $0x2,-0x8(%rbp)
jge    1237 <main+0xf7>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe8b(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2e0f(%rip),%rax
mov    (%rax),%edi
lea    0xea2(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2df8(%rip),%rax
mov    (%rax),%edi
lea    0xea5(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2de1(%rip),%rax
mov    (%rax),%edi
lea    0xead(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2dca(%rip),%rax
mov    (%rax),%edi
lea    0xec1(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x0,%al
call   1030 <emitusage@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
movl   $0x1,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    136e <main+0x22e>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
je     1267 <main+0x127>
jmp    136e <main+0x22e>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl 0x1(%rax),%eax
cmp    $0x6c,%eax
jne    128c <main+0x14c>
movl   $0x1,-0x28(%rbp)
jmp    135b <main+0x21b>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl 0x1(%rax),%eax
cmp    $0x73,%eax
jne    12b1 <main+0x171>
movl   $0x1,-0x24(%rbp)
jmp    1356 <main+0x216>
cmpq   $0x0,-0x18(%rbp)
jne    12ee <main+0x1ae>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl 0x1(%rax),%eax
cmp    $0x46,%eax
jne    12ee <main+0x1ae>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
add    $0x2,%rax
mov    %rax,-0x18(%rbp)
jmp    1351 <main+0x211>
cmpq   $0x0,-0x20(%rbp)
jne    132b <main+0x1eb>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl 0x1(%rax),%eax
cmp    $0x41,%eax
jne    132b <main+0x1eb>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
add    $0x2,%rax
mov    %rax,-0x20(%rbp)
jmp    134c <main+0x20c>
mov    0x2cae(%rip),%rax
mov    (%rax),%edi
lea    0xdce(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
jmp    1351 <main+0x211>
jmp    1356 <main+0x216>
jmp    135b <main+0x21b>
jmp    1360 <main+0x220>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    123e <main+0xfe>
mov    -0x30(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    139b <main+0x25b>
mov    0x2c5f(%rip),%rax
mov    (%rax),%edi
lea    0xd9b(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x28(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    -0x18(%rbp),%rcx
mov    -0x20(%rbp),%r8
call   1040 <run_as31@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%rbp
mov    %edi,%ebx
mov    0x2e8d(%rip),%r15
mov    (%r15),%edi
lea    0xea3(%rip),%rsi
xor    %r14d,%r14d
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r15),%edi
lea    0xeb2(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
cmp    $0x2,%ebx
jl     1238 <main+0xf8>
mov    %ebx,%esi
mov    $0x1,%eax
xor    %ecx,%ecx
xor    %edx,%edx
xor    %r8d,%r8d
jmp    11af <main+0x6f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0x1,%r14d
add    $0x1,%rax
cmp    %rax,%rsi
je     1211 <main+0xd1>
mov    0x0(%rbp,%rax,8),%rdi
cmpb   $0x2d,(%rdi)
jne    11f6 <main+0xb6>
movzbl 0x1(%rdi),%ebx
cmp    $0x6c,%bl
je     11a0 <main+0x60>
cmp    $0x73,%bl
jne    11d0 <main+0x90>
mov    $0x1,%edx
jmp    11a6 <main+0x66>
xchg   %ax,%ax
test   %rcx,%rcx
jne    11e3 <main+0xa3>
cmp    $0x46,%bl
jne    11e3 <main+0xa3>
add    $0x2,%rdi
mov    %rdi,%rcx
jmp    11a6 <main+0x66>
test   %r8,%r8
jne    122c <main+0xec>
cmp    $0x41,%bl
jne    122c <main+0xec>
add    $0x2,%rdi
mov    %rdi,%r8
jmp    11a6 <main+0x66>
cmp    %eax,%esi
je     1211 <main+0xd1>
mov    0x0(%rbp,%rax,8),%rdi
mov    %r14d,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <run_as31@plt>
mov    (%r15),%edi
lea    0xf0a(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    (%r15),%edi
lea    0xed3(%rip),%rsi
jmp    121b <main+0xdb>
mov    (%r15),%edi
mov    0x0(%rbp),%rdx
lea    0xe08(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r15),%edi
lea    0xe25(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r15),%edi
lea    0xe2e(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r15),%edi
lea    0xe3c(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r15),%edi
lea    0xe56(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
xor    %eax,%eax
call   1030 <emitusage@plt>
mov    $0x1,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [35 x i8] c"AS31 2.0b3 (beta), March 20, 2001\0A\00"
@.str.1 = [43 x i8] c"Please report problems to: paul@pjrc.com\0A\0A\00"
@.str.2 = [46 x i8] c"Usage: %s [-l] [-s] [-Ffmt] [-Aarg] file.asm\0A\00"
@.str.3 = [26 x i8] c"\09 -l : create list file\0A\00"
@.str.4 = [31 x i8] c"\09 -s : send output to stdout\0A\00"
@.str.5 = [43 x i8] c"\09 -F : output format (intel hex default)\0A\00"
@.str.6 = [41 x i8] c"\09 -A : optional output format argument\0A\00"
@.str.7 = [28 x i8] c"Duplicate or unknown flag.\0A\00"
@.str.8 = [21 x i8] c"Missing input file.\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 i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %6
store i8* null, i8** %7
store i32 0, i32* %8
store i32 0, i32* %9
%12 = load i32, i32* @stderr
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%16 = load i32, i32* %4
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %34
18: ; preds = %2
%19 = load i32, i32* @stderr
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 0
%22 = load i8*, i8** %21
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i8* %22)
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%32 = call i32 (...) @emitusage()
%33 = call i32 @exit(i32 1)
unreachable
34: ; preds = %2
store i32 1, i32* %11
br label %35
35: ; preds = %120, %34
%36 = load i32, i32* %11
%37 = load i32, i32* %4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %123
39: ; preds = %35
%40 = load i8**, i8*** %5
%41 = load i32, i32* %11
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8*, i8** %40, i64 %42
%44 = load i8*, i8** %43
%45 = getelementptr inbounds i8, i8* %44, i64 0
%46 = load i8, i8* %45
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 45
br i1 %48, label %49, label %50
49: ; preds = %39
br label %123
50: ; preds = %39
%51 = load i8**, i8*** %5
%52 = load i32, i32* %11
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8*, i8** %51, i64 %53
%55 = load i8*, i8** %54
%56 = getelementptr inbounds i8, i8* %55, i64 1
%57 = load i8, i8* %56
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 108
br i1 %59, label %60, label %61
60: ; preds = %50
store i32 1, i32* %9
br label %119
61: ; preds = %50
%62 = load i8**, i8*** %5
%63 = load i32, i32* %11
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8*, i8** %62, i64 %64
%66 = load i8*, i8** %65
%67 = getelementptr inbounds i8, i8* %66, i64 1
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 115
br i1 %70, label %71, label %72
71: ; preds = %61
store i32 1, i32* %8
br label %118
72: ; preds = %61
%73 = load i8*, i8** %6
%74 = icmp eq i8* %73, null
br i1 %74, label %75, label %92
75: ; preds = %72
%76 = load i8**, i8*** %5
%77 = load i32, i32* %11
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8*, i8** %76, i64 %78
%80 = load i8*, i8** %79
%81 = getelementptr inbounds i8, i8* %80, i64 1
%82 = load i8, i8* %81
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 70
br i1 %84, label %85, label %92
85: ; preds = %75
%86 = load i8**, i8*** %5
%87 = load i32, i32* %11
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8*, i8** %86, i64 %88
%90 = load i8*, i8** %89
%91 = getelementptr inbounds i8, i8* %90, i64 2
store i8* %91, i8** %6
br label %117
92: ; preds = %75, %72
%93 = load i8*, i8** %7
%94 = icmp eq i8* %93, null
br i1 %94, label %95, label %112
95: ; preds = %92
%96 = load i8**, i8*** %5
%97 = load i32, i32* %11
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8*, i8** %96, i64 %98
%100 = load i8*, i8** %99
%101 = getelementptr inbounds i8, i8* %100, i64 1
%102 = load i8, i8* %101
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 65
br i1 %104, label %105, label %112
105: ; preds = %95
%106 = load i8**, i8*** %5
%107 = load i32, i32* %11
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8*, i8** %106, i64 %108
%110 = load i8*, i8** %109
%111 = getelementptr inbounds i8, i8* %110, i64 2
store i8* %111, i8** %7
br label %116
112: ; preds = %95, %92
%113 = load i32, i32* @stderr
%114 = call i32 (i32, i8*, ...) @fprintf(i32 %113, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%115 = call i32 @exit(i32 1)
unreachable
116: ; preds = %105
br label %117
117: ; preds = %116, %85
br label %118
118: ; preds = %117, %71
br label %119
119: ; preds = %118, %60
br label %120
120: ; preds = %119
%121 = load i32, i32* %11
%122 = add nsw i32 %121, 1
store i32 %122, i32* %11
br label %35
123: ; preds = %49, %35
%124 = load i32, i32* %11
%125 = load i32, i32* %4
%126 = icmp eq i32 %124, %125
br i1 %126, label %127, label %131
127: ; preds = %123
%128 = load i32, i32* @stderr
%129 = call i32 (i32, i8*, ...) @fprintf(i32 %128, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%130 = call i32 @exit(i32 1)
unreachable
131: ; preds = %123
%132 = load i8**, i8*** %5
%133 = load i32, i32* %11
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8*, i8** %132, i64 %134
%136 = load i8*, i8** %135
%137 = load i32, i32* %9
%138 = load i32, i32* %8
%139 = load i8*, i8** %6
%140 = load i8*, i8** %7
%141 = call i32 @run_as31(i8* %136, i32 %137, i32 %138, i8* %139, i8* %140)
store i32 %141, i32* %10
%142 = load i32, i32* %10
ret i32 %142
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [35 x i8] c"AS31 2.0b3 (beta), March 20, 2001\0A\00"
@.str.1 = [43 x i8] c"Please report problems to: paul@pjrc.com\0A\0A\00"
@.str.2 = [46 x i8] c"Usage: %s [-l] [-s] [-Ffmt] [-Aarg] file.asm\0A\00"
@.str.3 = [26 x i8] c"\09 -l : create list file\0A\00"
@.str.4 = [31 x i8] c"\09 -s : send output to stdout\0A\00"
@.str.5 = [43 x i8] c"\09 -F : output format (intel hex default)\0A\00"
@.str.6 = [41 x i8] c"\09 -A : optional output format argument\0A\00"
@.str.7 = [28 x i8] c"Duplicate or unknown flag.\0A\00"
@.str.8 = [21 x i8] c"Missing input file.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = load i32, i32* @stderr
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%7 = icmp slt i32 %0, 2
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = zext i32 %0 to i64
br label %24
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i8*, i8** %1
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i8* %12)
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%22 = tail call i32 (...) @emitusage()
%23 = tail call i32 @exit(i32 1)
unreachable
24: ; preds = %8, %54
%25 = phi i64 [ 1, %8 ], [ %59, %54 ]
%26 = phi i8* [ null, %8 ], [ %58, %54 ]
%27 = phi i32 [ 0, %8 ], [ %57, %54 ]
%28 = phi i32 [ 0, %8 ], [ %56, %54 ]
%29 = phi i8* [ null, %8 ], [ %55, %54 ]
%30 = getelementptr inbounds i8*, i8** %1, i64 %25
%31 = load i8*, i8** %30
%32 = load i8, i8* %31
%33 = icmp eq i8 %32, 45
br i1 %33, label %34, label %61
34: ; preds = %24
%35 = getelementptr inbounds i8, i8* %31, i64 1
%36 = load i8, i8* %35
switch i8 %36, label %38 [
i8 108, label %54
i8 115, label %37
]
37: ; preds = %34
br label %54
38: ; preds = %34
%39 = icmp eq i8* %26, null
%40 = icmp eq i8 %36, 70
%41 = select i1 %39, i1 %40, i1 false
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = getelementptr inbounds i8, i8* %31, i64 2
br label %54
44: ; preds = %38
%45 = icmp eq i8* %29, null
%46 = icmp eq i8 %36, 65
%47 = select i1 %45, i1 %46, i1 false
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = getelementptr inbounds i8, i8* %31, i64 2
br label %54
50: ; preds = %44
%51 = load i32, i32* @stderr
%52 = tail call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%53 = tail call i32 @exit(i32 1)
unreachable
54: ; preds = %34, %42, %48, %37
%55 = phi i8* [ %29, %37 ], [ %29, %42 ], [ %49, %48 ], [ %29, %34 ]
%56 = phi i32 [ 1, %37 ], [ %28, %42 ], [ %28, %48 ], [ %28, %34 ]
%57 = phi i32 [ %27, %37 ], [ %27, %42 ], [ %27, %48 ], [ 1, %34 ]
%58 = phi i8* [ %26, %37 ], [ %43, %42 ], [ %26, %48 ], [ %26, %34 ]
%59 = add nuw nsw i64 %25, 1
%60 = icmp eq i64 %59, %9
br i1 %60, label %64, label %24
61: ; preds = %24
%62 = trunc i64 %25 to i32
%63 = icmp eq i32 %62, %0
br i1 %63, label %64, label %68
64: ; preds = %54, %61
%65 = load i32, i32* @stderr
%66 = tail call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%67 = tail call i32 @exit(i32 1)
unreachable
68: ; preds = %61
%69 = and i64 %25, 4294967295
%70 = getelementptr inbounds i8*, i8** %1, i64 %69
%71 = load i8*, i8** %70
%72 = tail call i32 @run_as31(i8* %71, i32 %27, i32 %28, i8* %26, i8* %29)
ret i32 %72
}