#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 qetharp_usage(void) {
  printf("qetharp [-[nc6]q interface]|[-p interface]|\n"
         "\t\t[-a interface -i ip-addr -m MAC-addr]|\n"
         "\t\t[-d interface -i ip-addr] [-h] [-v ]\n\n");
  printf("where:\n"
         "\tq: prints ARP entries found on the card\n"
         "\tn: in conjunction with the -q option it shows\n"
         "\t\tnumerical addresses instead of trying to\n"
         "\t\tresolve IP addresses to host names.\n"
         "\tc: in conjunction with the -q option it shows\n"
         "\t\tonly numerical addresses without any\n"
         "\t\tother information.\n"
         "\t6: in conjunction with the -q option it shows\n"
         "\t\tIPv6 related entries, if applicable\n"
         "\tp: flushes the ARP table of the card\n"
         "\ta: add static ARP entry\n"
         "\td: delete static ARP entry\n"
         "\tv: prints version information\n"
         "\th: prints this usage information\n");
}


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

x86 assembly (clang, -O2):
<qetharp_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [126 x i8] c"qetharp [-[nc6]q interface]|[-p interface]|\0A\09\09[-a interface -i ip-addr -m MAC-addr]|\0A\09\09[-d interface -i ip-addr] [-h] [-v ]\0A\0A\00"
@.str.1 = [525 x i8] c"where:\0A\09q: prints ARP entries found on the card\0A\09n: in conjunction with the -q option it shows\0A\09\09numerical addresses instead of trying to\0A\09\09resolve IP addresses to host names.\0A\09c: in conjunction with the -q option it shows\0A\09\09only numerical addresses without any\0A\09\09other information.\0A\096: in conjunction with the -q option it shows\0A\09\09IPv6 related entries, if applicable\0A\09p: flushes the ARP table of the card\0A\09a: add static ARP entry\0A\09d: delete static ARP entry\0A\09v: prints version information\0A\09h: prints this usage information\0A\00"
define void @qetharp_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([126 x i8], [126 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([525 x i8], [525 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [125 x i8] c"qetharp [-[nc6]q interface]|[-p interface]|\0A\09\09[-a interface -i ip-addr -m MAC-addr]|\0A\09\09[-d interface -i ip-addr] [-h] [-v ]\0A\00"
@str.2 = [524 x i8] c"where:\0A\09q: prints ARP entries found on the card\0A\09n: in conjunction with the -q option it shows\0A\09\09numerical addresses instead of trying to\0A\09\09resolve IP addresses to host names.\0A\09c: in conjunction with the -q option it shows\0A\09\09only numerical addresses without any\0A\09\09other information.\0A\096: in conjunction with the -q option it shows\0A\09\09IPv6 related entries, if applicable\0A\09p: flushes the ARP table of the card\0A\09a: add static ARP entry\0A\09d: delete static ARP entry\0A\09v: prints version information\0A\09h: prints this usage information\00"
define void @qetharp_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([125 x i8], [125 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([524 x i8], [524 x i8]* @str.2, i64 0, i64 0))
ret void
}