#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 *);
int /*<<< orphan*/ stderr;
void usage(void) {
  fprintf(stderr,
          "it950x_cmd_rx, a simple program to control UT-100(B|D) receiver\n\n"
          "Use:\tit950x_cmd_rx [-options] [filename]\n"
          "\t-d device handle\n"
          "\t-f frequency_to_tune_to [Hz] (default 550 MHz)\n"
          "\t\t(suffixes k, M, G available)\n"
          "\t-B bandwidth [Hz] (default 6 MHz)\n"
          "\t\t(suffixes k, M, G available)\n"
          "\t-s Perform statistics <count>[:<filename>]\n"
          "\t-l Output limit [TS file: MBytes | Packet test: ms] (defaut 0: no "
          "limit)\n"
          "\t-o Output TS filename with packet test ('-' for standard output)\n"
          "\t-r Attempt to re-lock channel after read time out (default 0: no "
          "relock)\n"
          "\t-v verbose (set to get packet statistics display)\n"
          "\t\n\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [582 x i8] c"it950x_cmd_rx, a simple program to control UT-100(B|D) receiver\0A\0AUse:\09it950x_cmd_rx [-options] [filename]\0A\09-d device handle\0A\09-f frequency_to_tune_to [Hz] (default 550 MHz)\0A\09\09(suffixes k, M, G available)\0A\09-B bandwidth [Hz] (default 6 MHz)\0A\09\09(suffixes k, M, G available)\0A\09-s Perform statistics <count>[:<filename>]\0A\09-l Output limit [TS file: MBytes | Packet test: ms] (defaut 0: no limit)\0A\09-o Output TS filename with packet test ('-' for standard output)\0A\09-r Attempt to re-lock channel after read time out (default 0: no relock)\0A\09-v verbose (set to get packet statistics display)\0A\09\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([582 x i8], [582 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [582 x i8] c"it950x_cmd_rx, a simple program to control UT-100(B|D) receiver\0A\0AUse:\09it950x_cmd_rx [-options] [filename]\0A\09-d device handle\0A\09-f frequency_to_tune_to [Hz] (default 550 MHz)\0A\09\09(suffixes k, M, G available)\0A\09-B bandwidth [Hz] (default 6 MHz)\0A\09\09(suffixes k, M, G available)\0A\09-s Perform statistics <count>[:<filename>]\0A\09-l Output limit [TS file: MBytes | Packet test: ms] (defaut 0: no limit)\0A\09-o Output TS filename with packet test ('-' for standard output)\0A\09-r Attempt to re-lock channel after read time out (default 0: no relock)\0A\09-v verbose (set to get packet statistics display)\0A\09\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([582 x i8], [582 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 1)
unreachable
}