#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 */
char const *rrdF2(double const *);
const char *rrdMHz_Maxilife(const double values[]) {
  if (!values[0] && !values[1] && !values[2])
    return NULL;
  return rrdF2(values);
}


x86 assembly (clang, -O0):
<rrdMHz_Maxilife>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    117c <rrdMHz_Maxilife+0x6c>
jp     117c <rrdMHz_Maxilife+0x6c>
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    117c <rrdMHz_Maxilife+0x6c>
jp     117c <rrdMHz_Maxilife+0x6c>
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    117c <rrdMHz_Maxilife+0x6c>
jp     117c <rrdMHz_Maxilife+0x6c>
movq   $0x0,-0x8(%rbp)
jmp    1189 <rrdMHz_Maxilife+0x79>
mov    -0x10(%rbp),%rdi
call   1030 <rrdF2@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rrdMHz_Maxilife>:
movsd  (%rdi),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jne    113e <rrdMHz_Maxilife+0x2e>
jp     113e <rrdMHz_Maxilife+0x2e>
movsd  0x8(%rdi),%xmm1
ucomisd %xmm0,%xmm1
jne    113e <rrdMHz_Maxilife+0x2e>
jp     113e <rrdMHz_Maxilife+0x2e>
movsd  0x10(%rdi),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    113e <rrdMHz_Maxilife+0x2e>
jnp    1143 <rrdMHz_Maxilife+0x33>
jmp    1030 <rrdF2@plt>
xor    %eax,%eax
ret

LLVM IR (-O0):
define i8* @rrdMHz_Maxilife(double* %0) {
%2 = alloca i8*
%3 = alloca double*
store double* %0, double** %3
%4 = load double*, double** %3
%5 = getelementptr inbounds double, double* %4, i64 0
%6 = load double, double* %5
%7 = fcmp une double %6, 0.000000e+00
br i1 %7, label %19, label %8
8: ; preds = %1
%9 = load double*, double** %3
%10 = getelementptr inbounds double, double* %9, i64 1
%11 = load double, double* %10
%12 = fcmp une double %11, 0.000000e+00
br i1 %12, label %19, label %13
13: ; preds = %8
%14 = load double*, double** %3
%15 = getelementptr inbounds double, double* %14, i64 2
%16 = load double, double* %15
%17 = fcmp une double %16, 0.000000e+00
br i1 %17, label %19, label %18
18: ; preds = %13
store i8* null, i8** %2
br label %22
19: ; preds = %13, %8, %1
%20 = load double*, double** %3
%21 = call i8* @rrdF2(double* %20)
store i8* %21, i8** %2
br label %22
22: ; preds = %19, %18
%23 = load i8*, i8** %2
ret i8* %23
}

LLVM IR (-O2):
define i8* @rrdMHz_Maxilife(double* %0) {
%2 = load double, double* %0
%3 = fcmp une double %2, 0.000000e+00
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = getelementptr inbounds double, double* %0, i64 1
%6 = load double, double* %5
%7 = fcmp une double %6, 0.000000e+00
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = getelementptr inbounds double, double* %0, i64 2
%10 = load double, double* %9
%11 = fcmp une double %10, 0.000000e+00
br i1 %11, label %12, label %14
12: ; preds = %8, %4, %1
%13 = tail call i8* @rrdF2(double* %0)
br label %14
14: ; preds = %8, %12
%15 = phi i8* [ %13, %12 ], [ null, %8 ]
ret i8* %15
}