#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_HIV(float *, float *);
int /*<<< orphan*/ print_vector_(int, float *, char *);
void hiv(void) {
  float X[13] = {0.3f, 1.2f, 0.7f, 3.3f, 0.4f, 0.7f, 1.1f,
                 0.5f, 3.3f, 0.2f, 1.4f, 0.1f, 3.7f};
  float Y[5 * 4] = {0.0f};
  fwd_HIV(X, Y);
  do {
    print_vector_(5, Y, "Y");
  } while (0);
}


x86 assembly (clang, -O0):
<hiv>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
lea    -0x40(%rbp),%rdi
lea    0xeaa(%rip),%rsi
mov    $0x34,%edx
call   1050 <memcpy@plt>
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x50,%edx
call   1030 <memset@plt>
lea    -0x40(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1040 <fwd_HIV@plt>
lea    -0x90(%rbp),%rsi
mov    $0x5,%edi
lea    0xe9e(%rip),%rdx
call   1060 <print_vector_@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hiv>:
push   %rbx
sub    $0x90,%rsp
mov    0xf02(%rip),%eax
mov    %eax,0x30(%rsp)
movaps 0xee7(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xecb(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xeaf(%rip),%xmm0
movaps %xmm0,(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
mov    %rsp,%rdi
lea    0x40(%rsp),%rbx
mov    %rbx,%rsi
call   1030 <fwd_HIV@plt>
lea    0xea9(%rip),%rdx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1040 <print_vector_@plt>
add    $0x90,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.hiv.X = [13 x float] [float 0x3FD3333340000000, float 0x3FF3333340000000, float 0x3FE6666660000000, float 0x400A666660000000, float 0x3FD99999A0000000, float 0x3FE6666660000000, float 0x3FF19999A0000000, float 5.000000e-01, float 0x400A666660000000, float 0x3FC99999A0000000, float 0x3FF6666660000000, float 0x3FB99999A0000000, float 0x400D9999A0000000]
@.str = [2 x i8] c"Y\00"
define void @hiv() {
%1 = alloca [13 x float]
%2 = alloca [20 x float]
%3 = bitcast [13 x float]* %1 to i8*
%4 = bitcast [20 x float]* %2 to i8*
%5 = getelementptr inbounds [13 x float], [13 x float]* %1, i64 0, i64 0
%6 = getelementptr inbounds [20 x float], [20 x float]* %2, i64 0, i64 0
%7 = call i32 @fwd_HIV(float* %5, float* %6)
br label %8
8: ; preds = %0
%9 = getelementptr inbounds [20 x float], [20 x float]* %2, i64 0, i64 0
%10 = call i32 @print_vector_(i32 5, 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.hiv.X = [13 x float] [float 0x3FD3333340000000, float 0x3FF3333340000000, float 0x3FE6666660000000, float 0x400A666660000000, float 0x3FD99999A0000000, float 0x3FE6666660000000, float 0x3FF19999A0000000, float 5.000000e-01, float 0x400A666660000000, float 0x3FC99999A0000000, float 0x3FF6666660000000, float 0x3FB99999A0000000, float 0x400D9999A0000000]
@.str = [2 x i8] c"Y\00"
define void @hiv() {
%1 = alloca [13 x float]
%2 = alloca [20 x float]
%3 = bitcast [13 x float]* %1 to i8*
%4 = bitcast [20 x float]* %2 to i8*
%5 = getelementptr inbounds [13 x float], [13 x float]* %1, i64 0, i64 0
%6 = getelementptr inbounds [20 x float], [20 x float]* %2, i64 0, i64 0
%7 = call i32 @fwd_HIV(float* %5, float* %6)
%8 = call i32 @print_vector_(i32 5, float* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}