#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 spwd {
  char *sp_namp;
  char *sp_pwdp;
  int sp_lstchg;
  int sp_min;
  int sp_max;
  int sp_warn;
  int sp_inact;
  int sp_expire;
  int sp_flag;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
scalar_t__ fprintf(int /*<<< orphan*/ *, char *, char *, char *, int, int, int,
                   int, int, int, int, int, int, int, int, int, int, int);
int putspent(const struct spwd *sp, FILE *f) {
  return fprintf(f, "%s:%s:%.*ld:%.*ld:%.*ld:%.*ld:%.*ld:%.*ld:%.*lu\n",
                 ((sp->sp_namp) ? (sp->sp_namp) : ""),
                 ((sp->sp_pwdp) ? (sp->sp_pwdp) : ""),
                 ((sp->sp_lstchg) == -1 ? 0 : -1),
                 ((sp->sp_lstchg) == -1 ? 0 : (sp->sp_lstchg)),
                 ((sp->sp_min) == -1 ? 0 : -1),
                 ((sp->sp_min) == -1 ? 0 : (sp->sp_min)),
                 ((sp->sp_max) == -1 ? 0 : -1),
                 ((sp->sp_max) == -1 ? 0 : (sp->sp_max)),
                 ((sp->sp_warn) == -1 ? 0 : -1),
                 ((sp->sp_warn) == -1 ? 0 : (sp->sp_warn)),
                 ((sp->sp_inact) == -1 ? 0 : -1),
                 ((sp->sp_inact) == -1 ? 0 : (sp->sp_inact)),
                 ((sp->sp_expire) == -1 ? 0 : -1),
                 ((sp->sp_expire) == -1 ? 0 : (sp->sp_expire)),
                 ((sp->sp_flag) == -1 ? 0 : -1),
                 ((sp->sp_flag) == -1 ? 0 : (sp->sp_flag))) < 0
             ? -1
             : 0;
}


