#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*/ CG_Printf(char *, ...);
void Cmd_WP_DumpFlags(void) {
  CG_Printf("Waypoint Flags :\n\n");
  CG_Printf("Flag         : %i (CAMP)\n", 0x00000001);
  CG_Printf(
      "Description  : Marks Waypoint as a good Camp Spot for the Bot.\n\n");
  CG_Printf("Flag         : %i (DOOR)\n", 0x00000008);
  CG_Printf(
      "Description  : Should be set if Waypoint is near to a door entity.\n\n");
  CG_Printf("Flag         : %i (MG42)\n", 0x00000040);
  CG_Printf(
      "Description  : Should be set if Waypoint is near a MG42 entity.\n\n");
  CG_Printf("Flag         : %i (Axis Docs Deliver)\n", 0x00000080);
  CG_Printf("Description  : Bot will head towards this waypoint when having "
            "the allies' docs.\n\n");
  CG_Printf("Flag         : %i (Axis Docs Deliver)\n", 0x00000100);
  CG_Printf("Description  : Bot will head towards this waypoint when having "
            "the axis' docs.\n\n");
  CG_Printf("Path Flags :\n\n");
  CG_Printf("Flag         : %i (DUCK)\n", 0x00000001);
  CG_Printf(
      "Description  : Bot will duck when moving on a Path with this flag.\n\n");
  CG_Printf("Flag         : %i (JUMP)\n", 0x00000004);
  CG_Printf(
      "Description  : Bot will jump when moving on a Path with this flag.\n\n");
  CG_Printf("Flag         : %i (JUMP)\n", 0x00000008);
  CG_Printf(
      "Description  : Bot will walk when moving on a Path with this flag.\n\n");
  CG_Printf("Flag         : %i (BLOCKED)\n", 0x00000010);
  CG_Printf("Description  : Refer to the Map Manual.\n\n");
  CG_Printf("Flag         : %i (LADDER)\n", 0x00000020);
  CG_Printf("               Ladder Paths need this flag.\n\n");
}


