#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*/ printf(char *, ...);
int sscanf(char *, char *, char *, char *, ...);
void sscanf_test(void) {
  int ret;
  char *string;
  int digit;
  char buf1[255];
  char buf2[255];
  char buf3[255];
  char buf4[255];
  char buf5[255];
  char patten[] = "%[^ ] %[^(]%s";
  string = "	if(a>0)";
  ret = sscanf(string, patten, buf1, buf2, buf3, buf4, buf5);
  printf("6.6666:%d\n", ret);
  printf("6.string=%s\n", string);
  printf("6.buf1=|%s|\n\n", buf1);
  printf("6.buf2=|%s|\n\n", buf2);
  printf("6.buf3=|%s|\n\n", buf3);
  printf("6.buf4=|%s|\n\n", buf4);
  printf("6.buf5=|%s|\n\n", buf5);
  string = "iosVSandroid";
  ret = sscanf(string, "%[a-z]VS%[a-z]", buf1, buf2);
  printf("6.6666:%d\n", ret);
  printf("7.string=%s\n", string);
  printf("7.buf1=%s, buf2=%s\n\n", buf1, buf2);
  string = "Email:beijing@sina.com.cn";
  ret = sscanf(string, "%[^:]:%[^@]@%[^.].%s", buf1, buf2, buf3, buf4);
  printf("6.6666:%d\n", ret);
  printf("9.string=%s\n", string);
  printf("9.buf1=%s, buf2=%s, buf3=%s, buf4=%s\n\n", buf1, buf2, buf3, buf4);
  string = "android iphone wp7";
  ret = sscanf(string, "%s %*s %s", buf1, buf2);
  printf("6.6666:%d\n", ret);
  printf("10.string=%s\n", string);
  printf("10.buf1=%s, buf2=%s\n\n", buf1, buf2);
}


