#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 */
typedef int /*<<< orphan*/ bytes;

/* Variables and functions */
int scsi_request(char *, unsigned char *, int *, int, int /*<<< orphan*/, int,
                 int, int /*<<< orphan*/, int /*<<< orphan*/,
                 int /*<<< orphan*/, int, int /*<<< orphan*/);
int /*<<< orphan*/ strncpy(char *, char const *, int);
int inquiry(char *manufacturer, char *model, char *revision) {
  int i, result;
  unsigned char bytes[255];
  int replylen = sizeof(bytes);
  manufacturer[0] = model[0] = revision[0] = 0;
  result = scsi_request("inquiry", bytes, &replylen, 6, 0, 0x01, 0x12, 0, 0, 0,
                        255, 0);
  if (result)
    return -1;
  for (i = 35; i > 32; i--)
    if (bytes[i] != ' ')
      break;
  bytes[i + 1] = 0;
  strncpy(revision, (const char *)&bytes[32], 5);
  for (i = 31; i > 16; i--)
    if (bytes[i] != ' ')
      break;
  bytes[i + 1] = 0;
  strncpy(model, (const char *)&bytes[16], 17);
  for (i = 15; i > 8; i--)
    if (bytes[i] != ' ')
      break;
  bytes[i + 1] = 0;
  strncpy(manufacturer, (const char *)&bytes[8], 9);
  return bytes[0];
}


