#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*/ printf(char *);
void print_help() {
  printf("pause    :\tclient p s\n");
  printf("quit     :\tclient q s\n");
  printf("seek +10s:\tclient f s\n");
  printf("seek -10s:\tclient r s\n");
  printf("mute     :\tclient m s\n");
  printf("volume  +:\tclient \\* s\n");
  printf("volume  -:\tclient / s\n");
  printf("audio switch:\tclient a s\n");
  printf("subtitle up:\tclient s1 s\n");
  printf("subtitle down:\tclient s2 s\n");
  printf("cmd      :\tclient c s \"str\"\n");
  printf("get duration:\tclient d g\n");
  printf("get cur pos :\tclient c g 0\n");
  printf("get cur pos callback on:\tclient c g 1\n");
  printf("get cur pos callback off:\tclient c g 2\n");
  printf("get buffering status :\tclient f g 0\n");
  printf("get buffering status callback on:\tclient f g 1\n");
  printf("get buffering status callback off:\tclient f g 2\n");
  printf("get status  :\tclient p g\n");
  printf("get cur volume:\tclient v g\n");
  return;
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
call   1030 <printf@plt>
lea    0xf41(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
call   1030 <printf@plt>
lea    0x1002(%rip),%rdi
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
call   1030 <printf@plt>
lea    0x1035(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
lea    0xefc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf06(%rip),%rdi
call   1030 <puts@plt>
lea    0xf10(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf25(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xf58(%rip),%rdi
call   1030 <puts@plt>
lea    0xf68(%rip),%rdi
call   1030 <puts@plt>
lea    0xf75(%rip),%rdi
call   1030 <puts@plt>
lea    0xf84(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1018(%rip),%rdi
call   1030 <puts@plt>
lea    0x1025(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"pause :\09client p s\0A\00"
@.str.1 = [23 x i8] c"quit :\09client q s\0A\00"
@.str.2 = [23 x i8] c"seek +10s:\09client f s\0A\00"
@.str.3 = [23 x i8] c"seek -10s:\09client r s\0A\00"
@.str.4 = [23 x i8] c"mute :\09client m s\0A\00"
@.str.5 = [24 x i8] c"volume +:\09client \\* s\0A\00"
@.str.6 = [23 x i8] c"volume -:\09client / s\0A\00"
@.str.7 = [26 x i8] c"audio switch:\09client a s\0A\00"
@.str.8 = [26 x i8] c"subtitle up:\09client s1 s\0A\00"
@.str.9 = [28 x i8] c"subtitle down:\09client s2 s\0A\00"
@.str.10 = [29 x i8] c"cmd :\09client c s \22str\22\0A\00"
@.str.11 = [26 x i8] c"get duration:\09client d g\0A\00"
@.str.12 = [28 x i8] c"get cur pos :\09client c g 0\0A\00"
@.str.13 = [39 x i8] c"get cur pos callback on:\09client c g 1\0A\00"
@.str.14 = [40 x i8] c"get cur pos callback off:\09client c g 2\0A\00"
@.str.15 = [37 x i8] c"get buffering status :\09client f g 0\0A\00"
@.str.16 = [48 x i8] c"get buffering status callback on:\09client f g 1\0A\00"
@.str.17 = [49 x i8] c"get buffering status callback off:\09client f g 2\0A\00"
@.str.18 = [26 x i8] c"get status :\09client p g\0A\00"
@.str.19 = [28 x i8] c"get cur volume:\09client v g\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [22 x i8] c"pause :\09client p s\00"
@str.20 = [22 x i8] c"quit :\09client q s\00"
@str.21 = [22 x i8] c"seek +10s:\09client f s\00"
@str.22 = [22 x i8] c"seek -10s:\09client r s\00"
@str.23 = [22 x i8] c"mute :\09client m s\00"
@str.24 = [23 x i8] c"volume +:\09client \\* s\00"
@str.25 = [22 x i8] c"volume -:\09client / s\00"
@str.26 = [25 x i8] c"audio switch:\09client a s\00"
@str.27 = [25 x i8] c"subtitle up:\09client s1 s\00"
@str.28 = [27 x i8] c"subtitle down:\09client s2 s\00"
@str.29 = [28 x i8] c"cmd :\09client c s \22str\22\00"
@str.30 = [25 x i8] c"get duration:\09client d g\00"
@str.31 = [27 x i8] c"get cur pos :\09client c g 0\00"
@str.32 = [38 x i8] c"get cur pos callback on:\09client c g 1\00"
@str.33 = [39 x i8] c"get cur pos callback off:\09client c g 2\00"
@str.34 = [36 x i8] c"get buffering status :\09client f g 0\00"
@str.35 = [47 x i8] c"get buffering status callback on:\09client f g 1\00"
@str.36 = [48 x i8] c"get buffering status callback off:\09client f g 2\00"
@str.37 = [25 x i8] c"get status :\09client p g\00"
@str.38 = [27 x i8] c"get cur volume:\09client v g\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.20, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.21, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.22, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.23, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.24, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.25, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.26, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.27, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.28, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.29, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.30, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.31, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.32, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.33, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.34, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.35, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.36, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.37, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.38, i64 0, i64 0))
ret void
}