#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_tx_data_rates_usage(void) {
  printf("\nUsage : sys_cfg_tx_data_rate [TX_DATA_RATE]\n");
  printf("\nOptions: 0     - Auto rate");
  printf("\n         >0    - Set specified data rate");
  printf("\n         empty - Get current data 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("\nOnly zero or rates currently configured are allowed.\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_tx_data_rates_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf17(%rip),%rdi
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
call   1030 <printf@plt>
lea    0xf51(%rip),%rdi
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_tx_data_rates_usage>:
push   %rax
lea    0x100e(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xedc(%rip),%rdi
call   1040 <printf@plt>
lea    0xefa(%rip),%rdi
call   1040 <printf@plt>
lea    0xf16(%rip),%rdi
call   1040 <printf@plt>
lea    0xf49(%rip),%rdi
call   1040 <printf@plt>
lea    0xf77(%rip),%rdi
call   1040 <printf@plt>
lea    0xfe7(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [46 x i8] c"\0AUsage : sys_cfg_tx_data_rate [TX_DATA_RATE]\0A\00"
@.str.1 = [28 x i8] c"\0AOptions: 0 - Auto rate\00"
@.str.2 = [42 x i8] c"\0A >0 - Set specified data rate\00"
@.str.3 = [40 x i8] c"\0A empty - Get current data rate\00"
@.str.4 = [63 x i8] c"\0AFollowing is the list of supported rates in units of 500 Kbps\00"
@.str.5 = [58 x i8] c"\0ADecimal: (2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108)\00"
@.str.6 = [79 x i8] c"\0AHex: (0x02, 0x04, 0x0b, 0x16, 0x0C, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c)\00"
@.str.7 = [55 x i8] c"\0AOnly zero or rates currently configured are allowed.\0A\00"
define void @print_sys_cfg_tx_data_rates_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [28 x i8] c"\0AOptions: 0 - Auto rate\00"
@.str.2 = [42 x i8] c"\0A >0 - Set specified data rate\00"
@.str.3 = [40 x i8] c"\0A empty - Get current data rate\00"
@.str.4 = [63 x i8] c"\0AFollowing is the list of supported rates in units of 500 Kbps\00"
@.str.5 = [58 x i8] c"\0ADecimal: (2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108)\00"
@.str.6 = [79 x i8] c"\0AHex: (0x02, 0x04, 0x0b, 0x16, 0x0C, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c)\00"
@str = [45 x i8] c"\0AUsage : sys_cfg_tx_data_rate [TX_DATA_RATE]\00"
@str.8 = [54 x i8] c"\0AOnly zero or rates currently configured are allowed.\00"
define void @print_sys_cfg_tx_data_rates_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.8, i64 0, i64 0))
ret void
}