x86 assembly (clang, -O0):
<inquiry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
movl   $0xff,-0x134(%rbp)
mov    -0x20(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x18(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rax
movb   $0x0,(%rax)
lea    -0x130(%rbp),%rsi
lea    0xe9c(%rip),%rdi
lea    -0x134(%rbp),%rdx
mov    $0x6,%ecx
xor    %r8d,%r8d
mov    $0x1,%r9d
movl   $0x12,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x0,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0xff,0x20(%rsp)
movl   $0x0,0x28(%rsp)
call   1040 <scsi_request@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     11c6 <inquiry+0xa6>
movl   $0xffffffff,-0x4(%rbp)
jmp    1305 <inquiry+0x1e5>
movl   $0x23,-0x24(%rbp)
cmpl   $0x20,-0x24(%rbp)
jle    1204 <inquiry+0xe4>
movslq -0x24(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
je     11f1 <inquiry+0xd1>
jmp    1204 <inquiry+0xe4>
jmp    11f6 <inquiry+0xd6>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    11cd <inquiry+0xad>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0x0,-0x130(%rbp,%rax,1)
mov    -0x20(%rbp),%rdi
lea    -0x130(%rbp),%rsi
add    $0x20,%rsi
mov    $0x5,%edx
call   1030 <strncpy@plt>
movl   $0x1f,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jle    126b <inquiry+0x14b>
movslq -0x24(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
je     1258 <inquiry+0x138>
jmp    126b <inquiry+0x14b>
jmp    125d <inquiry+0x13d>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    1234 <inquiry+0x114>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0x0,-0x130(%rbp,%rax,1)
mov    -0x18(%rbp),%rdi
lea    -0x130(%rbp),%rsi
add    $0x10,%rsi
mov    $0x11,%edx
call   1030 <strncpy@plt>
movl   $0xf,-0x24(%rbp)
cmpl   $0x8,-0x24(%rbp)
jle    12d2 <inquiry+0x1b2>
movslq -0x24(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
je     12bf <inquiry+0x19f>
jmp    12d2 <inquiry+0x1b2>
jmp    12c4 <inquiry+0x1a4>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    129b <inquiry+0x17b>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0x0,-0x130(%rbp,%rax,1)
mov    -0x10(%rbp),%rdi
lea    -0x130(%rbp),%rsi
add    $0x8,%rsi
mov    $0x9,%edx
call   1030 <strncpy@plt>
movzbl -0x130(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x170,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<inquiry>:
push   %r15
push   %r14
push   %rbx
sub    $0x110,%rsp
mov    %rdx,%rbx
mov    %rsi,%r15
mov    %rdi,%r14
movl   $0xff,0xc(%rsp)
movb   $0x0,(%rdx)
movb   $0x0,(%rsi)
movb   $0x0,(%rdi)
lea    0xeb3(%rip),%rdi
lea    0x10(%rsp),%rsi
lea    0xc(%rsp),%rdx
mov    $0x6,%ecx
xor    %r8d,%r8d
mov    $0x1,%r9d
push   $0x0
push   $0xff
push   $0x0
push   $0x0
push   $0x0
push   $0x12
call   1040 <scsi_request@plt>
add    $0x30,%rsp
mov    %eax,%ecx
mov    $0xffffffff,%eax
test   %ecx,%ecx
jne    1324 <inquiry+0x204>
mov    $0x24,%eax
cmpb   $0x20,0x33(%rsp)
jne    11b6 <inquiry+0x96>
mov    $0x23,%eax
cmpb   $0x20,0x32(%rsp)
jne    11b6 <inquiry+0x96>
xor    %ecx,%ecx
cmpb   $0x20,0x31(%rsp)
sete   %cl
mov    $0x22,%eax
sub    %rcx,%rax
movb   $0x0,0x10(%rsp,%rax,1)
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x5,%edx
call   1030 <strncpy@plt>
mov    $0x20,%eax
cmpb   $0x20,0x2f(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1f,%eax
cmpb   $0x20,0x2e(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1e,%eax
cmpb   $0x20,0x2d(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1d,%eax
cmpb   $0x20,0x2c(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1c,%eax
cmpb   $0x20,0x2b(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1b,%eax
cmpb   $0x20,0x2a(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x1a,%eax
cmpb   $0x20,0x29(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x19,%eax
cmpb   $0x20,0x28(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x18,%eax
cmpb   $0x20,0x27(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x17,%eax
cmpb   $0x20,0x26(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x16,%eax
cmpb   $0x20,0x25(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x15,%eax
cmpb   $0x20,0x24(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x14,%eax
cmpb   $0x20,0x23(%rsp)
jne    1297 <inquiry+0x177>
mov    $0x13,%eax
cmpb   $0x20,0x22(%rsp)
jne    1297 <inquiry+0x177>
xor    %ecx,%ecx
cmpb   $0x20,0x21(%rsp)
sete   %cl
mov    $0x12,%eax
sub    %rcx,%rax
movb   $0x0,0x10(%rsp,%rax,1)
lea    0x20(%rsp),%rsi
mov    %r15,%rdi
mov    $0x11,%edx
call   1030 <strncpy@plt>
mov    $0x10,%eax
cmpb   $0x20,0x1f(%rsp)
jne    1308 <inquiry+0x1e8>
mov    $0xf,%eax
cmpb   $0x20,0x1e(%rsp)
jne    1308 <inquiry+0x1e8>
mov    $0xe,%eax
cmpb   $0x20,0x1d(%rsp)
jne    1308 <inquiry+0x1e8>
mov    $0xd,%eax
cmpb   $0x20,0x1c(%rsp)
jne    1308 <inquiry+0x1e8>
mov    $0xc,%eax
cmpb   $0x20,0x1b(%rsp)
jne    1308 <inquiry+0x1e8>
mov    $0xb,%eax
cmpb   $0x20,0x1a(%rsp)
jne    1308 <inquiry+0x1e8>
xor    %ecx,%ecx
cmpb   $0x20,0x19(%rsp)
sete   %cl
mov    $0xa,%eax
sub    %rcx,%rax
movb   $0x0,0x10(%rsp,%rax,1)
lea    0x18(%rsp),%rsi
mov    %r14,%rdi
mov    $0x9,%edx
call   1030 <strncpy@plt>
movzbl 0x10(%rsp),%eax
add    $0x110,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [8 x i8] c"inquiry\00"
define i32 @inquiry(i8* %0, i8* %1, i8* %2) {
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca [255 x i8]
%11 = alloca i32
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i32 255, i32* %11
%12 = load i8*, i8** %7
%13 = getelementptr inbounds i8, i8* %12, i64 0
store i8 0, i8* %13
%14 = load i8*, i8** %6
%15 = getelementptr inbounds i8, i8* %14, i64 0
store i8 0, i8* %15
%16 = load i8*, i8** %5
%17 = getelementptr inbounds i8, i8* %16, i64 0
store i8 0, i8* %17
%18 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 0
%19 = call i32 @scsi_request(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %18, i32* %11, i32 6, i32 0, i32 1, i32 18, i32 0, i32 0, i32 0, i32 255, i32 0)
store i32 %19, i32* %9
%20 = load i32, i32* %9
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %3
store i32 -1, i32* %4
br label %96
23: ; preds = %3
store i32 35, i32* %8
br label %24
24: ; preds = %36, %23
%25 = load i32, i32* %8
%26 = icmp sgt i32 %25, 32
br i1 %26, label %27, label %39
27: ; preds = %24
%28 = load i32, i32* %8
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %29
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = icmp ne i32 %32, 32
br i1 %33, label %34, label %35
34: ; preds = %27
br label %39
35: ; preds = %27
br label %36
36: ; preds = %35
%37 = load i32, i32* %8
%38 = add nsw i32 %37, -1
store i32 %38, i32* %8
br label %24
39: ; preds = %34, %24
%40 = load i32, i32* %8
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %42
store i8 0, i8* %43
%44 = load i8*, i8** %7
%45 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 32
%46 = call i32 @strncpy(i8* %44, i8* %45, i32 5)
store i32 31, i32* %8
br label %47
47: ; preds = %59, %39
%48 = load i32, i32* %8
%49 = icmp sgt i32 %48, 16
br i1 %49, label %50, label %62
50: ; preds = %47
%51 = load i32, i32* %8
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %52
%54 = load i8, i8* %53
%55 = zext i8 %54 to i32
%56 = icmp ne i32 %55, 32
br i1 %56, label %57, label %58
57: ; preds = %50
br label %62
58: ; preds = %50
br label %59
59: ; preds = %58
%60 = load i32, i32* %8
%61 = add nsw i32 %60, -1
store i32 %61, i32* %8
br label %47
62: ; preds = %57, %47
%63 = load i32, i32* %8
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %65
store i8 0, i8* %66
%67 = load i8*, i8** %6
%68 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 16
%69 = call i32 @strncpy(i8* %67, i8* %68, i32 17)
store i32 15, i32* %8
br label %70
70: ; preds = %82, %62
%71 = load i32, i32* %8
%72 = icmp sgt i32 %71, 8
br i1 %72, label %73, label %85
73: ; preds = %70
%74 = load i32, i32* %8
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %75
%77 = load i8, i8* %76
%78 = zext i8 %77 to i32
%79 = icmp ne i32 %78, 32
br i1 %79, label %80, label %81
80: ; preds = %73
br label %85
81: ; preds = %73
br label %82
82: ; preds = %81
%83 = load i32, i32* %8
%84 = add nsw i32 %83, -1
store i32 %84, i32* %8
br label %70
85: ; preds = %80, %70
%86 = load i32, i32* %8
%87 = add nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 %88
store i8 0, i8* %89
%90 = load i8*, i8** %5
%91 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 8
%92 = call i32 @strncpy(i8* %90, i8* %91, i32 9)
%93 = getelementptr inbounds [255 x i8], [255 x i8]* %10, i64 0, i64 0
%94 = load i8, i8* %93
%95 = zext i8 %94 to i32
store i32 %95, i32* %4
br label %96
96: ; preds = %85, %22
%97 = load i32, i32* %4
ret i32 %97
}

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