#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 */
struct label_list {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
struct label_list *label_list_add_pos(struct label_list *, char *, int);
int /*<<< orphan*/ stderr;
int strlen(char *);
long strtol(char *, char **, int /*<<< orphan*/);
unsigned char get_number(char *s, struct label_list **label, int ram_pos) {
  char *p;
  long val;
  if (s == NULL) {
    fprintf(stderr, "Expected number.\n");
    exit(EXIT_FAILURE);
  }
  if (strlen(s) == 3 && s[0] == '\'' && s[2] == '\'') {
    return (unsigned char)s[1];
  }
  if (s[0] == '$') {
    *label = label_list_add_pos(*label, s + 1, ram_pos);
    return 0;
  }
  if (strlen(s) == 8) {
    int i;
    int bad = 0;
    for (i = 0; i < 8; i++) {
      if (s[i] != '0' && s[i] != '1') {
        bad = 1;
        break;
      }
    }
    if (bad == 0) {
      int number = 0;
      for (i = 0; i < 8; i++) {
        number |= (s[i] == '1') << (7 - i);
      }
      return (unsigned char)number;
    }
  }
  val = strtol(s, &p, 0);
  if (*p) {
    fprintf(stderr,
            "Expected a number, single char enclosed in \"'\" or label "
            "starting with '$', got '%s'.\n",
            s);
    exit(EXIT_FAILURE);
  }
  if (val < 0 || val > 255) {
    fprintf(stderr, "Invalid number: %ld.\n", val);
    exit(EXIT_FAILURE);
  }
  return (unsigned char)val;
}


x86 assembly (clang, -O0):
<get_number>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1193 <get_number+0x43>
mov    0x2e6b(%rip),%rax
mov    (%rax),%edi
lea    0xe82(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>
mov    -0x10(%rbp),%rdi
call   1030 <strlen@plt>
cmp    $0x3,%eax
jne    11d5 <get_number+0x85>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x27,%eax
jne    11d5 <get_number+0x85>
mov    -0x10(%rbp),%rax
movsbl 0x2(%rax),%eax
cmp    $0x27,%eax
jne    11d5 <get_number+0x85>
mov    -0x10(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,-0x1(%rbp)
jmp    137b <get_number+0x22b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x24,%eax
jne    120f <get_number+0xbf>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
add    $0x1,%rsi
mov    -0x1c(%rbp),%edx
call   1060 <label_list_add_pos@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
movb   $0x0,-0x1(%rbp)
jmp    137b <get_number+0x22b>
mov    -0x10(%rbp),%rdi
call   1030 <strlen@plt>
cmp    $0x8,%eax
jne    12e9 <get_number+0x199>
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x8,-0x34(%rbp)
jge    1282 <get_number+0x132>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x30,%eax
je     126f <get_number+0x11f>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x31,%eax
je     126f <get_number+0x11f>
movl   $0x1,-0x38(%rbp)
jmp    1282 <get_number+0x132>
jmp    1274 <get_number+0x124>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    122f <get_number+0xdf>
cmpl   $0x0,-0x38(%rbp)
jne    12e4 <get_number+0x194>
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x8,-0x34(%rbp)
jge    12d9 <get_number+0x189>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x31,%eax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    $0x7,%ecx
sub    -0x34(%rbp),%ecx
shl    %cl,%eax
or     -0x3c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    129a <get_number+0x14a>
mov    -0x3c(%rbp),%eax
mov    %al,-0x1(%rbp)
jmp    137b <get_number+0x22b>
jmp    12e9 <get_number+0x199>
mov    -0x10(%rbp),%rdi
lea    -0x28(%rbp),%rsi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rax,-0x30(%rbp)
mov    -0x28(%rbp),%rax
cmpb   $0x0,(%rax)
je     1332 <get_number+0x1e2>
mov    0x2cd0(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xcf5(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2cad(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>
cmpq   $0x0,-0x30(%rbp)
jl     134b <get_number+0x1fb>
cmpq   $0xff,-0x30(%rbp)
jle    1374 <get_number+0x224>
mov    0x2c8e(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0xd09(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2c6b(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>
mov    -0x30(%rbp),%rax
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_number>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
test   %rdi,%rdi
je     12c1 <get_number+0x171>
mov    %edx,%ebp
mov    %rsi,%r14
mov    %rdi,%rbx
call   1030 <strlen@plt>
mov    (%rbx),%cl
cmp    $0x3,%eax
jne    1188 <get_number+0x38>
cmp    $0x27,%cl
jne    1188 <get_number+0x38>
cmpb   $0x27,0x2(%rbx)
jne    11a8 <get_number+0x58>
mov    0x1(%rbx),%al
jmp    12b8 <get_number+0x168>
cmp    $0x24,%cl
jne    11a8 <get_number+0x58>
mov    (%r14),%rdi
add    $0x1,%rbx
mov    %rbx,%rsi
mov    %ebp,%edx
call   1060 <label_list_add_pos@plt>
mov    %rax,(%r14)
xor    %eax,%eax
jmp    12b8 <get_number+0x168>
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    $0x8,%eax
jne    1297 <get_number+0x147>
mov    (%rbx),%al
mov    %eax,%ecx
and    $0xfe,%cl
cmp    $0x30,%cl
jne    1297 <get_number+0x147>
mov    0x1(%rbx),%cl
mov    %ecx,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x2(%rbx),%r11b
mov    %r11d,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x3(%rbx),%sil
mov    %esi,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x4(%rbx),%dil
mov    %edi,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x5(%rbx),%r8b
mov    %r8d,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x6(%rbx),%r9b
mov    %r9d,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
mov    0x7(%rbx),%r10b
mov    %r10d,%edx
and    $0xfe,%dl
cmp    $0x30,%dl
jne    1297 <get_number+0x147>
cmp    $0x31,%al
sete   %al
shl    $0x7,%al
cmp    $0x31,%cl
sete   %cl
shl    $0x6,%cl
or     %al,%cl
cmp    $0x31,%r11b
sete   %al
shl    $0x5,%al
or     %cl,%al
cmp    $0x31,%sil
sete   %cl
shl    $0x4,%cl
or     %al,%cl
cmp    $0x31,%dil
sete   %al
shl    $0x3,%al
or     %cl,%al
cmp    $0x31,%r8b
sete   %cl
shl    $0x2,%cl
or     %al,%cl
cmp    $0x31,%r9b
sete   %dl
add    %dl,%dl
or     %cl,%dl
cmp    $0x31,%r10b
sete   %al
or     %dl,%al
jmp    12b8 <get_number+0x168>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    0x8(%rsp),%rcx
cmpb   $0x0,(%rcx)
jne    12da <get_number+0x18a>
cmp    $0x100,%rax
jae    12ef <get_number+0x19f>
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
mov    0x2d18(%rip),%rax
mov    (%rax),%edi
lea    0xd2f(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    1309 <get_number+0x1b9>
mov    0x2cff(%rip),%rax
mov    (%rax),%edi
lea    0xd28(%rip),%rsi
mov    %rbx,%rdx
jmp    1302 <get_number+0x1b2>
mov    0x2cea(%rip),%rcx
mov    (%rcx),%edi
lea    0xd69(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x2cc8(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>

LLVM IR (-O0):
%struct.label_list = type { i32 }
@stderr = global i32 0
@.str = [18 x i8] c"Expected number.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [86 x i8] c"Expected a number, single char enclosed in \22'\22 or label starting with '$', got '%s'.\0A\00"
@.str.2 = [22 x i8] c"Invalid number: %ld.\0A\00"
define zeroext i8 @get_number(i8* %0, %struct.label_list** %1, i32 %2) {
%4 = alloca i8
%5 = alloca i8*
%6 = alloca %struct.label_list**
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i8* %0, i8** %5
store %struct.label_list** %1, %struct.label_list*** %6
store i32 %2, i32* %7
%13 = load i8*, i8** %5
%14 = icmp eq i8* %13, null
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load i32, i32* @stderr
%17 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%18 = load i32, i32* @EXIT_FAILURE
%19 = call i32 @exit(i32 %18)
unreachable
20: ; preds = %3
%21 = load i8*, i8** %5
%22 = call i32 @strlen(i8* %21)
%23 = icmp eq i32 %22, 3
br i1 %23, label %24, label %40
24: ; preds = %20
%25 = load i8*, i8** %5
%26 = getelementptr inbounds i8, i8* %25, i64 0
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 39
br i1 %29, label %30, label %40
30: ; preds = %24
%31 = load i8*, i8** %5
%32 = getelementptr inbounds i8, i8* %31, i64 2
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 39
br i1 %35, label %36, label %40
36: ; preds = %30
%37 = load i8*, i8** %5
%38 = getelementptr inbounds i8, i8* %37, i64 1
%39 = load i8, i8* %38
store i8 %39, i8* %4
br label %138
40: ; preds = %30, %24, %20
%41 = load i8*, i8** %5
%42 = getelementptr inbounds i8, i8* %41, i64 0
%43 = load i8, i8* %42
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 36
br i1 %45, label %46, label %54
46: ; preds = %40
%47 = load %struct.label_list**, %struct.label_list*** %6
%48 = load %struct.label_list*, %struct.label_list** %47
%49 = load i8*, i8** %5
%50 = getelementptr inbounds i8, i8* %49, i64 1
%51 = load i32, i32* %7
%52 = call %struct.label_list* @label_list_add_pos(%struct.label_list* %48, i8* %50, i32 %51)
%53 = load %struct.label_list**, %struct.label_list*** %6
store %struct.label_list* %52, %struct.label_list** %53
store i8 0, i8* %4
br label %138
54: ; preds = %40
%55 = load i8*, i8** %5
%56 = call i32 @strlen(i8* %55)
%57 = icmp eq i32 %56, 8
br i1 %57, label %58, label %111
58: ; preds = %54
store i32 0, i32* %11
store i32 0, i32* %10
br label %59
59: ; preds = %80, %58
%60 = load i32, i32* %10
%61 = icmp slt i32 %60, 8
br i1 %61, label %62, label %83
62: ; preds = %59
%63 = load i8*, i8** %5
%64 = load i32, i32* %10
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, i8* %63, i64 %65
%67 = load i8, i8* %66
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 48
br i1 %69, label %70, label %79
70: ; preds = %62
%71 = load i8*, i8** %5
%72 = load i32, i32* %10
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, i8* %71, i64 %73
%75 = load i8, i8* %74
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 49
br i1 %77, label %78, label %79
78: ; preds = %70
store i32 1, i32* %11
br label %83
79: ; preds = %70, %62
br label %80
80: ; preds = %79
%81 = load i32, i32* %10
%82 = add nsw i32 %81, 1
store i32 %82, i32* %10
br label %59
83: ; preds = %78, %59
%84 = load i32, i32* %11
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %110
86: ; preds = %83
store i32 0, i32* %12
store i32 0, i32* %10
br label %87
87: ; preds = %104, %86
%88 = load i32, i32* %10
%89 = icmp slt i32 %88, 8
br i1 %89, label %90, label %107
90: ; preds = %87
%91 = load i8*, i8** %5
%92 = load i32, i32* %10
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, i8* %91, i64 %93
%95 = load i8, i8* %94
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 49
%98 = zext i1 %97 to i32
%99 = load i32, i32* %10
%100 = sub nsw i32 7, %99
%101 = shl i32 %98, %100
%102 = load i32, i32* %12
%103 = or i32 %102, %101
store i32 %103, i32* %12
br label %104
104: ; preds = %90
%105 = load i32, i32* %10
%106 = add nsw i32 %105, 1
store i32 %106, i32* %10
br label %87
107: ; preds = %87
%108 = load i32, i32* %12
%109 = trunc i32 %108 to i8
store i8 %109, i8* %4
br label %138
110: ; preds = %83
br label %111
111: ; preds = %110, %54
%112 = load i8*, i8** %5
%113 = call i64 @strtol(i8* %112, i8** %8, i32 0)
store i64 %113, i64* %9
%114 = load i8*, i8** %8
%115 = load i8, i8* %114
%116 = icmp ne i8 %115, 0
br i1 %116, label %117, label %123
117: ; preds = %111
%118 = load i32, i32* @stderr
%119 = load i8*, i8** %5
%120 = call i32 (i32, i8*, ...) @fprintf(i32 %118, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.1, i64 0, i64 0), i8* %119)
%121 = load i32, i32* @EXIT_FAILURE
%122 = call i32 @exit(i32 %121)
unreachable
123: ; preds = %111
%124 = load i64, i64* %9
%125 = icmp slt i64 %124, 0
br i1 %125, label %129, label %126
126: ; preds = %123
%127 = load i64, i64* %9
%128 = icmp sgt i64 %127, 255
br i1 %128, label %129, label %135
129: ; preds = %126, %123
%130 = load i32, i32* @stderr
%131 = load i64, i64* %9
%132 = call i32 (i32, i8*, ...) @fprintf(i32 %130, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i64 %131)
%133 = load i32, i32* @EXIT_FAILURE
%134 = call i32 @exit(i32 %133)
unreachable
135: ; preds = %126
%136 = load i64, i64* %9
%137 = trunc i64 %136 to i8
store i8 %137, i8* %4
br label %138
138: ; preds = %135, %107, %46, %36
%139 = load i8, i8* %4
ret i8 %139
}

LLVM IR (-O2):
%struct.label_list = type { i32 }
@stderr = global i32 0
@.str = [18 x i8] c"Expected number.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [86 x i8] c"Expected a number, single char enclosed in \22'\22 or label starting with '$', got '%s'.\0A\00"
@.str.2 = [22 x i8] c"Invalid number: %ld.\0A\00"
define zeroext i8 @get_number(i8* %0, %struct.label_list** nocapture %1, i32 %2) {
%4 = alloca i8*
%5 = bitcast i8** %4 to i8*
%6 = icmp eq i8* %0, null
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%10 = load i32, i32* @EXIT_FAILURE
%11 = tail call i32 @exit(i32 %10)
unreachable
12: ; preds = %3
%13 = tail call i32 @strlen(i8* %0)
%14 = icmp eq i32 %13, 3
%15 = load i8, i8* %0
%16 = icmp eq i8 %15, 39
%17 = select i1 %14, i1 %16, i1 false
br i1 %17, label %18, label %25
18: ; preds = %12
%19 = getelementptr inbounds i8, i8* %0, i64 2
%20 = load i8, i8* %19
%21 = icmp eq i8 %20, 39
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = getelementptr inbounds i8, i8* %0, i64 1
%24 = load i8, i8* %23
br label %116
25: ; preds = %12
%26 = icmp eq i8 %15, 36
br i1 %26, label %27, label %31
27: ; preds = %25
%28 = load %struct.label_list*, %struct.label_list** %1
%29 = getelementptr inbounds i8, i8* %0, i64 1
%30 = tail call %struct.label_list* @label_list_add_pos(%struct.label_list* %28, i8* %29, i32 %2)
store %struct.label_list* %30, %struct.label_list** %1
br label %116
31: ; preds = %18, %25
%32 = tail call i32 @strlen(i8* %0)
%33 = icmp eq i32 %32, 8
br i1 %33, label %34, label %97
34: ; preds = %31
%35 = load i8, i8* %0
%36 = and i8 %35, -2
%37 = icmp eq i8 %36, 48
br i1 %37, label %38, label %97
38: ; preds = %34
%39 = getelementptr inbounds i8, i8* %0, i64 1
%40 = load i8, i8* %39
%41 = and i8 %40, -2
%42 = icmp eq i8 %41, 48
br i1 %42, label %43, label %97
43: ; preds = %38
%44 = getelementptr inbounds i8, i8* %0, i64 2
%45 = load i8, i8* %44
%46 = and i8 %45, -2
%47 = icmp eq i8 %46, 48
br i1 %47, label %48, label %97
48: ; preds = %43
%49 = getelementptr inbounds i8, i8* %0, i64 3
%50 = load i8, i8* %49
%51 = and i8 %50, -2
%52 = icmp eq i8 %51, 48
br i1 %52, label %53, label %97
53: ; preds = %48
%54 = getelementptr inbounds i8, i8* %0, i64 4
%55 = load i8, i8* %54
%56 = and i8 %55, -2
%57 = icmp eq i8 %56, 48
br i1 %57, label %58, label %97
58: ; preds = %53
%59 = getelementptr inbounds i8, i8* %0, i64 5
%60 = load i8, i8* %59
%61 = and i8 %60, -2
%62 = icmp eq i8 %61, 48
br i1 %62, label %63, label %97
63: ; preds = %58
%64 = getelementptr inbounds i8, i8* %0, i64 6
%65 = load i8, i8* %64
%66 = and i8 %65, -2
%67 = icmp eq i8 %66, 48
br i1 %67, label %68, label %97
68: ; preds = %63
%69 = getelementptr inbounds i8, i8* %0, i64 7
%70 = load i8, i8* %69
%71 = and i8 %70, -2
%72 = icmp eq i8 %71, 48
br i1 %72, label %73, label %97
73: ; preds = %68
%74 = icmp eq i8 %35, 49
%75 = select i1 %74, i8 -128, i8 0
%76 = icmp eq i8 %40, 49
%77 = select i1 %76, i8 64, i8 0
%78 = or i8 %77, %75
%79 = icmp eq i8 %45, 49
%80 = select i1 %79, i8 32, i8 0
%81 = or i8 %80, %78
%82 = icmp eq i8 %50, 49
%83 = select i1 %82, i8 16, i8 0
%84 = or i8 %83, %81
%85 = icmp eq i8 %55, 49
%86 = select i1 %85, i8 8, i8 0
%87 = or i8 %86, %84
%88 = icmp eq i8 %60, 49
%89 = select i1 %88, i8 4, i8 0
%90 = or i8 %89, %87
%91 = icmp eq i8 %65, 49
%92 = select i1 %91, i8 2, i8 0
%93 = or i8 %92, %90
%94 = icmp eq i8 %70, 49
%95 = zext i1 %94 to i8
%96 = or i8 %93, %95
br label %116
97: ; preds = %34, %38, %43, %48, %53, %58, %63, %68, %31
%98 = call i64 @strtol(i8* %0, i8** %4, i32 0)
%99 = load i8*, i8** %4
%100 = load i8, i8* %99
%101 = icmp eq i8 %100, 0
br i1 %101, label %107, label %102
102: ; preds = %97
%103 = load i32, i32* @stderr
%104 = tail call i32 (i32, i8*, ...) @fprintf(i32 %103, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%105 = load i32, i32* @EXIT_FAILURE
%106 = tail call i32 @exit(i32 %105)
unreachable
107: ; preds = %97
%108 = icmp ugt i64 %98, 255
br i1 %108, label %109, label %114
109: ; preds = %107
%110 = load i32, i32* @stderr
%111 = tail call i32 (i32, i8*, ...) @fprintf(i32 %110, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i64 %98)
%112 = load i32, i32* @EXIT_FAILURE
%113 = tail call i32 @exit(i32 %112)
unreachable
114: ; preds = %107
%115 = trunc i64 %98 to i8
br label %116
116: ; preds = %73, %114, %27, %22
%117 = phi i8 [ %24, %22 ], [ 0, %27 ], [ %115, %114 ], [ %96, %73 ]
ret i8 %117
}