#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_dobldobl_container_to_start_solutions();
int copy_dobldobl_container_to_start_system();
int copy_dobldobl_container_to_target_system();
int copy_dobldobl_start_system_to_container();
int copy_dobldobl_target_system_to_container();
int padcon_add_Z0();
int solcon_dobldobl_one_homogenization();
int syscon_dobldobl_one_homogenization(int);
void padcon_dobldobl_projective_transformation(void) {
  int fail;
  fail = solcon_dobldobl_one_homogenization();
  fail = copy_dobldobl_container_to_start_solutions();
  fail = copy_dobldobl_target_system_to_container();
  fail = syscon_dobldobl_one_homogenization(0);
  fail = copy_dobldobl_container_to_target_system();
  fail = copy_dobldobl_start_system_to_container();
  fail = syscon_dobldobl_one_homogenization(1);
  fail = copy_dobldobl_container_to_start_system();
  fail = padcon_add_Z0();
}


x86 assembly (clang, -O0):
<padcon_dobldobl_projective_transformation>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1040 <solcon_dobldobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1070 <copy_dobldobl_container_to_start_solutions@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1050 <copy_dobldobl_target_system_to_container@plt>
mov    %eax,-0x4(%rbp)
xor    %edi,%edi
call   1060 <syscon_dobldobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1030 <copy_dobldobl_container_to_target_system@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1090 <copy_dobldobl_start_system_to_container@plt>
mov    %eax,-0x4(%rbp)
mov    $0x1,%edi
call   1060 <syscon_dobldobl_one_homogenization@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1080 <copy_dobldobl_container_to_start_system@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10a0 <padcon_add_Z0@plt>
mov    %eax,-0x4(%rbp)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<padcon_dobldobl_projective_transformation>:
push   %rax
xor    %eax,%eax
call   1040 <solcon_dobldobl_one_homogenization@plt>
xor    %eax,%eax
call   1070 <copy_dobldobl_container_to_start_solutions@plt>
xor    %eax,%eax
call   1050 <copy_dobldobl_target_system_to_container@plt>
xor    %edi,%edi
call   1060 <syscon_dobldobl_one_homogenization@plt>
xor    %eax,%eax
call   1030 <copy_dobldobl_container_to_target_system@plt>
xor    %eax,%eax
call   1090 <copy_dobldobl_start_system_to_container@plt>
mov    $0x1,%edi
call   1060 <syscon_dobldobl_one_homogenization@plt>
xor    %eax,%eax
call   1080 <copy_dobldobl_container_to_start_system@plt>
xor    %eax,%eax
pop    %rcx
jmp    10a0 <padcon_add_Z0@plt>

LLVM IR (-O0):
define void @padcon_dobldobl_projective_transformation() {
%1 = alloca i32
%2 = call i32 (...) @solcon_dobldobl_one_homogenization()
store i32 %2, i32* %1
%3 = call i32 (...) @copy_dobldobl_container_to_start_solutions()
store i32 %3, i32* %1
%4 = call i32 (...) @copy_dobldobl_target_system_to_container()
store i32 %4, i32* %1
%5 = call i32 @syscon_dobldobl_one_homogenization(i32 0)
store i32 %5, i32* %1
%6 = call i32 (...) @copy_dobldobl_container_to_target_system()
store i32 %6, i32* %1
%7 = call i32 (...) @copy_dobldobl_start_system_to_container()
store i32 %7, i32* %1
%8 = call i32 @syscon_dobldobl_one_homogenization(i32 1)
store i32 %8, i32* %1
%9 = call i32 (...) @copy_dobldobl_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_dobldobl_projective_transformation() {
%1 = tail call i32 (...) @solcon_dobldobl_one_homogenization()
%2 = tail call i32 (...) @copy_dobldobl_container_to_start_solutions()
%3 = tail call i32 (...) @copy_dobldobl_target_system_to_container()
%4 = tail call i32 @syscon_dobldobl_one_homogenization(i32 0)
%5 = tail call i32 (...) @copy_dobldobl_container_to_target_system()
%6 = tail call i32 (...) @copy_dobldobl_start_system_to_container()
%7 = tail call i32 @syscon_dobldobl_one_homogenization(i32 1)
%8 = tail call i32 (...) @copy_dobldobl_container_to_start_system()
%9 = tail call i32 (...) @padcon_add_Z0()
ret void
}