#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("./wifidirectutl <iface> wifidirect_mode [mode]\n"
         "./wifidirectutl <iface> wifidirect_config [*.conf]\n"
         "./wifidirectutl <iface> wifidirect_params_config [*.conf]\n"
         "./wifidirectutl <iface> wifidirect_action_frame <*.conf>|"
         "	<PeerAddr> <Category> <OuiSubtype> <DialogToken>\n"
         "./wifidirectutl <iface> wifidirect_discovery_request <*.conf>\n"
         "./wifidirectutl <iface> wifidirect_discovery_response <*.conf>\n"
         "./wifidirectutl <iface> wifidirect_gas_comeback_request <*.conf>\n"
         "./wifidirectutl <iface> wifidirect_gas_comeback_response <*.conf>\n");
  printf("\nPlease see example configuration file config/wifidirect.conf\n\n");
  printf("Configuration API:\n");
  printf(
      "./wifidirectutl <iface> wifidirect_cfg_discovery_period "
      "[<MinDiscPeriod> <MaxDiscPeriod>]\n"
      "./wifidirectutl <iface> wifidirect_cfg_intent [IntentValue]\n"
      "./wifidirectutl <iface> wifidirect_cfg_capability [<deviceCapability> "
      "<groupCapability>]\n"
      "./wifidirectutl <iface> wifidirect_cfg_noa <enable | disable> "
      "[<counttype> <duration> <interval>]\n"
      "./wifidirectutl <iface> wifidirect_cfg_opp_ps [<enable> <CTWindow>]\n"
      "./wifidirectutl <iface> wifidirect_cfg_invitation_list [mac_address]\n"
      "./wifidirectutl <iface> wifidirect_cfg_listen_channel [listenChannel]\n"
      "./wifidirectutl <iface> wifidirect_cfg_op_channel [operatingChannel]\n"
      "./wifidirecttul <iface> wifidirect_cfg_persistent_group_record [index] "
      "[role]\n"
      "	[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\n"
      "./wifidirecttul <iface> wifidirect_cfg_persistent_group_invoke [index] "
      "| <cancel>\n"
      "./wifidirectutl <iface> wifidirect_cfg_presence_req_params [<type> "
      "<duration> <interval>]\n"
      "./wifidirectutl <iface> wifidirect_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    0x10dd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1111(%rip),%rdi
call   1030 <printf@plt>
lea    0x1119(%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    0x10de(%rip),%rdi
call   1030 <puts@plt>
lea    0x1111(%rip),%rdi
call   1030 <puts@plt>
lea    0x1118(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [520 x i8] c"./wifidirectutl <iface> wifidirect_mode [mode]\0A./wifidirectutl <iface> wifidirect_config [*.conf]\0A./wifidirectutl <iface> wifidirect_params_config [*.conf]\0A./wifidirectutl <iface> wifidirect_action_frame <*.conf>|\09<PeerAddr> <Category> <OuiSubtype> <DialogToken>\0A./wifidirectutl <iface> wifidirect_discovery_request <*.conf>\0A./wifidirectutl <iface> wifidirect_discovery_response <*.conf>\0A./wifidirectutl <iface> wifidirect_gas_comeback_request <*.conf>\0A./wifidirectutl <iface> wifidirect_gas_comeback_response <*.conf>\0A\00"
@.str.2 = [64 x i8] c"\0APlease see example configuration file config/wifidirect.conf\0A\0A\00"
@.str.3 = [20 x i8] c"Configuration API:\0A\00"
@.str.4 = [1003 x i8] c"./wifidirectutl <iface> wifidirect_cfg_discovery_period [<MinDiscPeriod> <MaxDiscPeriod>]\0A./wifidirectutl <iface> wifidirect_cfg_intent [IntentValue]\0A./wifidirectutl <iface> wifidirect_cfg_capability [<deviceCapability> <groupCapability>]\0A./wifidirectutl <iface> wifidirect_cfg_noa <enable | disable> [<counttype> <duration> <interval>]\0A./wifidirectutl <iface> wifidirect_cfg_opp_ps [<enable> <CTWindow>]\0A./wifidirectutl <iface> wifidirect_cfg_invitation_list [mac_address]\0A./wifidirectutl <iface> wifidirect_cfg_listen_channel [listenChannel]\0A./wifidirectutl <iface> wifidirect_cfg_op_channel [operatingChannel]\0A./wifidirecttul <iface> wifidirect_cfg_persistent_group_record [index] [role]\0A\09[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\0A./wifidirecttul <iface> wifidirect_cfg_persistent_group_invoke [index] | <cancel>\0A./wifidirectutl <iface> wifidirect_cfg_presence_req_params [<type> <duration> <interval>]\0A./wifidirectutl <iface> wifidirect_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 ([520 x i8], [520 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 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 ([1003 x i8], [1003 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [7 x i8] c"Usage:\00"
@str.5 = [519 x i8] c"./wifidirectutl <iface> wifidirect_mode [mode]\0A./wifidirectutl <iface> wifidirect_config [*.conf]\0A./wifidirectutl <iface> wifidirect_params_config [*.conf]\0A./wifidirectutl <iface> wifidirect_action_frame <*.conf>|\09<PeerAddr> <Category> <OuiSubtype> <DialogToken>\0A./wifidirectutl <iface> wifidirect_discovery_request <*.conf>\0A./wifidirectutl <iface> wifidirect_discovery_response <*.conf>\0A./wifidirectutl <iface> wifidirect_gas_comeback_request <*.conf>\0A./wifidirectutl <iface> wifidirect_gas_comeback_response <*.conf>\00"
@str.6 = [63 x i8] c"\0APlease see example configuration file config/wifidirect.conf\0A\00"
@str.7 = [19 x i8] c"Configuration API:\00"
@str.8 = [1002 x i8] c"./wifidirectutl <iface> wifidirect_cfg_discovery_period [<MinDiscPeriod> <MaxDiscPeriod>]\0A./wifidirectutl <iface> wifidirect_cfg_intent [IntentValue]\0A./wifidirectutl <iface> wifidirect_cfg_capability [<deviceCapability> <groupCapability>]\0A./wifidirectutl <iface> wifidirect_cfg_noa <enable | disable> [<counttype> <duration> <interval>]\0A./wifidirectutl <iface> wifidirect_cfg_opp_ps [<enable> <CTWindow>]\0A./wifidirectutl <iface> wifidirect_cfg_invitation_list [mac_address]\0A./wifidirectutl <iface> wifidirect_cfg_listen_channel [listenChannel]\0A./wifidirectutl <iface> wifidirect_cfg_op_channel [operatingChannel]\0A./wifidirecttul <iface> wifidirect_cfg_persistent_group_record [index] [role]\0A\09[<groupbss> <deviceId> <ssid> <psk>] [peermac1] [peermac2]\0A./wifidirecttul <iface> wifidirect_cfg_persistent_group_invoke [index] | <cancel>\0A./wifidirectutl <iface> wifidirect_cfg_presence_req_params [<type> <duration> <interval>]\0A./wifidirectutl <iface> wifidirect_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 ([519 x i8], [519 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 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 ([1002 x i8], [1002 x i8]* @str.8, i64 0, i64 0))
ret void
}