#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*/ assert(int);
int sscanf(char *, char *, ...);
int sscanf_t01(void) {
  int rc;
  int a, b, c, d;
  long int e;
  rc = sscanf("-123", "%d", &a);
  assert(rc == 1);
  assert(a == -123);
  rc = sscanf("321", "%d", &a);
  assert(rc == 1);
  assert(a == 321);
  rc = sscanf("2147483647", "%d", &a);
  assert(rc == 1);
  assert(a == 2147483647);
  rc = sscanf("2147483648", "%d", &a);
  assert(rc == 1);
  assert(a == -2147483648);
  rc = sscanf("2147483649", "%d", &a);
  assert(rc == 1);
  assert(a == -2147483647);
  rc = sscanf("2147483648", "%ld", &e);
  assert(rc == 1);
  assert(e == 2147483648);
  rc = sscanf("0 1 2", "%d%d%d", &a, &b, &c);
  assert(rc == 3);
  assert(a == 0);
  assert(b == 1);
  assert(c == 2);
  rc = sscanf("  12345678 999", "%3d%3d%d%d", &a, &b, &c, &d);
  assert(rc == 4);
  assert(a == 123);
  assert(b == 456);
  assert(c == 78);
  assert(d == 999);
  rc = sscanf("abc", "%x", &a);
  assert(rc == 1);
  assert(a == 2748);
  return 0;
}


