#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 */
scalar_t__ fgets(char *, int const, int /*<<< orphan*/);
scalar_t__ malloc(int const);
int /*<<< orphan*/ printf(char *, unsigned long long, unsigned long long, ...);
int /*<<< orphan*/ stdin;
scalar_t__ strcmp(char *, char *);
int strlen(char *);
int main() {
  typedef unsigned long long ull_type;
  ull_type line_count = 0, char_count = 0;
  ull_type depth = 0, depth_prev = 0;
  ull_type lcptotal = 0, dprefix = 0;
  const int maxline = 1024 * 1024;
  char *line = (char *)malloc(maxline);
  char *line_prev = (char *)malloc(maxline);
  char *s;
  while (fgets(line, maxline, stdin)) {
    if (line[strlen(line) - 1] == '\n') {
      line[strlen(line) - 1] = 0;
    }
    if (line_count != 0 && strcmp(line, line_prev) < 0) {
      printf("Input violates sorted order in lines %llu and %llu\n", line_count,
             line_count + 1);
      return 0;
    }
    depth = 0;
    while (line_prev[depth] == line[depth] && line_prev[depth] != 0)
      ++depth;
    lcptotal += depth;
    ++depth;
    if (depth_prev < depth) {
      dprefix += depth - depth_prev;
    }
    dprefix += depth;
    depth_prev = depth;
    s = line_prev, line_prev = line, line = s;
    line_count++;
    char_count += strlen(line) + 1;
  }
  printf("line_count = %llu, char_count = %llu, average LCP %.3f\n", line_count,
         char_count, lcptotal / (double)line_count);
  printf("distingishing prefix = %llu, percentage of char_count = %.3f\n",
         dprefix, dprefix * 100.0 / (double)char_count);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
movl   $0x100000,-0x3c(%rbp)
mov    $0x100000,%edi
call   1070 <malloc@plt>
mov    %rax,-0x48(%rbp)
mov    $0x100000,%edi
call   1070 <malloc@plt>
mov    %rax,-0x50(%rbp)
mov    -0x48(%rbp),%rdi
mov    0x2e28(%rip),%rax
mov    (%rax),%edx
mov    $0x100000,%esi
call   1050 <fgets@plt>
cmp    $0x0,%rax
je     1355 <main+0x205>
mov    -0x48(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x48(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x60(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0xa,%eax
jne    1221 <main+0xd1>
mov    -0x48(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x48(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x68(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
cmpq   $0x0,-0x10(%rbp)
je     1269 <main+0x119>
mov    -0x48(%rbp),%rdi
mov    -0x50(%rbp),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jge    1269 <main+0x119>
mov    -0x10(%rbp),%rsi
mov    -0x10(%rbp),%rdx
add    $0x1,%rdx
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1443 <main+0x2f3>
movq   $0x0,-0x20(%rbp)
mov    -0x50(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%ecx
mov    -0x48(%rbp),%rax
mov    -0x20(%rbp),%rdx
movsbl (%rax,%rdx,1),%edx
xor    %eax,%eax
cmp    %edx,%ecx
mov    %al,-0x69(%rbp)
jne    12ab <main+0x15b>
mov    -0x50(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x69(%rbp)
mov    -0x69(%rbp),%al
test   $0x1,%al
jne    12bb <main+0x16b>
jmp    12cc <main+0x17c>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    1271 <main+0x121>
mov    -0x20(%rbp),%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x20(%rbp),%rax
jae    1302 <main+0x1b2>
mov    -0x20(%rbp),%rax
sub    -0x28(%rbp),%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
add    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x48(%rbp),%rdi
call   1030 <strlen@plt>
add    $0x1,%eax
cltq
add    -0x18(%rbp),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <main+0x65>
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
movq   -0x30(%rbp),%xmm0
movaps 0xc97(%rip),%xmm3
movaps %xmm3,-0x90(%rbp)
punpckldq %xmm3,%xmm0
movapd 0xc94(%rip),%xmm2
movaps %xmm2,-0x80(%rbp)
subpd  %xmm2,%xmm0
movaps %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
movq   %rsi,%xmm1
punpckldq %xmm3,%xmm1
subpd  %xmm2,%xmm1
movaps %xmm1,%xmm2
unpckhpd %xmm1,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
lea    0xcb2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movaps -0x90(%rbp),%xmm3
movaps -0x80(%rbp),%xmm2
mov    -0x38(%rbp),%rsi
movq   %rsi,%xmm0
punpckldq %xmm3,%xmm0
subpd  %xmm2,%xmm0
movaps %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc38(%rip),%xmm1
mulsd  %xmm1,%xmm0
movq   -0x18(%rbp),%xmm1
punpckldq %xmm3,%xmm1
subpd  %xmm2,%xmm1
movaps %xmm1,%xmm2
unpckhpd %xmm1,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movaps %xmm0,%xmm1
cvttsd2si %xmm1,%rdx
mov    %rdx,%rcx
sar    $0x3f,%rcx
movsd  0xc09(%rip),%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rax
and    %rcx,%rax
or     %rax,%rdx
lea    0xc67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    $0x100000,%edi
call   1070 <malloc@plt>
mov    %rax,%r12
mov    $0x100000,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
mov    0x2e69(%rip),%rax
mov    (%rax),%edx
mov    %r12,%rdi
mov    $0x100000,%esi
call   1050 <fgets@plt>
test   %rax,%rax
je     12b4 <main+0x164>
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %r14d,%r14d
xor    %edx,%edx
xor    %r15d,%r15d
xor    %eax,%eax
mov    %rax,0x10(%rsp)
mov    %rbx,%rcx
jmp    1230 <main+0xe0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rdx,0x18(%rsp)
lea    (%rdx,%r15,1),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,0x20(%rsp)
cmp    %r15,%rbp
mov    %r15,%rax
cmovb  %rbp,%rax
mov    %rbx,%r14
sub    %rax,%r14
add    $0x1,%rsi
mov    %rsi,0x8(%rsp)
mov    %r13,%rdi
call   1030 <strlen@plt>
cltq
mov    0x10(%rsp),%rcx
add    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,0x10(%rsp)
mov    0x2ddb(%rip),%rax
mov    (%rax),%edx
mov    %r13,%rdi
mov    $0x100000,%esi
call   1050 <fgets@plt>
mov    0x20(%rsp),%rdx
mov    %r12,%rcx
mov    %r13,%r12
test   %rax,%rax
je     12c0 <main+0x170>
mov    %rdx,%rbx
mov    %rcx,%r13
mov    %r12,%rdi
call   1030 <strlen@plt>
cltq
cmpb   $0xa,-0x1(%rax,%r12,1)
jne    1258 <main+0x108>
mov    %r12,%rdi
call   1030 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%r12,1)
mov    0x8(%rsp),%rsi
test   %rsi,%rsi
je     127b <main+0x12b>
mov    %r12,%rdi
mov    %r13,%rsi
call   1060 <strcmp@plt>
mov    0x8(%rsp),%rsi
test   %rax,%rax
js     13b0 <main+0x260>
mov    %rbx,%rdx
mov    %r15,%rbp
mov    %r14,%rbx
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
movzbl 0x0(%r13,%rax,1),%ecx
lea    0x1(%rax),%r15
add    $0x2,%rbx
test   %cl,%cl
je     11c0 <main+0x70>
cmp    (%r12,%rax,1),%cl
mov    %r15,%rax
je     1290 <main+0x140>
jmp    11c0 <main+0x70>
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
xor    %ebx,%ebx
xor    %esi,%esi
jmp    1301 <main+0x1b1>
mov    0x18(%rsp),%rax
add    %r15,%rax
add    $0xffffffffffffffff,%rax
movq   %rax,%xmm1
punpckldq 0xd27(%rip),%xmm1
subpd  0xd2f(%rip),%xmm1
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
addsd  %xmm1,%xmm0
cmp    %r15,%rbp
cmovb  %rbp,%r15
sub    %r15,%rbx
mov    0x10(%rsp),%rbp
mov    0x8(%rsp),%rsi
movq   %rsi,%xmm1
punpckldq 0xcf2(%rip),%xmm1
subpd  0xcfa(%rip),%xmm1
movapd %xmm1,%xmm2
unpckhpd %xmm1,%xmm2
addsd  %xmm1,%xmm2
divsd  %xmm2,%xmm0
lea    0xd37(%rip),%rdi
mov    %rbp,%rdx
mov    $0x1,%al
call   1040 <printf@plt>
movq   %rbx,%xmm0
movdqa 0xcbc(%rip),%xmm2
punpckldq %xmm2,%xmm0
movapd 0xcc0(%rip),%xmm3
subpd  %xmm3,%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  0xcb8(%rip),%xmm1
movq   %rbp,%xmm0
punpckldq %xmm2,%xmm0
subpd  %xmm3,%xmm0
movapd %xmm0,%xmm2
unpckhpd %xmm0,%xmm2
addsd  %xmm0,%xmm2
divsd  %xmm2,%xmm1
cvttsd2si %xmm1,%rax
mov    %rax,%rcx
sar    $0x3f,%rcx
subsd  0xc8f(%rip),%xmm1
cvttsd2si %xmm1,%rdx
and    %rcx,%rdx
or     %rax,%rdx
lea    0xcf1(%rip),%rdi
mov    %rbx,%rsi
jmp    13bb <main+0x26b>
lea    0x1(%rsi),%rdx
lea    0xc75(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stdin = global i32 0
@.str = [52 x i8] c"Input violates sorted order in lines %llu and %llu\0A\00"
@.str.1 = [56 x i8] c"line_count = %llu, char_count = %llu, average LCP %.3f\0A\00"
@.str.2 = [62 x i8] c"distingishing prefix = %llu, percentage of char_count = %.3f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
store i32 0, i32* %1
store i64 0, i64* %2
store i64 0, i64* %3
store i64 0, i64* %4
store i64 0, i64* %5
store i64 0, i64* %6
store i64 0, i64* %7
store i32 1048576, i32* %8
%12 = call i64 @malloc(i32 1048576)
%13 = inttoptr i64 %12 to i8*
store i8* %13, i8** %9
%14 = call i64 @malloc(i32 1048576)
%15 = inttoptr i64 %14 to i8*
store i8* %15, i8** %10
br label %16
16: ; preds = %91, %0
%17 = load i8*, i8** %9
%18 = load i32, i32* @stdin
%19 = call i64 @fgets(i8* %17, i32 1048576, i32 %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %107
21: ; preds = %16
%22 = load i8*, i8** %9
%23 = load i8*, i8** %9
%24 = call i32 @strlen(i8* %23)
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, i8* %22, i64 %26
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 10
br i1 %30, label %31, label %38
31: ; preds = %21
%32 = load i8*, i8** %9
%33 = load i8*, i8** %9
%34 = call i32 @strlen(i8* %33)
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, i8* %32, i64 %36
store i8 0, i8* %37
br label %38
38: ; preds = %31, %21
%39 = load i64, i64* %2
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %38
%42 = load i8*, i8** %9
%43 = load i8*, i8** %10
%44 = call i64 @strcmp(i8* %42, i8* %43)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load i64, i64* %2
%48 = load i64, i64* %2
%49 = add i64 %48, 1
%50 = call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i64 %47, i64 %49)
store i32 0, i32* %1
br label %125
51: ; preds = %41, %38
store i64 0, i64* %4
br label %52
52: ; preds = %73, %51
%53 = load i8*, i8** %10
%54 = load i64, i64* %4
%55 = getelementptr inbounds i8, i8* %53, i64 %54
%56 = load i8, i8* %55
%57 = sext i8 %56 to i32
%58 = load i8*, i8** %9
%59 = load i64, i64* %4
%60 = getelementptr inbounds i8, i8* %58, i64 %59
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %57, %62
br i1 %63, label %64, label %71
64: ; preds = %52
%65 = load i8*, i8** %10
%66 = load i64, i64* %4
%67 = getelementptr inbounds i8, i8* %65, i64 %66
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br label %71
71: ; preds = %64, %52
%72 = phi i1 [ false, %52 ], [ %70, %64 ]
br i1 %72, label %73, label %76
73: ; preds = %71
%74 = load i64, i64* %4
%75 = add i64 %74, 1
store i64 %75, i64* %4
br label %52
76: ; preds = %71
%77 = load i64, i64* %4
%78 = load i64, i64* %6
%79 = add i64 %78, %77
store i64 %79, i64* %6
%80 = load i64, i64* %4
%81 = add i64 %80, 1
store i64 %81, i64* %4
%82 = load i64, i64* %5
%83 = load i64, i64* %4
%84 = icmp ult i64 %82, %83
br i1 %84, label %85, label %91
85: ; preds = %76
%86 = load i64, i64* %4
%87 = load i64, i64* %5
%88 = sub i64 %86, %87
%89 = load i64, i64* %7
%90 = add i64 %89, %88
store i64 %90, i64* %7
br label %91
91: ; preds = %85, %76
%92 = load i64, i64* %4
%93 = load i64, i64* %7
%94 = add i64 %93, %92
store i64 %94, i64* %7
%95 = load i64, i64* %4
store i64 %95, i64* %5
%96 = load i8*, i8** %10
store i8* %96, i8** %11
%97 = load i8*, i8** %9
store i8* %97, i8** %10
%98 = load i8*, i8** %11
store i8* %98, i8** %9
%99 = load i64, i64* %2
%100 = add i64 %99, 1
store i64 %100, i64* %2
%101 = load i8*, i8** %9
%102 = call i32 @strlen(i8* %101)
%103 = add nsw i32 %102, 1
%104 = sext i32 %103 to i64
%105 = load i64, i64* %3
%106 = add i64 %105, %104
store i64 %106, i64* %3
br label %16
107: ; preds = %16
%108 = load i64, i64* %2
%109 = load i64, i64* %3
%110 = load i64, i64* %6
%111 = uitofp i64 %110 to double
%112 = load i64, i64* %2
%113 = uitofp i64 %112 to double
%114 = fdiv double %111, %113
%115 = call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i64 %108, i64 %109, double %114)
%116 = load i64, i64* %7
%117 = load i64, i64* %7
%118 = uitofp i64 %117 to double
%119 = fmul double %118, 1.000000e+02
%120 = load i64, i64* %3
%121 = uitofp i64 %120 to double
%122 = fdiv double %119, %121
%123 = fptoui double %122 to i64
%124 = call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0), i64 %116, i64 %123)
store i32 0, i32* %1
br label %125
125: ; preds = %107, %46
%126 = load i32, i32* %1
ret i32 %126
}

LLVM IR (-O2):
@stdin = global i32 0
@.str = [52 x i8] c"Input violates sorted order in lines %llu and %llu\0A\00"
@.str.1 = [56 x i8] c"line_count = %llu, char_count = %llu, average LCP %.3f\0A\00"
@.str.2 = [62 x i8] c"distingishing prefix = %llu, percentage of char_count = %.3f\0A\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 1048576)
%2 = inttoptr i64 %1 to i8*
%3 = tail call i64 @malloc(i32 1048576)
%4 = load i32, i32* @stdin
%5 = tail call i64 @fgets(i8* %2, i32 1048576, i32 %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %62, label %7
7: ; preds = %0
%8 = inttoptr i64 %3 to i8*
br label %9
9: ; preds = %7, %47
%10 = phi i8* [ %11, %47 ], [ %8, %7 ]
%11 = phi i8* [ %10, %47 ], [ %2, %7 ]
%12 = phi i64 [ %52, %47 ], [ 0, %7 ]
%13 = phi i64 [ %51, %47 ], [ 0, %7 ]
%14 = phi i64 [ %48, %47 ], [ 0, %7 ]
%15 = phi i64 [ %46, %47 ], [ 0, %7 ]
%16 = phi i64 [ %56, %47 ], [ 0, %7 ]
%17 = tail call i32 @strlen(i8* %11)
%18 = add nsw i32 %17, -1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, i8* %11, i64 %19
%21 = load i8, i8* %20
%22 = icmp eq i8 %21, 10
br i1 %22, label %23, label %28
23: ; preds = %9
%24 = tail call i32 @strlen(i8* %11)
%25 = add nsw i32 %24, -1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, i8* %11, i64 %26
store i8 0, i8* %27
br label %28
28: ; preds = %23, %9
%29 = icmp eq i64 %12, 0
br i1 %29, label %30, label %31
30: ; preds = %31, %28
br label %37
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %11, i8* %10)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %30
34: ; preds = %31
%35 = add i64 %12, 1
%36 = tail call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i64 %12, i64 %35)
br label %76
37: ; preds = %30, %37
%38 = phi i64 [ %46, %37 ], [ 0, %30 ]
%39 = getelementptr inbounds i8, i8* %10, i64 %38
%40 = load i8, i8* %39
%41 = getelementptr inbounds i8, i8* %11, i64 %38
%42 = load i8, i8* %41
%43 = icmp ne i8 %40, %42
%44 = icmp eq i8 %40, 0
%45 = or i1 %44, %43
%46 = add i64 %38, 1
br i1 %45, label %47, label %37
47: ; preds = %37
%48 = add i64 %38, %14
%49 = tail call i64 @llvm.usub.sat.i64(i64 %46, i64 %15)
%50 = add i64 %46, %13
%51 = add i64 %50, %49
%52 = add i64 %12, 1
%53 = tail call i32 @strlen(i8* %10)
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = add i64 %16, %55
%57 = load i32, i32* @stdin
%58 = tail call i64 @fgets(i8* %10, i32 1048576, i32 %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %9
60: ; preds = %47
%61 = uitofp i64 %48 to double
br label %62
62: ; preds = %60, %0
%63 = phi i64 [ 0, %0 ], [ %56, %60 ]
%64 = phi double [ 0.000000e+00, %0 ], [ %61, %60 ]
%65 = phi i64 [ 0, %0 ], [ %51, %60 ]
%66 = phi i64 [ 0, %0 ], [ %52, %60 ]
%67 = uitofp i64 %66 to double
%68 = fdiv double %64, %67
%69 = tail call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i64 %66, i64 %63, double %68)
%70 = uitofp i64 %65 to double
%71 = fmul double %70, 1.000000e+02
%72 = uitofp i64 %63 to double
%73 = fdiv double %71, %72
%74 = fptoui double %73 to i64
%75 = tail call i32 (i8*, i64, i64, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0), i64 %65, i64 %74)
br label %76
76: ; preds = %62, %34
ret i32 0
}