#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 */
struct xylo_quincunx {
  int dummy;
};
struct gl_core33 {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ xylo_quincunx_set_pixel_size2fv(struct xylo_quincunx *,
                                                   struct gl_core33 const *,
                                                   float *);
void xylo_quincunx_set_pixel_size(struct xylo_quincunx *quincunx,
                                  struct gl_core33 const *restrict gl,
                                  float x_size, float y_size) {
  float values[] = {x_size, y_size};
  xylo_quincunx_set_pixel_size2fv(quincunx, gl, values);
}


x86 assembly (clang, -O0):
<xylo_quincunx_set_pixel_size>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movss  %xmm0,-0x14(%rbp)
movss  %xmm1,-0x18(%rbp)
movss  -0x14(%rbp),%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
lea    -0x20(%rbp),%rdx
call   1030 <xylo_quincunx_set_pixel_size2fv@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<xylo_quincunx_set_pixel_size>:
push   %rax
movss  %xmm0,(%rsp)
movss  %xmm1,0x4(%rsp)
mov    %rsp,%rdx
call   1030 <xylo_quincunx_set_pixel_size2fv@plt>
pop    %rax
ret

LLVM IR (-O0):
%struct.xylo_quincunx = type { i32 }
%struct.gl_core33 = type { i32 }
define void @xylo_quincunx_set_pixel_size(%struct.xylo_quincunx* %0, %struct.gl_core33* noalias %1, float %2, float %3) {
%5 = alloca %struct.xylo_quincunx*
%6 = alloca %struct.gl_core33*
%7 = alloca float
%8 = alloca float
%9 = alloca [2 x float]
store %struct.xylo_quincunx* %0, %struct.xylo_quincunx** %5
store %struct.gl_core33* %1, %struct.gl_core33** %6
store float %2, float* %7
store float %3, float* %8
%10 = getelementptr inbounds [2 x float], [2 x float]* %9, i64 0, i64 0
%11 = load float, float* %7
store float %11, float* %10
%12 = getelementptr inbounds float, float* %10, i64 1
%13 = load float, float* %8
store float %13, float* %12
%14 = load %struct.xylo_quincunx*, %struct.xylo_quincunx** %5
%15 = load %struct.gl_core33*, %struct.gl_core33** %6
%16 = getelementptr inbounds [2 x float], [2 x float]* %9, i64 0, i64 0
%17 = call i32 @xylo_quincunx_set_pixel_size2fv(%struct.xylo_quincunx* %14, %struct.gl_core33* %15, float* %16)
ret void
}

LLVM IR (-O2):
%struct.xylo_quincunx = type { i32 }
%struct.gl_core33 = type { i32 }
define void @xylo_quincunx_set_pixel_size(%struct.xylo_quincunx* %0, %struct.gl_core33* noalias %1, float %2, float %3) {
%5 = alloca [2 x float]
%6 = bitcast [2 x float]* %5 to i8*
%7 = getelementptr inbounds [2 x float], [2 x float]* %5, i64 0, i64 0
store float %2, float* %7
%8 = getelementptr inbounds [2 x float], [2 x float]* %5, i64 0, i64 1
store float %3, float* %8
%9 = call i32 @xylo_quincunx_set_pixel_size2fv(%struct.xylo_quincunx* %0, %struct.gl_core33* %1, float* %7)
ret void
}