x86 assembly (clang, -O0):
<sscanf_t01>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rdi
lea    0xf02(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0xffffff85,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe98(%rip),%rdi
lea    0xec4(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x141,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe5b(%rip),%rdi
lea    0xe83(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x7fffffff,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe25(%rip),%rdi
lea    0xe42(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movslq -0x8(%rbp),%rax
cmp    $0xffffffff80000000,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xdec(%rip),%rdi
lea    0xdfe(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x80000001,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xda0(%rip),%rdi
lea    0xdaf(%rip),%rsi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x80000000,%eax
cmp    %rax,-0x20(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd77(%rip),%rdi
lea    0xd76(%rip),%rsi
lea    -0x8(%rbp),%rdx
lea    -0xc(%rbp),%rcx
lea    -0x10(%rbp),%r8
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x3,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x0,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x1,-0xc(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x2,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd1c(%rip),%rdi
lea    0xd24(%rip),%rsi
lea    -0x8(%rbp),%rdx
lea    -0xc(%rbp),%rcx
lea    -0x10(%rbp),%r8
lea    -0x14(%rbp),%r9
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x4,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x1c8,-0xc(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x4e,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x3e7,-0x14(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xcb3(%rip),%rdi
lea    0xcb0(%rip),%rsi
lea    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0xabc,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sscanf_t01>:
push   %r15
push   %r14
push   %rbx
sub    $0x20,%rsp
lea    0xed0(%rip),%rdi
lea    0xf01(%rip),%rbx
lea    0x8(%rsp),%r14
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0xffffff85,0x8(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe97(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x141,0x8(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe66(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x7fffffff,0x8(%rsp)
7f
sete   %dil
call   1030 <assert@plt>
lea    0xe3c(%rip),%r15
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x80000000,0x8(%rsp)
80
sete   %dil
call   1030 <assert@plt>
lea    0xe0f(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x80000001,0x8(%rsp)
80
sete   %dil
call   1030 <assert@plt>
lea    0xde5(%rip),%rsi
lea    0x18(%rsp),%rdx
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x80000000,%eax
xor    %edi,%edi
cmp    %rax,0x18(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xdb0(%rip),%rdi
lea    0xdaf(%rip),%rsi
lea    0x10(%rsp),%rbx
lea    0xc(%rsp),%r15
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r15,%r8
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x0,0x8(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x1,0x10(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x2,0xc(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xd57(%rip),%rdi
lea    0xd5f(%rip),%rsi
lea    0x14(%rsp),%r9
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r15,%r8
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x7b,0x8(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x1c8,0x10(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x4e,0xc(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0x3e7,0x14(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xcfa(%rip),%rdi
lea    0xcf7(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpl   $0xabc,0x8(%rsp)
sete   %dil
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"-123\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [4 x i8] c"321\00"
@.str.3 = [11 x i8] c"2147483647\00"
@.str.4 = [11 x i8] c"2147483648\00"
@.str.5 = [11 x i8] c"2147483649\00"
@.str.6 = [4 x i8] c"%ld\00"
@.str.7 = [6 x i8] c"0 1 2\00"
@.str.8 = [7 x i8] c"%d%d%d\00"
@.str.9 = [15 x i8] c" 12345678 999\00"
@.str.10 = [11 x i8] c"%3d%3d%d%d\00"
@.str.11 = [4 x i8] c"abc\00"
@.str.12 = [3 x i8] c"%x\00"
define i32 @sscanf_t01() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i64
%7 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 %7, i32* %1
%8 = load i32, i32* %1
%9 = icmp eq i32 %8, 1
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 %10)
%12 = load i32, i32* %2
%13 = icmp eq i32 %12, -123
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 %14)
%16 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 %16, i32* %1
%17 = load i32, i32* %1
%18 = icmp eq i32 %17, 1
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 %19)
%21 = load i32, i32* %2
%22 = icmp eq i32 %21, 321
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 %25, i32* %1
%26 = load i32, i32* %1
%27 = icmp eq i32 %26, 1
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = load i32, i32* %2
%31 = icmp eq i32 %30, 2147483647
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 %34, i32* %1
%35 = load i32, i32* %1
%36 = icmp eq i32 %35, 1
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = load i32, i32* %2
%40 = sext i32 %39 to i64
%41 = icmp eq i64 %40, -2147483648
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 %42)
%44 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 %44, i32* %1
%45 = load i32, i32* %1
%46 = icmp eq i32 %45, 1
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 %47)
%49 = load i32, i32* %2
%50 = icmp eq i32 %49, -2147483647
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 %51)
%53 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i64* %6)
store i32 %53, i32* %1
%54 = load i32, i32* %1
%55 = icmp eq i32 %54, 1
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = load i64, i64* %6
%59 = icmp eq i64 %58, 2147483648
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
store i32 %62, i32* %1
%63 = load i32, i32* %1
%64 = icmp eq i32 %63, 3
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = load i32, i32* %2
%68 = icmp eq i32 %67, 0
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 %69)
%71 = load i32, i32* %3
%72 = icmp eq i32 %71, 1
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 %73)
%75 = load i32, i32* %4
%76 = icmp eq i32 %75, 2
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 %77)
%79 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32* %2, i32* %3, i32* %4, i32* %5)
store i32 %79, i32* %1
%80 = load i32, i32* %1
%81 = icmp eq i32 %80, 4
%82 = zext i1 %81 to i32
%83 = call i32 @assert(i32 %82)
%84 = load i32, i32* %2
%85 = icmp eq i32 %84, 123
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 %86)
%88 = load i32, i32* %3
%89 = icmp eq i32 %88, 456
%90 = zext i1 %89 to i32
%91 = call i32 @assert(i32 %90)
%92 = load i32, i32* %4
%93 = icmp eq i32 %92, 78
%94 = zext i1 %93 to i32
%95 = call i32 @assert(i32 %94)
%96 = load i32, i32* %5
%97 = icmp eq i32 %96, 999
%98 = zext i1 %97 to i32
%99 = call i32 @assert(i32 %98)
%100 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %2)
store i32 %100, i32* %1
%101 = load i32, i32* %1
%102 = icmp eq i32 %101, 1
%103 = zext i1 %102 to i32
%104 = call i32 @assert(i32 %103)
%105 = load i32, i32* %2
%106 = icmp eq i32 %105, 2748
%107 = zext i1 %106 to i32
%108 = call i32 @assert(i32 %107)
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"-123\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [4 x i8] c"321\00"
@.str.3 = [11 x i8] c"2147483647\00"
@.str.4 = [11 x i8] c"2147483648\00"
@.str.5 = [11 x i8] c"2147483649\00"
@.str.6 = [4 x i8] c"%ld\00"
@.str.7 = [6 x i8] c"0 1 2\00"
@.str.8 = [7 x i8] c"%d%d%d\00"
@.str.9 = [15 x i8] c" 12345678 999\00"
@.str.10 = [11 x i8] c"%3d%3d%d%d\00"
@.str.11 = [4 x i8] c"abc\00"
@.str.12 = [3 x i8] c"%x\00"
define i32 @sscanf_t01() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i64
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = bitcast i32* %3 to i8*
%9 = bitcast i32* %4 to i8*
%10 = bitcast i64* %5 to i8*
%11 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%12 = icmp eq i32 %11, 1
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 %13)
%15 = load i32, i32* %1
%16 = icmp eq i32 %15, -123
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 %17)
%19 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%20 = icmp eq i32 %19, 1
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 %21)
%23 = load i32, i32* %1
%24 = icmp eq i32 %23, 321
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 %25)
%27 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%28 = icmp eq i32 %27, 1
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 %29)
%31 = load i32, i32* %1
%32 = icmp eq i32 %31, 2147483647
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 %33)
%35 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%36 = icmp eq i32 %35, 1
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = load i32, i32* %1
%40 = icmp eq i32 %39, -2147483648
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 %41)
%43 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%44 = icmp eq i32 %43, 1
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 %45)
%47 = load i32, i32* %1
%48 = icmp eq i32 %47, -2147483647
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i64* %5)
%52 = icmp eq i32 %51, 1
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = load i64, i64* %5
%56 = icmp eq i64 %55, 2147483648
%57 = zext i1 %56 to i32
%58 = call i32 @assert(i32 %57)
%59 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%60 = icmp eq i32 %59, 3
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = load i32, i32* %1
%64 = icmp eq i32 %63, 0
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = load i32, i32* %2
%68 = icmp eq i32 %67, 1
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 %69)
%71 = load i32, i32* %3
%72 = icmp eq i32 %71, 2
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 %73)
%75 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32* %1, i32* %2, i32* %3, i32* %4)
%76 = icmp eq i32 %75, 4
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 %77)
%79 = load i32, i32* %1
%80 = icmp eq i32 %79, 123
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 %81)
%83 = load i32, i32* %2
%84 = icmp eq i32 %83, 456
%85 = zext i1 %84 to i32
%86 = call i32 @assert(i32 %85)
%87 = load i32, i32* %3
%88 = icmp eq i32 %87, 78
%89 = zext i1 %88 to i32
%90 = call i32 @assert(i32 %89)
%91 = load i32, i32* %4
%92 = icmp eq i32 %91, 999
%93 = zext i1 %92 to i32
%94 = call i32 @assert(i32 %93)
%95 = call i32 (i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %1)
%96 = icmp eq i32 %95, 1
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 %97)
%99 = load i32, i32* %1
%100 = icmp eq i32 %99, 2748
%101 = zext i1 %100 to i32
%102 = call i32 @assert(i32 %101)
ret i32 0
}