#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 *, float, int);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  float Presa, Cazador;
  float P0 = 1000, C0 = 100;
  float a = 0.1;
  float b = 0.1;
  float d = 0.1;
  float e = 0.1;
  float f = 0.1;
  float dt = 0.001;
  fprintf(stderr, "3.2: dt = 0\n");
  lotka_volterra(a, b, d, e, f, P0, C0, &Presa, &Cazador, dt, 206100);
  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  0xece(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  0xebd(%rip),%xmm0
movss  %xmm0,-0x20(%rbp)
movss  0xeac(%rip),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  0xe9f(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  0xe92(%rip),%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  0xe85(%rip),%xmm0
movss  %xmm0,-0x30(%rbp)
movss  0xe78(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  0xe67(%rip),%xmm0
movss  %xmm0,-0x38(%rbp)
mov    0x2e3b(%rip),%rax
mov    (%rax),%edi
lea    0xe62(%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
movss  -0x38(%rbp),%xmm7
lea    -0x14(%rbp),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x32514,%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    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
movss  0xec2(%rip),%xmm0
movss  0xebe(%rip),%xmm5
movss  0xeba(%rip),%xmm6
lea    0x4(%rsp),%rdi
mov    %rsp,%rsi
movss  0xeae(%rip),%xmm7
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
movaps %xmm0,%xmm3
movaps %xmm0,%xmm4
mov    $0x32514,%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
%15 = 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 0x3FB99999A0000000, float* %10
store float 0x3FB99999A0000000, float* %11
store float 0x3FB99999A0000000, float* %12
store float 0x3FB99999A0000000, float* %13
store float 0x3FB99999A0000000, float* %14
store float 0x3F50624DE0000000, float* %15
%16 = load i32, i32* @stderr
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%18 = load float, float* %10
%19 = load float, float* %11
%20 = load float, float* %12
%21 = load float, float* %13
%22 = load float, float* %14
%23 = load float, float* %8
%24 = load float, float* %9
%25 = load float, float* %15
%26 = call i32 @lotka_volterra(float %18, float %19, float %20, float %21, float %22, float %23, float %24, float* %6, float* %7, float %25, i32 206100)
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 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 1.000000e+03, float 1.000000e+02, float* %3, float* %4, float 0x3F50624DE0000000, i32 206100)
ret i32 0
}