#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*/ puts(char *);
int _rtc_usage(void) {
  puts("usage: rtc <command> [arguments]");
  puts("commands:");
  puts("\tpoweron\t\tpower the interface on");
  puts("\tpoweroff\tpower the interface off");
  puts("\tclearalarm\tdeactivate the current alarm");
  puts("\tgetalarm\tprint the currently alarm time");
  puts("\tsetalarm YYYY-MM-DD HH:MM:SS\n\t\t\tset an alarm for the specified "
       "time");
  puts("\tgettime\t\tprint the current time");
  puts("\tsettime YYYY-MM-DD HH:MM:SS\n\t\t\tset the current time");
  return 0;
}


x86 assembly (clang, -O0):
<_rtc_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xef8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf23(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf96(%rip),%rdi
call   1030 <puts@plt>
lea    0xfab(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<_rtc_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefd(%rip),%rdi
call   1030 <puts@plt>
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf10(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf60(%rip),%rdi
call   1030 <puts@plt>
lea    0xf99(%rip),%rdi
call   1030 <puts@plt>
lea    0xfae(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [33 x i8] c"usage: rtc <command> [arguments]\00"
@.str.1 = [10 x i8] c"commands:\00"
@.str.2 = [33 x i8] c"\09poweron\09\09power the interface on\00"
@.str.3 = [34 x i8] c"\09poweroff\09power the interface off\00"
@.str.4 = [41 x i8] c"\09clearalarm\09deactivate the current alarm\00"
@.str.5 = [41 x i8] c"\09getalarm\09print the currently alarm time\00"
@.str.6 = [69 x i8] c"\09setalarm YYYY-MM-DD HH:MM:SS\0A\09\09\09set an alarm for the specified time\00"
@.str.7 = [33 x i8] c"\09gettime\09\09print the current time\00"
@.str.8 = [53 x i8] c"\09settime YYYY-MM-DD HH:MM:SS\0A\09\09\09set the current time\00"
define i32 @_rtc_usage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"usage: rtc <command> [arguments]\00"
@.str.1 = [10 x i8] c"commands:\00"
@.str.2 = [33 x i8] c"\09poweron\09\09power the interface on\00"
@.str.3 = [34 x i8] c"\09poweroff\09power the interface off\00"
@.str.4 = [41 x i8] c"\09clearalarm\09deactivate the current alarm\00"
@.str.5 = [41 x i8] c"\09getalarm\09print the currently alarm time\00"
@.str.6 = [69 x i8] c"\09setalarm YYYY-MM-DD HH:MM:SS\0A\09\09\09set an alarm for the specified time\00"
@.str.7 = [33 x i8] c"\09gettime\09\09print the current time\00"
@.str.8 = [53 x i8] c"\09settime YYYY-MM-DD HH:MM:SS\0A\09\09\09set the current time\00"
define i32 @_rtc_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}