#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*/ puts(char *);
void show_usage(void) {
  puts("Usage: frame337 "
       "[-h][-i<filename.ext>][-o<filename.ext>][-a][-b][-v][-d][-n<#>]\n"
       "       -h     Show this usage message and abort\n"
       "       -i     Input AC-3, E-AC-3, or Dolby E file name \n"
       "              (default output.ac3) (or .smp if deformat)\n"
       "       -o     Output SMPTE337 file name (default output.wav) (or .ext "
       "if deformat)\n"
       "       -a     Use alternate packing method - aligns 2/3 pt \n"
       "              (not valid for E-AC-3 or Dolby E files)\n"
       "       -b     Bits per sample of input file. Default = 16. \n"
       "              (only used for deformatting)\n"
       "       -v     Verbose mode. \n"
       "              Display frame # and % done (SMPTE 337M status if "
       "deformat)\n"
       "       -d     Deformat. Output AC-3, E-AC-3 or Dolby E file\n"
       "              from SMPTE file\n");
  exit(1);
}


x86 assembly (clang, -O0):
<show_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<show_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [734 x i8] c"Usage: frame337 [-h][-i<filename.ext>][-o<filename.ext>][-a][-b][-v][-d][-n<#>]\0A -h Show this usage message and abort\0A -i Input AC-3, E-AC-3, or Dolby E file name \0A (default output.ac3) (or .smp if deformat)\0A -o Output SMPTE337 file name (default output.wav) (or .ext if deformat)\0A -a Use alternate packing method - aligns 2/3 pt \0A (not valid for E-AC-3 or Dolby E files)\0A -b Bits per sample of input file. Default = 16. \0A (only used for deformatting)\0A -v Verbose mode. \0A Display frame # and % done (SMPTE 337M status if deformat)\0A -d Deformat. Output AC-3, E-AC-3 or Dolby E file\0A from SMPTE file\0A\00"
define void @show_usage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([734 x i8], [734 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [734 x i8] c"Usage: frame337 [-h][-i<filename.ext>][-o<filename.ext>][-a][-b][-v][-d][-n<#>]\0A -h Show this usage message and abort\0A -i Input AC-3, E-AC-3, or Dolby E file name \0A (default output.ac3) (or .smp if deformat)\0A -o Output SMPTE337 file name (default output.wav) (or .ext if deformat)\0A -a Use alternate packing method - aligns 2/3 pt \0A (not valid for E-AC-3 or Dolby E files)\0A -b Bits per sample of input file. Default = 16. \0A (only used for deformatting)\0A -v Verbose mode. \0A Display frame # and % done (SMPTE 337M status if deformat)\0A -d Deformat. Output AC-3, E-AC-3 or Dolby E file\0A from SMPTE file\0A\00"
define void @show_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([734 x i8], [734 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @exit(i32 1)
unreachable
}