#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ sg_print_driver_status(int);
int /*<<< orphan*/ sg_print_host_status(int);
int /*<<< orphan*/ sg_print_scsi_status(int);
int /*<<< orphan*/ sg_print_sense(int /*<<< orphan*/, unsigned char const *,
                                  int);
int /*<<< orphan*/ stderr;
int sg_sense_print(const char *leadin, int scsi_status, int host_status,
                   int driver_status, const unsigned char *sense_buffer,
                   int sb_len) {
  int done_leadin = 0;
  int done_sense = 0;
  scsi_status &= 0x7e;
  if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status))
    return 1;
  if (0 != scsi_status) {
    if (leadin)
      fprintf(stderr, "%s: ", leadin);
    done_leadin = 1;
    fprintf(stderr, "scsi status: ");
    sg_print_scsi_status(scsi_status);
    fprintf(stderr, "\n");
    if (sense_buffer && ((scsi_status == 0x2) || (scsi_status == 0x22))) {
      sg_print_sense(0, sense_buffer, sb_len);
      done_sense = 1;
    }
  }
  if (0 != host_status) {
    if (leadin && (!done_leadin))
      fprintf(stderr, "%s: ", leadin);
    if (done_leadin)
      fprintf(stderr, "plus...: ");
    else
      done_leadin = 1;
    sg_print_host_status(host_status);
    fprintf(stderr, "\n");
  }
  if (0 != driver_status) {
    if (leadin && (!done_leadin))
      fprintf(stderr, "%s: ", leadin);
    if (done_leadin)
      fprintf(stderr, "plus...: ");
    else
      done_leadin = 1;
    sg_print_driver_status(driver_status);
    fprintf(stderr, "\n");
    if (sense_buffer && (!done_sense) && (0x08 == (0xf & driver_status)))
      sg_print_sense(0, sense_buffer, sb_len);
  }
  return 0;
}


