#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_command() {
  printf("----------------------------\n");
  printf("Replay pausing tool\n");
  printf("  	contact Xianzheng if you have any problem\n\n");
  printf("Command list \n");
  printf("r (or run)           :run the process. The process will be fully "
         "replayed unless you set up a break clock by break command;\n");
  printf("c (or continue)      :continue to run the process after a break "
         "clock\n");
  printf("b (or break) [clock] :set up a clock at which the replay process "
         "will pause\n");
  printf("n (or next)   	     :the process will continue to run until "
         "{step_clock} clocks have passed. step_clock is a variable that can "
         "be set by set command;\n");
  printf("s (or set) [step]    :Change the step_clock to be the new value\n");
  printf("h (or help)   	     :Print help information\n");
  printf("q (or quit)          :quit replay pausing tool\n");
  printf("----------------------------\n");
}


x86 assembly (clang, -O0):
<print_command>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
call   1030 <printf@plt>
lea    0xf97(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
call   1030 <printf@plt>
lea    0x109e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f4(%rip),%rdi
call   1030 <printf@plt>
lea    0xe61(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_command>:
push   %rbx
lea    0x1177(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xed9(%rip),%rdi
call   1030 <puts@plt>
lea    0xee1(%rip),%rdi
call   1030 <puts@plt>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xf75(%rip),%rdi
call   1030 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1030 <puts@plt>
lea    0xfef(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ad(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cd(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"----------------------------\0A\00"
@.str.1 = [21 x i8] c"Replay pausing tool\0A\00"
@.str.2 = [47 x i8] c" \09contact Xianzheng if you have any problem\0A\0A\00"
@.str.3 = [15 x i8] c"Command list \0A\00"
@.str.4 = [125 x i8] c"r (or run) :run the process. The process will be fully replayed unless you set up a break clock by break command;\0A\00"
@.str.5 = [71 x i8] c"c (or continue) :continue to run the process after a break clock\0A\00"
@.str.6 = [77 x i8] c"b (or break) [clock] :set up a clock at which the replay process will pause\0A\00"
@.str.7 = [151 x i8] c"n (or next) \09 :the process will continue to run until {step_clock} clocks have passed. step_clock is a variable that can be set by set command;\0A\00"
@.str.8 = [65 x i8] c"s (or set) [step] :Change the step_clock to be the new value\0A\00"
@.str.9 = [45 x i8] c"h (or help) \09 :Print help information\0A\00"
@.str.10 = [48 x i8] c"q (or quit) :quit replay pausing tool\0A\00"
define void @print_command() {
%1 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([125 x i8], [125 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str.11 = [20 x i8] c"Replay pausing tool\00"
@str.12 = [46 x i8] c" \09contact Xianzheng if you have any problem\0A\00"
@str.13 = [14 x i8] c"Command list \00"
@str.14 = [124 x i8] c"r (or run) :run the process. The process will be fully replayed unless you set up a break clock by break command;\00"
@str.15 = [70 x i8] c"c (or continue) :continue to run the process after a break clock\00"
@str.16 = [76 x i8] c"b (or break) [clock] :set up a clock at which the replay process will pause\00"
@str.17 = [150 x i8] c"n (or next) \09 :the process will continue to run until {step_clock} clocks have passed. step_clock is a variable that can be set by set command;\00"
@str.18 = [64 x i8] c"s (or set) [step] :Change the step_clock to be the new value\00"
@str.19 = [44 x i8] c"h (or help) \09 :Print help information\00"
@str.20 = [47 x i8] c"q (or quit) :quit replay pausing tool\00"
@str.21 = [29 x i8] c"----------------------------\00"
define void @print_command() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.21, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([124 x i8], [124 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([150 x i8], [150 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.20, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.21, i64 0, i64 0))
ret void
}