#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_sys_debug_usage(void) {
  printf("\nUsage : uaputl.exe sys_debug <subcmd> [parameter]\n");
  printf("\nSet/Get debug parameter");
  printf("\nsubcmd: used to set/get debug parameters or set user scan");
  printf("\nparameter  :  parameters for specific subcmd");
  printf("\n		If no [parameter] are given, it return");
  printf("\n		debug parameters for selected subcmd");
  printf("\n\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_debug_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf49(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_debug_usage>:
push   %rax
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xed9(%rip),%rdi
call   1040 <printf@plt>
lea    0xf08(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1040 <printf@plt>
lea    0xf48(%rip),%rdi
call   1040 <printf@plt>
lea    0xf97(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"\0AUsage : uaputl.exe sys_debug <subcmd> [parameter]\0A\00"
@.str.1 = [25 x i8] c"\0ASet/Get debug parameter\00"
@.str.2 = [59 x i8] c"\0Asubcmd: used to set/get debug parameters or set user scan\00"
@.str.3 = [46 x i8] c"\0Aparameter : parameters for specific subcmd\00"
@.str.4 = [42 x i8] c"\0A\09\09If no [parameter] are given, it return\00"
@.str.5 = [40 x i8] c"\0A\09\09debug parameters for selected subcmd\00"
@.str.6 = [3 x i8] c"\0A\0A\00"
define void @print_sys_debug_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [25 x i8] c"\0ASet/Get debug parameter\00"
@.str.2 = [59 x i8] c"\0Asubcmd: used to set/get debug parameters or set user scan\00"
@.str.3 = [46 x i8] c"\0Aparameter : parameters for specific subcmd\00"
@.str.4 = [42 x i8] c"\0A\09\09If no [parameter] are given, it return\00"
@.str.5 = [40 x i8] c"\0A\09\09debug parameters for selected subcmd\00"
@str = [51 x i8] c"\0AUsage : uaputl.exe sys_debug <subcmd> [parameter]\00"
@str.7 = [2 x i8] c"\0A\00"
define void @print_sys_debug_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.7, i64 0, i64 0))
ret void
}