#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 /*<<< orphan*/ describe_feature_actions(int);
int /*<<< orphan*/ describe_feature_basic(int);
int /*<<< orphan*/ describe_feature_misc(int);
int /*<<< orphan*/ describe_feature_monster_moves(int);
int /*<<< orphan*/ describe_feature_player_moves(int);
int /*<<< orphan*/ describe_feature_transitions(int);
int /*<<< orphan*/ text_out(char *);
void describe_feature(int f_idx) {
  describe_feature_basic(f_idx);
  describe_feature_player_moves(f_idx);
  describe_feature_monster_moves(f_idx);
  describe_feature_misc(f_idx);
  describe_feature_actions(f_idx);
  describe_feature_transitions(f_idx);
  text_out("\n");
}


x86 assembly (clang, -O0):
<describe_feature>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
call   1060 <describe_feature_basic@plt>
mov    -0x4(%rbp),%edi
call   1090 <describe_feature_player_moves@plt>
mov    -0x4(%rbp),%edi
call   1080 <describe_feature_monster_moves@plt>
mov    -0x4(%rbp),%edi
call   1030 <describe_feature_misc@plt>
mov    -0x4(%rbp),%edi
call   1040 <describe_feature_actions@plt>
mov    -0x4(%rbp),%edi
call   1050 <describe_feature_transitions@plt>
lea    0xe4e(%rip),%rdi
call   1070 <text_out@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<describe_feature>:
push   %rbx
mov    %edi,%ebx
call   1060 <describe_feature_basic@plt>
mov    %ebx,%edi
call   1090 <describe_feature_player_moves@plt>
mov    %ebx,%edi
call   1080 <describe_feature_monster_moves@plt>
mov    %ebx,%edi
call   1030 <describe_feature_misc@plt>
mov    %ebx,%edi
call   1040 <describe_feature_actions@plt>
mov    %ebx,%edi
call   1050 <describe_feature_transitions@plt>
lea    0xe5e(%rip),%rdi
pop    %rbx
jmp    1070 <text_out@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
define void @describe_feature(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = call i32 @describe_feature_basic(i32 %3)
%5 = load i32, i32* %2
%6 = call i32 @describe_feature_player_moves(i32 %5)
%7 = load i32, i32* %2
%8 = call i32 @describe_feature_monster_moves(i32 %7)
%9 = load i32, i32* %2
%10 = call i32 @describe_feature_misc(i32 %9)
%11 = load i32, i32* %2
%12 = call i32 @describe_feature_actions(i32 %11)
%13 = load i32, i32* %2
%14 = call i32 @describe_feature_transitions(i32 %13)
%15 = call i32 @text_out(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"\0A\00"
define void @describe_feature(i32 %0) {
%2 = tail call i32 @describe_feature_basic(i32 %0)
%3 = tail call i32 @describe_feature_player_moves(i32 %0)
%4 = tail call i32 @describe_feature_monster_moves(i32 %0)
%5 = tail call i32 @describe_feature_misc(i32 %0)
%6 = tail call i32 @describe_feature_actions(i32 %0)
%7 = tail call i32 @describe_feature_transitions(i32 %0)
%8 = tail call i32 @text_out(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}