double ho_recognize_font_1_minus(const double *array_in) {
  double return_value = 0.0;
  if ((array_in[0]) < 0.15)
    return_value += 0.2;
  if ((array_in[3]) < 0.3)
    return_value += 0.2;
  if ((array_in[4]) > 0.7)
    return_value += 0.2;
  if ((array_in[2]) == 1.0 && (array_in[0]) < 0.1)
    return_value += 0.2;
  if ((array_in[0]) > 0.2)
    return_value -= 0.3;
  if ((array_in[1]) < 0.15)
    return_value -= 0.3;
  if ((array_in[2]) < 0.1)
    return_value -= 0.3;
  return return_value;
}


x86 assembly (clang, -O0):
<ho_recognize_font_1_minus>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xee4(%rip),%xmm0
ucomisd (%rax),%xmm0
jbe    1138 <ho_recognize_font_1_minus+0x38>
movsd  0xeda(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xecc(%rip),%xmm0
ucomisd 0x18(%rax),%xmm0
jbe    1161 <ho_recognize_font_1_minus+0x61>
movsd  0xeb1(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  0xea6(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    118e <ho_recognize_font_1_minus+0x8e>
movsd  0xe84(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  0xe81(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    11d7 <ho_recognize_font_1_minus+0xd7>
jp     11d7 <ho_recognize_font_1_minus+0xd7>
mov    -0x8(%rbp),%rax
movsd  0xe6d(%rip),%xmm0
ucomisd (%rax),%xmm0
jbe    11d7 <ho_recognize_font_1_minus+0xd7>
movsd  0xe3b(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  0xe21(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1207 <ho_recognize_font_1_minus+0x107>
movsd  -0x10(%rbp),%xmm0
movsd  0xe12(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xded(%rip),%xmm0
ucomisd 0x8(%rax),%xmm0
jbe    1234 <ho_recognize_font_1_minus+0x134>
movsd  -0x10(%rbp),%xmm0
movsd  0xde5(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xde8(%rip),%xmm0
ucomisd 0x10(%rax),%xmm0
jbe    1261 <ho_recognize_font_1_minus+0x161>
movsd  -0x10(%rbp),%xmm0
movsd  0xdb8(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<ho_recognize_font_1_minus>:
movsd  (%rdi),%xmm4
movsd  0x8(%rdi),%xmm1
movsd  0xeee(%rip),%xmm8
movapd %xmm4,%xmm0
cmpltsd %xmm8,%xmm0
movsd  0xee4(%rip),%xmm3
movsd  0x18(%rdi),%xmm5
cmpltsd 0xede(%rip),%xmm5
andpd  %xmm3,%xmm0
movapd %xmm5,%xmm6
andnpd %xmm0,%xmm6
addsd  %xmm3,%xmm0
andpd  %xmm0,%xmm5
orpd   %xmm6,%xmm5
movsd  0xec6(%rip),%xmm6
cmpltsd 0x20(%rdi),%xmm6
movapd %xmm6,%xmm0
andnpd %xmm5,%xmm0
addsd  %xmm3,%xmm5
andpd  %xmm5,%xmm6
orpd   %xmm0,%xmm6
movsd  0x10(%rdi),%xmm0
movapd %xmm6,%xmm7
addsd  %xmm3,%xmm7
movsd  0xe9f(%rip),%xmm5
cmpltsd %xmm4,%xmm3
cmpltsd %xmm5,%xmm4
movapd %xmm4,%xmm2
andnpd %xmm6,%xmm2
andpd  %xmm7,%xmm4
orpd   %xmm2,%xmm4
movsd  0xe85(%rip),%xmm2
cmpeqsd %xmm0,%xmm2
andpd  %xmm2,%xmm4
andnpd %xmm6,%xmm2
orpd   %xmm4,%xmm2
movsd  0xe74(%rip),%xmm4
movapd %xmm3,%xmm6
andnpd %xmm2,%xmm6
addsd  %xmm4,%xmm2
andpd  %xmm2,%xmm3
orpd   %xmm6,%xmm3
cmpltsd %xmm8,%xmm1
movapd %xmm1,%xmm2
andnpd %xmm3,%xmm2
addsd  %xmm4,%xmm3
andpd  %xmm3,%xmm1
orpd   %xmm2,%xmm1
cmpltsd %xmm5,%xmm0
movapd %xmm0,%xmm2
andnpd %xmm1,%xmm2
addsd  %xmm4,%xmm1
andpd  %xmm1,%xmm0
orpd   %xmm2,%xmm0
ret

LLVM IR (-O0):
define double @ho_recognize_font_1_minus(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 0
%6 = load double, double* %5
%7 = fcmp olt double %6, 1.500000e-01
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load double, double* %3
%10 = fadd double %9, 2.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 3
%14 = load double, double* %13
%15 = fcmp olt double %14, 3.000000e-01
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load double, double* %3
%18 = fadd double %17, 2.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 4
%22 = load double, double* %21
%23 = fcmp ogt double %22, 0x3FE6666666666666
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load double, double* %3
%26 = fadd double %25, 2.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 2
%30 = load double, double* %29
%31 = fcmp oeq double %30, 1.000000e+00
br i1 %31, label %32, label %40
32: ; preds = %27
%33 = load double*, double** %2
%34 = getelementptr inbounds double, double* %33, i64 0
%35 = load double, double* %34
%36 = fcmp olt double %35, 1.000000e-01
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load double, double* %3
%39 = fadd double %38, 2.000000e-01
store double %39, double* %3
br label %40
40: ; preds = %37, %32, %27
%41 = load double*, double** %2
%42 = getelementptr inbounds double, double* %41, i64 0
%43 = load double, double* %42
%44 = fcmp ogt double %43, 2.000000e-01
br i1 %44, label %45, label %48
45: ; preds = %40
%46 = load double, double* %3
%47 = fsub double %46, 3.000000e-01
store double %47, double* %3
br label %48
48: ; preds = %45, %40
%49 = load double*, double** %2
%50 = getelementptr inbounds double, double* %49, i64 1
%51 = load double, double* %50
%52 = fcmp olt double %51, 1.500000e-01
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load double, double* %3
%55 = fsub double %54, 3.000000e-01
store double %55, double* %3
br label %56
56: ; preds = %53, %48
%57 = load double*, double** %2
%58 = getelementptr inbounds double, double* %57, i64 2
%59 = load double, double* %58
%60 = fcmp olt double %59, 1.000000e-01
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load double, double* %3
%63 = fsub double %62, 3.000000e-01
store double %63, double* %3
br label %64
64: ; preds = %61, %56
%65 = load double, double* %3
ret double %65
}

LLVM IR (-O2):
define double @ho_recognize_font_1_minus(double* nocapture %0) {
%2 = load double, double* %0
%3 = fcmp olt double %2, 1.500000e-01
%4 = select i1 %3, double 2.000000e-01, double 0.000000e+00
%5 = getelementptr inbounds double, double* %0, i64 3
%6 = load double, double* %5
%7 = fcmp olt double %6, 3.000000e-01
%8 = fadd double %4, 2.000000e-01
%9 = select i1 %7, double %8, double %4
%10 = getelementptr inbounds double, double* %0, i64 4
%11 = load double, double* %10
%12 = fcmp ogt double %11, 0x3FE6666666666666
%13 = fadd double %9, 2.000000e-01
%14 = select i1 %12, double %13, double %9
%15 = getelementptr inbounds double, double* %0, i64 2
%16 = load double, double* %15
%17 = fcmp oeq double %16, 1.000000e+00
%18 = fcmp olt double %2, 1.000000e-01
%19 = select i1 %17, i1 %18, i1 false
%20 = fadd double %14, 2.000000e-01
%21 = select i1 %19, double %20, double %14
%22 = fcmp ogt double %2, 2.000000e-01
%23 = fadd double %21, -3.000000e-01
%24 = select i1 %22, double %23, double %21
%25 = getelementptr inbounds double, double* %0, i64 1
%26 = load double, double* %25
%27 = fcmp olt double %26, 1.500000e-01
%28 = fadd double %24, -3.000000e-01
%29 = select i1 %27, double %28, double %24
%30 = fcmp olt double %16, 1.000000e-01
%31 = fadd double %29, -3.000000e-01
%32 = select i1 %30, double %31, double %29
ret double %32
}