#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 */
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  int rm_so;
};
typedef TYPE_1__ regmatch_t;
typedef int /*<<< orphan*/ regex_t;
typedef int off_t;
typedef int /*<<< orphan*/ errbuf;

/* Variables and functions */
int REG_EXTENDED;
int REG_ICASE;
int REG_NOMATCH;
scalar_t__ atol(char const *);
int /*<<< orphan*/ err(char *, char const *, char const *, ...);
int regcomp(int /*<<< orphan*/ *, char const *, int);
int /*<<< orphan*/ regerror(int, int /*<<< orphan*/ *, char *, int);
int regexec(int /*<<< orphan*/ *, char const *, int, TYPE_1__ *,
            int /*<<< orphan*/);
char tolower(char const);
int parse_large_size(const char *str, off_t *r) {
  regex_t ex;
  int e;
  static const char *pattern =
      (sizeof(off_t) >= 8)
          ? "^[[:space:]]*([0-9]+)(b|kb?|mb?|gb?|tb?)?[[:space:]]*$"
          : "^[[:space:]]*([0-9]+)(b|kb?|mb?|gb?)?[[:space:]]*$";
  if ((e = regcomp(&ex, pattern, REG_EXTENDED | REG_ICASE)) != 0) {
    char errbuf[128];
    regerror(e, &ex, errbuf, sizeof(errbuf) - 1);
    errbuf[sizeof(errbuf) - 1] = '\0';
    err("regcomp(%s): %s\n", pattern, errbuf);
    return -1;
  }
  regmatch_t matches[3];
  if ((e = regexec(&ex, str, 3, matches, 0)) != 0) {
    char errbuf[128];
    regerror(e, &ex, errbuf, sizeof(errbuf) - 1);
    errbuf[sizeof(errbuf) - 1] = '\0';
    if (e != REG_NOMATCH)
      err("regexec: Couldn't match '%s' in '%s': %s\n", pattern, str, errbuf);
    return -1;
  }
  *r = (off_t)atol(str + matches[1].rm_so) *
       (matches[2].rm_so == -1                      ? 1
        : tolower(*(str + matches[2].rm_so)) == 't' ? (off_t)1 << 40
        : tolower(*(str + matches[2].rm_so)) == 'g' ? (off_t)1 << 30
        : tolower(*(str + matches[2].rm_so)) == 'm' ? (off_t)1 << 20
        : tolower(*(str + matches[2].rm_so)) == 'k' ? (off_t)1 << 10
                                                    : 1);
  return 0;
}


