#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 *, char const *, char *,
                           int, int, int);
int /*<<< orphan*/ stderr;
void usage(const char *name) {
  fprintf(stderr,
          "usage: %s [-c channel] [-p power] [-t trim_tx [-t trim_rx]] [-v]\n"
          "%15s driver_tx[:arg] driver_rx[:arg] [packets]\n\n"
          "  -c channel  transmit/receive channel, 11 to 26 (default %d)\n"
          "  -p power    transmit power, 0 to 15 (default %d)\n"
          "  -t trim     trim capacitor, 0 to 15 (default %d)\n"
          "  -v          verbose reporting of transmission errors\n",
          name, "", 15, 15, 8);
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
lea    0x1005(%rip),%rcx
mov    $0xf,%r9d
mov    %r9d,%r8d
movl   $0x8,(%rsp)
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    %rdi,%rdx
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
movl   $0x8,(%rsp)
lea    0xec5(%rip),%rsi
lea    0x100a(%rip),%rcx
mov    $0xf,%r8d
mov    $0xf,%r9d
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [333 x i8] c"usage: %s [-c channel] [-p power] [-t trim_tx [-t trim_rx]] [-v]\0A%15s driver_tx[:arg] driver_rx[:arg] [packets]\0A\0A -c channel transmit/receive channel, 11 to 26 (default %d)\0A -p power transmit power, 0 to 15 (default %d)\0A -t trim trim capacitor, 0 to 15 (default %d)\0A -v verbose reporting of transmission errors\0A\00"
@.str.1 = [1 x i8] zeroinitializer
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([333 x i8], [333 x i8]* @.str, i64 0, i64 0), i8* %4, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 15, i32 15, i32 8)
%6 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [333 x i8] c"usage: %s [-c channel] [-p power] [-t trim_tx [-t trim_rx]] [-v]\0A%15s driver_tx[:arg] driver_rx[:arg] [packets]\0A\0A -c channel transmit/receive channel, 11 to 26 (default %d)\0A -p power transmit power, 0 to 15 (default %d)\0A -t trim trim capacitor, 0 to 15 (default %d)\0A -v verbose reporting of transmission errors\0A\00"
@.str.1 = [1 x i8] zeroinitializer
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([333 x i8], [333 x i8]* @.str, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 15, i32 15, i32 8)
%4 = tail call i32 @exit(i32 1)
unreachable
}