#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*/ free(struct _ID_SCORE *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, int, ...);
void printTopK(double *vector, int n, int topK) {
  typedef struct _ID_SCORE {
    int pageID;
    double score;
  } ID_SCORE;
  int i, j;
  ID_SCORE *rank;
  if ((topK <= 0) || (n < topK))
    return;
  rank = (ID_SCORE *)malloc(sizeof(ID_SCORE) * n);
  for (i = 0; i < n; i++) {
    rank[i].pageID = i;
    rank[i].score = vector[i];
  }
  for (i = 0; i < n; i++) {
    ID_SCORE temp;
    int index = i;
    for (j = i; j < n; j++) {
      if (rank[index].score < rank[j].score)
        index = j;
    }
    temp = rank[i];
    rank[i] = rank[index];
    rank[index] = temp;
  }
  printf("Top-%d [pageID: score]\n", topK);
  for (i = 0; i < topK; i++) {
    printf("%4d: %f\n", rank[i].pageID, rank[i].score);
  }
  free(rank);
}


x86 assembly (clang, -O0):
<printTopK>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
jle    1158 <printTopK+0x28>
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    115d <printTopK+0x2d>
jmp    1320 <printTopK+0x1f0>
movslq -0xc(%rbp),%rax
shl    $0x4,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11c6 <printTopK+0x96>
mov    -0x14(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rdx
shl    $0x4,%rdx
add    %rdx,%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movsd  %xmm0,0x8(%rax)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1177 <printTopK+0x47>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12b2 <printTopK+0x182>
mov    -0x14(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    123c <printTopK+0x10c>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movsd  0x8(%rax),%xmm1
mov    -0x20(%rbp),%rax
movslq -0x18(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movsd  0x8(%rax),%xmm0
ucomisd %xmm1,%xmm0
jbe    1229 <printTopK+0xf9>
mov    -0x18(%rbp),%eax
mov    %eax,-0x34(%rbp)
jmp    122e <printTopK+0xfe>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11e5 <printTopK+0xb5>
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
mov    (%rax),%rcx
mov    %rcx,-0x30(%rbp)
mov    0x8(%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
mov    -0x20(%rbp),%rcx
movslq -0x34(%rbp),%rdx
shl    $0x4,%rdx
add    %rdx,%rcx
mov    (%rcx),%rdx
mov    %rdx,(%rax)
mov    0x8(%rcx),%rcx
mov    %rcx,0x8(%rax)
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
mov    -0x30(%rbp),%rcx
mov    %rcx,(%rax)
mov    -0x28(%rbp),%rcx
mov    %rcx,0x8(%rax)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11cd <printTopK+0x9d>
mov    -0x10(%rbp),%esi
lea    0xd44(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1317 <printTopK+0x1e7>
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
mov    (%rax),%esi
mov    -0x20(%rbp),%rax
movslq -0x14(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movsd  0x8(%rax),%xmm0
lea    0xd16(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12ca <printTopK+0x19a>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printTopK>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
test   %edx,%edx
jle    116d <printTopK+0x3d>
mov    %edx,%r14d
mov    %esi,%r15d
cmp    %edx,%esi
jl     116d <printTopK+0x3d>
mov    %rdi,%rbp
mov    %r15d,%edi
shl    $0x4,%edi
call   1050 <malloc@plt>
mov    %rax,%r12
test   %r15d,%r15d
jle    117a <printTopK+0x4a>
mov    %r15d,%eax
cmp    $0x1,%r15d
jne    1190 <printTopK+0x60>
xor    %ecx,%ecx
jmp    11cb <printTopK+0x9b>
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xe7f(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    128f <printTopK+0x15f>
mov    %eax,%edx
and    $0xfffffffe,%edx
lea    0x18(%r12),%rsi
xor    %ecx,%ecx
nopl   0x0(%rax)
mov    %ecx,-0x18(%rsi)
movsd  0x0(%rbp,%rcx,8),%xmm0
movsd  %xmm0,-0x10(%rsi)
lea    0x1(%rcx),%edi
mov    %edi,-0x8(%rsi)
movsd  0x8(%rbp,%rcx,8),%xmm0
movsd  %xmm0,(%rsi)
add    $0x2,%rcx
add    $0x20,%rsi
cmp    %rdx,%rcx
jne    11a0 <printTopK+0x70>
test   $0x1,%al
je     11e7 <printTopK+0xb7>
mov    %rcx,%rdx
shl    $0x4,%rdx
mov    %ecx,(%r12,%rdx,1)
movsd  0x0(%rbp,%rcx,8),%xmm0
movsd  %xmm0,0x8(%r12,%rdx,1)
test   %r15d,%r15d
jle    1279 <printTopK+0x149>
lea    0x8(%r12),%rcx
xor    %edx,%edx
jmp    1239 <printTopK+0x109>
nopl   0x0(%rax)
mov    %rdx,%rsi
shl    $0x4,%rsi
movups (%r12,%rsi,1),%xmm0
movaps %xmm0,(%rsp)
movslq %ebx,%rdi
shl    $0x4,%rdi
movups (%r12,%rdi,1),%xmm0
movups %xmm0,(%r12,%rsi,1)
movapd (%rsp),%xmm0
movupd %xmm0,(%r12,%rdi,1)
add    $0x1,%rdx
add    $0x10,%rcx
cmp    %rax,%rdx
je     1279 <printTopK+0x149>
mov    %rcx,%rsi
mov    %rdx,%rdi
mov    %edx,%ebp
jmp    125f <printTopK+0x12f>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%rdi
add    $0x10,%rsi
mov    %ebx,%ebp
cmp    %rdi,%rax
je     1200 <printTopK+0xd0>
movslq %ebp,%rbx
shl    $0x4,%rbx
movsd  (%rsi),%xmm0
ucomisd 0x8(%r12,%rbx,1),%xmm0
mov    %edi,%ebx
ja     1250 <printTopK+0x120>
mov    %ebp,%ebx
jmp    1250 <printTopK+0x120>
lea    0xd80(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r14d,%r14d
jle    12bb <printTopK+0x18b>
mov    %r14d,%ebp
mov    %r12,%rbx
add    $0x8,%rbx
lea    0xd78(%rip),%r14
mov    -0x8(%rbx),%esi
movsd  (%rbx),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x10,%rbx
add    $0xffffffffffffffff,%rbp
jne    12a0 <printTopK+0x170>
mov    %r12,%rdi
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
%struct._ID_SCORE = type { i32, double }
%struct._ID_SCORE.0 = type opaque
@.str = [24 x i8] c"Top-%d [pageID: score]\0A\00"
@.str.1 = [9 x i8] c"%4d: %f\0A\00"
define void @printTopK(double* %0, i32 %1, i32 %2) {
%4 = alloca double*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca %struct._ID_SCORE*
%10 = alloca %struct._ID_SCORE
%11 = alloca i32
store double* %0, double** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%12 = load i32, i32* %6
%13 = icmp sle i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %3
%15 = load i32, i32* %5
%16 = load i32, i32* %6
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %19
18: ; preds = %14, %3
br label %136
19: ; preds = %14
%20 = load i32, i32* %5
%21 = sext i32 %20 to i64
%22 = mul i64 16, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 %23)
%25 = inttoptr i64 %24 to %struct._ID_SCORE*
store %struct._ID_SCORE* %25, %struct._ID_SCORE** %9
store i32 0, i32* %7
br label %26
26: ; preds = %47, %19
%27 = load i32, i32* %7
%28 = load i32, i32* %5
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %50
30: ; preds = %26
%31 = load i32, i32* %7
%32 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%33 = load i32, i32* %7
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %32, i64 %34
%36 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %35, i32 0, i32 0
store i32 %31, i32* %36
%37 = load double*, double** %4
%38 = load i32, i32* %7
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, double* %37, i64 %39
%41 = load double, double* %40
%42 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %42, i64 %44
%46 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %45, i32 0, i32 1
store double %41, double* %46
br label %47
47: ; preds = %30
%48 = load i32, i32* %7
%49 = add nsw i32 %48, 1
store i32 %49, i32* %7
br label %26
50: ; preds = %26
store i32 0, i32* %7
br label %51
51: ; preds = %105, %50
%52 = load i32, i32* %7
%53 = load i32, i32* %5
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %108
55: ; preds = %51
%56 = load i32, i32* %7
store i32 %56, i32* %11
%57 = load i32, i32* %7
store i32 %57, i32* %8
br label %58
58: ; preds = %79, %55
%59 = load i32, i32* %8
%60 = load i32, i32* %5
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %82
62: ; preds = %58
%63 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%64 = load i32, i32* %11
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %63, i64 %65
%67 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %66, i32 0, i32 1
%68 = load double, double* %67
%69 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%70 = load i32, i32* %8
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %69, i64 %71
%73 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %72, i32 0, i32 1
%74 = load double, double* %73
%75 = fcmp olt double %68, %74
br i1 %75, label %76, label %78
76: ; preds = %62
%77 = load i32, i32* %8
store i32 %77, i32* %11
br label %78
78: ; preds = %76, %62
br label %79
79: ; preds = %78
%80 = load i32, i32* %8
%81 = add nsw i32 %80, 1
store i32 %81, i32* %8
br label %58
82: ; preds = %58
%83 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%84 = load i32, i32* %7
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %83, i64 %85
%87 = bitcast %struct._ID_SCORE* %10 to i8*
%88 = bitcast %struct._ID_SCORE* %86 to i8*
%89 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%90 = load i32, i32* %7
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %89, i64 %91
%93 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%94 = load i32, i32* %11
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %93, i64 %95
%97 = bitcast %struct._ID_SCORE* %92 to i8*
%98 = bitcast %struct._ID_SCORE* %96 to i8*
%99 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%100 = load i32, i32* %11
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %99, i64 %101
%103 = bitcast %struct._ID_SCORE* %102 to i8*
%104 = bitcast %struct._ID_SCORE* %10 to i8*
br label %105
105: ; preds = %82
%106 = load i32, i32* %7
%107 = add nsw i32 %106, 1
store i32 %107, i32* %7
br label %51
108: ; preds = %51
%109 = load i32, i32* %6
%110 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %109)
store i32 0, i32* %7
br label %111
111: ; preds = %129, %108
%112 = load i32, i32* %7
%113 = load i32, i32* %6
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %132
115: ; preds = %111
%116 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%117 = load i32, i32* %7
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %116, i64 %118
%120 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %119, i32 0, i32 0
%121 = load i32, i32* %120
%122 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%123 = load i32, i32* %7
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %122, i64 %124
%126 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %125, i32 0, i32 1
%127 = load double, double* %126
%128 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %121, double %127)
br label %129
129: ; preds = %115
%130 = load i32, i32* %7
%131 = add nsw i32 %130, 1
store i32 %131, i32* %7
br label %111
132: ; preds = %111
%133 = load %struct._ID_SCORE*, %struct._ID_SCORE** %9
%134 = bitcast %struct._ID_SCORE* %133 to %struct._ID_SCORE.0*
%135 = call i32 @free(%struct._ID_SCORE.0* %134)
br label %136
136: ; preds = %132, %18
ret void
}

LLVM IR (-O2):
%struct._ID_SCORE = type { i32, double }
%struct._ID_SCORE.0 = type opaque
@.str = [24 x i8] c"Top-%d [pageID: score]\0A\00"
@.str.1 = [9 x i8] c"%4d: %f\0A\00"
define void @printTopK(double* nocapture %0, i32 %1, i32 %2) {
%4 = alloca %struct._ID_SCORE
%5 = icmp slt i32 %2, 1
%6 = icmp slt i32 %1, %2
%7 = or i1 %5, %6
br i1 %7, label %92, label %8
8: ; preds = %3
%9 = shl i32 %1, 4
%10 = tail call i64 @malloc(i32 %9)
%11 = inttoptr i64 %10 to %struct._ID_SCORE*
%12 = icmp sgt i32 %1, 0
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %2)
br label %78
15: ; preds = %8
%16 = zext i32 %1 to i64
%17 = and i64 %16, 1
%18 = icmp eq i32 %1, 1
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = and i64 %16, 4294967294
br label %34
21: ; preds = %34, %15
%22 = phi i64 [ 0, %15 ], [ %48, %34 ]
%23 = icmp eq i64 %17, 0
br i1 %23, label %30, label %24
24: ; preds = %21
%25 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %22, i32 0
%26 = trunc i64 %22 to i32
store i32 %26, i32* %25
%27 = getelementptr inbounds double, double* %0, i64 %22
%28 = load double, double* %27
%29 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %22, i32 1
store double %28, double* %29
br label %30
30: ; preds = %21, %24
br i1 %12, label %31, label %75
31: ; preds = %30
%32 = bitcast %struct._ID_SCORE* %4 to i8*
%33 = zext i32 %1 to i64
br label %51
34: ; preds = %34, %19
%35 = phi i64 [ 0, %19 ], [ %48, %34 ]
%36 = phi i64 [ 0, %19 ], [ %49, %34 ]
%37 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %35, i32 0
%38 = trunc i64 %35 to i32
store i32 %38, i32* %37
%39 = getelementptr inbounds double, double* %0, i64 %35
%40 = load double, double* %39
%41 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %35, i32 1
store double %40, double* %41
%42 = or i64 %35, 1
%43 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %42, i32 0
%44 = trunc i64 %42 to i32
store i32 %44, i32* %43
%45 = getelementptr inbounds double, double* %0, i64 %42
%46 = load double, double* %45
%47 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %42, i32 1
store double %46, double* %47
%48 = add nuw nsw i64 %35, 2
%49 = add i64 %36, 2
%50 = icmp eq i64 %49, %20
br i1 %50, label %21, label %34
51: ; preds = %67, %31
%52 = phi i64 [ 0, %31 ], [ %73, %67 ]
%53 = trunc i64 %52 to i32
br label %54
54: ; preds = %51, %54
%55 = phi i64 [ %52, %51 ], [ %65, %54 ]
%56 = phi i32 [ %53, %51 ], [ %64, %54 ]
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %57, i32 1
%59 = load double, double* %58
%60 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %55, i32 1
%61 = load double, double* %60
%62 = fcmp olt double %59, %61
%63 = trunc i64 %55 to i32
%64 = select i1 %62, i32 %63, i32 %56
%65 = add nuw nsw i64 %55, 1
%66 = icmp eq i64 %65, %33
br i1 %66, label %67, label %54
67: ; preds = %54
%68 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %52
%69 = bitcast %struct._ID_SCORE* %68 to i8*
%70 = sext i32 %64 to i64
%71 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %70
%72 = bitcast %struct._ID_SCORE* %71 to i8*
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 dereferenceable(16) %69, i8* align 8 dereferenceable(16) %72, i64 16, i1 false)
%73 = add nuw nsw i64 %52, 1
%74 = icmp eq i64 %73, %33
br i1 %74, label %75, label %51
75: ; preds = %67, %30
%76 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %2)
%77 = icmp sgt i32 %2, 0
br i1 %77, label %78, label %89
78: ; preds = %13, %75
%79 = zext i32 %2 to i64
br label %80
80: ; preds = %78, %80
%81 = phi i64 [ 0, %78 ], [ %87, %80 ]
%82 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %81, i32 0
%83 = load i32, i32* %82
%84 = getelementptr inbounds %struct._ID_SCORE, %struct._ID_SCORE* %11, i64 %81, i32 1
%85 = load double, double* %84
%86 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %83, double %85)
%87 = add nuw nsw i64 %81, 1
%88 = icmp eq i64 %87, %79
br i1 %88, label %89, label %80
89: ; preds = %80, %75
%90 = inttoptr i64 %10 to %struct._ID_SCORE.0*
%91 = tail call i32 @free(%struct._ID_SCORE.0* %90)
br label %92
92: ; preds = %3, %89
ret void
}