#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*/ crossEntropy(char *, char *, char *, char *, int, int,
                                double *, double *);
void wrapper_crossEntropy(char **R_genotype_file, char **R_missing_data_file,
                          char **R_Q_file, char **R_F_file, int *R_K,
                          int *R_ploidy, double *all_ce, double *masked_ce) {
  crossEntropy(*R_genotype_file, *R_missing_data_file, *R_Q_file, *R_F_file,
               *R_K, *R_ploidy, all_ce, masked_ce);
}


x86 assembly (clang, -O0):
<wrapper_crossEntropy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
mov    -0x18(%rbp),%rax
mov    (%rax),%rdx
mov    -0x20(%rbp),%rax
mov    (%rax),%rcx
mov    -0x28(%rbp),%rax
mov    (%rax),%r8d
mov    -0x30(%rbp),%rax
mov    (%rax),%r9d
mov    0x10(%rbp),%r10
mov    0x18(%rbp),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1030 <crossEntropy@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<wrapper_crossEntropy>:
mov    (%rdi),%rdi
mov    (%rsi),%rsi
mov    (%rdx),%rdx
mov    (%rcx),%rcx
mov    (%r8),%r8d
mov    (%r9),%r9d
jmp    1030 <crossEntropy@plt>

LLVM IR (-O0):
define void @wrapper_crossEntropy(i8** %0, i8** %1, i8** %2, i8** %3, i32* %4, i32* %5, double* %6, double* %7) {
%9 = alloca i8**
%10 = alloca i8**
%11 = alloca i8**
%12 = alloca i8**
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca double*
%16 = alloca double*
store i8** %0, i8*** %9
store i8** %1, i8*** %10
store i8** %2, i8*** %11
store i8** %3, i8*** %12
store i32* %4, i32** %13
store i32* %5, i32** %14
store double* %6, double** %15
store double* %7, double** %16
%17 = load i8**, i8*** %9
%18 = load i8*, i8** %17
%19 = load i8**, i8*** %10
%20 = load i8*, i8** %19
%21 = load i8**, i8*** %11
%22 = load i8*, i8** %21
%23 = load i8**, i8*** %12
%24 = load i8*, i8** %23
%25 = load i32*, i32** %13
%26 = load i32, i32* %25
%27 = load i32*, i32** %14
%28 = load i32, i32* %27
%29 = load double*, double** %15
%30 = load double*, double** %16
%31 = call i32 @crossEntropy(i8* %18, i8* %20, i8* %22, i8* %24, i32 %26, i32 %28, double* %29, double* %30)
ret void
}

LLVM IR (-O2):
define void @wrapper_crossEntropy(i8** nocapture %0, i8** nocapture %1, i8** nocapture %2, i8** nocapture %3, i32* nocapture %4, i32* nocapture %5, double* %6, double* %7) {
%9 = load i8*, i8** %0
%10 = load i8*, i8** %1
%11 = load i8*, i8** %2
%12 = load i8*, i8** %3
%13 = load i32, i32* %4
%14 = load i32, i32* %5
%15 = tail call i32 @crossEntropy(i8* %9, i8* %10, i8* %11, i8* %12, i32 %13, i32 %14, double* %6, double* %7)
ret void
}