x86 assembly (clang, -O0):
<sg_sense_print>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %edx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x14(%rbp),%eax
and    $0x7e,%eax
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
jne    11b1 <sg_sense_print+0x61>
xor    %eax,%eax
cmp    -0x18(%rbp),%eax
jne    11b1 <sg_sense_print+0x61>
xor    %eax,%eax
cmp    -0x1c(%rbp),%eax
jne    11b1 <sg_sense_print+0x61>
movl   $0x1,-0x4(%rbp)
jmp    13a8 <sg_sense_print+0x258>
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
je     1258 <sg_sense_print+0x108>
cmpq   $0x0,-0x10(%rbp)
je     11e2 <sg_sense_print+0x92>
mov    0x2e12(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xe25(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x30(%rbp)
mov    0x2df0(%rip),%rax
mov    (%rax),%edi
lea    0xe0c(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x14(%rbp),%edi
call   1060 <sg_print_scsi_status@plt>
mov    0x2dd1(%rip),%rax
mov    (%rax),%edi
lea    0xdfb(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpq   $0x0,-0x28(%rbp)
je     1253 <sg_sense_print+0x103>
cmpl   $0x2,-0x14(%rbp)
je     123e <sg_sense_print+0xee>
cmpl   $0x22,-0x14(%rbp)
jne    1253 <sg_sense_print+0x103>
mov    -0x28(%rbp),%rsi
mov    -0x2c(%rbp),%edx
xor    %edi,%edi
call   1040 <sg_print_sense@plt>
movl   $0x1,-0x34(%rbp)
jmp    1258 <sg_sense_print+0x108>
xor    %eax,%eax
cmp    -0x18(%rbp),%eax
je     12df <sg_sense_print+0x18f>
cmpq   $0x0,-0x10(%rbp)
je     1293 <sg_sense_print+0x143>
cmpl   $0x0,-0x30(%rbp)
jne    1293 <sg_sense_print+0x143>
mov    0x2d61(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xd74(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpl   $0x0,-0x30(%rbp)
je     12b9 <sg_sense_print+0x169>
mov    0x2d3c(%rip),%rax
mov    (%rax),%edi
lea    0xd68(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    12c0 <sg_sense_print+0x170>
movl   $0x1,-0x30(%rbp)
mov    -0x18(%rbp),%edi
call   1070 <sg_print_host_status@plt>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
lea    0xd3b(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
xor    %eax,%eax
cmp    -0x1c(%rbp),%eax
je     13a1 <sg_sense_print+0x251>
cmpq   $0x0,-0x10(%rbp)
je     131a <sg_sense_print+0x1ca>
cmpl   $0x0,-0x30(%rbp)
jne    131a <sg_sense_print+0x1ca>
mov    0x2cda(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xced(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpl   $0x0,-0x30(%rbp)
je     1340 <sg_sense_print+0x1f0>
mov    0x2cb5(%rip),%rax
mov    (%rax),%edi
lea    0xce1(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    1347 <sg_sense_print+0x1f7>
movl   $0x1,-0x30(%rbp)
mov    -0x1c(%rbp),%edi
call   1030 <sg_print_driver_status@plt>
mov    0x2c8a(%rip),%rax
mov    (%rax),%edi
lea    0xcb4(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpq   $0x0,-0x28(%rbp)
je     139c <sg_sense_print+0x24c>
cmpl   $0x0,-0x34(%rbp)
jne    139c <sg_sense_print+0x24c>
mov    -0x1c(%rbp),%ecx
and    $0xf,%ecx
mov    $0x8,%eax
cmp    %ecx,%eax
jne    139c <sg_sense_print+0x24c>
mov    -0x28(%rbp),%rsi
mov    -0x2c(%rbp),%edx
xor    %edi,%edi
call   1040 <sg_print_sense@plt>
jmp    13a1 <sg_sense_print+0x251>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sg_sense_print>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9d,0xc(%rsp)
mov    %esi,%ebp
and    $0x7e,%ebp
mov    %ebp,%eax
or     %edx,%eax
or     %ecx,%eax
je     120e <sg_sense_print+0xbe>
mov    %ecx,%r13d
mov    %edx,%ebx
mov    %rdi,%r12
test   %ebp,%ebp
mov    %r8,0x10(%rsp)
je     1218 <sg_sense_print+0xc8>
mov    %esi,%r14d
test   %r12,%r12
je     11ab <sg_sense_print+0x5b>
mov    0x2e48(%rip),%rax
mov    (%rax),%edi
lea    0xe5f(%rip),%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x2e2e(%rip),%r15
mov    (%r15),%edi
lea    0xe49(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    %ebp,%edi
call   1060 <sg_print_scsi_status@plt>
mov    (%r15),%edi
lea    0xe3f(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
and    $0x5e,%r14d
mov    $0x1,%ebp
mov    $0x1,%r15b
cmp    $0x2,%r14d
jne    121d <sg_sense_print+0xcd>
mov    0x10(%rsp),%rsi
test   %rsi,%rsi
je     121d <sg_sense_print+0xcd>
xor    %edi,%edi
mov    0xc(%rsp),%edx
call   1040 <sg_print_sense@plt>
mov    $0x1,%r15b
mov    $0x1,%r14b
test   %ebx,%ebx
jne    1224 <sg_sense_print+0xd4>
jmp    1288 <sg_sense_print+0x138>
mov    $0x1,%ebx
jmp    131b <sg_sense_print+0x1cb>
xor    %r15d,%r15d
xor    %ebp,%ebp
xor    %r14d,%r14d
test   %ebx,%ebx
je     1288 <sg_sense_print+0x138>
test   %r12,%r12
sete   %al
or     %r15b,%al
jne    1249 <sg_sense_print+0xf9>
mov    0x2daa(%rip),%rax
mov    (%rax),%edi
lea    0xdc1(%rip),%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
test   %r15b,%r15b
je     1265 <sg_sense_print+0x115>
mov    0x2d8b(%rip),%rax
mov    (%rax),%edi
lea    0xdb7(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    %ebx,%edi
call   1070 <sg_print_host_status@plt>
mov    0x2d6d(%rip),%rax
mov    (%rax),%edi
lea    0xd97(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%ebp
test   %r13d,%r13d
je     1319 <sg_sense_print+0x1c9>
test   %r12,%r12
je     12b4 <sg_sense_print+0x164>
test   %ebp,%ebp
jne    12b4 <sg_sense_print+0x164>
mov    0x2d3f(%rip),%rax
mov    (%rax),%edi
lea    0xd56(%rip),%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
test   %ebp,%ebp
je     12cf <sg_sense_print+0x17f>
mov    0x2d21(%rip),%rax
mov    (%rax),%edi
lea    0xd4d(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    %r13d,%edi
call   1030 <sg_print_driver_status@plt>
mov    0x2d02(%rip),%rax
mov    (%rax),%edi
lea    0xd2c(%rip),%rsi
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x10(%rsp),%rsi
test   %rsi,%rsi
sete   %al
and    $0xf,%r13d
cmp    $0x8,%r13d
jne    131b <sg_sense_print+0x1cb>
or     %r14b,%al
jne    131b <sg_sense_print+0x1cb>
xor    %ebx,%ebx
xor    %edi,%edi
mov    0xc(%rsp),%edx
call   1040 <sg_print_sense@plt>
jmp    131b <sg_sense_print+0x1cb>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [5 x i8] c"%s: \00"
@.str.1 = [14 x i8] c"scsi status: \00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [10 x i8] c"plus...: \00"
define i32 @sg_sense_print(i8* %0, i32 %1, i32 %2, i32 %3, i8* %4, i32 %5) {
%7 = and i32 %1, 126
%8 = or i32 %7, %2
%9 = or i32 %8, %3
%10 = icmp eq i32 %9, 0
br i1 %10, label %74, label %11
11: ; preds = %6
%12 = icmp eq i32 %7, 0
br i1 %12, label %30, label %13
13: ; preds = %11
%14 = icmp eq i8* %0, null
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %18
18: ; preds = %15, %13
%19 = load i32, i32* @stderr
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%21 = tail call i32 @sg_print_scsi_status(i32 %7)
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%24 = icmp ne i8* %4, null
%25 = and i32 %1, 94
%26 = icmp eq i32 %25, 2
%27 = and i1 %26, %24
br i1 %27, label %28, label %30
28: ; preds = %18
%29 = tail call i32 @sg_print_sense(i32 0, i8* %4, i32 %5)
br label %30
30: ; preds = %18, %28, %11
%31 = phi i1 [ true, %18 ], [ true, %28 ], [ false, %11 ]
%32 = phi i32 [ 1, %18 ], [ 1, %28 ], [ 0, %11 ]
%33 = phi i1 [ false, %18 ], [ true, %28 ], [ false, %11 ]
%34 = icmp eq i32 %2, 0
br i1 %34, label %49, label %35
35: ; preds = %30
%36 = icmp eq i8* %0, null
%37 = or i1 %36, %31
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, i32* @stderr
%40 = tail call i32 (i32, i8*, ...) @fprintf(i32 %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %41
41: ; preds = %38, %35
br i1 %31, label %42, label %45
42: ; preds = %41
%43 = load i32, i32* @stderr
%44 = tail call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %45
45: ; preds = %41, %42
%46 = tail call i32 @sg_print_host_status(i32 %2)
%47 = load i32, i32* @stderr
%48 = tail call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %49
49: ; preds = %45, %30
%50 = phi i32 [ 1, %45 ], [ %32, %30 ]
%51 = icmp eq i32 %3, 0
br i1 %51, label %74, label %52
52: ; preds = %49
%53 = icmp eq i8* %0, null
%54 = icmp ne i32 %50, 0
%55 = or i1 %53, %54
br i1 %55, label %59, label %56
56: ; preds = %52
%57 = load i32, i32* @stderr
%58 = tail call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %59
59: ; preds = %56, %52
br i1 %54, label %60, label %63
60: ; preds = %59
%61 = load i32, i32* @stderr
%62 = tail call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %63
63: ; preds = %59, %60
%64 = tail call i32 @sg_print_driver_status(i32 %3)
%65 = load i32, i32* @stderr
%66 = tail call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%67 = icmp eq i8* %4, null
%68 = or i1 %67, %33
%69 = and i32 %3, 15
%70 = icmp ne i32 %69, 8
%71 = or i1 %70, %68
br i1 %71, label %74, label %72
72: ; preds = %63
%73 = tail call i32 @sg_print_sense(i32 0, i8* %4, i32 %5)
br label %74
74: ; preds = %49, %72, %63, %6
%75 = phi i32 [ 1, %6 ], [ 0, %63 ], [ 0, %72 ], [ 0, %49 ]
ret i32 %75
}