double ho_recognize_font_1_close(const double *array_in) {
  double return_value = 0.0;
  if ((array_in[7]) > 0.75)
    return_value += 0.1;
  if ((array_in[5]) < 0.25)
    return_value += 0.1;
  if ((array_in[12]) > 0.75)
    return_value += 0.1;
  if ((array_in[10]) < 0.25)
    return_value += 0.1;
  if ((array_in[9]) < 0.25)
    return_value += 0.1;
  if ((array_in[8]) > 0.75)
    return_value += 0.1;
  if ((array_in[1]) > 0.3)
    return_value -= 0.2;
  if ((array_in[2]) > 0.35)
    return_value -= 0.2;
  if ((array_in[20]))
    return_value -= 0.2;
  if ((array_in[13]))
    return_value -= 0.2;
  if ((array_in[14]))
    return_value -= 0.2;
  if ((array_in[33]))
    return_value -= 0.2;
  if ((array_in[36]))
    return_value -= 0.2;
  if ((array_in[70]))
    return_value -= 0.2;
  if ((array_in[71]))
    return_value -= 0.2;
  if ((array_in[9]) > 0.25)
    return_value -= 0.2;
  return return_value;
}


x86 assembly (clang, -O0):
<ho_recognize_font_1_close>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  0xedf(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    113d <ho_recognize_font_1_close+0x3d>
movsd  0xed5(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xec7(%rip),%xmm0
ucomisd 0x28(%rax),%xmm0
jbe    1166 <ho_recognize_font_1_close+0x66>
movsd  0xeac(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  0xe89(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1193 <ho_recognize_font_1_close+0x93>
movsd  0xe7f(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xe71(%rip),%xmm0
ucomisd 0x50(%rax),%xmm0
jbe    11bc <ho_recognize_font_1_close+0xbc>
movsd  0xe56(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xe48(%rip),%xmm0
ucomisd 0x48(%rax),%xmm0
jbe    11e5 <ho_recognize_font_1_close+0xe5>
movsd  0xe2d(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  0xe0a(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1212 <ho_recognize_font_1_close+0x112>
movsd  0xe00(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  0xdf5(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1243 <ho_recognize_font_1_close+0x143>
movsd  -0x10(%rbp),%xmm0
movsd  0xde6(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  0xdd4(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1274 <ho_recognize_font_1_close+0x174>
movsd  -0x10(%rbp),%xmm0
movsd  0xdb5(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xa0(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1298 <ho_recognize_font_1_close+0x198>
jp     1298 <ho_recognize_font_1_close+0x198>
jmp    12ae <ho_recognize_font_1_close+0x1ae>
movsd  -0x10(%rbp),%xmm0
movsd  0xd7b(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x68(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    12cf <ho_recognize_font_1_close+0x1cf>
jp     12cf <ho_recognize_font_1_close+0x1cf>
jmp    12e5 <ho_recognize_font_1_close+0x1e5>
movsd  -0x10(%rbp),%xmm0
movsd  0xd44(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x70(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1306 <ho_recognize_font_1_close+0x206>
jp     1306 <ho_recognize_font_1_close+0x206>
jmp    131c <ho_recognize_font_1_close+0x21c>
movsd  -0x10(%rbp),%xmm0
movsd  0xd0d(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x108(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1340 <ho_recognize_font_1_close+0x240>
jp     1340 <ho_recognize_font_1_close+0x240>
jmp    1356 <ho_recognize_font_1_close+0x256>
movsd  -0x10(%rbp),%xmm0
movsd  0xcd3(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x120(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    137a <ho_recognize_font_1_close+0x27a>
jp     137a <ho_recognize_font_1_close+0x27a>
jmp    1390 <ho_recognize_font_1_close+0x290>
movsd  -0x10(%rbp),%xmm0
movsd  0xc99(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x230(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    13b4 <ho_recognize_font_1_close+0x2b4>
jp     13b4 <ho_recognize_font_1_close+0x2b4>
jmp    13ca <ho_recognize_font_1_close+0x2ca>
movsd  -0x10(%rbp),%xmm0
movsd  0xc5f(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x238(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    13ee <ho_recognize_font_1_close+0x2ee>
jp     13ee <ho_recognize_font_1_close+0x2ee>
jmp    1404 <ho_recognize_font_1_close+0x304>
movsd  -0x10(%rbp),%xmm0
movsd  0xc25(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  0xbfb(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1435 <ho_recognize_font_1_close+0x335>
movsd  -0x10(%rbp),%xmm0
movsd  0xbf4(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<ho_recognize_font_1_close>:
movsd  0xef8(%rip),%xmm3
movapd %xmm3,%xmm1
cmpltsd 0x38(%rdi),%xmm1
movsd  0xeee(%rip),%xmm2
andpd  %xmm2,%xmm1
movsd  0x28(%rdi),%xmm4
movsd  0xee5(%rip),%xmm0
cmpltsd %xmm0,%xmm4
movapd %xmm4,%xmm5
andnpd %xmm1,%xmm5
movapd %xmm1,%xmm6
addsd  %xmm2,%xmm6
movsd  0x48(%rdi),%xmm1
andpd  %xmm6,%xmm4
orpd   %xmm5,%xmm4
movapd %xmm3,%xmm5
cmpltsd 0x60(%rdi),%xmm5
movapd %xmm5,%xmm6
andnpd %xmm4,%xmm6
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
orpd   %xmm6,%xmm5
movsd  0x50(%rdi),%xmm4
cmpltsd %xmm0,%xmm4
movapd %xmm4,%xmm6
andnpd %xmm5,%xmm6
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm4
orpd   %xmm6,%xmm4
movapd %xmm1,%xmm5
cmpltsd %xmm0,%xmm5
movapd %xmm5,%xmm6
andnpd %xmm4,%xmm6
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
cmpltsd 0x40(%rdi),%xmm3
orpd   %xmm6,%xmm5
movapd %xmm3,%xmm4
andnpd %xmm5,%xmm4
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm3
orpd   %xmm4,%xmm3
movsd  0xe58(%rip),%xmm4
cmpltsd 0x8(%rdi),%xmm4
movsd  0xe42(%rip),%xmm2
movapd %xmm4,%xmm5
andnpd %xmm3,%xmm5
addsd  %xmm2,%xmm3
andpd  %xmm3,%xmm4
orpd   %xmm5,%xmm4
movsd  0xe36(%rip),%xmm5
cmpltsd 0x10(%rdi),%xmm5
movapd %xmm5,%xmm3
andnpd %xmm4,%xmm3
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
orpd   %xmm3,%xmm5
xorpd  %xmm3,%xmm3
movsd  0xa0(%rdi),%xmm4
cmpneqsd %xmm3,%xmm4
movapd %xmm4,%xmm6
andnpd %xmm5,%xmm6
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm4
orpd   %xmm6,%xmm4
movsd  0x68(%rdi),%xmm5
cmpneqsd %xmm3,%xmm5
movapd %xmm5,%xmm6
andnpd %xmm4,%xmm6
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
orpd   %xmm6,%xmm5
movsd  0x70(%rdi),%xmm4
cmpneqsd %xmm3,%xmm4
movapd %xmm4,%xmm6
andnpd %xmm5,%xmm6
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm4
orpd   %xmm6,%xmm4
movsd  0x108(%rdi),%xmm5
cmpneqsd %xmm3,%xmm5
movapd %xmm5,%xmm6
andnpd %xmm4,%xmm6
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
orpd   %xmm6,%xmm5
movsd  0x120(%rdi),%xmm4
cmpneqsd %xmm3,%xmm4
movapd %xmm4,%xmm6
andnpd %xmm5,%xmm6
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm4
orpd   %xmm6,%xmm4
movsd  0x230(%rdi),%xmm5
cmpneqsd %xmm3,%xmm5
movapd %xmm5,%xmm6
andnpd %xmm4,%xmm6
addsd  %xmm2,%xmm4
andpd  %xmm4,%xmm5
orpd   %xmm6,%xmm5
cmpneqsd 0x238(%rdi),%xmm3
movapd %xmm3,%xmm4
andnpd %xmm5,%xmm4
addsd  %xmm2,%xmm5
andpd  %xmm5,%xmm3
orpd   %xmm4,%xmm3
cmpltsd %xmm1,%xmm0
movapd %xmm0,%xmm1
andnpd %xmm3,%xmm1
addsd  %xmm2,%xmm3
andpd  %xmm3,%xmm0
orpd   %xmm1,%xmm0
ret

LLVM IR (-O0):
define double @ho_recognize_font_1_close(double* %0) {
%2 = alloca double*
%3 = alloca double
store double* %0, double** %2
store double 0.000000e+00, double* %3
%4 = load double*, double** %2
%5 = getelementptr inbounds double, double* %4, i64 7
%6 = load double, double* %5
%7 = fcmp ogt double %6, 7.500000e-01
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load double, double* %3
%10 = fadd double %9, 1.000000e-01
store double %10, double* %3
br label %11
11: ; preds = %8, %1
%12 = load double*, double** %2
%13 = getelementptr inbounds double, double* %12, i64 5
%14 = load double, double* %13
%15 = fcmp olt double %14, 2.500000e-01
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load double, double* %3
%18 = fadd double %17, 1.000000e-01
store double %18, double* %3
br label %19
19: ; preds = %16, %11
%20 = load double*, double** %2
%21 = getelementptr inbounds double, double* %20, i64 12
%22 = load double, double* %21
%23 = fcmp ogt double %22, 7.500000e-01
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load double, double* %3
%26 = fadd double %25, 1.000000e-01
store double %26, double* %3
br label %27
27: ; preds = %24, %19
%28 = load double*, double** %2
%29 = getelementptr inbounds double, double* %28, i64 10
%30 = load double, double* %29
%31 = fcmp olt double %30, 2.500000e-01
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load double, double* %3
%34 = fadd double %33, 1.000000e-01
store double %34, double* %3
br label %35
35: ; preds = %32, %27
%36 = load double*, double** %2
%37 = getelementptr inbounds double, double* %36, i64 9
%38 = load double, double* %37
%39 = fcmp olt double %38, 2.500000e-01
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load double, double* %3
%42 = fadd double %41, 1.000000e-01
store double %42, double* %3
br label %43
43: ; preds = %40, %35
%44 = load double*, double** %2
%45 = getelementptr inbounds double, double* %44, i64 8
%46 = load double, double* %45
%47 = fcmp ogt double %46, 7.500000e-01
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = load double, double* %3
%50 = fadd double %49, 1.000000e-01
store double %50, double* %3
br label %51
51: ; preds = %48, %43
%52 = load double*, double** %2
%53 = getelementptr inbounds double, double* %52, i64 1
%54 = load double, double* %53
%55 = fcmp ogt double %54, 3.000000e-01
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = load double, double* %3
%58 = fsub double %57, 2.000000e-01
store double %58, double* %3
br label %59
59: ; preds = %56, %51
%60 = load double*, double** %2
%61 = getelementptr inbounds double, double* %60, i64 2
%62 = load double, double* %61
%63 = fcmp ogt double %62, 3.500000e-01
br i1 %63, label %64, label %67
64: ; preds = %59
%65 = load double, double* %3
%66 = fsub double %65, 2.000000e-01
store double %66, double* %3
br label %67
67: ; preds = %64, %59
%68 = load double*, double** %2
%69 = getelementptr inbounds double, double* %68, i64 20
%70 = load double, double* %69
%71 = fcmp une double %70, 0.000000e+00
br i1 %71, label %72, label %75
72: ; preds = %67
%73 = load double, double* %3
%74 = fsub double %73, 2.000000e-01
store double %74, double* %3
br label %75
75: ; preds = %72, %67
%76 = load double*, double** %2
%77 = getelementptr inbounds double, double* %76, i64 13
%78 = load double, double* %77
%79 = fcmp une double %78, 0.000000e+00
br i1 %79, label %80, label %83
80: ; preds = %75
%81 = load double, double* %3
%82 = fsub double %81, 2.000000e-01
store double %82, double* %3
br label %83
83: ; preds = %80, %75
%84 = load double*, double** %2
%85 = getelementptr inbounds double, double* %84, i64 14
%86 = load double, double* %85
%87 = fcmp une double %86, 0.000000e+00
br i1 %87, label %88, label %91
88: ; preds = %83
%89 = load double, double* %3
%90 = fsub double %89, 2.000000e-01
store double %90, double* %3
br label %91
91: ; preds = %88, %83
%92 = load double*, double** %2
%93 = getelementptr inbounds double, double* %92, i64 33
%94 = load double, double* %93
%95 = fcmp une double %94, 0.000000e+00
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = load double, double* %3
%98 = fsub double %97, 2.000000e-01
store double %98, double* %3
br label %99
99: ; preds = %96, %91
%100 = load double*, double** %2
%101 = getelementptr inbounds double, double* %100, i64 36
%102 = load double, double* %101
%103 = fcmp une double %102, 0.000000e+00
br i1 %103, label %104, label %107
104: ; preds = %99
%105 = load double, double* %3
%106 = fsub double %105, 2.000000e-01
store double %106, double* %3
br label %107
107: ; preds = %104, %99
%108 = load double*, double** %2
%109 = getelementptr inbounds double, double* %108, i64 70
%110 = load double, double* %109
%111 = fcmp une double %110, 0.000000e+00
br i1 %111, label %112, label %115
112: ; preds = %107
%113 = load double, double* %3
%114 = fsub double %113, 2.000000e-01
store double %114, double* %3
br label %115
115: ; preds = %112, %107
%116 = load double*, double** %2
%117 = getelementptr inbounds double, double* %116, i64 71
%118 = load double, double* %117
%119 = fcmp une double %118, 0.000000e+00
br i1 %119, label %120, label %123
120: ; preds = %115
%121 = load double, double* %3
%122 = fsub double %121, 2.000000e-01
store double %122, double* %3
br label %123
123: ; preds = %120, %115
%124 = load double*, double** %2
%125 = getelementptr inbounds double, double* %124, i64 9
%126 = load double, double* %125
%127 = fcmp ogt double %126, 2.500000e-01
br i1 %127, label %128, label %131
128: ; preds = %123
%129 = load double, double* %3
%130 = fsub double %129, 2.000000e-01
store double %130, double* %3
br label %131
131: ; preds = %128, %123
%132 = load double, double* %3
ret double %132
}

LLVM IR (-O2):
define double @ho_recognize_font_1_close(double* nocapture %0) {
%2 = getelementptr inbounds double, double* %0, i64 7
%3 = load double, double* %2
%4 = fcmp ogt double %3, 7.500000e-01
%5 = select i1 %4, double 1.000000e-01, double 0.000000e+00
%6 = getelementptr inbounds double, double* %0, i64 5
%7 = load double, double* %6
%8 = fcmp olt double %7, 2.500000e-01
%9 = fadd double %5, 1.000000e-01
%10 = select i1 %8, double %9, double %5
%11 = getelementptr inbounds double, double* %0, i64 12
%12 = load double, double* %11
%13 = fcmp ogt double %12, 7.500000e-01
%14 = fadd double %10, 1.000000e-01
%15 = select i1 %13, double %14, double %10
%16 = getelementptr inbounds double, double* %0, i64 10
%17 = load double, double* %16
%18 = fcmp olt double %17, 2.500000e-01
%19 = fadd double %15, 1.000000e-01
%20 = select i1 %18, double %19, double %15
%21 = getelementptr inbounds double, double* %0, i64 9
%22 = load double, double* %21
%23 = fcmp olt double %22, 2.500000e-01
%24 = fadd double %20, 1.000000e-01
%25 = select i1 %23, double %24, double %20
%26 = getelementptr inbounds double, double* %0, i64 8
%27 = load double, double* %26
%28 = fcmp ogt double %27, 7.500000e-01
%29 = fadd double %25, 1.000000e-01
%30 = select i1 %28, double %29, double %25
%31 = getelementptr inbounds double, double* %0, i64 1
%32 = load double, double* %31
%33 = fcmp ogt double %32, 3.000000e-01
%34 = fadd double %30, -2.000000e-01
%35 = select i1 %33, double %34, double %30
%36 = getelementptr inbounds double, double* %0, i64 2
%37 = load double, double* %36
%38 = fcmp ogt double %37, 3.500000e-01
%39 = fadd double %35, -2.000000e-01
%40 = select i1 %38, double %39, double %35
%41 = getelementptr inbounds double, double* %0, i64 20
%42 = load double, double* %41
%43 = fcmp une double %42, 0.000000e+00
%44 = fadd double %40, -2.000000e-01
%45 = select i1 %43, double %44, double %40
%46 = getelementptr inbounds double, double* %0, i64 13
%47 = load double, double* %46
%48 = fcmp une double %47, 0.000000e+00
%49 = fadd double %45, -2.000000e-01
%50 = select i1 %48, double %49, double %45
%51 = getelementptr inbounds double, double* %0, i64 14
%52 = load double, double* %51
%53 = fcmp une double %52, 0.000000e+00
%54 = fadd double %50, -2.000000e-01
%55 = select i1 %53, double %54, double %50
%56 = getelementptr inbounds double, double* %0, i64 33
%57 = load double, double* %56
%58 = fcmp une double %57, 0.000000e+00
%59 = fadd double %55, -2.000000e-01
%60 = select i1 %58, double %59, double %55
%61 = getelementptr inbounds double, double* %0, i64 36
%62 = load double, double* %61
%63 = fcmp une double %62, 0.000000e+00
%64 = fadd double %60, -2.000000e-01
%65 = select i1 %63, double %64, double %60
%66 = getelementptr inbounds double, double* %0, i64 70
%67 = load double, double* %66
%68 = fcmp une double %67, 0.000000e+00
%69 = fadd double %65, -2.000000e-01
%70 = select i1 %68, double %69, double %65
%71 = getelementptr inbounds double, double* %0, i64 71
%72 = load double, double* %71
%73 = fcmp une double %72, 0.000000e+00
%74 = fadd double %70, -2.000000e-01
%75 = select i1 %73, double %74, double %70
%76 = fcmp ogt double %22, 2.500000e-01
%77 = fadd double %75, -2.000000e-01
%78 = select i1 %76, double %77, double %75
ret double %78
}