#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 termpair {
  int dummy;
};
struct termp {
  int dummy;
};
struct roff_node {
  int dummy;
};
struct roff_meta {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ synopsis_pre(struct termp *, struct roff_node *);
int termp_bold_pre(struct termp *, struct termpair *, struct roff_meta const *,
                   struct roff_node *);
int termp_fd_pre(struct termp *p, struct termpair *pair,
                 const struct roff_meta *meta, struct roff_node *n) {
  synopsis_pre(p, n);
  return termp_bold_pre(p, pair, meta, n);
}


x86 assembly (clang, -O0):
<termp_fd_pre>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <synopsis_pre@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
call   1040 <termp_bold_pre@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<termp_fd_pre>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rcx,%r12
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
mov    %rcx,%rsi
call   1030 <synopsis_pre@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
mov    %r12,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <termp_bold_pre@plt>

LLVM IR (-O0):
%struct.termp = type { i32 }
%struct.termpair = type { i32 }
%struct.roff_meta = type { i32 }
%struct.roff_node = type { i32 }
define i32 @termp_fd_pre(%struct.termp* %0, %struct.termpair* %1, %struct.roff_meta* %2, %struct.roff_node* %3) {
%5 = alloca %struct.termp*
%6 = alloca %struct.termpair*
%7 = alloca %struct.roff_meta*
%8 = alloca %struct.roff_node*
store %struct.termp* %0, %struct.termp** %5
store %struct.termpair* %1, %struct.termpair** %6
store %struct.roff_meta* %2, %struct.roff_meta** %7
store %struct.roff_node* %3, %struct.roff_node** %8
%9 = load %struct.termp*, %struct.termp** %5
%10 = load %struct.roff_node*, %struct.roff_node** %8
%11 = call i32 @synopsis_pre(%struct.termp* %9, %struct.roff_node* %10)
%12 = load %struct.termp*, %struct.termp** %5
%13 = load %struct.termpair*, %struct.termpair** %6
%14 = load %struct.roff_meta*, %struct.roff_meta** %7
%15 = load %struct.roff_node*, %struct.roff_node** %8
%16 = call i32 @termp_bold_pre(%struct.termp* %12, %struct.termpair* %13, %struct.roff_meta* %14, %struct.roff_node* %15)
ret i32 %16
}

LLVM IR (-O2):
%struct.termp = type { i32 }
%struct.termpair = type { i32 }
%struct.roff_meta = type { i32 }
%struct.roff_node = type { i32 }
define i32 @termp_fd_pre(%struct.termp* %0, %struct.termpair* %1, %struct.roff_meta* %2, %struct.roff_node* %3) {
%5 = tail call i32 @synopsis_pre(%struct.termp* %0, %struct.roff_node* %3)
%6 = tail call i32 @termp_bold_pre(%struct.termp* %0, %struct.termpair* %1, %struct.roff_meta* %2, %struct.roff_node* %3)
ret i32 %6
}