#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_addbapara_usage(void) {
  printf("\nUsage : addbapara [timeout txwinsize rxwinsize]");
  printf("\nOptions: timeout : 0 - Disable");
  printf("\n                   1 - 65535 : Block Ack Timeout in TU");
  printf("\n         txwinsize: Buffer size for ADDBA request");
  printf("\n         rxwinsize: Buffer size for ADDBA response");
  printf("\n         txamsdu: amsdu for ADDBA request");
  printf("\n         rxamsdu: amsdu for ADDBA response");
  printf("\n         empty - get ADDBA parameters\n");
  return;
}


x86 assembly (clang, -O0):
<print_addbapara_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd8(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_addbapara_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0xefd(%rip),%rdi
call   1040 <printf@plt>
lea    0xf11(%rip),%rdi
call   1040 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1040 <printf@plt>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
lea    0xf8c(%rip),%rdi
call   1040 <printf@plt>
lea    0xfab(%rip),%rdi
call   1040 <printf@plt>
lea    0xfcb(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [49 x i8] c"\0AUsage : addbapara [timeout txwinsize rxwinsize]\00"
@.str.1 = [32 x i8] c"\0AOptions: timeout : 0 - Disable\00"
@.str.2 = [56 x i8] c"\0A 1 - 65535 : Block Ack Timeout in TU\00"
@.str.3 = [51 x i8] c"\0A txwinsize: Buffer size for ADDBA request\00"
@.str.4 = [52 x i8] c"\0A rxwinsize: Buffer size for ADDBA response\00"
@.str.5 = [43 x i8] c"\0A txamsdu: amsdu for ADDBA request\00"
@.str.6 = [44 x i8] c"\0A rxamsdu: amsdu for ADDBA response\00"
@.str.7 = [40 x i8] c"\0A empty - get ADDBA parameters\0A\00"
define void @print_addbapara_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 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 ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [49 x i8] c"\0AUsage : addbapara [timeout txwinsize rxwinsize]\00"
@.str.1 = [32 x i8] c"\0AOptions: timeout : 0 - Disable\00"
@.str.2 = [56 x i8] c"\0A 1 - 65535 : Block Ack Timeout in TU\00"
@.str.3 = [51 x i8] c"\0A txwinsize: Buffer size for ADDBA request\00"
@.str.4 = [52 x i8] c"\0A rxwinsize: Buffer size for ADDBA response\00"
@.str.5 = [43 x i8] c"\0A txamsdu: amsdu for ADDBA request\00"
@.str.6 = [44 x i8] c"\0A rxamsdu: amsdu for ADDBA response\00"
@str = [39 x i8] c"\0A empty - get ADDBA parameters\00"
define void @print_addbapara_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 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 ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str, i64 0, i64 0))
ret void
}