#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*/ fwd_influenza(float *, float *);
int /*<<< orphan*/ print_vector_(int, float *, char *);
void influenza(void) {
  float X[7] = {0.3f, 1.2f, 0.7f, 3.3f, 0.4f, 0.7f, 1.1f};
  float Y[22] = {0.0f};
  fwd_influenza(X, Y);
  do {
    print_vector_(22, Y, "Y");
  } while (0);
}


x86 assembly (clang, -O0):
<influenza>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0xebe(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xebb(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xeb8(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    0xeb6(%rip),%eax
mov    %eax,-0x8(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x58,%edx
call   1030 <memset@plt>
lea    -0x20(%rbp),%rdi
lea    -0x80(%rbp),%rsi
call   1050 <fwd_influenza@plt>
lea    -0x80(%rbp),%rsi
mov    $0x16,%edi
lea    0xe8a(%rip),%rdx
call   1040 <print_vector_@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<influenza>:
push   %rbx
sub    $0x80,%rsp
movups 0xedd(%rip),%xmm0
movups %xmm0,0xc(%rsp)
movaps 0xec5(%rip),%xmm0
movaps %xmm0,(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movq   $0x0,0x70(%rsp)
mov    %rsp,%rdi
lea    0x20(%rsp),%rbx
mov    %rbx,%rsi
call   1040 <fwd_influenza@plt>
lea    0xea1(%rip),%rdx
mov    $0x16,%edi
mov    %rbx,%rsi
call   1030 <print_vector_@plt>
add    $0x80,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.influenza.X = [7 x float] [float 0x3FD3333340000000, float 0x3FF3333340000000, float 0x3FE6666660000000, float 0x400A666660000000, float 0x3FD99999A0000000, float 0x3FE6666660000000, float 0x3FF19999A0000000]
@.str = [2 x i8] c"Y\00"
define void @influenza() {
%1 = alloca [7 x float]
%2 = alloca [22 x float]
%3 = bitcast [7 x float]* %1 to i8*
%4 = bitcast [22 x float]* %2 to i8*
%5 = getelementptr inbounds [7 x float], [7 x float]* %1, i64 0, i64 0
%6 = getelementptr inbounds [22 x float], [22 x float]* %2, i64 0, i64 0
%7 = call i32 @fwd_influenza(float* %5, float* %6)
br label %8
8: ; preds = %0
%9 = getelementptr inbounds [22 x float], [22 x float]* %2, i64 0, i64 0
%10 = call i32 @print_vector_(i32 22, float* %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %11
11: ; preds = %8
ret void
}

LLVM IR (-O2):
@__const.influenza.X = [7 x float] [float 0x3FD3333340000000, float 0x3FF3333340000000, float 0x3FE6666660000000, float 0x400A666660000000, float 0x3FD99999A0000000, float 0x3FE6666660000000, float 0x3FF19999A0000000]
@.str = [2 x i8] c"Y\00"
define void @influenza() {
%1 = alloca [7 x float]
%2 = alloca [22 x float]
%3 = bitcast [7 x float]* %1 to i8*
%4 = bitcast [22 x float]* %2 to i8*
%5 = getelementptr inbounds [7 x float], [7 x float]* %1, i64 0, i64 0
%6 = getelementptr inbounds [22 x float], [22 x float]* %2, i64 0, i64 0
%7 = call i32 @fwd_influenza(float* %5, float* %6)
%8 = call i32 @print_vector_(i32 22, float* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}