#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf_size;
int /*<<< orphan*/ printf_size_info;
int /*<<< orphan*/ register_printf_function(char, int /*<<< orphan*/,
                                            int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, double, double, double, double,
                           double, double, ...);
int /*<<< orphan*/ stdout;
scalar_t__ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  char buf[1024];
  int result = 0;
  register_printf_function('b', printf_size, printf_size_info);
  register_printf_function('B', printf_size, printf_size_info);
  sprintf(buf, "%g %b %B %.0b %.0B %.1b %.1B %8.0b %08.0B", 12345678.12345678,
          1025., 12345678.12345678, 12345678.12345678, 12345678.12345678,
          12345678.12345678, 12345678.12345678, 12345678.12345678,
          12345678.12345678, 12345678.12345678);
  fputs(buf, stdout);
  if (strcmp(
          buf,
          "1.23457e+07 1.001k 12.346M 12m 12M 11.8m 12.3M      12m 0000012M")) {
    result = 1;
    fputs(" -> WRONG\n", stdout);
  } else
    fputs(" -> OK\n", stdout);
  sprintf(buf, "%b|%B|%-20.2b|%-10.0b|%-10.8b|%-10.2B|", 12345678.12345678,
          12345678.12345678, 12345678.12345678, 12345678.12345678,
          12345678.12345678, 12345678.12345678, 12345678.12345678,
          12345678.12345678, 12345678.12345678, 12345678.12345678,
          12345678.12345678);
  fputs(buf, stdout);
  if (strcmp(buf, "11.774m|12.346M|11.77m              |12m       "
                  "|11.77375614m|12.35M    |")) {
    result = 1;
    fputs(" -> WRONG\n", stdout);
  } else
    fputs(" -> OK\n", stdout);
  sprintf(buf, "%#.0B %*.0b %10.*b %*.*B %10.2B", 12345678.12345678, 2,
          12345678.12345678, 2, 12345678.12345678, 10, 2, 12345678.12345678,
          12345678.12345678);
  fputs(buf, stdout);
  if (strcmp(buf, "12.M 12m     11.77m     12.35M     12.35M")) {
    result = 1;
    fputs(" -> WRONG\n", stdout);
  } else
    fputs(" -> OK\n", stdout);
  sprintf(buf, "%6B %6.1B %b %B %b %B", 12345678.12345678, 12345678.12345678,
          1000.0, 1000.0, 1024.0, 1024.0);
  fputs(buf, stdout);
  if (strcmp(buf, "12.346M  12.3M 1000.000  1.000K 1.000k 1.024K")) {
    result = 1;
    fputs(" -> WRONG\n", stdout);
  } else
    fputs(" -> OK\n", stdout);
  return result;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x440,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x414(%rbp)
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
mov    0x2e85(%rip),%rax
mov    (%rax),%edx
mov    $0x62,%edi
call   1050 <register_printf_function@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%esi
mov    0x2e69(%rip),%rax
mov    (%rax),%edx
mov    $0x42,%edi
call   1050 <register_printf_function@plt>
lea    -0x410(%rbp),%rdi
lea    0xe87(%rip),%rsi
movsd  0xe4e(%rip),%xmm8
movsd  %xmm8,-0x420(%rbp)
ff ff
movsd  0xe45(%rip),%xmm1
movaps %xmm8,%xmm0
movaps %xmm8,%xmm2
movaps %xmm8,%xmm3
movaps %xmm8,%xmm4
movaps %xmm8,%xmm5
movaps %xmm8,%xmm6
movaps %xmm8,%xmm7
movsd  %xmm8,(%rsp)
movsd  %xmm8,0x8(%rsp)
mov    $0x8,%al
call   1060 <sprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2dcf(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xe44(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     1249 <main+0x109>
movl   $0x1,-0x414(%rbp)
mov    0x2d9a(%rip),%rax
mov    (%rax),%esi
lea    0xe5c(%rip),%rdi
call   1030 <fputs@plt>
jmp    125e <main+0x11e>
mov    0x2d80(%rip),%rax
mov    (%rax),%esi
lea    0xe4d(%rip),%rdi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xe42(%rip),%rsi
movsd  0xd8b(%rip),%xmm8
movsd  %xmm8,-0x428(%rbp)
ff ff
movaps %xmm8,%xmm0
movaps %xmm8,%xmm1
movaps %xmm8,%xmm2
movaps %xmm8,%xmm3
movaps %xmm8,%xmm4
movaps %xmm8,%xmm5
movaps %xmm8,%xmm6
movaps %xmm8,%xmm7
movsd  %xmm8,(%rsp)
movsd  %xmm8,0x8(%rsp)
movsd  %xmm8,0x10(%rsp)
mov    $0x8,%al
call   1060 <sprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2d09(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xdf9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     130f <main+0x1cf>
movl   $0x1,-0x414(%rbp)
mov    0x2cd4(%rip),%rax
mov    (%rax),%esi
lea    0xd96(%rip),%rdi
call   1030 <fputs@plt>
jmp    1324 <main+0x1e4>
mov    0x2cba(%rip),%rax
mov    (%rax),%esi
lea    0xd87(%rip),%rdi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xdec(%rip),%rsi
movsd  0xcc6(%rip),%xmm7
movsd  0xcce(%rip),%xmm3
movsd  0xcce(%rip),%xmm5
mov    $0x2,%edx
movaps %xmm7,%xmm0
movaps %xmm3,%xmm1
movaps %xmm7,%xmm2
movaps %xmm7,%xmm4
movaps %xmm7,%xmm6
mov    $0x8,%al
call   1060 <sprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2c5d(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13bb <main+0x27b>
movl   $0x1,-0x414(%rbp)
mov    0x2c28(%rip),%rax
mov    (%rax),%esi
lea    0xcea(%rip),%rdi
call   1030 <fputs@plt>
jmp    13d0 <main+0x290>
mov    0x2c0e(%rip),%rax
mov    (%rax),%esi
lea    0xcdb(%rip),%rdi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xd8a(%rip),%rsi
movsd  0xc1a(%rip),%xmm1
movsd  0xc32(%rip),%xmm3
movsd  0xc32(%rip),%xmm5
movaps %xmm1,%xmm0
movaps %xmm3,%xmm2
movaps %xmm5,%xmm4
mov    $0x6,%al
call   1060 <sprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2bbc(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    -0x410(%rbp),%rdi
lea    0xd55(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     145c <main+0x31c>
movl   $0x1,-0x414(%rbp)
mov    0x2b87(%rip),%rax
mov    (%rax),%esi
lea    0xc49(%rip),%rdi
call   1030 <fputs@plt>
jmp    1471 <main+0x331>
mov    0x2b6d(%rip),%rax
mov    (%rax),%esi
lea    0xc3a(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x414(%rbp),%eax
add    $0x440,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
mov    0x2e88(%rip),%rbx
mov    (%rbx),%esi
mov    0x2e97(%rip),%rbp
mov    0x0(%rbp),%edx
mov    $0x62,%edi
call   1050 <register_printf_function@plt>
mov    (%rbx),%esi
mov    0x0(%rbp),%edx
mov    $0x42,%edi
call   1050 <register_printf_function@plt>
movabs $0x41678c29c3f35ba2,%rbx
8c 67 41
lea    0xea2(%rip),%rsi
lea    0x10(%rsp),%r14
movsd  0xe65(%rip),%xmm1
movsd  0xe65(%rip),%xmm0
mov    %r14,%rdi
movaps %xmm0,%xmm2
movaps %xmm0,%xmm3
movaps %xmm0,%xmm4
movaps %xmm0,%xmm5
movaps %xmm0,%xmm6
movaps %xmm0,%xmm7
mov    $0x8,%al
push   %rbx
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
mov    0x2e04(%rip),%r15
mov    (%r15),%esi
mov    %r14,%rdi
call   1030 <fputs@plt>
lea    0xe7c(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcmp@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
mov    (%r15),%esi
lea    0xeae(%rip),%rbp
lea    0xe9c(%rip),%r13
mov    %r13,%rdi
cmove  %rbp,%rdi
call   1030 <fputs@plt>
sub    $0x8,%rsp
lea    0xe98(%rip),%rsi
mov    %r14,%rdi
movsd  0xde7(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
movaps %xmm0,%xmm3
movaps %xmm0,%xmm4
movaps %xmm0,%xmm5
movaps %xmm0,%xmm6
movaps %xmm0,%xmm7
mov    $0x8,%al
push   %rbx
push   %rbx
push   %rbx
call   1060 <sprintf@plt>
add    $0x20,%rsp
mov    (%r15),%esi
mov    %r14,%rdi
call   1030 <fputs@plt>
lea    0xe7f(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcmp@plt>
mov    %rax,%r12
test   %rax,%rax
mov    %r13,%rdi
cmove  %rbp,%rdi
mov    (%r15),%esi
call   1030 <fputs@plt>
lea    0xea4(%rip),%rsi
movsd  0xd8e(%rip),%xmm1
movsd  0xd8e(%rip),%xmm5
mov    %r14,%rdi
movsd  0xd73(%rip),%xmm0
movaps %xmm0,%xmm2
movaps %xmm1,%xmm3
movaps %xmm0,%xmm4
mov    $0x2,%edx
movaps %xmm0,%xmm6
movaps %xmm0,%xmm7
mov    $0x8,%al
call   1060 <sprintf@plt>
mov    (%r15),%esi
mov    %r14,%rdi
call   1030 <fputs@plt>
lea    0xe7c(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcmp@plt>
mov    %rax,%rbx
test   %rax,%rax
mov    %r13,%rdi
cmove  %rbp,%rdi
mov    (%r15),%esi
call   1030 <fputs@plt>
lea    0xe82(%rip),%rsi
movsd  0xd32(%rip),%xmm2
movsd  0xd32(%rip),%xmm4
mov    %r14,%rdi
movsd  0xd07(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm2,%xmm3
movaps %xmm4,%xmm5
mov    $0x6,%al
call   1060 <sprintf@plt>
mov    (%r15),%esi
mov    %r14,%rdi
call   1030 <fputs@plt>
lea    0xe5b(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcmp@plt>
or     %rax,%rbx
test   %rax,%rax
cmove  %rbp,%r13
or     %r12,%rbx
xor    %ebp,%ebp
or     0x8(%rsp),%rbx
setne  %bpl
mov    (%r15),%esi
mov    %r13,%rdi
call   1030 <fputs@plt>
mov    %ebp,%eax
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@printf_size = global i32 0
@printf_size_info = global i32 0
@.str = [42 x i8] c"%g %b %B %.0b %.0B %.1b %.1B %8.0b %08.0B\00"
@stdout = global i32 0
@.str.1 = [65 x i8] c"1.23457e+07 1.001k 12.346M 12m 12M 11.8m 12.3M 12m 0000012M\00"
@.str.2 = [11 x i8] c" -> WRONG\0A\00"
@.str.3 = [8 x i8] c" -> OK\0A\00"
@.str.4 = [39 x i8] c"%b|%B|%-20.2b|%-10.0b|%-10.8b|%-10.2B|\00"
@.str.5 = [73 x i8] c"11.774m|12.346M|11.77m |12m |11.77375614m|12.35M |\00"
@.str.6 = [32 x i8] c"%#.0B %*.0b %10.*b %*.*B %10.2B\00"
@.str.7 = [42 x i8] c"12.M 12m 11.77m 12.35M 12.35M\00"
@.str.8 = [22 x i8] c"%6B %6.1B %b %B %b %B\00"
@.str.9 = [46 x i8] c"12.346M 12.3M 1000.000 1.000K 1.000k 1.024K\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [1024 x i8]
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%8 = load i32, i32* @printf_size
%9 = load i32, i32* @printf_size_info
%10 = call i32 @register_printf_function(i8 signext 98, i32 %8, i32 %9)
%11 = load i32, i32* @printf_size
%12 = load i32, i32* @printf_size_info
%13 = call i32 @register_printf_function(i8 signext 66, i32 %11, i32 %12)
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%15 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %14, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0), double 0x41678C29C3F35BA2, double 1.025000e+03, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%17 = load i32, i32* @stdout
%18 = call i32 @fputs(i8* %16, i32 %17)
%19 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %2
store i32 1, i32* %7
%23 = load i32, i32* @stdout
%24 = call i32 @fputs(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %23)
br label %28
25: ; preds = %2
%26 = load i32, i32* @stdout
%27 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %26)
br label %28
28: ; preds = %25, %22
%29 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%30 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %29, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%31 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%32 = load i32, i32* @stdout
%33 = call i32 @fputs(i8* %31, i32 %32)
%34 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %28
store i32 1, i32* %7
%38 = load i32, i32* @stdout
%39 = call i32 @fputs(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %38)
br label %43
40: ; preds = %28
%41 = load i32, i32* @stdout
%42 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %41)
br label %43
43: ; preds = %40, %37
%44 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%45 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %44, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), double 0x41678C29C3F35BA2, double 2.000000e+00, double 0x41678C29C3F35BA2, double 2.000000e+00, double 0x41678C29C3F35BA2, double 1.000000e+01, i32 2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%47 = load i32, i32* @stdout
%48 = call i32 @fputs(i8* %46, i32 %47)
%49 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %43
store i32 1, i32* %7
%53 = load i32, i32* @stdout
%54 = call i32 @fputs(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %53)
br label %58
55: ; preds = %43
%56 = load i32, i32* @stdout
%57 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %56)
br label %58
58: ; preds = %55, %52
%59 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%60 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %59, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 1.000000e+03, double 1.000000e+03, double 1.024000e+03, double 1.024000e+03)
%61 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%62 = load i32, i32* @stdout
%63 = call i32 @fputs(i8* %61, i32 %62)
%64 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i64 0, i64 0))
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %58
store i32 1, i32* %7
%68 = load i32, i32* @stdout
%69 = call i32 @fputs(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %68)
br label %73
70: ; preds = %58
%71 = load i32, i32* @stdout
%72 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %71)
br label %73
73: ; preds = %70, %67
%74 = load i32, i32* %7
ret i32 %74
}

LLVM IR (-O2):
@printf_size = global i32 0
@printf_size_info = global i32 0
@.str = [42 x i8] c"%g %b %B %.0b %.0B %.1b %.1B %8.0b %08.0B\00"
@stdout = global i32 0
@.str.1 = [65 x i8] c"1.23457e+07 1.001k 12.346M 12m 12M 11.8m 12.3M 12m 0000012M\00"
@.str.2 = [11 x i8] c" -> WRONG\0A\00"
@.str.3 = [8 x i8] c" -> OK\0A\00"
@.str.4 = [39 x i8] c"%b|%B|%-20.2b|%-10.0b|%-10.8b|%-10.2B|\00"
@.str.5 = [73 x i8] c"11.774m|12.346M|11.77m |12m |11.77375614m|12.35M |\00"
@.str.6 = [32 x i8] c"%#.0B %*.0b %10.*b %*.*B %10.2B\00"
@.str.7 = [42 x i8] c"12.M 12m 11.77m 12.35M 12.35M\00"
@.str.8 = [22 x i8] c"%6B %6.1B %b %B %b %B\00"
@.str.9 = [46 x i8] c"12.346M 12.3M 1000.000 1.000K 1.000k 1.024K\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [1024 x i8]
%4 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%5 = load i32, i32* @printf_size
%6 = load i32, i32* @printf_size_info
%7 = tail call i32 @register_printf_function(i8 signext 98, i32 %5, i32 %6)
%8 = load i32, i32* @printf_size
%9 = load i32, i32* @printf_size_info
%10 = tail call i32 @register_printf_function(i8 signext 66, i32 %8, i32 %9)
%11 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0), double 0x41678C29C3F35BA2, double 1.025000e+03, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%12 = load i32, i32* @stdout
%13 = call i32 @fputs(i8* %4, i32 %12)
%14 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
%16 = load i32, i32* @stdout
%17 = select i1 %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0)
%18 = call i32 @fputs(i8* %17, i32 %16)
%19 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%20 = load i32, i32* @stdout
%21 = call i32 @fputs(i8* %4, i32 %20)
%22 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
%24 = select i1 %23, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0)
%25 = load i32, i32* @stdout
%26 = call i32 @fputs(i8* %24, i32 %25)
%27 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), double 0x41678C29C3F35BA2, double 2.000000e+00, double 0x41678C29C3F35BA2, double 2.000000e+00, double 0x41678C29C3F35BA2, double 1.000000e+01, i32 2, double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2)
%28 = load i32, i32* @stdout
%29 = call i32 @fputs(i8* %4, i32 %28)
%30 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
%32 = select i1 %31, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0)
%33 = load i32, i32* @stdout
%34 = call i32 @fputs(i8* %32, i32 %33)
%35 = call i32 (i8*, i8*, double, double, double, double, double, double, ...) @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double 0x41678C29C3F35BA2, double 0x41678C29C3F35BA2, double 1.000000e+03, double 1.000000e+03, double 1.024000e+03, double 1.024000e+03)
%36 = load i32, i32* @stdout
%37 = call i32 @fputs(i8* %4, i32 %36)
%38 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
%40 = select i1 %39, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0)
%41 = select i1 %39, i1 %31, i1 false
%42 = select i1 %41, i1 %23, i1 false
%43 = select i1 %42, i1 %15, i1 false
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = load i32, i32* @stdout
%47 = call i32 @fputs(i8* %40, i32 %46)
ret i32 %45
}