#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_stabilized_reciprocal_mesh(int **, int *, int const *, int const *,
                                   int const, int const, int ***, int const,
                                   double **);
int spg_get_stabilized_reciprocal_mesh(int grid_address[][3], int map[],
                                       const int mesh[3], const int is_shift[3],
                                       const int is_time_reversal,
                                       const int num_rot, int rotations[][3][3],
                                       const int num_q, double qpoints[][3]) {
  return get_stabilized_reciprocal_mesh(grid_address, map, mesh, is_shift,
                                        is_time_reversal, num_rot, rotations,
                                        num_q, qpoints);
}


x86 assembly (clang, -O0):
<spg_get_stabilized_reciprocal_mesh>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x28(%rbp),%r9d
mov    0x10(%rbp),%r11
mov    0x18(%rbp),%r10d
mov    0x20(%rbp),%rax
mov    %r11,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1030 <get_stabilized_reciprocal_mesh@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<spg_get_stabilized_reciprocal_mesh>:
jmp    1030 <get_stabilized_reciprocal_mesh@plt>

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

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