#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_tx, a simple program to control UT-100(A|C) transmitter\n\n"
      "Use:\tit950x_cmd_tx [-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-R Specify TS data rate [bps] (default calculated from input TS "
      "file)\n"
      "\t   Specify M to set it to max detected rate\n"
      "\t\t(suffixes k, M, G available)\n"
      "\t-Q QAM modulation [4=QPSK, 16=QAM16, 64=QAM64] (default QPSK)\n"
      "\t-C FEC coderate [1/2, 2/3, 3/4, 5/6, 7/8] (default 1/2)\n"
      "\t-G Guard interval [1/32, 1/16, 1/8, 1/4] (default 1/32)\n"
      "\t-F FFT size [2k, 8k] (default 2k, set to 2k if bandwidth = 2 MHz)\n"
      "\t-g gain [dB] (default 0)\n"
      "\t-T TPS (Transmission Parameter Signalling) cell-id\n"
      "\t-I IQ calibration filename\n"
      "\t-D DC IQ calibration values semicolon separated as <dc_i>:<dc_q>\n"
      "\t-S Insert periodical custom packets for SI SDT table\n"
      "\t-i Input TS filename\n"
      "\t-l Loop on TS input\n"
      "\t-p print device type\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 = [958 x i8] c"it950x_cmd_tx, a simple program to control UT-100(A|C) transmitter\0A\0AUse:\09it950x_cmd_tx [-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-R Specify TS data rate [bps] (default calculated from input TS file)\0A\09 Specify M to set it to max detected rate\0A\09\09(suffixes k, M, G available)\0A\09-Q QAM modulation [4=QPSK, 16=QAM16, 64=QAM64] (default QPSK)\0A\09-C FEC coderate [1/2, 2/3, 3/4, 5/6, 7/8] (default 1/2)\0A\09-G Guard interval [1/32, 1/16, 1/8, 1/4] (default 1/32)\0A\09-F FFT size [2k, 8k] (default 2k, set to 2k if bandwidth = 2 MHz)\0A\09-g gain [dB] (default 0)\0A\09-T TPS (Transmission Parameter Signalling) cell-id\0A\09-I IQ calibration filename\0A\09-D DC IQ calibration values semicolon separated as <dc_i>:<dc_q>\0A\09-S Insert periodical custom packets for SI SDT table\0A\09-i Input TS filename\0A\09-l Loop on TS input\0A\09-p print device type\0A\09\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([958 x i8], [958 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [958 x i8] c"it950x_cmd_tx, a simple program to control UT-100(A|C) transmitter\0A\0AUse:\09it950x_cmd_tx [-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-R Specify TS data rate [bps] (default calculated from input TS file)\0A\09 Specify M to set it to max detected rate\0A\09\09(suffixes k, M, G available)\0A\09-Q QAM modulation [4=QPSK, 16=QAM16, 64=QAM64] (default QPSK)\0A\09-C FEC coderate [1/2, 2/3, 3/4, 5/6, 7/8] (default 1/2)\0A\09-G Guard interval [1/32, 1/16, 1/8, 1/4] (default 1/32)\0A\09-F FFT size [2k, 8k] (default 2k, set to 2k if bandwidth = 2 MHz)\0A\09-g gain [dB] (default 0)\0A\09-T TPS (Transmission Parameter Signalling) cell-id\0A\09-I IQ calibration filename\0A\09-D DC IQ calibration values semicolon separated as <dc_i>:<dc_q>\0A\09-S Insert periodical custom packets for SI SDT table\0A\09-i Input TS filename\0A\09-l Loop on TS input\0A\09-p print device type\0A\09\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([958 x i8], [958 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 1)
unreachable
}