#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 event_callback_entry {
  int dummy;
};
struct callback_schedule_entry {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ schedule_callback8(struct event_callback_entry *,
                                      struct callback_schedule_entry **,
                                      char const *, double, double, double,
                                      double, double, double, double, double);
void schedule_callback4(struct event_callback_entry *e,
                        struct callback_schedule_entry **s, const char *event,
                        double param1, double param2, double param3,
                        double param4) {
  schedule_callback8(e, s, event, param1, param2, param3, param4, 0.0, 0.0, 0.0,
                     0.0);
}


x86 assembly (clang, -O0):
<schedule_callback4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
movsd  %xmm2,-0x30(%rbp)
movsd  %xmm3,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
xorps  %xmm7,%xmm7
movaps %xmm7,%xmm4
movaps %xmm7,%xmm5
movaps %xmm7,%xmm6
call   1030 <schedule_callback8@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<schedule_callback4>:
xorps  %xmm4,%xmm4
xorps  %xmm5,%xmm5
xorps  %xmm6,%xmm6
xorps  %xmm7,%xmm7
jmp    1030 <schedule_callback8@plt>

LLVM IR (-O0):
%struct.event_callback_entry = type { i32 }
%struct.callback_schedule_entry = type { i32 }
define void @schedule_callback4(%struct.event_callback_entry* %0, %struct.callback_schedule_entry** %1, i8* %2, double %3, double %4, double %5, double %6) {
%8 = alloca %struct.event_callback_entry*
%9 = alloca %struct.callback_schedule_entry**
%10 = alloca i8*
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
store %struct.event_callback_entry* %0, %struct.event_callback_entry** %8
store %struct.callback_schedule_entry** %1, %struct.callback_schedule_entry*** %9
store i8* %2, i8** %10
store double %3, double* %11
store double %4, double* %12
store double %5, double* %13
store double %6, double* %14
%15 = load %struct.event_callback_entry*, %struct.event_callback_entry** %8
%16 = load %struct.callback_schedule_entry**, %struct.callback_schedule_entry*** %9
%17 = load i8*, i8** %10
%18 = load double, double* %11
%19 = load double, double* %12
%20 = load double, double* %13
%21 = load double, double* %14
%22 = call i32 @schedule_callback8(%struct.event_callback_entry* %15, %struct.callback_schedule_entry** %16, i8* %17, double %18, double %19, double %20, double %21, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
ret void
}

LLVM IR (-O2):
%struct.event_callback_entry = type { i32 }
%struct.callback_schedule_entry = type { i32 }
define void @schedule_callback4(%struct.event_callback_entry* %0, %struct.callback_schedule_entry** %1, i8* %2, double %3, double %4, double %5, double %6) {
%8 = tail call i32 @schedule_callback8(%struct.event_callback_entry* %0, %struct.callback_schedule_entry** %1, i8* %2, double %3, double %4, double %5, double %6, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
ret void
}