x86 assembly (clang, -O0):
<sscanf_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x540,%rsp
mov    0xece(%rip),%rax
mov    %rax,-0x52e(%rbp)
mov    0xec9(%rip),%eax
mov    %eax,-0x526(%rbp)
mov    0xec0(%rip),%ax
mov    %ax,-0x522(%rbp)
lea    0xeb4(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x52e(%rbp),%rsi
lea    -0x120(%rbp),%rdx
lea    -0x220(%rbp),%rcx
lea    -0x320(%rbp),%r8
lea    -0x420(%rbp),%r9
lea    -0x520(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x120(%rbp),%rsi
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x220(%rbp),%rsi
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x320(%rbp),%rsi
lea    0xe56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x420(%rbp),%rsi
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x520(%rbp),%rsi
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe48(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x120(%rbp),%rdx
lea    -0x220(%rbp),%rcx
lea    0xe38(%rip),%rsi
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xdb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x120(%rbp),%rsi
lea    -0x220(%rbp),%rdx
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe19(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x120(%rbp),%rdx
lea    -0x220(%rbp),%rcx
lea    -0x320(%rbp),%r8
lea    -0x420(%rbp),%r9
lea    0xe08(%rip),%rsi
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x120(%rbp),%rsi
lea    -0x220(%rbp),%rdx
lea    -0x320(%rbp),%rcx
lea    -0x420(%rbp),%r8
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdf3(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x120(%rbp),%rdx
lea    -0x220(%rbp),%rcx
lea    0xde9(%rip),%rsi
mov    $0x0,%al
call   1040 <sscanf@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xcc3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xdcd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x120(%rbp),%rsi
lea    -0x220(%rbp),%rdx
lea    0xdbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x540,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sscanf_test>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x528,%rsp
movabs $0x73255d285e5b25,%rax
mov    %rax,0x16(%rsp)
movabs $0x5b25205d205e5b25,%rax
20 25 5b
mov    %rax,0x10(%rsp)
lea    0x20(%rsp),%rbp
mov    %rbp,(%rsp)
lea    0xeaf(%rip),%r15
lea    0x10(%rsp),%rsi
lea    0x420(%rsp),%r12
lea    0x320(%rsp),%r14
lea    0x220(%rsp),%rbx
lea    0x120(%rsp),%r13
mov    %r15,%rdi
mov    %r12,%rdx
mov    %r14,%rcx
mov    %rbx,%r8
mov    %r13,%r9
xor    %eax,%eax
call   1040 <sscanf@plt>
lea    0xe76(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe71(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe6d(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe6a(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe67(%rip),%rdi
mov    %rbx,%rsi
mov    %rbx,%r15
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe61(%rip),%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe5e(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe5b(%rip),%rbp
lea    0xe61(%rip),%rsi
mov    %rbp,%rdi
mov    %r12,%rdx
mov    %r14,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
lea    0xddf(%rip),%rbx
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe46(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe42(%rip),%rdi
mov    %r12,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe43(%rip),%rbp
lea    0xe56(%rip),%rsi
mov    %rbp,%rdi
mov    %r12,%rdx
mov    %r14,%rcx
mov    %r15,%r8
mov    %r13,%r9
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe42(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe3e(%rip),%rdi
mov    %r12,%rsi
mov    %r14,%rdx
mov    %r15,%rcx
mov    %r13,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe4b(%rip),%rbp
lea    0xe57(%rip),%rsi
mov    %rbp,%rdi
mov    %r12,%rdx
mov    %r14,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe3e(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe3b(%rip),%rdi
mov    %r12,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x528,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.sscanf_test.patten = [14 x i8] c"%[^ ] %[^(]%s\00"
@.str = [9 x i8] c"\09if(a>0)\00"
@.str.1 = [11 x i8] c"6.6666:%d\0A\00"
@.str.2 = [13 x i8] c"6.string=%s\0A\00"
@.str.3 = [14 x i8] c"6.buf1=|%s|\0A\0A\00"
@.str.4 = [14 x i8] c"6.buf2=|%s|\0A\0A\00"
@.str.5 = [14 x i8] c"6.buf3=|%s|\0A\0A\00"
@.str.6 = [14 x i8] c"6.buf4=|%s|\0A\0A\00"
@.str.7 = [14 x i8] c"6.buf5=|%s|\0A\0A\00"
@.str.8 = [13 x i8] c"iosVSandroid\00"
@.str.9 = [15 x i8] c"%[a-z]VS%[a-z]\00"
@.str.10 = [13 x i8] c"7.string=%s\0A\00"
@.str.11 = [21 x i8] c"7.buf1=%s, buf2=%s\0A\0A\00"
@.str.12 = [26 x i8] c"Email:beijing@sina.com.cn\00"
@.str.13 = [21 x i8] c"%[^:]:%[^@]@%[^.].%s\00"
@.str.14 = [13 x i8] c"9.string=%s\0A\00"
@.str.15 = [39 x i8] c"9.buf1=%s, buf2=%s, buf3=%s, buf4=%s\0A\0A\00"
@.str.16 = [19 x i8] c"android iphone wp7\00"
@.str.17 = [10 x i8] c"%s %*s %s\00"
@.str.18 = [14 x i8] c"10.string=%s\0A\00"
@.str.19 = [22 x i8] c"10.buf1=%s, buf2=%s\0A\0A\00"
define void @sscanf_test() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i32
%4 = alloca [255 x i8]
%5 = alloca [255 x i8]
%6 = alloca [255 x i8]
%7 = alloca [255 x i8]
%8 = alloca [255 x i8]
%9 = alloca [14 x i8]
%10 = bitcast [14 x i8]* %9 to i8*
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8** %2
%11 = load i8*, i8** %2
%12 = getelementptr inbounds [14 x i8], [14 x i8]* %9, i64 0, i64 0
%13 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%14 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%15 = getelementptr inbounds [255 x i8], [255 x i8]* %6, i64 0, i64 0
%16 = getelementptr inbounds [255 x i8], [255 x i8]* %7, i64 0, i64 0
%17 = getelementptr inbounds [255 x i8], [255 x i8]* %8, i64 0, i64 0
%18 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17)
store i32 %18, i32* %1
%19 = load i32, i32* %1
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = load i8*, i8** %2
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* %21)
%23 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* %23)
%25 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* %25)
%27 = getelementptr inbounds [255 x i8], [255 x i8]* %6, i64 0, i64 0
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* %27)
%29 = getelementptr inbounds [255 x i8], [255 x i8]* %7, i64 0, i64 0
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %29)
%31 = getelementptr inbounds [255 x i8], [255 x i8]* %8, i64 0, i64 0
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), i8* %31)
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8** %2
%33 = load i8*, i8** %2
%34 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%35 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%36 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* %33, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* %34, i8* %35)
store i32 %36, i32* %1
%37 = load i32, i32* %1
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %37)
%39 = load i8*, i8** %2
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i8* %39)
%41 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%42 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i8* %41, i8* %42)
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), i8** %2
%44 = load i8*, i8** %2
%45 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%46 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%47 = getelementptr inbounds [255 x i8], [255 x i8]* %6, i64 0, i64 0
%48 = getelementptr inbounds [255 x i8], [255 x i8]* %7, i64 0, i64 0
%49 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* %44, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i8* %45, i8* %46, i8* %47, i8* %48)
store i32 %49, i32* %1
%50 = load i32, i32* %1
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %50)
%52 = load i8*, i8** %2
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* %52)
%54 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%55 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%56 = getelementptr inbounds [255 x i8], [255 x i8]* %6, i64 0, i64 0
%57 = getelementptr inbounds [255 x i8], [255 x i8]* %7, i64 0, i64 0
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i8* %54, i8* %55, i8* %56, i8* %57)
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i8** %2
%59 = load i8*, i8** %2
%60 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%61 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%62 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* %59, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0), i8* %60, i8* %61)
store i32 %62, i32* %1
%63 = load i32, i32* %1
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %63)
%65 = load i8*, i8** %2
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* %65)
%67 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%68 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0), i8* %67, i8* %68)
ret void
}

