#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_tx_bf_usage(void) {
  printf("\nUsage : httxbfcfg <ACTION> [ACT_DATA]");
  printf("\nOptions: ACTION : 1 - Performs NDP Sounding for PEER");
  printf("\n                  2 - TX BF interval in milliseconds");
  printf("\n                  3 - Not to perform any sounding");
  printf("\n                  4 - TX BF SNR Threshold for peer");
  printf("\n         ACT_DATA : Specific data for the above actions");
  printf("\n                    For 1: PEER MAC and status");
  printf("\n                    For 2: TX BF interval");
  printf("\n                    For 3: PEER MAC");
  printf("\n                    For 4: PEER MAC and SNR");
  printf("\n                    empty - get action specific settings\n");
  return;
}


x86 assembly (clang, -O0):
<print_tx_bf_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa3(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd0(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
call   1030 <printf@plt>
lea    0x102c(%rip),%rdi
call   1030 <printf@plt>
lea    0x104d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_tx_bf_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0xef3(%rip),%rdi
call   1040 <printf@plt>
lea    0xf1d(%rip),%rdi
call   1040 <printf@plt>
lea    0xf47(%rip),%rdi
call   1040 <printf@plt>
lea    0xf6e(%rip),%rdi
call   1040 <printf@plt>
lea    0xf96(%rip),%rdi
call   1040 <printf@plt>
lea    0xfc3(%rip),%rdi
call   1040 <printf@plt>
lea    0xfe7(%rip),%rdi
call   1040 <printf@plt>
lea    0x1006(%rip),%rdi
call   1040 <printf@plt>
lea    0x101f(%rip),%rdi
call   1040 <printf@plt>
lea    0x1040(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [39 x i8] c"\0AUsage : httxbfcfg <ACTION> [ACT_DATA]\00"
@.str.1 = [54 x i8] c"\0AOptions: ACTION : 1 - Performs NDP Sounding for PEER\00"
@.str.2 = [54 x i8] c"\0A 2 - TX BF interval in milliseconds\00"
@.str.3 = [51 x i8] c"\0A 3 - Not to perform any sounding\00"
@.str.4 = [52 x i8] c"\0A 4 - TX BF SNR Threshold for peer\00"
@.str.5 = [57 x i8] c"\0A ACT_DATA : Specific data for the above actions\00"
@.str.6 = [48 x i8] c"\0A For 1: PEER MAC and status\00"
@.str.7 = [43 x i8] c"\0A For 2: TX BF interval\00"
@.str.8 = [37 x i8] c"\0A For 3: PEER MAC\00"
@.str.9 = [45 x i8] c"\0A For 4: PEER MAC and SNR\00"
@.str.10 = [59 x i8] c"\0A empty - get action specific settings\0A\00"
define void @print_tx_bf_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [39 x i8] c"\0AUsage : httxbfcfg <ACTION> [ACT_DATA]\00"
@.str.1 = [54 x i8] c"\0AOptions: ACTION : 1 - Performs NDP Sounding for PEER\00"
@.str.2 = [54 x i8] c"\0A 2 - TX BF interval in milliseconds\00"
@.str.3 = [51 x i8] c"\0A 3 - Not to perform any sounding\00"
@.str.4 = [52 x i8] c"\0A 4 - TX BF SNR Threshold for peer\00"
@.str.5 = [57 x i8] c"\0A ACT_DATA : Specific data for the above actions\00"
@.str.6 = [48 x i8] c"\0A For 1: PEER MAC and status\00"
@.str.7 = [43 x i8] c"\0A For 2: TX BF interval\00"
@.str.8 = [37 x i8] c"\0A For 3: PEER MAC\00"
@.str.9 = [45 x i8] c"\0A For 4: PEER MAC and SNR\00"
@str = [58 x i8] c"\0A empty - get action specific settings\00"
define void @print_tx_bf_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
ret void
}