#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*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ iplink_have_newlink();
int /*<<< orphan*/ stderr;
void iplink_usage(void) {
  if (iplink_have_newlink()) {
    fprintf(stderr, "Usage: ip link add [link DEV] [ name ] NAME\n");
    fprintf(stderr, "                   [ txqueuelen PACKETS ]\n");
    fprintf(stderr, "                   [ address LLADDR ]\n");
    fprintf(stderr, "                   [ broadcast LLADDR ]\n");
    fprintf(stderr, "                   [ mtu MTU ] [index IDX ]\n");
    fprintf(stderr, "                   [ numtxqueues QUEUE_COUNT ]\n");
    fprintf(stderr, "                   [ numrxqueues QUEUE_COUNT ]\n");
    fprintf(stderr, "                   type TYPE [ ARGS ]\n");
    fprintf(stderr, "       ip link delete DEV type TYPE [ ARGS ]\n");
    fprintf(stderr, "\n");
    fprintf(stderr, "       ip link set { dev DEVICE | group DEVGROUP } [ { up "
                    "| down } ]\n");
  } else
    fprintf(stderr, "Usage: ip link set DEVICE [ { up | down } ]\n");
  fprintf(stderr, "	                  [ arp { on | off } ]\n");
  fprintf(stderr, "	                  [ dynamic { on | off } ]\n");
  fprintf(stderr, "	                  [ multicast { on | off } ]\n");
  fprintf(stderr, "	                  [ allmulticast { on | off } ]\n");
  fprintf(stderr, "	                  [ promisc { on | off } ]\n");
  fprintf(stderr, "	                  [ trailers { on | off } ]\n");
  fprintf(stderr, "	                  [ txqueuelen PACKETS ]\n");
  fprintf(stderr, "	                  [ name NEWNAME ]\n");
  fprintf(stderr, "	                  [ address LLADDR ]\n");
  fprintf(stderr, "	                  [ broadcast LLADDR ]\n");
  fprintf(stderr, "	                  [ mtu MTU ]\n");
  fprintf(stderr, "	                  [ netns PID ]\n");
  fprintf(stderr, "	                  [ netns NAME ]\n");
  fprintf(stderr, "			  [ alias NAME ]\n");
  fprintf(stderr, "	                  [ vf NUM [ mac LLADDR ]\n");
  fprintf(stderr,
          "				   [ vlan VLANID [ qos VLAN-QOS ] ]\n");
  fprintf(stderr, "				   [ rate TXRATE ] ] \n");
  fprintf(stderr,
          "				   [ spoofchk { on | off} ] ] \n");
  fprintf(
      stderr,
      "				   [ state { auto | enable | disable} ] ]\n");
  fprintf(stderr, "			  [ master DEVICE ]\n");
  fprintf(stderr, "			  [ nomaster ]\n");
  fprintf(stderr, "       ip link show [ DEVICE | group GROUP ] [up]\n");
  if (iplink_have_newlink()) {
    fprintf(stderr, "\n");
    fprintf(
        stderr,
        "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n");
    fprintf(stderr,
            "          can | bridge | bond | ipoib | ip6tnl | ipip | sit |\n");
    fprintf(stderr,
            "          vxlan | gre | gretap | ip6gre | ip6gretap | vti }\n");
  }
  exit(-1);
}


