#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 */
double INT_MAX;
double get_hamming_distance(char *, char *, unsigned int);
void generate_probable_key_size_sorted_list(char *input,
                                            unsigned int keysize_list[]) {
  double keysize_list_avg_distance[40 - 2] = {INT_MAX};
  for (unsigned int keysize = 2; keysize <= 40; ++keysize) {
    keysize_list_avg_distance[keysize - 2] =
        ((get_hamming_distance(&input[0], &input[keysize], keysize) /
          (double)keysize) +
         (get_hamming_distance(&input[keysize], &input[2 * keysize], keysize) /
          (double)keysize) +
         (get_hamming_distance(&input[3 * keysize], &input[4 * keysize],
                               keysize) /
          (double)keysize) +
         (get_hamming_distance(&input[5 * keysize], &input[6 * keysize],
                               keysize) /
          (double)keysize)) /
        4;
  }
  for (unsigned int i = 0; i < 40 - 2; ++i) {
    keysize_list[i] = 2 + i;
  }
  for (unsigned int i = 0; i < 40 - 2; ++i) {
    for (unsigned int j = i + 1; j < 40 - 2; ++j) {
      if (keysize_list_avg_distance[i] > keysize_list_avg_distance[j]) {
        double temp = keysize_list_avg_distance[i];
        unsigned int temp_key = keysize_list[i];
        keysize_list_avg_distance[i] = keysize_list_avg_distance[j];
        keysize_list_avg_distance[j] = temp;
        keysize_list[i] = keysize_list[j];
        keysize_list[j] = temp_key;
      }
    }
  }
}


