#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 pstruct {
  int dummy;
};
struct f_struct {
  int dummy;
};
struct dyn_string_str {
  int dummy;
};
struct annot_str {
  int dummy;
};
struct a_struct {
  int dummy;
};
struct a_res_str {
  int dummy;
};

/* Variables and functions */
int calc_id(unsigned char const *, int, unsigned char const *, int,
            struct a_struct *, struct a_res_str *, struct pstruct *,
            struct annot_str const *, struct annot_str const *, int *,
            struct dyn_string_str *, struct f_struct *);
int calc_idd(const unsigned char *aa0, int n0, const unsigned char *aa1, int n1,
             struct a_struct *aln, struct a_res_str *a_res,
             struct pstruct *ppst, const struct annot_str *annot0_p,
             const struct annot_str *annot1_p, int *score_delta,
             struct dyn_string_str *annot_var_dyn, struct f_struct *f_str) {
  return calc_id(aa0, n0, aa1, n1, aln, a_res, ppst, annot0_p, annot1_p,
                 score_delta, annot_var_dyn, f_str);
}


x86 assembly (clang, -O0):
<calc_idd>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x68,%rsp
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x20(%rbp)
mov    %esi,-0x24(%rbp)
mov    %rdx,-0x30(%rbp)
mov    %ecx,-0x34(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x24(%rbp),%esi
mov    -0x30(%rbp),%rdx
mov    -0x34(%rbp),%ecx
mov    -0x40(%rbp),%r8
mov    -0x48(%rbp),%r9
mov    0x10(%rbp),%r15
mov    0x18(%rbp),%r14
mov    0x20(%rbp),%rbx
mov    0x28(%rbp),%r11
mov    0x30(%rbp),%r10
mov    0x38(%rbp),%rax
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1030 <calc_id@plt>
add    $0x68,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<calc_idd>:
jmp    1030 <calc_id@plt>

LLVM IR (-O0):
%struct.a_struct = type { i32 }
%struct.a_res_str = type { i32 }
%struct.pstruct = type { i32 }
%struct.annot_str = type { i32 }
%struct.dyn_string_str = type { i32 }
%struct.f_struct = type { i32 }
define i32 @calc_idd(i8* %0, i32 %1, i8* %2, i32 %3, %struct.a_struct* %4, %struct.a_res_str* %5, %struct.pstruct* %6, %struct.annot_str* %7, %struct.annot_str* %8, i32* %9, %struct.dyn_string_str* %10, %struct.f_struct* %11) {
%13 = alloca i8*
%14 = alloca i32
%15 = alloca i8*
%16 = alloca i32
%17 = alloca %struct.a_struct*
%18 = alloca %struct.a_res_str*
%19 = alloca %struct.pstruct*
%20 = alloca %struct.annot_str*
%21 = alloca %struct.annot_str*
%22 = alloca i32*
%23 = alloca %struct.dyn_string_str*
%24 = alloca %struct.f_struct*
store i8* %0, i8** %13
store i32 %1, i32* %14
store i8* %2, i8** %15
store i32 %3, i32* %16
store %struct.a_struct* %4, %struct.a_struct** %17
store %struct.a_res_str* %5, %struct.a_res_str** %18
store %struct.pstruct* %6, %struct.pstruct** %19
store %struct.annot_str* %7, %struct.annot_str** %20
store %struct.annot_str* %8, %struct.annot_str** %21
store i32* %9, i32** %22
store %struct.dyn_string_str* %10, %struct.dyn_string_str** %23
store %struct.f_struct* %11, %struct.f_struct** %24
%25 = load i8*, i8** %13
%26 = load i32, i32* %14
%27 = load i8*, i8** %15
%28 = load i32, i32* %16
%29 = load %struct.a_struct*, %struct.a_struct** %17
%30 = load %struct.a_res_str*, %struct.a_res_str** %18
%31 = load %struct.pstruct*, %struct.pstruct** %19
%32 = load %struct.annot_str*, %struct.annot_str** %20
%33 = load %struct.annot_str*, %struct.annot_str** %21
%34 = load i32*, i32** %22
%35 = load %struct.dyn_string_str*, %struct.dyn_string_str** %23
%36 = load %struct.f_struct*, %struct.f_struct** %24
%37 = call i32 @calc_id(i8* %25, i32 %26, i8* %27, i32 %28, %struct.a_struct* %29, %struct.a_res_str* %30, %struct.pstruct* %31, %struct.annot_str* %32, %struct.annot_str* %33, i32* %34, %struct.dyn_string_str* %35, %struct.f_struct* %36)
ret i32 %37
}

LLVM IR (-O2):
%struct.a_struct = type { i32 }
%struct.a_res_str = type { i32 }
%struct.pstruct = type { i32 }
%struct.annot_str = type { i32 }
%struct.dyn_string_str = type { i32 }
%struct.f_struct = type { i32 }
define i32 @calc_idd(i8* %0, i32 %1, i8* %2, i32 %3, %struct.a_struct* %4, %struct.a_res_str* %5, %struct.pstruct* %6, %struct.annot_str* %7, %struct.annot_str* %8, i32* %9, %struct.dyn_string_str* %10, %struct.f_struct* %11) {
%13 = tail call i32 @calc_id(i8* %0, i32 %1, i8* %2, i32 %3, %struct.a_struct* %4, %struct.a_res_str* %5, %struct.pstruct* %6, %struct.annot_str* %7, %struct.annot_str* %8, i32* %9, %struct.dyn_string_str* %10, %struct.f_struct* %11)
ret i32 %13
}