#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*/ _L(double);
int /*<<< orphan*/ test0(int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/);
int main() {
  test0(_L(27.0), _L(9.0), _L(1.5));
  test0(_L(27.0), _L(3.0), _L(3.0));
  test0(_L(27.0), _L(27.0), _L(1.0));
  test0(_L(64.0), _L(4.0), _L(3.0));
  test0(_L(64.0), _L(8.0), _L(2.0));
  test0(_L(64.0), _L(2.0), _L(6.0));
  test0(_L(1.0), _L(2.0), _L(0.0));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xf01(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x3c(%rbp)
movsd  0xf01(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x38(%rbp)
movsd  0xee9(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x3c(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xec7(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x34(%rbp)
movsd  0xea7(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x30(%rbp)
movsd  0xe97(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x34(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe8d(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x2c(%rbp)
movsd  0xe7d(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x28(%rbp)
movsd  0xe3d(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x2c(%rbp),%edi
mov    -0x28(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe33(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x24(%rbp)
movsd  0xe3b(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x20(%rbp)
movsd  0xe23(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x24(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xdf9(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x1c(%rbp)
movsd  0xdf1(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x18(%rbp)
movsd  0xdc1(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x1c(%rbp),%edi
mov    -0x18(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xdbf(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x14(%rbp)
movsd  0xd97(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x10(%rbp)
movsd  0xd97(%rip),%xmm0
call   1030 <_L@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xd75(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0xc(%rbp)
movsd  0xd5d(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,-0x8(%rbp)
xorps  %xmm0,%xmm0
call   1030 <_L@plt>
mov    -0xc(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %eax,%edx
call   1040 <test0@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
movsd  0xed5(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xece(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xec7(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe9f(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xea8(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xe99(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe69(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xe5a(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xe6b(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe5b(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xe54(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xe2d(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xe25(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xe26(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xe1f(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xdef(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xdf8(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
movsd  0xdf1(%rip),%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
movsd  0xdb1(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebx
movsd  0xdc2(%rip),%xmm0
call   1030 <_L@plt>
mov    %eax,%ebp
xorps  %xmm0,%xmm0
call   1030 <_L@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1040 <test0@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @_L(double 2.700000e+01)
%3 = call i32 @_L(double 9.000000e+00)
%4 = call i32 @_L(double 1.500000e+00)
%5 = call i32 @test0(i32 %2, i32 %3, i32 %4)
%6 = call i32 @_L(double 2.700000e+01)
%7 = call i32 @_L(double 3.000000e+00)
%8 = call i32 @_L(double 3.000000e+00)
%9 = call i32 @test0(i32 %6, i32 %7, i32 %8)
%10 = call i32 @_L(double 2.700000e+01)
%11 = call i32 @_L(double 2.700000e+01)
%12 = call i32 @_L(double 1.000000e+00)
%13 = call i32 @test0(i32 %10, i32 %11, i32 %12)
%14 = call i32 @_L(double 6.400000e+01)
%15 = call i32 @_L(double 4.000000e+00)
%16 = call i32 @_L(double 3.000000e+00)
%17 = call i32 @test0(i32 %14, i32 %15, i32 %16)
%18 = call i32 @_L(double 6.400000e+01)
%19 = call i32 @_L(double 8.000000e+00)
%20 = call i32 @_L(double 2.000000e+00)
%21 = call i32 @test0(i32 %18, i32 %19, i32 %20)
%22 = call i32 @_L(double 6.400000e+01)
%23 = call i32 @_L(double 2.000000e+00)
%24 = call i32 @_L(double 6.000000e+00)
%25 = call i32 @test0(i32 %22, i32 %23, i32 %24)
%26 = call i32 @_L(double 1.000000e+00)
%27 = call i32 @_L(double 2.000000e+00)
%28 = call i32 @_L(double 0.000000e+00)
%29 = call i32 @test0(i32 %26, i32 %27, i32 %28)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @_L(double 2.700000e+01)
%2 = tail call i32 @_L(double 9.000000e+00)
%3 = tail call i32 @_L(double 1.500000e+00)
%4 = tail call i32 @test0(i32 %1, i32 %2, i32 %3)
%5 = tail call i32 @_L(double 2.700000e+01)
%6 = tail call i32 @_L(double 3.000000e+00)
%7 = tail call i32 @_L(double 3.000000e+00)
%8 = tail call i32 @test0(i32 %5, i32 %6, i32 %7)
%9 = tail call i32 @_L(double 2.700000e+01)
%10 = tail call i32 @_L(double 2.700000e+01)
%11 = tail call i32 @_L(double 1.000000e+00)
%12 = tail call i32 @test0(i32 %9, i32 %10, i32 %11)
%13 = tail call i32 @_L(double 6.400000e+01)
%14 = tail call i32 @_L(double 4.000000e+00)
%15 = tail call i32 @_L(double 3.000000e+00)
%16 = tail call i32 @test0(i32 %13, i32 %14, i32 %15)
%17 = tail call i32 @_L(double 6.400000e+01)
%18 = tail call i32 @_L(double 8.000000e+00)
%19 = tail call i32 @_L(double 2.000000e+00)
%20 = tail call i32 @test0(i32 %17, i32 %18, i32 %19)
%21 = tail call i32 @_L(double 6.400000e+01)
%22 = tail call i32 @_L(double 2.000000e+00)
%23 = tail call i32 @_L(double 6.000000e+00)
%24 = tail call i32 @test0(i32 %21, i32 %22, i32 %23)
%25 = tail call i32 @_L(double 1.000000e+00)
%26 = tail call i32 @_L(double 2.000000e+00)
%27 = tail call i32 @_L(double 0.000000e+00)
%28 = tail call i32 @test0(i32 %25, i32 %26, i32 %27)
ret i32 0
}