LLVM IR (-O2):
@__const.sscanf_test.patten = [14 x i8] c"%[^ ] %[^(]%s\00"
@.str = [9 x i8] c"\09if(a>0)\00"
@.str.1 = [11 x i8] c"6.6666:%d\0A\00"
@.str.2 = [13 x i8] c"6.string=%s\0A\00"
@.str.3 = [14 x i8] c"6.buf1=|%s|\0A\0A\00"
@.str.4 = [14 x i8] c"6.buf2=|%s|\0A\0A\00"
@.str.5 = [14 x i8] c"6.buf3=|%s|\0A\0A\00"
@.str.6 = [14 x i8] c"6.buf4=|%s|\0A\0A\00"
@.str.7 = [14 x i8] c"6.buf5=|%s|\0A\0A\00"
@.str.8 = [13 x i8] c"iosVSandroid\00"
@.str.9 = [15 x i8] c"%[a-z]VS%[a-z]\00"
@.str.10 = [13 x i8] c"7.string=%s\0A\00"
@.str.11 = [21 x i8] c"7.buf1=%s, buf2=%s\0A\0A\00"
@.str.12 = [26 x i8] c"Email:beijing@sina.com.cn\00"
@.str.13 = [21 x i8] c"%[^:]:%[^@]@%[^.].%s\00"
@.str.14 = [13 x i8] c"9.string=%s\0A\00"
@.str.15 = [39 x i8] c"9.buf1=%s, buf2=%s, buf3=%s, buf4=%s\0A\0A\00"
@.str.16 = [19 x i8] c"android iphone wp7\00"
@.str.17 = [10 x i8] c"%s %*s %s\00"
@.str.18 = [14 x i8] c"10.string=%s\0A\00"
@.str.19 = [22 x i8] c"10.buf1=%s, buf2=%s\0A\0A\00"
define void @sscanf_test() {
%1 = alloca [255 x i8]
%2 = alloca [255 x i8]
%3 = alloca [255 x i8]
%4 = alloca [255 x i8]
%5 = alloca [255 x i8]
%6 = alloca [14 x i8]
%7 = getelementptr inbounds [255 x i8], [255 x i8]* %1, i64 0, i64 0
%8 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%9 = getelementptr inbounds [255 x i8], [255 x i8]* %3, i64 0, i64 0
%10 = getelementptr inbounds [255 x i8], [255 x i8]* %4, i64 0, i64 0
%11 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [14 x i8], [14 x i8]* %6, i64 0, i64 0
%13 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* %12, i8* %7, i8* %8, i8* %9, i8* %10, i8* %11)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %13)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* %7)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* %8)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* %9)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %10)
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), i8* %11)
%21 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* %7, i8* %8)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i8* %7, i8* %8)
%25 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i8* %7, i8* %8, i8* %9, i8* %10)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i8* %7, i8* %8, i8* %9, i8* %10)
%29 = call i32 (i8*, i8*, i8*, i8*, ...) @sscanf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0), i8* %7, i8* %8)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %29)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0), i8* %7, i8* %8)
ret void
}