#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ lotka_volterra(float, float, float, float, float, float,
                                  float, float *, float *, double, int);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  float Presa, Cazador;
  float P0 = 1000.0, C0 = 100.0;
  float a = 0.2;
  float b = 0.00015;
  float d = 0.0001;
  float e = 0.1;
  float f = 0.00015;
  fprintf(stderr, "3.2: dt = 0\n");
  lotka_volterra(a, b, d, e, f, P0, C0, &Presa, &Cazador, 1.0, 100000);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movss  0xede(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  0xecd(%rip),%xmm0
movss  %xmm0,-0x20(%rbp)
movss  0xebc(%rip),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  0xea3(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  0xe9e(%rip),%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  0xe8d(%rip),%xmm0
movss  %xmm0,-0x30(%rbp)
movss  0xe7c(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
mov    0x2e48(%rip),%rax
mov    (%rax),%edi
lea    0xe7f(%rip),%rsi
call   1030 <fprintf@plt>
movss  -0x24(%rbp),%xmm0
movss  -0x28(%rbp),%xmm1
movss  -0x2c(%rbp),%xmm2
movss  -0x30(%rbp),%xmm3
movss  -0x34(%rbp),%xmm4
movss  -0x1c(%rbp),%xmm5
movss  -0x20(%rbp),%xmm6
lea    -0x14(%rbp),%rdi
lea    -0x18(%rbp),%rsi
movsd  0xe27(%rip),%xmm7
mov    $0x186a0,%edx
call   1040 <lotka_volterra@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xeef(%rip),%rsi
call   1030 <fprintf@plt>
movss  0xec2(%rip),%xmm0
movss  0xebe(%rip),%xmm2
movss  0xeba(%rip),%xmm3
movss  0xeb6(%rip),%xmm1
movss  0xeb2(%rip),%xmm5
movss  0xeae(%rip),%xmm6
lea    0x4(%rsp),%rdi
mov    %rsp,%rsi
movsd  0xea2(%rip),%xmm7
movaps %xmm1,%xmm4
mov    $0x186a0,%edx
call   1040 <lotka_volterra@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [13 x i8] c"3.2: dt = 0\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store float 1.000000e+03, float* %8
store float 1.000000e+02, float* %9
store float 0x3FC99999A0000000, float* %10
store float 0x3F23A92A40000000, float* %11
store float 0x3F1A36E2E0000000, float* %12
store float 0x3FB99999A0000000, float* %13
store float 0x3F23A92A40000000, float* %14
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%17 = load float, float* %10
%18 = load float, float* %11
%19 = load float, float* %12
%20 = load float, float* %13
%21 = load float, float* %14
%22 = load float, float* %8
%23 = load float, float* %9
%24 = call i32 @lotka_volterra(float %17, float %18, float %19, float %20, float %21, float %22, float %23, float* %6, float* %7, double 1.000000e+00, i32 100000)
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [13 x i8] c"3.2: dt = 0\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca float
%4 = alloca float
%5 = bitcast float* %3 to i8*
%6 = bitcast float* %4 to i8*
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @lotka_volterra(float 0x3FC99999A0000000, float 0x3F23A92A40000000, float 0x3F1A36E2E0000000, float 0x3FB99999A0000000, float 0x3F23A92A40000000, float 1.000000e+03, float 1.000000e+02, float* %3, float* %4, double 1.000000e+00, i32 100000)
ret i32 0
}