#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_ext_usage(void) {
  printf(
      "\nUsage : sys_cfg_rates_ext [rates RATES] [mbrate RATE] [urate RATE]\n");
  printf(
      "\nIf 'Rate' provided, a 'set' is performed else a 'get' is performed");
  printf("\nRATES is provided as a set of data rates, in unit of 500 kilobits");
  printf("\nA rate with MSB bit is basic rate, i.e 0x82 is basic rate.\n");
  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");
  printf("\nRates 2, 4, 11 and 22 (in units of 500 Kbps) must be present in "
         "either of basic or");
  printf("\nnon-basic rates. If OFDM rates are enabled then 12, 24 and 48 (in "
         "units of 500 Kbps)");
  printf("\nmust be present in either basic or non-basic rates");
  printf("\nEach rate must be separated by a space.");
  printf("\nrates followed by RATES for setting operational rates.");
  printf("\nmbrate followed by RATE for setting multicast and broadcast rate.");
  printf("\nurate followed by RATE for setting unicast rate.\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_rates_ext_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8d(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbe(%rip),%rdi
call   1030 <printf@plt>
lea    0xff2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1020(%rip),%rdi
call   1030 <printf@plt>
lea    0x1063(%rip),%rdi
call   1030 <printf@plt>
lea    0x10af(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1141(%rip),%rdi
call   1030 <printf@plt>
lea    0x1169(%rip),%rdi
call   1030 <printf@plt>
lea    0x1186(%rip),%rdi
call   1030 <printf@plt>
lea    0x11b2(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e9(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_rates_ext_usage>:
push   %rax
lea    0x11aa(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xf04(%rip),%rdi
call   1040 <printf@plt>
lea    0x11ca(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf63(%rip),%rdi
call   1040 <printf@plt>
lea    0xf91(%rip),%rdi
call   1040 <printf@plt>
lea    0x11d6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc8(%rip),%rdi
call   1040 <printf@plt>
lea    0x1010(%rip),%rdi
call   1040 <printf@plt>
lea    0x105a(%rip),%rdi
call   1040 <printf@plt>
lea    0x1082(%rip),%rdi
call   1040 <printf@plt>
lea    0x109f(%rip),%rdi
call   1040 <printf@plt>
lea    0x10cb(%rip),%rdi
call   1040 <printf@plt>
lea    0x11d9(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [69 x i8] c"\0AUsage : sys_cfg_rates_ext [rates RATES] [mbrate RATE] [urate RATE]\0A\00"
@.str.1 = [68 x i8] c"\0AIf 'Rate' provided, a 'set' is performed else a 'get' is performed\00"
@.str.2 = [67 x i8] c"\0ARATES is provided as a set of data rates, in unit of 500 kilobits\00"
@.str.3 = [61 x i8] c"\0AA rate with MSB bit is basic rate, i.e 0x82 is basic rate.\0A\00"
@.str.4 = [64 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 = [88 x i8] c"\0ABasic rates: (0x82, 0x84, 0x8b, 0x96, 0x8C, 0x92, 0x98, 0xA4, 0xB0, 0xC8, 0xE0, 0xEc)\0A\00"
@.str.8 = [84 x i8] c"\0ARates 2, 4, 11 and 22 (in units of 500 Kbps) must be present in either of basic or\00"
@.str.9 = [86 x i8] c"\0Anon-basic rates. If OFDM rates are enabled then 12, 24 and 48 (in units of 500 Kbps)\00"
@.str.10 = [52 x i8] c"\0Amust be present in either basic or non-basic rates\00"
@.str.11 = [41 x i8] c"\0AEach rate must be separated by a space.\00"
@.str.12 = [56 x i8] c"\0Arates followed by RATES for setting operational rates.\00"
@.str.13 = [67 x i8] c"\0Ambrate followed by RATE for setting multicast and broadcast rate.\00"
@.str.14 = [51 x i8] c"\0Aurate followed by RATE for setting unicast rate.\0A\00"
define void @print_sys_cfg_rates_ext_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 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 ([88 x i8], [88 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [68 x i8] c"\0AIf 'Rate' provided, a 'set' is performed else a 'get' is performed\00"
@.str.2 = [67 x i8] c"\0ARATES is provided as a set of data rates, in unit of 500 kilobits\00"
@.str.4 = [64 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.8 = [84 x i8] c"\0ARates 2, 4, 11 and 22 (in units of 500 Kbps) must be present in either of basic or\00"
@.str.9 = [86 x i8] c"\0Anon-basic rates. If OFDM rates are enabled then 12, 24 and 48 (in units of 500 Kbps)\00"
@.str.10 = [52 x i8] c"\0Amust be present in either basic or non-basic rates\00"
@.str.11 = [41 x i8] c"\0AEach rate must be separated by a space.\00"
@.str.12 = [56 x i8] c"\0Arates followed by RATES for setting operational rates.\00"
@.str.13 = [67 x i8] c"\0Ambrate followed by RATE for setting multicast and broadcast rate.\00"
@str = [68 x i8] c"\0AUsage : sys_cfg_rates_ext [rates RATES] [mbrate RATE] [urate RATE]\00"
@str.15 = [60 x i8] c"\0AA rate with MSB bit is basic rate, i.e 0x82 is basic rate.\00"
@str.16 = [87 x i8] c"\0ABasic rates: (0x82, 0x84, 0x8b, 0x96, 0x8C, 0x92, 0x98, 0xA4, 0xB0, 0xC8, 0xE0, 0xEc)\00"
@str.17 = [50 x i8] c"\0Aurate followed by RATE for setting unicast rate.\00"
define void @print_sys_cfg_rates_ext_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 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 ([87 x i8], [87 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.17, i64 0, i64 0))
ret void
}