#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 get_symmetry_with_collinear_spin(int ***, double **, int *, int const,
                                     double **, double **, int const *,
                                     double const *, int const, double const,
                                     double const);
int spgat_get_symmetry_with_collinear_spin(
    int rotation[][3][3], double translation[][3], int equivalent_atoms[],
    const int max_size, double lattice[3][3], double position[][3],
    const int types[], const double spins[], const int num_atom,
    const double symprec, const double angle_tolerance) {
  return get_symmetry_with_collinear_spin(
      rotation, translation, equivalent_atoms, max_size, lattice, position,
      types, spins, num_atom, symprec, angle_tolerance);
}


x86 assembly (clang, -O0):
<spgat_get_symmetry_with_collinear_spin>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
movsd  %xmm1,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
mov    0x10(%rbp),%r11
mov    0x18(%rbp),%r10
mov    0x20(%rbp),%eax
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1030 <get_symmetry_with_collinear_spin@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<spgat_get_symmetry_with_collinear_spin>:
jmp    1030 <get_symmetry_with_collinear_spin@plt>

LLVM IR (-O0):
define i32 @spgat_get_symmetry_with_collinear_spin([3 x [3 x i32]]* %0, [3 x double]* %1, i32* %2, i32 %3, [3 x double]* %4, [3 x double]* %5, i32* %6, double* %7, i32 %8, double %9, double %10) {
%12 = alloca [3 x [3 x i32]]*
%13 = alloca [3 x double]*
%14 = alloca i32*
%15 = alloca i32
%16 = alloca [3 x double]*
%17 = alloca [3 x double]*
%18 = alloca i32*
%19 = alloca double*
%20 = alloca i32
%21 = alloca double
%22 = alloca double
store [3 x [3 x i32]]* %0, [3 x [3 x i32]]** %12
store [3 x double]* %1, [3 x double]** %13
store i32* %2, i32** %14
store i32 %3, i32* %15
store [3 x double]* %4, [3 x double]** %16
store [3 x double]* %5, [3 x double]** %17
store i32* %6, i32** %18
store double* %7, double** %19
store i32 %8, i32* %20
store double %9, double* %21
store double %10, double* %22
%23 = load [3 x [3 x i32]]*, [3 x [3 x i32]]** %12
%24 = bitcast [3 x [3 x i32]]* %23 to i32***
%25 = load [3 x double]*, [3 x double]** %13
%26 = bitcast [3 x double]* %25 to double**
%27 = load i32*, i32** %14
%28 = load i32, i32* %15
%29 = load [3 x double]*, [3 x double]** %16
%30 = bitcast [3 x double]* %29 to double**
%31 = load [3 x double]*, [3 x double]** %17
%32 = bitcast [3 x double]* %31 to double**
%33 = load i32*, i32** %18
%34 = load double*, double** %19
%35 = load i32, i32* %20
%36 = load double, double* %21
%37 = load double, double* %22
%38 = call i32 @get_symmetry_with_collinear_spin(i32*** %24, double** %26, i32* %27, i32 %28, double** %30, double** %32, i32* %33, double* %34, i32 %35, double %36, double %37)
ret i32 %38
}

LLVM IR (-O2):
define i32 @spgat_get_symmetry_with_collinear_spin([3 x [3 x i32]]* %0, [3 x double]* %1, i32* %2, i32 %3, [3 x double]* %4, [3 x double]* %5, i32* %6, double* %7, i32 %8, double %9, double %10) {
%12 = bitcast [3 x [3 x i32]]* %0 to i32***
%13 = bitcast [3 x double]* %1 to double**
%14 = bitcast [3 x double]* %4 to double**
%15 = bitcast [3 x double]* %5 to double**
%16 = tail call i32 @get_symmetry_with_collinear_spin(i32*** %12, double** %13, i32* %2, i32 %3, double** %14, double** %15, i32* %6, double* %7, i32 %8, double %9, double %10)
ret i32 %16
}