#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_sta_filter_table_usage(void) {
  printf("\nUsage : sta_filter_table <FILTERMODE> <MACADDRESS_LIST>\n");
  printf("\nOptions: FILTERMODE : 0 - Disable filter table");
  printf("\n                      1 - allow MAC addresses specified in the "
         "allowed list");
  printf("\n                      2 - block MAC addresses specified in the "
         "banned list");
  printf("\n         MACADDRESS_LIST is the list of MAC addresses to be acted "
         "upon. Each");
  printf("\n                      MAC address must be separated with a space. "
         "Maximum of");
  printf("\n                      16 MAC addresses are supported.");
  printf("\n         empty - Get current mac filter settings\n");
  return;
}


x86 assembly (clang, -O0):
<print_sta_filter_table_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
lea    0xf37(%rip),%rdi
call   1030 <printf@plt>
lea    0xf78(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb8(%rip),%rdi
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1067(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sta_filter_table_usage>:
push   %rax
lea    0x1074(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
call   1040 <printf@plt>
lea    0xf71(%rip),%rdi
call   1040 <printf@plt>
lea    0xfb3(%rip),%rdi
call   1040 <printf@plt>
lea    0xff5(%rip),%rdi
call   1040 <printf@plt>
lea    0x1059(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [58 x i8] c"\0AUsage : sta_filter_table <FILTERMODE> <MACADDRESS_LIST>\0A\00"
@.str.1 = [48 x i8] c"\0AOptions: FILTERMODE : 0 - Disable filter table\00"
@.str.2 = [77 x i8] c"\0A 1 - allow MAC addresses specified in the allowed list\00"
@.str.3 = [76 x i8] c"\0A 2 - block MAC addresses specified in the banned list\00"
@.str.4 = [78 x i8] c"\0A MACADDRESS_LIST is the list of MAC addresses to be acted upon. Each\00"
@.str.5 = [78 x i8] c"\0A MAC address must be separated with a space. Maximum of\00"
@.str.6 = [55 x i8] c"\0A 16 MAC addresses are supported.\00"
@.str.7 = [51 x i8] c"\0A empty - Get current mac filter settings\0A\00"
define void @print_sta_filter_table_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [48 x i8] c"\0AOptions: FILTERMODE : 0 - Disable filter table\00"
@.str.2 = [77 x i8] c"\0A 1 - allow MAC addresses specified in the allowed list\00"
@.str.3 = [76 x i8] c"\0A 2 - block MAC addresses specified in the banned list\00"
@.str.4 = [78 x i8] c"\0A MACADDRESS_LIST is the list of MAC addresses to be acted upon. Each\00"
@.str.5 = [78 x i8] c"\0A MAC address must be separated with a space. Maximum of\00"
@.str.6 = [55 x i8] c"\0A 16 MAC addresses are supported.\00"
@str = [57 x i8] c"\0AUsage : sta_filter_table <FILTERMODE> <MACADDRESS_LIST>\00"
@str.8 = [50 x i8] c"\0A empty - Get current mac filter settings\00"
define void @print_sta_filter_table_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.8, i64 0, i64 0))
ret void
}