x86 assembly (clang, -O0):
<putspent>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xf8,%rsp
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x30(%rbp),%rax
cmpq   $0x0,(%rax)
je     1152 <putspent+0x42>
mov    -0x30(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x48(%rbp)
jmp    1162 <putspent+0x52>
lea    0xed7(%rip),%rax
mov    %rax,-0x48(%rbp)
jmp    1162 <putspent+0x52>
mov    -0x48(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x30(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     118a <putspent+0x7a>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x58(%rbp)
jmp    119a <putspent+0x8a>
lea    0xe9f(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    119a <putspent+0x8a>
mov    -0x58(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x30(%rbp),%rax
mov    0x10(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x10(%rax)
jne    11d1 <putspent+0xc1>
xor    %eax,%eax
mov    %eax,-0x6c(%rbp)
jmp    11db <putspent+0xcb>
mov    -0x30(%rbp),%rax
mov    0x10(%rax),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x30(%rbp),%rax
mov    0x14(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0x70(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x14(%rax)
jne    1210 <putspent+0x100>
xor    %eax,%eax
mov    %eax,-0x78(%rbp)
jmp    121a <putspent+0x10a>
mov    -0x30(%rbp),%rax
mov    0x14(%rax),%eax
mov    %eax,-0x78(%rbp)
mov    -0x78(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x30(%rbp),%rax
mov    0x18(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x18(%rax)
jne    1252 <putspent+0x142>
xor    %eax,%eax
mov    %eax,-0x84(%rbp)
jmp    125f <putspent+0x14f>
mov    -0x30(%rbp),%rax
mov    0x18(%rax),%eax
mov    %eax,-0x84(%rbp)
mov    -0x84(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0x30(%rbp),%rax
mov    0x1c(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0x88(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x1c(%rax)
jne    12a0 <putspent+0x190>
xor    %eax,%eax
mov    %eax,-0x90(%rbp)
jmp    12ad <putspent+0x19d>
mov    -0x30(%rbp),%rax
mov    0x1c(%rax),%eax
mov    %eax,-0x90(%rbp)
mov    -0x90(%rbp),%eax
mov    %eax,-0x98(%rbp)
mov    -0x30(%rbp),%rax
mov    0x20(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0x94(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x20(%rax)
jne    12ee <putspent+0x1de>
xor    %eax,%eax
mov    %eax,-0x9c(%rbp)
jmp    12fb <putspent+0x1eb>
mov    -0x30(%rbp),%rax
mov    0x20(%rax),%eax
mov    %eax,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    -0x30(%rbp),%rax
mov    0x24(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0xa0(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x24(%rax)
jne    133c <putspent+0x22c>
xor    %eax,%eax
mov    %eax,-0xa8(%rbp)
jmp    1349 <putspent+0x239>
mov    -0x30(%rbp),%rax
mov    0x24(%rax),%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa8(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    -0x30(%rbp),%rax
mov    0x28(%rax),%edx
mov    $0xffffffff,%eax
xor    %ecx,%ecx
cmp    $0xffffffff,%edx
cmove  %ecx,%eax
mov    %eax,-0xac(%rbp)
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,0x28(%rax)
jne    138a <putspent+0x27a>
xor    %eax,%eax
mov    %eax,-0xb4(%rbp)
jmp    1397 <putspent+0x287>
mov    -0x30(%rbp),%rax
mov    0x28(%rax),%eax
mov    %eax,-0xb4(%rbp)
mov    -0xb0(%rbp),%r11d
mov    -0xa0(%rbp),%ebx
mov    -0xa4(%rbp),%r14d
mov    -0x94(%rbp),%r15d
mov    -0x98(%rbp),%r12d
mov    -0x88(%rbp),%r13d
mov    -0x70(%rbp),%r10d
mov    -0x74(%rbp),%r9d
mov    -0x5c(%rbp),%r8d
mov    -0x68(%rbp),%rcx
mov    -0x50(%rbp),%rdx
mov    -0x40(%rbp),%rdi
mov    -0xb4(%rbp),%eax
lea    0xc1b(%rip),%rsi
mov    %r10d,(%rsp)
mov    -0x80(%rbp),%r10d
mov    %r10d,0x8(%rsp)
mov    -0x7c(%rbp),%r10d
mov    %r10d,0x10(%rsp)
mov    -0x8c(%rbp),%r10d
mov    %r10d,0x18(%rsp)
mov    -0xac(%rbp),%r10d
mov    %r13d,0x20(%rsp)
mov    %r12d,0x28(%rsp)
mov    %r15d,0x30(%rsp)
mov    %r14d,0x38(%rsp)
mov    %ebx,0x40(%rsp)
mov    %r11d,0x48(%rsp)
mov    %r10d,0x50(%rsp)
mov    %eax,0x58(%rsp)
call   1030 <fprintf@plt>
mov    %rax,%rdx
xor    %eax,%eax
mov    $0xffffffff,%ecx
cmp    $0x0,%rdx
cmovl  %ecx,%eax
add    $0xf8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<putspent>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,0x10(%rsp)
mov    (%rdi),%rdx
mov    0x8(%rdi),%rcx
test   %rdx,%rdx
lea    0xefc(%rip),%rax
cmove  %rax,%rdx
test   %rcx,%rcx
cmove  %rax,%rcx
mov    0x10(%rdi),%r9d
xor    %esi,%esi
xor    %r8d,%r8d
cmp    $0xffffffff,%r9d
cmove  %esi,%r9d
setne  %r8b
mov    0x14(%rdi),%ebp
xor    %eax,%eax
cmp    $0xffffffff,%ebp
setne  %al
mov    %rax,0x8(%rsp)
cmove  %esi,%ebp
mov    %rbp,0x20(%rsp)
mov    0x18(%rdi),%eax
xor    %r13d,%r13d
cmp    $0xffffffff,%eax
cmove  %esi,%eax
mov    %rax,0x18(%rsp)
setne  %r13b
mov    0x1c(%rdi),%r12d
xor    %r15d,%r15d
cmp    $0xffffffff,%r12d
setne  %r15b
cmove  %esi,%r12d
mov    0x20(%rdi),%ebp
xor    %ebx,%ebx
cmp    $0xffffffff,%ebp
cmove  %esi,%ebp
setne  %bl
mov    0x24(%rdi),%r14d
xor    %r11d,%r11d
cmp    $0xffffffff,%r14d
setne  %r11b
cmove  %esi,%r14d
mov    0x28(%rdi),%r10d
xor    %eax,%eax
cmp    $0xffffffff,%r10d
cmove  %esi,%r10d
setne  %al
neg    %eax
neg    %r11d
neg    %ebx
neg    %r15d
neg    %r13d
mov    0x8(%rsp),%rsi
neg    %esi
mov    %rsi,0x8(%rsp)
neg    %r8d
lea    0xe17(%rip),%rsi
mov    0x10(%rsp),%rdi
push   %r10
push   %rax
push   %r14
push   %r11
push   %rbp
push   %rbx
push   %r12
push   %r15
push   0x58(%rsp)
push   %r13
push   0x70(%rsp)
push   0x60(%rsp)
call   1030 <fprintf@plt>
add    $0x60,%rsp
sar    $0x3f,%rax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
%struct.spwd = type { i8*, i8*, i32, i32, i32, i32, i32, i32, i32 }
@.str = [49 x i8] c"%s:%s:%.*ld:%.*ld:%.*ld:%.*ld:%.*ld:%.*ld:%.*lu\0A\00"
@.str.1 = [1 x i8] zeroinitializer
define i32 @putspent(%struct.spwd* nocapture %0, i32* nocapture %1) {
%3 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 0
%4 = load i8*, i8** %3
%5 = icmp eq i8* %4, null
%6 = select i1 %5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* %4
%7 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 1
%8 = load i8*, i8** %7
%9 = icmp eq i8* %8, null
%10 = select i1 %9, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* %8
%11 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 2
%12 = load i32, i32* %11
%13 = icmp eq i32 %12, -1
%14 = select i1 %13, i32 0, i32 %12
%15 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 3
%16 = load i32, i32* %15
%17 = icmp eq i32 %16, -1
%18 = select i1 %17, i32 0, i32 %16
%19 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 4
%20 = load i32, i32* %19
%21 = icmp eq i32 %20, -1
%22 = select i1 %21, i32 0, i32 %20
%23 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 5
%24 = load i32, i32* %23
%25 = icmp eq i32 %24, -1
%26 = select i1 %25, i32 0, i32 %24
%27 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 6
%28 = load i32, i32* %27
%29 = icmp eq i32 %28, -1
%30 = select i1 %29, i32 0, i32 %28
%31 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 7
%32 = load i32, i32* %31
%33 = icmp eq i32 %32, -1
%34 = select i1 %33, i32 0, i32 %32
%35 = getelementptr inbounds %struct.spwd, %struct.spwd* %0, i64 0, i32 8
%36 = load i32, i32* %35
%37 = icmp eq i32 %36, -1
%38 = select i1 %37, i32 0, i32 %36
%39 = xor i1 %37, true
%40 = sext i1 %39 to i32
%41 = xor i1 %33, true
%42 = sext i1 %41 to i32
%43 = xor i1 %29, true
%44 = sext i1 %43 to i32
%45 = xor i1 %25, true
%46 = sext i1 %45 to i32
%47 = xor i1 %21, true
%48 = sext i1 %47 to i32
%49 = xor i1 %17, true
%50 = sext i1 %49 to i32
%51 = xor i1 %13, true
%52 = sext i1 %51 to i32
%53 = tail call i64 @fprintf(i32* %1, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0), i8* %6, i8* %10, i32 %52, i32 %14, i32 %50, i32 %18, i32 %48, i32 %22, i32 %46, i32 %26, i32 %44, i32 %30, i32 %42, i32 %34, i32 %40, i32 %38)
%54 = ashr i64 %53, 63
%55 = trunc i64 %54 to i32
ret i32 %55
}