#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_tool_usage(void) {
  printf("Usage:\n");
  printf("./wfdutl <iface> wfd_mode [mode]\n"
         "./wfdutl <iface> wfd_config [*.conf]\n"
         "./wfdutl <iface> wfd_params_config [*.conf]\n"
         "./wfdutl <iface> wfd_action_frame <*.conf>|"
         "	<PeerAddr> <Category> <OuiSubtype> <DialogToken>\n"
         "./wfdutl <iface> wfd_discovery_request <*.conf>\n"
         "./wfdutl <iface> wfd_discovery_response <*.conf>\n"
         "./wfdutl <iface> wfd_gas_comeback_request <*.conf>\n"
         "./wfdutl <iface> wfd_gas_comeback_response <*.conf>\n");
  printf("\nPlease see example configuration file config/wfd.conf\n\n");
  printf("Configuration API:\n");
  printf("./wfdutl <iface> wfd_cfg_discovery_period [<MinDiscPeriod> "
         "<MaxDiscPeriod>]\n"
         "./wfdutl <iface> wfd_cfg_intent [IntentValue]\n"
         "./wfdutl <iface> wfd_cfg_capability [<deviceCapability> "
         "<groupCapability>]\n"
         "./wfdutl <iface> wfd_cfg_noa <enable | disable> [<counttype> "
         "<duration> <interval>]\n"
         "./wfdutl <iface> wfd_cfg_opp_ps [<enable> <CTWindow>]\n"
         "./wfdutl <iface> wfd_cfg_invitation_list [mac_address]\n"
         "./wfdutl <iface> wfd_cfg_listen_channel [listenChannel]\n"
         "./wfdutl <iface> wfd_cfg_op_channel [operatingChannel]\n"
         "./wfdtul <iface> wfd_cfg_persistent_group_record [index] [role]\n"
         "	[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\n"
         "./wfdtul <iface> wfd_cfg_persistent_group_invoke [index] | <cancel>\n"
         "./wfdutl <iface> wfd_cfg_presence_req_params [<type> <duration> "
         "<interval>]\n"
         "./wfdutl <iface> wfd_cfg_ext_listen_time [<duration> <interval>]\n");
}


x86 assembly (clang, -O0):
<print_tool_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0x106d(%rip),%rdi
call   1030 <printf@plt>
lea    0x109a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a2(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_tool_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee3(%rip),%rdi
call   1030 <puts@plt>
lea    0x106e(%rip),%rdi
call   1030 <puts@plt>
lea    0x109a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a1(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [408 x i8] c"./wfdutl <iface> wfd_mode [mode]\0A./wfdutl <iface> wfd_config [*.conf]\0A./wfdutl <iface> wfd_params_config [*.conf]\0A./wfdutl <iface> wfd_action_frame <*.conf>|\09<PeerAddr> <Category> <OuiSubtype> <DialogToken>\0A./wfdutl <iface> wfd_discovery_request <*.conf>\0A./wfdutl <iface> wfd_discovery_response <*.conf>\0A./wfdutl <iface> wfd_gas_comeback_request <*.conf>\0A./wfdutl <iface> wfd_gas_comeback_response <*.conf>\0A\00"
@.str.2 = [57 x i8] c"\0APlease see example configuration file config/wfd.conf\0A\0A\00"
@.str.3 = [20 x i8] c"Configuration API:\0A\00"
@.str.4 = [835 x i8] c"./wfdutl <iface> wfd_cfg_discovery_period [<MinDiscPeriod> <MaxDiscPeriod>]\0A./wfdutl <iface> wfd_cfg_intent [IntentValue]\0A./wfdutl <iface> wfd_cfg_capability [<deviceCapability> <groupCapability>]\0A./wfdutl <iface> wfd_cfg_noa <enable | disable> [<counttype> <duration> <interval>]\0A./wfdutl <iface> wfd_cfg_opp_ps [<enable> <CTWindow>]\0A./wfdutl <iface> wfd_cfg_invitation_list [mac_address]\0A./wfdutl <iface> wfd_cfg_listen_channel [listenChannel]\0A./wfdutl <iface> wfd_cfg_op_channel [operatingChannel]\0A./wfdtul <iface> wfd_cfg_persistent_group_record [index] [role]\0A\09[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\0A./wfdtul <iface> wfd_cfg_persistent_group_invoke [index] | <cancel>\0A./wfdutl <iface> wfd_cfg_presence_req_params [<type> <duration> <interval>]\0A./wfdutl <iface> wfd_cfg_ext_listen_time [<duration> <interval>]\0A\00"
define void @print_tool_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([408 x i8], [408 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([835 x i8], [835 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [7 x i8] c"Usage:\00"
@str.5 = [407 x i8] c"./wfdutl <iface> wfd_mode [mode]\0A./wfdutl <iface> wfd_config [*.conf]\0A./wfdutl <iface> wfd_params_config [*.conf]\0A./wfdutl <iface> wfd_action_frame <*.conf>|\09<PeerAddr> <Category> <OuiSubtype> <DialogToken>\0A./wfdutl <iface> wfd_discovery_request <*.conf>\0A./wfdutl <iface> wfd_discovery_response <*.conf>\0A./wfdutl <iface> wfd_gas_comeback_request <*.conf>\0A./wfdutl <iface> wfd_gas_comeback_response <*.conf>\00"
@str.6 = [56 x i8] c"\0APlease see example configuration file config/wfd.conf\0A\00"
@str.7 = [19 x i8] c"Configuration API:\00"
@str.8 = [834 x i8] c"./wfdutl <iface> wfd_cfg_discovery_period [<MinDiscPeriod> <MaxDiscPeriod>]\0A./wfdutl <iface> wfd_cfg_intent [IntentValue]\0A./wfdutl <iface> wfd_cfg_capability [<deviceCapability> <groupCapability>]\0A./wfdutl <iface> wfd_cfg_noa <enable | disable> [<counttype> <duration> <interval>]\0A./wfdutl <iface> wfd_cfg_opp_ps [<enable> <CTWindow>]\0A./wfdutl <iface> wfd_cfg_invitation_list [mac_address]\0A./wfdutl <iface> wfd_cfg_listen_channel [listenChannel]\0A./wfdutl <iface> wfd_cfg_op_channel [operatingChannel]\0A./wfdtul <iface> wfd_cfg_persistent_group_record [index] [role]\0A\09[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\0A./wfdtul <iface> wfd_cfg_persistent_group_invoke [index] | <cancel>\0A./wfdutl <iface> wfd_cfg_presence_req_params [<type> <duration> <interval>]\0A./wfdutl <iface> wfd_cfg_ext_listen_time [<duration> <interval>]\00"
define void @print_tool_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([407 x i8], [407 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.6, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.7, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([834 x i8], [834 x i8]* @str.8, i64 0, i64 0))
ret void
}