#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 copy_quaddobl_container_to_start_solutions();
int copy_quaddobl_container_to_start_system();
int copy_quaddobl_container_to_target_system();
int copy_quaddobl_start_system_to_container();
int copy_quaddobl_target_system_to_container();
int padcon_add_Z0();
int solcon_quaddobl_one_homogenization();
int syscon_quaddobl_one_homogenization(int);
void padcon_quaddobl_projective_transformation(void) {
  int fail;
  fail = solcon_quaddobl_one_homogenization();
  fail = copy_quaddobl_container_to_start_solutions();
  fail = copy_quaddobl_target_system_to_container();
  fail = syscon_quaddobl_one_homogenization(0);
  fail = copy_quaddobl_container_to_target_system();
  fail = copy_quaddobl_start_system_to_container();
  fail = syscon_quaddobl_one_homogenization(1);
  fail = copy_quaddobl_container_to_start_system();
  fail = padcon_add_Z0();
}


x86 assembly (clang, -O0):
<padcon_quaddobl_projective_transformation>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1030 <solcon_quaddobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10a0 <copy_quaddobl_container_to_start_solutions@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1060 <copy_quaddobl_target_system_to_container@plt>
mov    %eax,-0x4(%rbp)
xor    %edi,%edi
call   1040 <syscon_quaddobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1070 <copy_quaddobl_container_to_target_system@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1050 <copy_quaddobl_start_system_to_container@plt>
mov    %eax,-0x4(%rbp)
mov    $0x1,%edi
call   1040 <syscon_quaddobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1080 <copy_quaddobl_container_to_start_system@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1090 <padcon_add_Z0@plt>
mov    %eax,-0x4(%rbp)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<padcon_quaddobl_projective_transformation>:
push   %rax
xor    %eax,%eax
call   1030 <solcon_quaddobl_one_homogenization@plt>
xor    %eax,%eax
call   10a0 <copy_quaddobl_container_to_start_solutions@plt>
xor    %eax,%eax
call   1060 <copy_quaddobl_target_system_to_container@plt>
xor    %edi,%edi
call   1040 <syscon_quaddobl_one_homogenization@plt>
xor    %eax,%eax
call   1070 <copy_quaddobl_container_to_target_system@plt>
xor    %eax,%eax
call   1050 <copy_quaddobl_start_system_to_container@plt>
mov    $0x1,%edi
call   1040 <syscon_quaddobl_one_homogenization@plt>
xor    %eax,%eax
call   1080 <copy_quaddobl_container_to_start_system@plt>
xor    %eax,%eax
pop    %rcx
jmp    1090 <padcon_add_Z0@plt>

LLVM IR (-O0):
define void @padcon_quaddobl_projective_transformation() {
%1 = alloca i32
%2 = call i32 (...) @solcon_quaddobl_one_homogenization()
store i32 %2, i32* %1
%3 = call i32 (...) @copy_quaddobl_container_to_start_solutions()
store i32 %3, i32* %1
%4 = call i32 (...) @copy_quaddobl_target_system_to_container()
store i32 %4, i32* %1
%5 = call i32 @syscon_quaddobl_one_homogenization(i32 0)
store i32 %5, i32* %1
%6 = call i32 (...) @copy_quaddobl_container_to_target_system()
store i32 %6, i32* %1
%7 = call i32 (...) @copy_quaddobl_start_system_to_container()
store i32 %7, i32* %1
%8 = call i32 @syscon_quaddobl_one_homogenization(i32 1)
store i32 %8, i32* %1
%9 = call i32 (...) @copy_quaddobl_container_to_start_system()
store i32 %9, i32* %1
%10 = call i32 (...) @padcon_add_Z0()
store i32 %10, i32* %1
ret void
}

LLVM IR (-O2):
define void @padcon_quaddobl_projective_transformation() {
%1 = tail call i32 (...) @solcon_quaddobl_one_homogenization()
%2 = tail call i32 (...) @copy_quaddobl_container_to_start_solutions()
%3 = tail call i32 (...) @copy_quaddobl_target_system_to_container()
%4 = tail call i32 @syscon_quaddobl_one_homogenization(i32 0)
%5 = tail call i32 (...) @copy_quaddobl_container_to_target_system()
%6 = tail call i32 (...) @copy_quaddobl_start_system_to_container()
%7 = tail call i32 @syscon_quaddobl_one_homogenization(i32 1)
%8 = tail call i32 (...) @copy_quaddobl_container_to_start_system()
%9 = tail call i32 (...) @padcon_add_Z0()
ret void
}