x86 assembly (clang, -O0):
<generate_probable_key_size_sorted_list>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x140(%rbp),%rdi
xor    %esi,%esi
mov    $0x130,%edx
call   1040 <memset@plt>
mov    0x2e9b(%rip),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movl   $0x2,-0x144(%rbp)
cmpl   $0x28,-0x144(%rbp)
ja     1294 <generate_probable_key_size_sorted_list+0x174>
mov    -0x8(%rbp),%rdi
mov    -0x144(%rbp),%eax
mov    %eax,%edx
mov    %rdi,%rsi
add    %rax,%rsi
call   1030 <get_hamming_distance@plt>
mov    -0x144(%rbp),%eax
mov    %eax,%edx
cvtsi2sd %rax,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
mov    -0x8(%rbp),%rsi
mov    %rsi,%rdi
add    %rax,%rdi
mov    %edx,%eax
add    %eax,%eax
add    %rax,%rsi
call   1030 <get_hamming_distance@plt>
movaps %xmm0,%xmm1
movsd  -0x178(%rbp),%xmm0
ff
mov    -0x144(%rbp),%eax
mov    %eax,%edx
cvtsi2sd %rax,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
mov    -0x8(%rbp),%rsi
mov    %edx,%eax
lea    (%rax,%rax,2),%eax
mov    %rsi,%rdi
add    %rax,%rdi
mov    %edx,%eax
shl    $0x2,%eax
add    %rax,%rsi
call   1030 <get_hamming_distance@plt>
movaps %xmm0,%xmm1
movsd  -0x170(%rbp),%xmm0
ff
mov    -0x144(%rbp),%eax
mov    %eax,%edx
cvtsi2sd %rax,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
mov    -0x8(%rbp),%rsi
mov    %edx,%eax
lea    (%rax,%rax,4),%eax
mov    %rsi,%rdi
add    %rax,%rdi
mov    %edx,%ecx
add    %ecx,%ecx
mov    %ecx,%eax
lea    (%rax,%rax,2),%eax
add    %rax,%rsi
call   1030 <get_hamming_distance@plt>
movaps %xmm0,%xmm1
movsd  -0x168(%rbp),%xmm0
ff
mov    -0x144(%rbp),%eax
cvtsi2sd %rax,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  0xd98(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    -0x144(%rbp),%eax
sub    $0x2,%eax
mov    %eax,%eax
movsd  %xmm0,-0x140(%rbp,%rax,8)
ff ff
mov    -0x144(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x144(%rbp)
jmp    1163 <generate_probable_key_size_sorted_list+0x43>
movl   $0x0,-0x148(%rbp)
cmpl   $0x26,-0x148(%rbp)
jae    12d5 <generate_probable_key_size_sorted_list+0x1b5>
mov    -0x148(%rbp),%edx
add    $0x2,%edx
mov    -0x10(%rbp),%rax
mov    -0x148(%rbp),%ecx
mov    %edx,(%rax,%rcx,4)
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    129e <generate_probable_key_size_sorted_list+0x17e>
movl   $0x0,-0x14c(%rbp)
cmpl   $0x26,-0x14c(%rbp)
jae    13ea <generate_probable_key_size_sorted_list+0x2ca>
mov    -0x14c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x150(%rbp)
cmpl   $0x26,-0x150(%rbp)
jae    13d1 <generate_probable_key_size_sorted_list+0x2b1>
mov    -0x14c(%rbp),%eax
movsd  -0x140(%rbp,%rax,8),%xmm0
ff ff
mov    -0x150(%rbp),%eax
ucomisd -0x140(%rbp,%rax,8),%xmm0
ff ff
jbe    13b8 <generate_probable_key_size_sorted_list+0x298>
mov    -0x14c(%rbp),%eax
movsd  -0x140(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x158(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x14c(%rbp),%ecx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x15c(%rbp)
mov    -0x150(%rbp),%eax
movsd  -0x140(%rbp,%rax,8),%xmm0
ff ff
mov    -0x14c(%rbp),%eax
movsd  %xmm0,-0x140(%rbp,%rax,8)
ff ff
movsd  -0x158(%rbp),%xmm0
ff
mov    -0x150(%rbp),%eax
movsd  %xmm0,-0x140(%rbp,%rax,8)
ff ff
mov    -0x10(%rbp),%rax
mov    -0x150(%rbp),%ecx
mov    (%rax,%rcx,4),%edx
mov    -0x10(%rbp),%rax
mov    -0x14c(%rbp),%ecx
mov    %edx,(%rax,%rcx,4)
mov    -0x15c(%rbp),%edx
mov    -0x10(%rbp),%rax
mov    -0x150(%rbp),%ecx
mov    %edx,(%rax,%rcx,4)
jmp    13bd <generate_probable_key_size_sorted_list+0x29d>
mov    -0x150(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x150(%rbp)
jmp    12fb <generate_probable_key_size_sorted_list+0x1db>
jmp    13d6 <generate_probable_key_size_sorted_list+0x2b6>
mov    -0x14c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14c(%rbp)
jmp    12df <generate_probable_key_size_sorted_list+0x1bf>
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<generate_probable_key_size_sorted_list>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x188,%rsp
mov    %rsi,%rbx
mov    %rdi,0x38(%rsp)
lea    0x50(%rsp),%rdi
xor    %ebp,%ebp
mov    $0x130,%edx
xor    %esi,%esi
call   1040 <memset@plt>
mov    0x2e95(%rip),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,0x50(%rsp)
mov    $0xc,%r14d
mov    $0xa,%r12d
mov    $0x6,%eax
mov    %rax,0x20(%rsp)
mov    $0x4,%r13d
mov    $0x8,%eax
mov    %rax,0x18(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,0x48(%rsp)
mov    %rbp,0x28(%rsp)
mov    %r14,0x30(%rsp)
mov    0x38(%rsp),%r14
lea    (%r14,%rbp,1),%r12
add    $0x2,%r12
mov    0x28(%rsp),%rax
lea    0x2(%rax),%r15d
mov    %r14,%rdi
mov    %r12,%rsi
mov    %r15d,%edx
call   1030 <get_hamming_distance@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %r15,%xmm1
movsd  %xmm1,0x10(%rsp)
divsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
mov    %r13,0x40(%rsp)
lea    (%r14,%r13,1),%rsi
mov    %r12,%rdi
mov    0x48(%rsp),%r12
mov    %r15d,%edx
call   1030 <get_hamming_distance@plt>
divsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    0x20(%rsp),%r13
lea    (%r14,%r13,1),%rdi
mov    0x18(%rsp),%rax
lea    (%r14,%rax,1),%rsi
mov    %r15d,%edx
call   1030 <get_hamming_distance@plt>
divsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
lea    (%r14,%r12,1),%rdi
mov    0x30(%rsp),%rax
lea    (%r14,%rax,1),%rsi
mov    0x30(%rsp),%r14
mov    %r15d,%edx
mov    0x28(%rsp),%rbp
call   1030 <get_hamming_distance@plt>
divsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
mulsd  0xd9b(%rip),%xmm0
movsd  %xmm0,0x50(%rsp,%rbp,8)
add    $0x6,%r14
add    $0x5,%r12
add    $0x3,%r13
mov    %r13,0x20(%rsp)
add    $0x1,%rbp
mov    0x40(%rsp),%r13
add    $0x2,%r13
addq   $0x4,0x18(%rsp)
cmp    $0x27,%rbp
jne    1190 <generate_probable_key_size_sorted_list+0x70>
movaps 0xd70(%rip),%xmm0
movups %xmm0,(%rbx)
movaps 0xd76(%rip),%xmm0
movups %xmm0,0x10(%rbx)
movaps 0xd7b(%rip),%xmm0
movups %xmm0,0x20(%rbx)
movaps 0xd80(%rip),%xmm0
movups %xmm0,0x30(%rbx)
movaps 0xd85(%rip),%xmm0
movups %xmm0,0x40(%rbx)
movaps 0xd8a(%rip),%xmm0
movups %xmm0,0x50(%rbx)
movaps 0xd8f(%rip),%xmm0
movups %xmm0,0x60(%rbx)
movaps 0xd94(%rip),%xmm0
movups %xmm0,0x70(%rbx)
movapd 0xd98(%rip),%xmm0
movupd %xmm0,0x80(%rbx)
movabs $0x2700000026,%rax
mov    %rax,0x90(%rbx)
mov    $0x1,%eax
xor    %ecx,%ecx
jmp    132a <generate_probable_key_size_sorted_list+0x20a>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rax
cmp    $0x26,%rcx
je     1376 <generate_probable_key_size_sorted_list+0x256>
mov    %rcx,%rdx
add    $0x1,%rcx
cmp    $0x24,%rdx
ja     1320 <generate_probable_key_size_sorted_list+0x200>
mov    %rax,%rsi
jmp    134a <generate_probable_key_size_sorted_list+0x22a>
nopl   0x0(%rax)
add    $0x1,%rsi
cmp    $0x26,%rsi
je     1320 <generate_probable_key_size_sorted_list+0x200>
movsd  0x50(%rsp,%rdx,8),%xmm0
movsd  0x50(%rsp,%rsi,8),%xmm1
ucomisd %xmm1,%xmm0
jbe    1340 <generate_probable_key_size_sorted_list+0x220>
mov    (%rbx,%rdx,4),%edi
movsd  %xmm1,0x50(%rsp,%rdx,8)
movsd  %xmm0,0x50(%rsp,%rsi,8)
mov    (%rbx,%rsi,4),%ebp
mov    %ebp,(%rbx,%rdx,4)
mov    %edi,(%rbx,%rsi,4)
jmp    1340 <generate_probable_key_size_sorted_list+0x220>
add    $0x188,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@INT_MAX = global double 0.000000e+00
define void @generate_probable_key_size_sorted_list(i8* %0, i32* %1) {
%3 = alloca i8*
%4 = alloca i32*
%5 = alloca [38 x double]
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double
%11 = alloca i32
store i8* %0, i8** %3
store i32* %1, i32** %4
%12 = bitcast [38 x double]* %5 to i8*
%13 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 0
%14 = load double, double* @INT_MAX
store double %14, double* %13
store i32 2, i32* %6
br label %15
15: ; preds = %82, %2
%16 = load i32, i32* %6
%17 = icmp ule i32 %16, 40
br i1 %17, label %18, label %85
18: ; preds = %15
%19 = load i8*, i8** %3
%20 = getelementptr inbounds i8, i8* %19, i64 0
%21 = load i8*, i8** %3
%22 = load i32, i32* %6
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds i8, i8* %21, i64 %23
%25 = load i32, i32* %6
%26 = call double @get_hamming_distance(i8* %20, i8* %24, i32 %25)
%27 = load i32, i32* %6
%28 = uitofp i32 %27 to double
%29 = fdiv double %26, %28
%30 = load i8*, i8** %3
%31 = load i32, i32* %6
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds i8, i8* %30, i64 %32
%34 = load i8*, i8** %3
%35 = load i32, i32* %6
%36 = mul i32 2, %35
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds i8, i8* %34, i64 %37
%39 = load i32, i32* %6
%40 = call double @get_hamming_distance(i8* %33, i8* %38, i32 %39)
%41 = load i32, i32* %6
%42 = uitofp i32 %41 to double
%43 = fdiv double %40, %42
%44 = fadd double %29, %43
%45 = load i8*, i8** %3
%46 = load i32, i32* %6
%47 = mul i32 3, %46
%48 = zext i32 %47 to i64
%49 = getelementptr inbounds i8, i8* %45, i64 %48
%50 = load i8*, i8** %3
%51 = load i32, i32* %6
%52 = mul i32 4, %51
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, i8* %50, i64 %53
%55 = load i32, i32* %6
%56 = call double @get_hamming_distance(i8* %49, i8* %54, i32 %55)
%57 = load i32, i32* %6
%58 = uitofp i32 %57 to double
%59 = fdiv double %56, %58
%60 = fadd double %44, %59
%61 = load i8*, i8** %3
%62 = load i32, i32* %6
%63 = mul i32 5, %62
%64 = zext i32 %63 to i64
%65 = getelementptr inbounds i8, i8* %61, i64 %64
%66 = load i8*, i8** %3
%67 = load i32, i32* %6
%68 = mul i32 6, %67
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i8, i8* %66, i64 %69
%71 = load i32, i32* %6
%72 = call double @get_hamming_distance(i8* %65, i8* %70, i32 %71)
%73 = load i32, i32* %6
%74 = uitofp i32 %73 to double
%75 = fdiv double %72, %74
%76 = fadd double %60, %75
%77 = fdiv double %76, 4.000000e+00
%78 = load i32, i32* %6
%79 = sub i32 %78, 2
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %80
store double %77, double* %81
br label %82
82: ; preds = %18
%83 = load i32, i32* %6
%84 = add i32 %83, 1
store i32 %84, i32* %6
br label %15
85: ; preds = %15
store i32 0, i32* %7
br label %86
86: ; preds = %96, %85
%87 = load i32, i32* %7
%88 = icmp ult i32 %87, 38
br i1 %88, label %89, label %99
89: ; preds = %86
%90 = load i32, i32* %7
%91 = add i32 2, %90
%92 = load i32*, i32** %4
%93 = load i32, i32* %7
%94 = zext i32 %93 to i64
%95 = getelementptr inbounds i32, i32* %92, i64 %94
store i32 %91, i32* %95
br label %96
96: ; preds = %89
%97 = load i32, i32* %7
%98 = add i32 %97, 1
store i32 %98, i32* %7
br label %86
99: ; preds = %86
store i32 0, i32* %8
br label %100
100: ; preds = %159, %99
%101 = load i32, i32* %8
%102 = icmp ult i32 %101, 38
br i1 %102, label %103, label %162
103: ; preds = %100
%104 = load i32, i32* %8
%105 = add i32 %104, 1
store i32 %105, i32* %9
br label %106
106: ; preds = %155, %103
%107 = load i32, i32* %9
%108 = icmp ult i32 %107, 38
br i1 %108, label %109, label %158
109: ; preds = %106
%110 = load i32, i32* %8
%111 = zext i32 %110 to i64
%112 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %111
%113 = load double, double* %112
%114 = load i32, i32* %9
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %115
%117 = load double, double* %116
%118 = fcmp ogt double %113, %117
br i1 %118, label %119, label %154
119: ; preds = %109
%120 = load i32, i32* %8
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %121
%123 = load double, double* %122
store double %123, double* %10
%124 = load i32*, i32** %4
%125 = load i32, i32* %8
%126 = zext i32 %125 to i64
%127 = getelementptr inbounds i32, i32* %124, i64 %126
%128 = load i32, i32* %127
store i32 %128, i32* %11
%129 = load i32, i32* %9
%130 = zext i32 %129 to i64
%131 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %130
%132 = load double, double* %131
%133 = load i32, i32* %8
%134 = zext i32 %133 to i64
%135 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %134
store double %132, double* %135
%136 = load double, double* %10
%137 = load i32, i32* %9
%138 = zext i32 %137 to i64
%139 = getelementptr inbounds [38 x double], [38 x double]* %5, i64 0, i64 %138
store double %136, double* %139
%140 = load i32*, i32** %4
%141 = load i32, i32* %9
%142 = zext i32 %141 to i64
%143 = getelementptr inbounds i32, i32* %140, i64 %142
%144 = load i32, i32* %143
%145 = load i32*, i32** %4
%146 = load i32, i32* %8
%147 = zext i32 %146 to i64
%148 = getelementptr inbounds i32, i32* %145, i64 %147
store i32 %144, i32* %148
%149 = load i32, i32* %11
%150 = load i32*, i32** %4
%151 = load i32, i32* %9
%152 = zext i32 %151 to i64
%153 = getelementptr inbounds i32, i32* %150, i64 %152
store i32 %149, i32* %153
br label %154
154: ; preds = %119, %109
br label %155
155: ; preds = %154
%156 = load i32, i32* %9
%157 = add i32 %156, 1
store i32 %157, i32* %9
br label %106
158: ; preds = %106
br label %159
159: ; preds = %158
%160 = load i32, i32* %8
%161 = add i32 %160, 1
store i32 %161, i32* %8
br label %100
162: ; preds = %100
ret void
}

LLVM IR (-O2):
@INT_MAX = global double 0.000000e+00
define void @generate_probable_key_size_sorted_list(i8* %0, i32* nocapture %1) {
%3 = alloca [38 x double]
%4 = bitcast [38 x double]* %3 to i8*
%5 = getelementptr inbounds [38 x double], [38 x double]* %3, i64 0, i64 0
%6 = load double, double* @INT_MAX
store double %6, double* %5
br label %7
7: ; preds = %2, %7
%8 = phi i64 [ 2, %2 ], [ %36, %7 ]
%9 = getelementptr inbounds i8, i8* %0, i64 %8
%10 = trunc i64 %8 to i32
%11 = tail call double @get_hamming_distance(i8* %0, i8* %9, i32 %10)
%12 = uitofp i32 %10 to double
%13 = fdiv double %11, %12
%14 = shl nuw nsw i64 %8, 1
%15 = getelementptr inbounds i8, i8* %0, i64 %14
%16 = tail call double @get_hamming_distance(i8* %9, i8* %15, i32 %10)
%17 = fdiv double %16, %12
%18 = fadd double %13, %17
%19 = mul nuw nsw i64 %8, 3
%20 = getelementptr inbounds i8, i8* %0, i64 %19
%21 = shl nuw nsw i64 %8, 2
%22 = getelementptr inbounds i8, i8* %0, i64 %21
%23 = tail call double @get_hamming_distance(i8* %20, i8* %22, i32 %10)
%24 = fdiv double %23, %12
%25 = fadd double %18, %24
%26 = mul nuw nsw i64 %8, 5
%27 = getelementptr inbounds i8, i8* %0, i64 %26
%28 = mul nuw nsw i64 %8, 6
%29 = getelementptr inbounds i8, i8* %0, i64 %28
%30 = tail call double @get_hamming_distance(i8* %27, i8* %29, i32 %10)
%31 = fdiv double %30, %12
%32 = fadd double %25, %31
%33 = fmul double %32, 2.500000e-01
%34 = add nsw i64 %8, -2
%35 = getelementptr inbounds [38 x double], [38 x double]* %3, i64 0, i64 %34
store double %33, double* %35
%36 = add nuw nsw i64 %8, 1
%37 = icmp eq i64 %36, 41
br i1 %37, label %38, label %7
38: ; preds = %7
%39 = bitcast i32* %1 to <4 x i32>*
store <4 x i32> <i32 2, i32 3, i32 4, i32 5>, <4 x i32>* %39
%40 = getelementptr inbounds i32, i32* %1, i64 4
%41 = bitcast i32* %40 to <4 x i32>*
store <4 x i32> <i32 6, i32 7, i32 8, i32 9>, <4 x i32>* %41
%42 = getelementptr inbounds i32, i32* %1, i64 8
%43 = bitcast i32* %42 to <4 x i32>*
store <4 x i32> <i32 10, i32 11, i32 12, i32 13>, <4 x i32>* %43
%44 = getelementptr inbounds i32, i32* %1, i64 12
%45 = bitcast i32* %44 to <4 x i32>*
store <4 x i32> <i32 14, i32 15, i32 16, i32 17>, <4 x i32>* %45
%46 = getelementptr inbounds i32, i32* %1, i64 16
%47 = bitcast i32* %46 to <4 x i32>*
store <4 x i32> <i32 18, i32 19, i32 20, i32 21>, <4 x i32>* %47
%48 = getelementptr inbounds i32, i32* %1, i64 20
%49 = bitcast i32* %48 to <4 x i32>*
store <4 x i32> <i32 22, i32 23, i32 24, i32 25>, <4 x i32>* %49
%50 = getelementptr inbounds i32, i32* %1, i64 24
%51 = bitcast i32* %50 to <4 x i32>*
store <4 x i32> <i32 26, i32 27, i32 28, i32 29>, <4 x i32>* %51
%52 = getelementptr inbounds i32, i32* %1, i64 28
%53 = bitcast i32* %52 to <4 x i32>*
store <4 x i32> <i32 30, i32 31, i32 32, i32 33>, <4 x i32>* %53
%54 = getelementptr inbounds i32, i32* %1, i64 32
%55 = bitcast i32* %54 to <4 x i32>*
store <4 x i32> <i32 34, i32 35, i32 36, i32 37>, <4 x i32>* %55
%56 = getelementptr inbounds i32, i32* %1, i64 36
store i32 38, i32* %56
%57 = getelementptr inbounds i32, i32* %1, i64 37
store i32 39, i32* %57
br label %62
58: ; preds = %80, %62
%59 = add nuw nsw i64 %64, 1
%60 = icmp eq i64 %65, 38
br i1 %60, label %61, label %62
61: ; preds = %58
ret void
62: ; preds = %38, %58
%63 = phi i64 [ %65, %58 ], [ 0, %38 ]
%64 = phi i64 [ %59, %58 ], [ 1, %38 ]
%65 = add nuw nsw i64 %63, 1
%66 = icmp ult i64 %63, 37
br i1 %66, label %67, label %58
67: ; preds = %62
%68 = getelementptr inbounds [38 x double], [38 x double]* %3, i64 0, i64 %63
%69 = getelementptr inbounds i32, i32* %1, i64 %63
br label %70
70: ; preds = %67, %80
%71 = phi i64 [ %64, %67 ], [ %81, %80 ]
%72 = load double, double* %68
%73 = getelementptr inbounds [38 x double], [38 x double]* %3, i64 0, i64 %71
%74 = load double, double* %73
%75 = fcmp ogt double %72, %74
br i1 %75, label %76, label %80
76: ; preds = %70
%77 = load i32, i32* %69
store double %74, double* %68
store double %72, double* %73
%78 = getelementptr inbounds i32, i32* %1, i64 %71
%79 = load i32, i32* %78
store i32 %79, i32* %69
store i32 %77, i32* %78
br label %80
80: ; preds = %70, %76
%81 = add nuw nsw i64 %71, 1
%82 = icmp eq i64 %81, 38
br i1 %82, label %58, label %70
}