x86 assembly (clang, -O0):
<parse_large_size>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    0x2ed6(%rip),%rsi
mov    0x2e4f(%rip),%rax
mov    (%rax),%edx
mov    0x2e5e(%rip),%rax
or     (%rax),%edx
lea    -0x1c(%rbp),%rdi
call   1030 <regcomp@plt>
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
je     11e5 <parse_large_size+0x85>
mov    -0x20(%rbp),%edi
lea    -0xa0(%rbp),%rdx
lea    -0x1c(%rbp),%rsi
mov    $0x7f,%ecx
call   1040 <regerror@plt>
movb   $0x0,-0x21(%rbp)
mov    0x2e8c(%rip),%rsi
lea    -0xa0(%rbp),%rdx
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1060 <err@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1392 <parse_large_size+0x232>
mov    -0x10(%rbp),%rsi
lea    -0xb0(%rbp),%rcx
lea    -0x1c(%rbp),%rdi
mov    $0x3,%edx
xor    %r8d,%r8d
call   1070 <regexec@plt>
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
je     126a <parse_large_size+0x10a>
mov    -0x20(%rbp),%edi
lea    -0x130(%rbp),%rdx
lea    -0x1c(%rbp),%rsi
mov    $0x7f,%ecx
call   1040 <regerror@plt>
movb   $0x0,-0xb1(%rbp)
mov    -0x20(%rbp),%eax
mov    0x2daa(%rip),%rcx
cmp    (%rcx),%eax
je     125e <parse_large_size+0xfe>
mov    0x2e0b(%rip),%rsi
mov    -0x10(%rbp),%rdx
lea    -0x130(%rbp),%rcx
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1060 <err@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1392 <parse_large_size+0x232>
mov    -0x10(%rbp),%rdi
movslq -0xac(%rbp),%rax
add    %rax,%rdi
call   1080 <atol@plt>
mov    %eax,-0x134(%rbp)
cmpl   $0xffffffff,-0xa8(%rbp)
jne    12a0 <parse_large_size+0x140>
mov    $0x1,%eax
mov    %eax,-0x138(%rbp)
jmp    1376 <parse_large_size+0x216>
mov    -0x10(%rbp),%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1050 <tolower@plt>
movsbl %al,%eax
cmp    $0x74,%eax
jne    12c5 <parse_large_size+0x165>
jmp    136a <parse_large_size+0x20a>
mov    -0x10(%rbp),%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1050 <tolower@plt>
movsbl %al,%eax
cmp    $0x67,%eax
jne    12f5 <parse_large_size+0x195>
mov    $0x40000000,%eax
mov    %eax,-0x13c(%rbp)
jmp    135e <parse_large_size+0x1fe>
mov    -0x10(%rbp),%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1050 <tolower@plt>
movsbl %al,%eax
cmp    $0x6d,%eax
jne    1325 <parse_large_size+0x1c5>
mov    $0x100000,%eax
mov    %eax,-0x140(%rbp)
jmp    1352 <parse_large_size+0x1f2>
mov    -0x10(%rbp),%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1050 <tolower@plt>
movsbl %al,%edx
mov    $0x1,%eax
mov    $0x400,%ecx
cmp    $0x6b,%edx
cmove  %ecx,%eax
mov    %eax,-0x140(%rbp)
mov    -0x140(%rbp),%eax
mov    %eax,-0x13c(%rbp)
mov    -0x13c(%rbp),%eax
mov    %eax,-0x144(%rbp)
mov    -0x144(%rbp),%eax
mov    %eax,-0x138(%rbp)
mov    -0x134(%rbp),%ecx
mov    -0x138(%rbp),%eax
imul   %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parse_large_size>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0xa8,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
mov    0x2e56(%rip),%rax
mov    0x2e67(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
lea    0xe74(%rip),%rsi
lea    0xc(%rsp),%rdi
call   1030 <regcomp@plt>
test   %eax,%eax
je     11dd <parse_large_size+0x7d>
lea    0xc(%rsp),%rsi
lea    0x20(%rsp),%rbx
mov    %eax,%edi
mov    %rbx,%rdx
mov    $0x7f,%ecx
call   1040 <regerror@plt>
movb   $0x0,0x9f(%rsp)
lea    0xe71(%rip),%rdi
lea    0xe37(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1060 <err@plt>
mov    $0xffffffff,%eax
jmp    12d0 <parse_large_size+0x170>
lea    0xc(%rsp),%rdi
lea    0x10(%rsp),%rcx
mov    %rbx,%rsi
mov    $0x3,%edx
xor    %r8d,%r8d
call   1070 <regexec@plt>
test   %eax,%eax
je     124d <parse_large_size+0xed>
mov    %eax,%ebp
lea    0xc(%rsp),%rsi
lea    0x20(%rsp),%rdx
mov    %eax,%edi
mov    $0x7f,%ecx
call   1040 <regerror@plt>
movb   $0x0,0x9f(%rsp)
mov    0x2dbe(%rip),%rax
cmp    (%rax),%ebp
je     1243 <parse_large_size+0xe3>
lea    0xe17(%rip),%rdi
lea    0xdcc(%rip),%rsi
lea    0x20(%rsp),%rcx
mov    %rbx,%rdx
xor    %eax,%eax
call   1060 <err@plt>
mov    $0xffffffff,%eax
jmp    12d0 <parse_large_size+0x170>
movslq 0x14(%rsp),%rdi
add    %rbx,%rdi
call   1080 <atol@plt>
mov    %rax,%r15
movslq 0x18(%rsp),%rax
cmp    $0xffffffffffffffff,%rax
je     12c2 <parse_large_size+0x162>
movsbl (%rbx,%rax,1),%edi
call   1050 <tolower@plt>
cmp    $0x74,%al
je     12c7 <parse_large_size+0x167>
movslq 0x18(%rsp),%rax
movsbl (%rbx,%rax,1),%edi
call   1050 <tolower@plt>
mov    $0x40000000,%ecx
cmp    $0x67,%al
je     12c7 <parse_large_size+0x167>
movslq 0x18(%rsp),%rax
movsbl (%rbx,%rax,1),%edi
call   1050 <tolower@plt>
mov    $0x100000,%ecx
cmp    $0x6d,%al
je     12c7 <parse_large_size+0x167>
movslq 0x18(%rsp),%rax
movsbl (%rbx,%rax,1),%edi
call   1050 <tolower@plt>
cmp    $0x6b,%al
mov    $0x400,%eax
mov    $0x1,%ecx
cmove  %eax,%ecx
jmp    12c7 <parse_large_size+0x167>
mov    $0x1,%ecx
imul   %r15d,%ecx
mov    %ecx,(%r14)
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.TYPE_3__ = type { i32 }
@parse_large_size.pattern = internal global i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i32 0, i32 0)
@.str = [51 x i8] c"^[[:space:]]*([0-9]+)(b|kb?|mb?|gb?)?[[:space:]]*$\00"
@REG_EXTENDED = global i32 0
@REG_ICASE = global i32 0
@.str.1 = [17 x i8] c"regcomp(%s): %s\0A\00"
@REG_NOMATCH = global i32 0
@.str.2 = [42 x i8] c"regexec: Couldn't match '%s' in '%s': %s\0A\00"
define i32 @parse_large_size(i8* %0, i32* %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i32
%8 = alloca [128 x i8]
%9 = alloca [3 x %struct.TYPE_3__]
%10 = alloca [128 x i8]
store i8* %0, i8** %4
store i32* %1, i32** %5
%11 = load i8*, i8** @parse_large_size.pattern
%12 = load i32, i32* @REG_EXTENDED
%13 = load i32, i32* @REG_ICASE
%14 = or i32 %12, %13
%15 = call i32 @regcomp(i32* %6, i8* %11, i32 %14)
store i32 %15, i32* %7
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %2
%18 = load i32, i32* %7
%19 = getelementptr inbounds [128 x i8], [128 x i8]* %8, i64 0, i64 0
%20 = call i32 @regerror(i32 %18, i32* %6, i8* %19, i32 127)
%21 = getelementptr inbounds [128 x i8], [128 x i8]* %8, i64 0, i64 127
store i8 0, i8* %21
%22 = load i8*, i8** @parse_large_size.pattern
%23 = getelementptr inbounds [128 x i8], [128 x i8]* %8, i64 0, i64 0
%24 = call i32 (i8*, i8*, i8*, ...) @err(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i8* %22, i8* %23)
store i32 -1, i32* %3
br label %117
25: ; preds = %2
%26 = load i8*, i8** %4
%27 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 0
%28 = call i32 @regexec(i32* %6, i8* %26, i32 3, %struct.TYPE_3__* %27, i32 0)
store i32 %28, i32* %7
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %44
30: ; preds = %25
%31 = load i32, i32* %7
%32 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%33 = call i32 @regerror(i32 %31, i32* %6, i8* %32, i32 127)
%34 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 127
store i8 0, i8* %34
%35 = load i32, i32* %7
%36 = load i32, i32* @REG_NOMATCH
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %43
38: ; preds = %30
%39 = load i8*, i8** @parse_large_size.pattern
%40 = load i8*, i8** %4
%41 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%42 = call i32 (i8*, i8*, i8*, ...) @err(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i8* %39, i8* %40, i8* %41)
br label %43
43: ; preds = %38, %30
store i32 -1, i32* %3
br label %117
44: ; preds = %25
%45 = load i8*, i8** %4
%46 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 1
%47 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %46, i32 0, i32 0
%48 = load i32, i32* %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %45, i64 %49
%51 = call i64 @atol(i8* %50)
%52 = trunc i64 %51 to i32
%53 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 2
%54 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %53, i32 0, i32 0
%55 = load i32, i32* %54
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %58
57: ; preds = %44
br label %113
58: ; preds = %44
%59 = load i8*, i8** %4
%60 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 2
%61 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %60, i32 0, i32 0
%62 = load i32, i32* %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, i8* %59, i64 %63
%65 = load i8, i8* %64
%66 = call signext i8 @tolower(i8 signext %65)
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 116
br i1 %68, label %69, label %70
69: ; preds = %58
br label %111
70: ; preds = %58
%71 = load i8*, i8** %4
%72 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 2
%73 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %72, i32 0, i32 0
%74 = load i32, i32* %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, i8* %71, i64 %75
%77 = load i8, i8* %76
%78 = call signext i8 @tolower(i8 signext %77)
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 103
br i1 %80, label %81, label %82
81: ; preds = %70
br label %109
82: ; preds = %70
%83 = load i8*, i8** %4
%84 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 2
%85 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %84, i32 0, i32 0
%86 = load i32, i32* %85
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, i8* %83, i64 %87
%89 = load i8, i8* %88
%90 = call signext i8 @tolower(i8 signext %89)
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 109
br i1 %92, label %93, label %94
93: ; preds = %82
br label %107
94: ; preds = %82
%95 = load i8*, i8** %4
%96 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %9, i64 0, i64 2
%97 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %96, i32 0, i32 0
%98 = load i32, i32* %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, i8* %95, i64 %99
%101 = load i8, i8* %100
%102 = call signext i8 @tolower(i8 signext %101)
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 107
%105 = zext i1 %104 to i64
%106 = select i1 %104, i32 1024, i32 1
br label %107
107: ; preds = %94, %93
%108 = phi i32 [ 1048576, %93 ], [ %106, %94 ]
br label %109
109: ; preds = %107, %81
%110 = phi i32 [ 1073741824, %81 ], [ %108, %107 ]
br label %111
111: ; preds = %109, %69
%112 = phi i32 [ poison, %69 ], [ %110, %109 ]
br label %113
113: ; preds = %111, %57
%114 = phi i32 [ 1, %57 ], [ %112, %111 ]
%115 = mul nsw i32 %52, %114
%116 = load i32*, i32** %5
store i32 %115, i32* %116
store i32 0, i32* %3
br label %117
117: ; preds = %113, %43, %17
%118 = load i32, i32* %3
ret i32 %118
}

LLVM IR (-O2):
%struct.TYPE_3__ = type { i32 }
@.str = [51 x i8] c"^[[:space:]]*([0-9]+)(b|kb?|mb?|gb?)?[[:space:]]*$\00"
@REG_EXTENDED = global i32 0
@REG_ICASE = global i32 0
@.str.1 = [17 x i8] c"regcomp(%s): %s\0A\00"
@REG_NOMATCH = global i32 0
@.str.2 = [42 x i8] c"regexec: Couldn't match '%s' in '%s': %s\0A\00"
define i32 @parse_large_size(i8* %0, i32* nocapture writeonly %1) {
%3 = alloca i32
%4 = alloca [128 x i8]
%5 = alloca [3 x %struct.TYPE_3__]
%6 = alloca [128 x i8]
%7 = bitcast i32* %3 to i8*
%8 = load i32, i32* @REG_EXTENDED
%9 = load i32, i32* @REG_ICASE
%10 = or i32 %9, %8
%11 = call i32 @regcomp(i32* %3, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i32 %10)
%12 = icmp eq i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %2
%14 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 0
%15 = call i32 @regerror(i32 %11, i32* %3, i8* %14, i32 127)
%16 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 127
store i8 0, i8* %16
%17 = call i32 (i8*, i8*, i8*, ...) @err(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* %14)
br label %75
18: ; preds = %2
%19 = bitcast [3 x %struct.TYPE_3__]* %5 to i8*
%20 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %5, i64 0, i64 0
%21 = call i32 @regexec(i32* %3, i8* %0, i32 3, %struct.TYPE_3__* %20, i32 0)
%22 = icmp eq i32 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %18
%24 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%25 = call i32 @regerror(i32 %21, i32* %3, i8* %24, i32 127)
%26 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 127
store i8 0, i8* %26
%27 = load i32, i32* @REG_NOMATCH
%28 = icmp eq i32 %21, %27
br i1 %28, label %31, label %29
29: ; preds = %23
%30 = call i32 (i8*, i8*, i8*, ...) @err(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* %0, i8* %24)
br label %31
31: ; preds = %29, %23
br label %73
32: ; preds = %18
%33 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %5, i64 0, i64 1, i32 0
%34 = load i32, i32* %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, i8* %0, i64 %35
%37 = call i64 @atol(i8* %36)
%38 = trunc i64 %37 to i32
%39 = getelementptr inbounds [3 x %struct.TYPE_3__], [3 x %struct.TYPE_3__]* %5, i64 0, i64 2, i32 0
%40 = load i32, i32* %39
%41 = icmp eq i32 %40, -1
br i1 %41, label %70, label %42
42: ; preds = %32
%43 = sext i32 %40 to i64
%44 = getelementptr inbounds i8, i8* %0, i64 %43
%45 = load i8, i8* %44
%46 = call signext i8 @tolower(i8 signext %45)
%47 = icmp eq i8 %46, 116
br i1 %47, label %70, label %48
48: ; preds = %42
%49 = load i32, i32* %39
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, i8* %0, i64 %50
%52 = load i8, i8* %51
%53 = call signext i8 @tolower(i8 signext %52)
%54 = icmp eq i8 %53, 103
br i1 %54, label %70, label %55
55: ; preds = %48
%56 = load i32, i32* %39
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, i8* %0, i64 %57
%59 = load i8, i8* %58
%60 = call signext i8 @tolower(i8 signext %59)
%61 = icmp eq i8 %60, 109
br i1 %61, label %70, label %62
62: ; preds = %55
%63 = load i32, i32* %39
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, i8* %0, i64 %64
%66 = load i8, i8* %65
%67 = call signext i8 @tolower(i8 signext %66)
%68 = icmp eq i8 %67, 107
%69 = select i1 %68, i32 1024, i32 1
br label %70
70: ; preds = %42, %62, %55, %48, %32
%71 = phi i32 [ 1, %32 ], [ poison, %42 ], [ 1073741824, %48 ], [ %69, %62 ], [ 1048576, %55 ]
%72 = mul nsw i32 %71, %38
store i32 %72, i32* %1
br label %73
73: ; preds = %70, %31
%74 = phi i32 [ -1, %31 ], [ 0, %70 ]
br label %75
75: ; preds = %73, %13
%76 = phi i32 [ -1, %13 ], [ %74, %73 ]
ret i32 %76
}