x86 assembly (clang, -O0):
<Cmd_WP_DumpFlags>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xeea(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf24(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf62(%rip),%rdi
mov    $0x40,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf69(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf9d(%rip),%rdi
mov    $0x80,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xfb1(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xf7c(%rip),%rdi
mov    $0x100,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0xfe3(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x1026(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x1027(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x102e(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x1065(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x106c(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x1044(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x1090(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x10c7(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x10d1(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x10ed(%rip),%rdi
mov    $0x20,%esi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
lea    0x10f6(%rip),%rdi
mov    $0x0,%al
call   1030 <CG_Printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cmd_WP_DumpFlags>:
push   %rbx
lea    0xee8(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xeed(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xef4(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xf27(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xf2e(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xf65(%rip),%rdi
mov    $0x40,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xf6c(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xfa0(%rip),%rbx
mov    %rbx,%rdi
mov    $0x80,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xfb1(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
mov    %rbx,%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0xfe7(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x102a(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x102b(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x1032(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x1069(%rip),%rbx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x106d(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x1095(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x10cc(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x10d6(%rip),%rdi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x10f2(%rip),%rdi
mov    $0x20,%esi
xor    %eax,%eax
call   1030 <CG_Printf@plt>
lea    0x10fb(%rip),%rdi
xor    %eax,%eax
pop    %rbx
jmp    1030 <CG_Printf@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"Waypoint Flags :\0A\0A\00"
@.str.1 = [26 x i8] c"Flag : %i (CAMP)\0A\00"
@.str.2 = [65 x i8] c"Description : Marks Waypoint as a good Camp Spot for the Bot.\0A\0A\00"
@.str.3 = [26 x i8] c"Flag : %i (DOOR)\0A\00"
@.str.4 = [69 x i8] c"Description : Should be set if Waypoint is near to a door entity.\0A\0A\00"
@.str.5 = [26 x i8] c"Flag : %i (MG42)\0A\00"
@.str.6 = [66 x i8] c"Description : Should be set if Waypoint is near a MG42 entity.\0A\0A\00"
@.str.7 = [39 x i8] c"Flag : %i (Axis Docs Deliver)\0A\00"
@.str.8 = [83 x i8] c"Description : Bot will head towards this waypoint when having the allies' docs.\0A\0A\00"
@.str.9 = [81 x i8] c"Description : Bot will head towards this waypoint when having the axis' docs.\0A\0A\00"
@.str.10 = [15 x i8] c"Path Flags :\0A\0A\00"
@.str.11 = [26 x i8] c"Flag : %i (DUCK)\0A\00"
@.str.12 = [69 x i8] c"Description : Bot will duck when moving on a Path with this flag.\0A\0A\00"
@.str.13 = [26 x i8] c"Flag : %i (JUMP)\0A\00"
@.str.14 = [69 x i8] c"Description : Bot will jump when moving on a Path with this flag.\0A\0A\00"
@.str.15 = [69 x i8] c"Description : Bot will walk when moving on a Path with this flag.\0A\0A\00"
@.str.16 = [29 x i8] c"Flag : %i (BLOCKED)\0A\00"
@.str.17 = [42 x i8] c"Description : Refer to the Map Manual.\0A\0A\00"
@.str.18 = [28 x i8] c"Flag : %i (LADDER)\0A\00"
@.str.19 = [46 x i8] c" Ladder Paths need this flag.\0A\0A\00"
define void @Cmd_WP_DumpFlags() {
%1 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 1)
%3 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 8)
%5 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0), i32 64)
%7 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 128)
%9 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 256)
%11 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0), i32 1)
%14 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i32 4)
%16 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i32 8)
%18 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i32 16)
%20 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), i32 32)
%22 = call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"Waypoint Flags :\0A\0A\00"
@.str.1 = [26 x i8] c"Flag : %i (CAMP)\0A\00"
@.str.2 = [65 x i8] c"Description : Marks Waypoint as a good Camp Spot for the Bot.\0A\0A\00"
@.str.3 = [26 x i8] c"Flag : %i (DOOR)\0A\00"
@.str.4 = [69 x i8] c"Description : Should be set if Waypoint is near to a door entity.\0A\0A\00"
@.str.5 = [26 x i8] c"Flag : %i (MG42)\0A\00"
@.str.6 = [66 x i8] c"Description : Should be set if Waypoint is near a MG42 entity.\0A\0A\00"
@.str.7 = [39 x i8] c"Flag : %i (Axis Docs Deliver)\0A\00"
@.str.8 = [83 x i8] c"Description : Bot will head towards this waypoint when having the allies' docs.\0A\0A\00"
@.str.9 = [81 x i8] c"Description : Bot will head towards this waypoint when having the axis' docs.\0A\0A\00"
@.str.10 = [15 x i8] c"Path Flags :\0A\0A\00"
@.str.11 = [26 x i8] c"Flag : %i (DUCK)\0A\00"
@.str.12 = [69 x i8] c"Description : Bot will duck when moving on a Path with this flag.\0A\0A\00"
@.str.13 = [26 x i8] c"Flag : %i (JUMP)\0A\00"
@.str.14 = [69 x i8] c"Description : Bot will jump when moving on a Path with this flag.\0A\0A\00"
@.str.15 = [69 x i8] c"Description : Bot will walk when moving on a Path with this flag.\0A\0A\00"
@.str.16 = [29 x i8] c"Flag : %i (BLOCKED)\0A\00"
@.str.17 = [42 x i8] c"Description : Refer to the Map Manual.\0A\0A\00"
@.str.18 = [28 x i8] c"Flag : %i (LADDER)\0A\00"
@.str.19 = [46 x i8] c" Ladder Paths need this flag.\0A\0A\00"
define void @Cmd_WP_DumpFlags() {
%1 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 1)
%3 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 8)
%5 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0), i32 64)
%7 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 128)
%9 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 256)
%11 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.9, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%13 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0), i32 1)
%14 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i32 4)
%16 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.14, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i32 8)
%18 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.15, i64 0, i64 0))
%19 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i32 16)
%20 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.17, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), i32 32)
%22 = tail call i32 (i8*, ...) @CG_Printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.19, i64 0, i64 0))
ret void
}