x86 assembly (clang, -O0):
<iplink_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1050 <iplink_have_newlink@plt>
cmp    $0x0,%rax
je     1231 <iplink_usage+0x101>
mov    0x2e94(%rip),%rax
mov    (%rax),%edi
lea    0xeab(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e7f(%rip),%rax
mov    (%rax),%edi
lea    0xec3(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e6a(%rip),%rax
mov    (%rax),%edi
lea    0xed9(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e55(%rip),%rax
mov    (%rax),%edi
lea    0xeeb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e40(%rip),%rax
mov    (%rax),%edi
lea    0xeff(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e2b(%rip),%rax
mov    (%rax),%edi
lea    0xf17(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e16(%rip),%rax
mov    (%rax),%edi
lea    0xf32(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e01(%rip),%rax
mov    (%rax),%edi
lea    0xf4d(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dec(%rip),%rax
mov    (%rax),%edi
lea    0xf5f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dd7(%rip),%rax
mov    (%rax),%edi
lea    0x1285(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dc2(%rip),%rax
mov    (%rax),%edi
lea    0xf63(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1246 <iplink_usage+0x116>
mov    0x2da8(%rip),%rax
mov    (%rax),%edi
lea    0xf8f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d93(%rip),%rax
mov    (%rax),%edi
lea    0xfa7(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d7e(%rip),%rax
mov    (%rax),%edi
lea    0xfbb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d69(%rip),%rax
mov    (%rax),%edi
lea    0xfd3(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d54(%rip),%rax
mov    (%rax),%edi
lea    0xfed(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d3f(%rip),%rax
mov    (%rax),%edi
lea    0x100a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d2a(%rip),%rax
mov    (%rax),%edi
lea    0x1022(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d15(%rip),%rax
mov    (%rax),%edi
lea    0x103b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d00(%rip),%rax
mov    (%rax),%edi
lea    0x1051(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ceb(%rip),%rax
mov    (%rax),%edi
lea    0x1061(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cd6(%rip),%rax
mov    (%rax),%edi
lea    0x1073(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cc1(%rip),%rax
mov    (%rax),%edi
lea    0x1087(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cac(%rip),%rax
mov    (%rax),%edi
lea    0x1092(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c97(%rip),%rax
mov    (%rax),%edi
lea    0x109f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c82(%rip),%rax
mov    (%rax),%edi
lea    0x10ad(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c6d(%rip),%rax
mov    (%rax),%edi
lea    0x10ad(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c58(%rip),%rax
mov    (%rax),%edi
lea    0x10c4(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c43(%rip),%rax
mov    (%rax),%edi
lea    0x10d8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c2e(%rip),%rax
mov    (%rax),%edi
lea    0x10de(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c19(%rip),%rax
mov    (%rax),%edi
lea    0x10ed(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c04(%rip),%rax
mov    (%rax),%edi
lea    0x1107(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bef(%rip),%rax
mov    (%rax),%edi
lea    0x110a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bda(%rip),%rax
mov    (%rax),%edi
lea    0x1108(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x0,%al
call   1050 <iplink_have_newlink@plt>
cmp    $0x0,%rax
je     1479 <iplink_usage+0x349>
mov    0x2bb4(%rip),%rax
mov    (%rax),%edi
lea    0x1062(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b9f(%rip),%rax
mov    (%rax),%edi
lea    0x1100(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b8a(%rip),%rax
mov    (%rax),%edi
lea    0x112d(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b75(%rip),%rax
mov    (%rax),%edi
lea    0x1157(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<iplink_usage>:
push   %rbx
xor    %eax,%eax
call   1050 <iplink_have_newlink@plt>
mov    0x2ea1(%rip),%rbx
mov    (%rbx),%edi
test   %rax,%rax
jne    1152 <iplink_usage+0x22>
lea    0x1083(%rip),%rsi
jmp    11e5 <iplink_usage+0xb5>
lea    0xea7(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xec6(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee3(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf17(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf36(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf58(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf7a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf93(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12c0(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x100a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1025(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1044(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1065(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1089(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a8(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10c8(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10e5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10fc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1115(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1130(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1142(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1156(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x116b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1172(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1190(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11ab(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11b8(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11ce(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11ef(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11f9(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11fe(%rip),%rsi
call   1030 <fprintf@plt>
xor    %eax,%eax
call   1050 <iplink_have_newlink@plt>
test   %rax,%rax
je     1362 <iplink_usage+0x232>
mov    (%rbx),%edi
lea    0x1164(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1209(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x123d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x126e(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [45 x i8] c"Usage: ip link add [link DEV] [ name ] NAME\0A\00"
@.str.1 = [43 x i8] c" [ txqueuelen PACKETS ]\0A\00"
@.str.2 = [39 x i8] c" [ address LLADDR ]\0A\00"
@.str.3 = [41 x i8] c" [ broadcast LLADDR ]\0A\00"
@.str.4 = [45 x i8] c" [ mtu MTU ] [index IDX ]\0A\00"
@.str.5 = [48 x i8] c" [ numtxqueues QUEUE_COUNT ]\0A\00"
@.str.6 = [48 x i8] c" [ numrxqueues QUEUE_COUNT ]\0A\00"
@.str.7 = [39 x i8] c" type TYPE [ ARGS ]\0A\00"
@.str.8 = [46 x i8] c" ip link delete DEV type TYPE [ ARGS ]\0A\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [70 x i8] c" ip link set { dev DEVICE | group DEVGROUP } [ { up | down } ]\0A\00"
@.str.11 = [45 x i8] c"Usage: ip link set DEVICE [ { up | down } ]\0A\00"
@.str.12 = [41 x i8] c"\09 [ arp { on | off } ]\0A\00"
@.str.13 = [45 x i8] c"\09 [ dynamic { on | off } ]\0A\00"
@.str.14 = [47 x i8] c"\09 [ multicast { on | off } ]\0A\00"
@.str.15 = [50 x i8] c"\09 [ allmulticast { on | off } ]\0A\00"
@.str.16 = [45 x i8] c"\09 [ promisc { on | off } ]\0A\00"
@.str.17 = [46 x i8] c"\09 [ trailers { on | off } ]\0A\00"
@.str.18 = [43 x i8] c"\09 [ txqueuelen PACKETS ]\0A\00"
@.str.19 = [37 x i8] c"\09 [ name NEWNAME ]\0A\00"
@.str.20 = [39 x i8] c"\09 [ address LLADDR ]\0A\00"
@.str.21 = [41 x i8] c"\09 [ broadcast LLADDR ]\0A\00"
@.str.22 = [32 x i8] c"\09 [ mtu MTU ]\0A\00"
@.str.23 = [34 x i8] c"\09 [ netns PID ]\0A\00"
@.str.24 = [35 x i8] c"\09 [ netns NAME ]\0A\00"
@.str.25 = [21 x i8] c"\09\09\09 [ alias NAME ]\0A\00"
@.str.26 = [44 x i8] c"\09 [ vf NUM [ mac LLADDR ]\0A\00"
@.str.27 = [41 x i8] c"\09\09\09\09 [ vlan VLANID [ qos VLAN-QOS ] ]\0A\00"
@.str.28 = [27 x i8] c"\09\09\09\09 [ rate TXRATE ] ] \0A\00"
@.str.29 = [36 x i8] c"\09\09\09\09 [ spoofchk { on | off} ] ] \0A\00"
@.str.30 = [47 x i8] c"\09\09\09\09 [ state { auto | enable | disable} ] ]\0A\00"
@.str.31 = [24 x i8] c"\09\09\09 [ master DEVICE ]\0A\00"
@.str.32 = [19 x i8] c"\09\09\09 [ nomaster ]\0A\00"
@.str.33 = [51 x i8] c" ip link show [ DEVICE | group GROUP ] [up]\0A\00"
@.str.34 = [66 x i8] c"TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\0A\00"
@.str.35 = [63 x i8] c" can | bridge | bond | ipoib | ip6tnl | ipip | sit |\0A\00"
@.str.36 = [61 x i8] c" vxlan | gre | gretap | ip6gre | ip6gretap | vti }\0A\00"
define void @iplink_usage() {
%1 = call i64 (...) @iplink_have_newlink()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %26
3: ; preds = %0
%4 = load i32, i32* @stderr
%5 = call i32 @fprintf(i32 %4, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0))
br label %29
26: ; preds = %0
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
br label %29
29: ; preds = %26, %3
%30 = load i32, i32* @stderr
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0))
%36 = load i32, i32* @stderr
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%38 = load i32, i32* @stderr
%39 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.16, i64 0, i64 0))
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
%42 = load i32, i32* @stderr
%43 = call i32 @fprintf(i32 %42, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0))
%44 = load i32, i32* @stderr
%45 = call i32 @fprintf(i32 %44, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.19, i64 0, i64 0))
%46 = load i32, i32* @stderr
%47 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.20, i64 0, i64 0))
%48 = load i32, i32* @stderr
%49 = call i32 @fprintf(i32 %48, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.21, i64 0, i64 0))
%50 = load i32, i32* @stderr
%51 = call i32 @fprintf(i32 %50, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, i64 0, i64 0))
%52 = load i32, i32* @stderr
%53 = call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.23, i64 0, i64 0))
%54 = load i32, i32* @stderr
%55 = call i32 @fprintf(i32 %54, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.24, i64 0, i64 0))
%56 = load i32, i32* @stderr
%57 = call i32 @fprintf(i32 %56, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.25, i64 0, i64 0))
%58 = load i32, i32* @stderr
%59 = call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.26, i64 0, i64 0))
%60 = load i32, i32* @stderr
%61 = call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.27, i64 0, i64 0))
%62 = load i32, i32* @stderr
%63 = call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.28, i64 0, i64 0))
%64 = load i32, i32* @stderr
%65 = call i32 @fprintf(i32 %64, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.29, i64 0, i64 0))
%66 = load i32, i32* @stderr
%67 = call i32 @fprintf(i32 %66, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.30, i64 0, i64 0))
%68 = load i32, i32* @stderr
%69 = call i32 @fprintf(i32 %68, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.31, i64 0, i64 0))
%70 = load i32, i32* @stderr
%71 = call i32 @fprintf(i32 %70, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.32, i64 0, i64 0))
%72 = load i32, i32* @stderr
%73 = call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.33, i64 0, i64 0))
%74 = call i64 (...) @iplink_have_newlink()
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %85
76: ; preds = %29
%77 = load i32, i32* @stderr
%78 = call i32 @fprintf(i32 %77, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%79 = load i32, i32* @stderr
%80 = call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.34, i64 0, i64 0))
%81 = load i32, i32* @stderr
%82 = call i32 @fprintf(i32 %81, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.35, i64 0, i64 0))
%83 = load i32, i32* @stderr
%84 = call i32 @fprintf(i32 %83, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.36, i64 0, i64 0))
br label %85
85: ; preds = %76, %29
%86 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [45 x i8] c"Usage: ip link add [link DEV] [ name ] NAME\0A\00"
@.str.1 = [43 x i8] c" [ txqueuelen PACKETS ]\0A\00"
@.str.2 = [39 x i8] c" [ address LLADDR ]\0A\00"
@.str.3 = [41 x i8] c" [ broadcast LLADDR ]\0A\00"
@.str.4 = [45 x i8] c" [ mtu MTU ] [index IDX ]\0A\00"
@.str.5 = [48 x i8] c" [ numtxqueues QUEUE_COUNT ]\0A\00"
@.str.6 = [48 x i8] c" [ numrxqueues QUEUE_COUNT ]\0A\00"
@.str.7 = [39 x i8] c" type TYPE [ ARGS ]\0A\00"
@.str.8 = [46 x i8] c" ip link delete DEV type TYPE [ ARGS ]\0A\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [70 x i8] c" ip link set { dev DEVICE | group DEVGROUP } [ { up | down } ]\0A\00"
@.str.11 = [45 x i8] c"Usage: ip link set DEVICE [ { up | down } ]\0A\00"
@.str.12 = [41 x i8] c"\09 [ arp { on | off } ]\0A\00"
@.str.13 = [45 x i8] c"\09 [ dynamic { on | off } ]\0A\00"
@.str.14 = [47 x i8] c"\09 [ multicast { on | off } ]\0A\00"
@.str.15 = [50 x i8] c"\09 [ allmulticast { on | off } ]\0A\00"
@.str.16 = [45 x i8] c"\09 [ promisc { on | off } ]\0A\00"
@.str.17 = [46 x i8] c"\09 [ trailers { on | off } ]\0A\00"
@.str.18 = [43 x i8] c"\09 [ txqueuelen PACKETS ]\0A\00"
@.str.19 = [37 x i8] c"\09 [ name NEWNAME ]\0A\00"
@.str.20 = [39 x i8] c"\09 [ address LLADDR ]\0A\00"
@.str.21 = [41 x i8] c"\09 [ broadcast LLADDR ]\0A\00"
@.str.22 = [32 x i8] c"\09 [ mtu MTU ]\0A\00"
@.str.23 = [34 x i8] c"\09 [ netns PID ]\0A\00"
@.str.24 = [35 x i8] c"\09 [ netns NAME ]\0A\00"
@.str.25 = [21 x i8] c"\09\09\09 [ alias NAME ]\0A\00"
@.str.26 = [44 x i8] c"\09 [ vf NUM [ mac LLADDR ]\0A\00"
@.str.27 = [41 x i8] c"\09\09\09\09 [ vlan VLANID [ qos VLAN-QOS ] ]\0A\00"
@.str.28 = [27 x i8] c"\09\09\09\09 [ rate TXRATE ] ] \0A\00"
@.str.29 = [36 x i8] c"\09\09\09\09 [ spoofchk { on | off} ] ] \0A\00"
@.str.30 = [47 x i8] c"\09\09\09\09 [ state { auto | enable | disable} ] ]\0A\00"
@.str.31 = [24 x i8] c"\09\09\09 [ master DEVICE ]\0A\00"
@.str.32 = [19 x i8] c"\09\09\09 [ nomaster ]\0A\00"
@.str.33 = [51 x i8] c" ip link show [ DEVICE | group GROUP ] [up]\0A\00"
@.str.34 = [66 x i8] c"TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\0A\00"
@.str.35 = [63 x i8] c" can | bridge | bond | ipoib | ip6tnl | ipip | sit |\0A\00"
@.str.36 = [61 x i8] c" vxlan | gre | gretap | ip6gre | ip6gretap | vti }\0A\00"
define void @iplink_usage() {
%1 = tail call i64 (...) @iplink_have_newlink()
%2 = icmp eq i64 %1, 0
%3 = load i32, i32* @stderr
br i1 %2, label %26, label %4
4: ; preds = %0
%5 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = tail call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = tail call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = tail call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0))
br label %28
26: ; preds = %0
%27 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
br label %28
28: ; preds = %26, %4
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = tail call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = tail call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = tail call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.16, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = tail call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = tail call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0))
%43 = load i32, i32* @stderr
%44 = tail call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.19, i64 0, i64 0))
%45 = load i32, i32* @stderr
%46 = tail call i32 @fprintf(i32 %45, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.20, i64 0, i64 0))
%47 = load i32, i32* @stderr
%48 = tail call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.21, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = tail call i32 @fprintf(i32 %49, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = tail call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.23, i64 0, i64 0))
%53 = load i32, i32* @stderr
%54 = tail call i32 @fprintf(i32 %53, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.24, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = tail call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.25, i64 0, i64 0))
%57 = load i32, i32* @stderr
%58 = tail call i32 @fprintf(i32 %57, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.26, i64 0, i64 0))
%59 = load i32, i32* @stderr
%60 = tail call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.27, i64 0, i64 0))
%61 = load i32, i32* @stderr
%62 = tail call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.28, i64 0, i64 0))
%63 = load i32, i32* @stderr
%64 = tail call i32 @fprintf(i32 %63, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.29, i64 0, i64 0))
%65 = load i32, i32* @stderr
%66 = tail call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.30, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = tail call i32 @fprintf(i32 %67, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.31, i64 0, i64 0))
%69 = load i32, i32* @stderr
%70 = tail call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.32, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = tail call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.33, i64 0, i64 0))
%73 = tail call i64 (...) @iplink_have_newlink()
%74 = icmp eq i64 %73, 0
br i1 %74, label %84, label %75
75: ; preds = %28
%76 = load i32, i32* @stderr
%77 = tail call i32 @fprintf(i32 %76, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%78 = load i32, i32* @stderr
%79 = tail call i32 @fprintf(i32 %78, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.34, i64 0, i64 0))
%80 = load i32, i32* @stderr
%81 = tail call i32 @fprintf(i32 %80, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.35, i64 0, i64 0))
%82 = load i32, i32* @stderr
%83 = tail call i32 @fprintf(i32 %82, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.36, i64 0, i64 0))
br label %84
84: ; preds = %75, %28
%85 = tail call i32 @exit(i32 -1)
unreachable
}