#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_cfg_rates_usage(void) {
  printf("\nUsage : sys_cfg_rates [RATES]\n");
  printf("\n[RATES] is set of data rates in unit of 500 kbps and each rate can "
         "be");
  printf(
      "\nentered in hexadecimal or decimal format. Rates must be separated by");
  printf("\nspace. Duplicate Rate  fields are not allowed");
  printf("\nA rate with MSB bit is basic rate, i.e 0x82 is basic rate.");
  printf("\nFollowing is the list of supported rates in units of 500 Kbps:");
  printf("\nDecimal: (2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108)");
  printf("\nHex: (0x02, 0x04, 0x0b, 0x16, 0x0C, 0x12, 0x18, 0x24, 0x30, 0x48, "
         "0x60, 0x6c)");
  printf("\nBasic rates: (0x82, 0x84, 0x8b, 0x96, 0x8C, 0x92, 0x98, 0xA4, "
         "0xB0, 0xC8, 0xE0, 0xEc)\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_rates_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf91(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc1(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1023(%rip),%rdi
call   1030 <printf@plt>
lea    0x1066(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_rates_usage>:
push   %rax
lea    0x1099(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xf07(%rip),%rdi
call   1040 <printf@plt>
lea    0xf41(%rip),%rdi
call   1040 <printf@plt>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
lea    0xf94(%rip),%rdi
call   1040 <printf@plt>
lea    0xfc8(%rip),%rdi
call   1040 <printf@plt>
lea    0xff6(%rip),%rdi
call   1040 <printf@plt>
lea    0x1058(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"\0AUsage : sys_cfg_rates [RATES]\0A\00"
@.str.1 = [71 x i8] c"\0A[RATES] is set of data rates in unit of 500 kbps and each rate can be\00"
@.str.2 = [70 x i8] c"\0Aentered in hexadecimal or decimal format. Rates must be separated by\00"
@.str.3 = [47 x i8] c"\0Aspace. Duplicate Rate fields are not allowed\00"
@.str.4 = [60 x i8] c"\0AA rate with MSB bit is basic rate, i.e 0x82 is basic rate.\00"
@.str.5 = [64 x i8] c"\0AFollowing is the list of supported rates in units of 500 Kbps:\00"
@.str.6 = [58 x i8] c"\0ADecimal: (2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108)\00"
@.str.7 = [79 x i8] c"\0AHex: (0x02, 0x04, 0x0b, 0x16, 0x0C, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c)\00"
@.str.8 = [88 x i8] c"\0ABasic rates: (0x82, 0x84, 0x8b, 0x96, 0x8C, 0x92, 0x98, 0xA4, 0xB0, 0xC8, 0xE0, 0xEc)\0A\00"
define void @print_sys_cfg_rates_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [71 x i8] c"\0A[RATES] is set of data rates in unit of 500 kbps and each rate can be\00"
@.str.2 = [70 x i8] c"\0Aentered in hexadecimal or decimal format. Rates must be separated by\00"
@.str.3 = [47 x i8] c"\0Aspace. Duplicate Rate fields are not allowed\00"
@.str.4 = [60 x i8] c"\0AA rate with MSB bit is basic rate, i.e 0x82 is basic rate.\00"
@.str.5 = [64 x i8] c"\0AFollowing is the list of supported rates in units of 500 Kbps:\00"
@.str.6 = [58 x i8] c"\0ADecimal: (2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108)\00"
@.str.7 = [79 x i8] c"\0AHex: (0x02, 0x04, 0x0b, 0x16, 0x0C, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c)\00"
@str = [31 x i8] c"\0AUsage : sys_cfg_rates [RATES]\00"
@str.9 = [87 x i8] c"\0ABasic rates: (0x82, 0x84, 0x8b, 0x96, 0x8C, 0x92, 0x98, 0xA4, 0xB0, 0xC8, 0xE0, 0xEc)\00"
define void @print_sys_cfg_rates_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str.9, i64 0, i64 0))
ret void
}