#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdout;
void syntax(void) {
  printf("%s", "\nN64CAPS v1.2 (BETA) Build 981217\n");
  printf("%s", "(C)1998 Silo/BlackBag (Silo@BlackBag.org)\n\n");
  printf(
      "N64CAPS <options> <Original File> <Modified File> <Output APS File>\n");
  printf(" -d %c<Image Title>%c : Description\n", 34, 34);
  printf(" -q                 : Quiet Mode\n");
  fflush(stdout);
}


x86 assembly (clang, -O0):
<syntax>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed1(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
lea    0xedf(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xefd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
mov    $0x22,%edx
mov    %edx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<syntax>:
push   %rax
lea    0xeed(%rip),%rdi
call   1030 <puts@plt>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xf22(%rip),%rdi
call   1030 <puts@plt>
lea    0xea4(%rip),%rdi
mov    $0x22,%esi
mov    $0x22,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
mov    0x2e60(%rip),%rax
mov    (%rax),%edi
pop    %rax
jmp    1050 <fflush@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [35 x i8] c"\0AN64CAPS v1.2 (BETA) Build 981217\0A\00"
@.str.2 = [44 x i8] c"(C)1998 Silo/BlackBag (Silo@BlackBag.org)\0A\0A\00"
@.str.3 = [69 x i8] c"N64CAPS <options> <Original File> <Modified File> <Output APS File>\0A\00"
@.str.4 = [37 x i8] c" -d %c<Image Title>%c : Description\0A\00"
@.str.5 = [34 x i8] c" -q : Quiet Mode\0A\00"
@stdout = global i32 0
define void @syntax() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 34, i32 34)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = call i32 @fflush(i32 %6)
ret void
}

LLVM IR (-O2):
@.str.4 = [37 x i8] c" -d %c<Image Title>%c : Description\0A\00"
@stdout = global i32 0
@str = [34 x i8] c"\0AN64CAPS v1.2 (BETA) Build 981217\00"
@str.6 = [43 x i8] c"(C)1998 Silo/BlackBag (Silo@BlackBag.org)\0A\00"
@str.7 = [68 x i8] c"N64CAPS <options> <Original File> <Modified File> <Output APS File>\00"
@str.8 = [33 x i8] c" -q : Quiet Mode\00"
define void @syntax() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.6, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.7, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 34, i32 34)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.8, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = tail call i32 @fflush(i32 %6)
ret void
}