int main(void) {
  char s[64];
  sprintf(s, "%d", 2147483645), assert(0 == strcmp(s, "2147483645"));
  sprintf(s, "%d", 2147483646), assert(0 == strcmp(s, "2147483646"));
  sprintf(s, "%d", 2147483647), assert(0 == strcmp(s, "2147483647"));
  sprintf(s, "%d", -2147483647 - 1), assert(0 == strcmp(s, "-2147483648"));
  sprintf(s, "%d", -2147483647), assert(0 == strcmp(s, "-2147483647"));
  sprintf(s, "%d", -2147483646), assert(0 == strcmp(s, "-2147483646"));
  sprintf(s, "%d", 0x80000000), assert(0 == strcmp(s, "-2147483648"));
  sprintf(s, "%d", 0x80000001), assert(0 == strcmp(s, "-2147483647"));
  sprintf(s, "%d", 0x80000002), assert(0 == strcmp(s, "-2147483646"));
  sprintf(s, "%d", 0xFFFFFFFF), assert(0 == strcmp(s, "-1"));
  sprintf(s, "%d", 0xFFFFFFFE), assert(0 == strcmp(s, "-2"));
  sprintf(s, "%d", 0xFFFFFFFD), assert(0 == strcmp(s, "-3"));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xeb6(%rip),%rsi
mov    $0x7ffffffd,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xea2(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xe7a(%rip),%rsi
mov    $0x7ffffffe,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xe8a(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xe3e(%rip),%rsi
mov    $0x7fffffff,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xe42(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xe02(%rip),%rsi
mov    $0x80000000,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xdf9(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xdc6(%rip),%rsi
mov    $0x80000001,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xdc9(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xd8a(%rip),%rsi
mov    $0x80000002,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xd99(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xd4e(%rip),%rsi
mov    $0x80000000,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xd45(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xd12(%rip),%rsi
mov    $0x80000001,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xd15(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xcd6(%rip),%rsi
mov    $0x80000002,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xce5(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xc9a(%rip),%rsi
mov    $0xffffffff,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xcb5(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xc5e(%rip),%rsi
mov    $0xfffffffe,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xc7c(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
lea    -0x50(%rbp),%rdi
lea    0xc22(%rip),%rsi
mov    $0xfffffffd,%edx
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x50(%rbp),%rdi
lea    0xc43(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x40,%rsp
lea    0xed0(%rip),%r14
mov    %rsp,%r15
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x7ffffffd,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
movabs $0x3633383437343132,%rbx
38 33 36
mov    (%rsp),%rax
movabs $0x35343633383437,%rcx
xor    0x3(%rsp),%rcx
xor    %rbx,%rax
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x7ffffffe,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    (%rsp),%rax
movabs $0x36343633383437,%rcx
xor    0x3(%rsp),%rcx
xor    %rbx,%rax
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x7fffffff,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
xor    (%rsp),%rbx
movabs $0x37343633383437,%rax
xor    0x3(%rsp),%rax
xor    %edi,%edi
or     %rbx,%rax
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000000,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
movabs $0x333834373431322d,%rbx
34 38 33
mov    (%rsp),%rax
xor    %rbx,%rax
mov    0x8(%rsp),%ecx
xor    $0x383436,%rcx
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000001,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    (%rsp),%rax
xor    %rbx,%rax
mov    0x8(%rsp),%ecx
xor    $0x373436,%rcx
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000002,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    (%rsp),%rax
xor    %rbx,%rax
mov    0x8(%rsp),%ecx
xor    $0x363436,%rcx
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000000,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    (%rsp),%rax
xor    %rbx,%rax
mov    0x8(%rsp),%ecx
xor    $0x383436,%rcx
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000001,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    (%rsp),%rax
xor    %rbx,%rax
mov    0x8(%rsp),%ecx
xor    $0x373436,%rcx
xor    %edi,%edi
or     %rax,%rcx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0x80000002,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
xor    (%rsp),%rbx
mov    0x8(%rsp),%eax
xor    $0x363436,%rax
xor    %edi,%edi
or     %rbx,%rax
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0xffffffff,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    $0x312d,%eax
xor    (%rsp),%eax
movzbl 0x2(%rsp),%ecx
xor    %edi,%edi
or     %ax,%cx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0xfffffffe,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    $0x322d,%eax
xor    (%rsp),%eax
movzbl 0x2(%rsp),%ecx
xor    %edi,%edi
or     %ax,%cx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    $0xfffffffd,%edx
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    $0x332d,%eax
xor    (%rsp),%eax
movzbl 0x2(%rsp),%ecx
xor    %edi,%edi
or     %ax,%cx
sete   %dil
xor    %eax,%eax
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [11 x i8] c"2147483645\00"
@.str.2 = [11 x i8] c"2147483646\00"
@.str.3 = [11 x i8] c"2147483647\00"
@.str.4 = [12 x i8] c"-2147483648\00"
@.str.5 = [12 x i8] c"-2147483647\00"
@.str.6 = [12 x i8] c"-2147483646\00"
@.str.7 = [3 x i8] c"-1\00"
@.str.8 = [3 x i8] c"-2\00"
@.str.9 = [3 x i8] c"-3\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [64 x i8]
store i32 0, i32* %1
%3 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%4 = call i32 (i8*, i8*, ...) @sprintf(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483645)
%5 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%7 = icmp eq i32 0, %6
%8 = zext i1 %7 to i32
%9 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %8)
%10 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%11 = call i32 (i8*, i8*, ...) @sprintf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483646)
%12 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%13 = call i32 @strcmp(i8* %12, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%14 = icmp eq i32 0, %13
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %15)
%17 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%18 = call i32 (i8*, i8*, ...) @sprintf(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483647)
%19 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%20 = call i32 @strcmp(i8* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i32 0, %20
%22 = zext i1 %21 to i32
%23 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %22)
%24 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%25 = call i32 (i8*, i8*, ...) @sprintf(i8* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483648)
%26 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%27 = call i32 @strcmp(i8* %26, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%28 = icmp eq i32 0, %27
%29 = zext i1 %28 to i32
%30 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %29)
%31 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%32 = call i32 (i8*, i8*, ...) @sprintf(i8* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483647)
%33 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%34 = call i32 @strcmp(i8* %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%35 = icmp eq i32 0, %34
%36 = zext i1 %35 to i32
%37 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %36)
%38 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%39 = call i32 (i8*, i8*, ...) @sprintf(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483646)
%40 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%41 = call i32 @strcmp(i8* %40, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%42 = icmp eq i32 0, %41
%43 = zext i1 %42 to i32
%44 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %43)
%45 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%46 = call i32 (i8*, i8*, ...) @sprintf(i8* %45, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483648)
%47 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%48 = call i32 @strcmp(i8* %47, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%49 = icmp eq i32 0, %48
%50 = zext i1 %49 to i32
%51 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %50)
%52 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%53 = call i32 (i8*, i8*, ...) @sprintf(i8* %52, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483647)
%54 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%55 = call i32 @strcmp(i8* %54, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%56 = icmp eq i32 0, %55
%57 = zext i1 %56 to i32
%58 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %57)
%59 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%60 = call i32 (i8*, i8*, ...) @sprintf(i8* %59, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483646)
%61 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%62 = call i32 @strcmp(i8* %61, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%63 = icmp eq i32 0, %62
%64 = zext i1 %63 to i32
%65 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %64)
%66 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%67 = call i32 (i8*, i8*, ...) @sprintf(i8* %66, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -1)
%68 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%69 = call i32 @strcmp(i8* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%70 = icmp eq i32 0, %69
%71 = zext i1 %70 to i32
%72 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %71)
%73 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%74 = call i32 (i8*, i8*, ...) @sprintf(i8* %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2)
%75 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%76 = call i32 @strcmp(i8* %75, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%77 = icmp eq i32 0, %76
%78 = zext i1 %77 to i32
%79 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %78)
%80 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%81 = call i32 (i8*, i8*, ...) @sprintf(i8* %80, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -3)
%82 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%83 = call i32 @strcmp(i8* %82, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%84 = icmp eq i32 0, %83
%85 = zext i1 %84 to i32
%86 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %85)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [11 x i8] c"2147483645\00"
@.str.2 = [11 x i8] c"2147483646\00"
@.str.3 = [11 x i8] c"2147483647\00"
@.str.4 = [12 x i8] c"-2147483648\00"
@.str.5 = [12 x i8] c"-2147483647\00"
@.str.6 = [12 x i8] c"-2147483646\00"
@.str.7 = [3 x i8] c"-1\00"
@.str.8 = [3 x i8] c"-2\00"
@.str.9 = [3 x i8] c"-3\00"
define i32 @main() {
%1 = alloca [64 x i8]
%2 = getelementptr inbounds [64 x i8], [64 x i8]* %1, i64 0, i64 0
%3 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483645)
%4 = call i32 @bcmp(i8* dereferenceable(11) %2, i8* dereferenceable(11) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i64 11)
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %6)
%8 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483646)
%9 = call i32 @bcmp(i8* dereferenceable(11) %2, i8* dereferenceable(11) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i64 11)
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
%12 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %11)
%13 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 2147483647)
%14 = call i32 @bcmp(i8* dereferenceable(11) %2, i8* dereferenceable(11) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i64 11)
%15 = icmp eq i32 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %16)
%18 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483648)
%19 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i64 12)
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
%22 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %21)
%23 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483647)
%24 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i64 12)
%25 = icmp eq i32 %24, 0
%26 = zext i1 %25 to i32
%27 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %26)
%28 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483646)
%29 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i64 12)
%30 = icmp eq i32 %29, 0
%31 = zext i1 %30 to i32
%32 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %31)
%33 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483648)
%34 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i64 12)
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %36)
%38 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483647)
%39 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i64 12)
%40 = icmp eq i32 %39, 0
%41 = zext i1 %40 to i32
%42 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %41)
%43 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2147483646)
%44 = call i32 @bcmp(i8* dereferenceable(12) %2, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i64 12)
%45 = icmp eq i32 %44, 0
%46 = zext i1 %45 to i32
%47 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %46)
%48 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -1)
%49 = call i32 @bcmp(i8* dereferenceable(3) %2, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i64 3)
%50 = icmp eq i32 %49, 0
%51 = zext i1 %50 to i32
%52 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %51)
%53 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -2)
%54 = call i32 @bcmp(i8* dereferenceable(3) %2, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i64 3)
%55 = icmp eq i32 %54, 0
%56 = zext i1 %55 to i32
%57 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %56)
%58 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 -3)
%59 = call i32 @bcmp(i8* dereferenceable(3) %2, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i64 3)
%60 = icmp eq i32 %59, 0
%61 = zext i1 %60 to i32
%62 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %61)
ret i32 0
}