#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*/ printf(char *);
void usage() {
  printf(
      "SB16 emulator control program for Bochs.\n"
      "\n"
      "Usage: sb16ctrl [-i #] [-t #,#,#,#,#,#] [-r] [-m #,..] [-f filename]\n"
      "\n"
      "This program is used to control the operation of the SB16 emulator\n"
      "until it has a more sophisticated interface.\n"
      "Any number of commands can be given. If none are present \"-f -\"\n"
      "is assumed.\n"
      "\n"
      "-i # show the selected emulator info string\n"
      "-t #,#,#,#,#,# load the patch translation into the emulator\n"
      "-r resets the patch translation table\n"
      "-m #,... sends the given midi message (up to 255 bytes)\n"
      "-f filename loads commands from the given file, or stdin if \"-\"\n"
      "-v be verbose\n"
      "\n"
      "# can be decimal, octal (first digit 0) or hexadecimal (0x..)\n"
      "\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [642 x i8] c"SB16 emulator control program for Bochs.\0A\0AUsage: sb16ctrl [-i #] [-t #,#,#,#,#,#] [-r] [-m #,..] [-f filename]\0A\0AThis program is used to control the operation of the SB16 emulator\0Auntil it has a more sophisticated interface.\0AAny number of commands can be given. If none are present \22-f -\22\0Ais assumed.\0A\0A-i # show the selected emulator info string\0A-t #,#,#,#,#,# load the patch translation into the emulator\0A-r resets the patch translation table\0A-m #,... sends the given midi message (up to 255 bytes)\0A-f filename loads commands from the given file, or stdin if \22-\22\0A-v be verbose\0A\0A# can be decimal, octal (first digit 0) or hexadecimal (0x..)\0A\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([642 x i8], [642 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [641 x i8] c"SB16 emulator control program for Bochs.\0A\0AUsage: sb16ctrl [-i #] [-t #,#,#,#,#,#] [-r] [-m #,..] [-f filename]\0A\0AThis program is used to control the operation of the SB16 emulator\0Auntil it has a more sophisticated interface.\0AAny number of commands can be given. If none are present \22-f -\22\0Ais assumed.\0A\0A-i # show the selected emulator info string\0A-t #,#,#,#,#,# load the patch translation into the emulator\0A-r resets the patch translation table\0A-m #,... sends the given midi message (up to 255 bytes)\0A-f filename loads commands from the given file, or stdin if \22-\22\0A-v be verbose\0A\0A# can be decimal, octal (first digit 0) or hexadecimal (0x..)\0A\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([641 x i8], [641 x i8]* @str, i64 0, i64 0))
ret void
}