#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);
int spg_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) {
  return get_symmetry_with_collinear_spin(
      rotation, translation, equivalent_atoms, max_size, lattice, position,
      types, spins, num_atom, symprec, -1.0);
}


x86 assembly (clang, -O0):
<spg_get_symmetry_with_collinear_spin>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%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)
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  0xe92(%rip),%xmm1
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1030 <get_symmetry_with_collinear_spin@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<spg_get_symmetry_with_collinear_spin>:
movsd  0xee8(%rip),%xmm1
jmp    1030 <get_symmetry_with_collinear_spin@plt>

LLVM IR (-O0):
define i32 @spg_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) {
%11 = alloca [3 x [3 x i32]]*
%12 = alloca [3 x double]*
%13 = alloca i32*
%14 = alloca i32
%15 = alloca [3 x double]*
%16 = alloca [3 x double]*
%17 = alloca i32*
%18 = alloca double*
%19 = alloca i32
%20 = alloca double
store [3 x [3 x i32]]* %0, [3 x [3 x i32]]** %11
store [3 x double]* %1, [3 x double]** %12
store i32* %2, i32** %13
store i32 %3, i32* %14
store [3 x double]* %4, [3 x double]** %15
store [3 x double]* %5, [3 x double]** %16
store i32* %6, i32** %17
store double* %7, double** %18
store i32 %8, i32* %19
store double %9, double* %20
%21 = load [3 x [3 x i32]]*, [3 x [3 x i32]]** %11
%22 = bitcast [3 x [3 x i32]]* %21 to i32***
%23 = load [3 x double]*, [3 x double]** %12
%24 = bitcast [3 x double]* %23 to double**
%25 = load i32*, i32** %13
%26 = load i32, i32* %14
%27 = load [3 x double]*, [3 x double]** %15
%28 = bitcast [3 x double]* %27 to double**
%29 = load [3 x double]*, [3 x double]** %16
%30 = bitcast [3 x double]* %29 to double**
%31 = load i32*, i32** %17
%32 = load double*, double** %18
%33 = load i32, i32* %19
%34 = load double, double* %20
%35 = call i32 @get_symmetry_with_collinear_spin(i32*** %22, double** %24, i32* %25, i32 %26, double** %28, double** %30, i32* %31, double* %32, i32 %33, double %34, double -1.000000e+00)
ret i32 %35
}

LLVM IR (-O2):
define i32 @spg_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) {
%11 = bitcast [3 x [3 x i32]]* %0 to i32***
%12 = bitcast [3 x double]* %1 to double**
%13 = bitcast [3 x double]* %4 to double**
%14 = bitcast [3 x double]* %5 to double**
%15 = tail call i32 @get_symmetry_with_collinear_spin(i32*** %11, double** %12, i32* %2, i32 %3, double** %13, double** %14, i32* %6, double* %7, i32 %8, double %9, double -1.000000e+00)
ret i32 %15
}