#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*/ printf(char *, ...);
void usage() {
  printf("fbbi - flaming bovine befunge-98 interpreter v%d.%d", 1, 0);
  printf(" in ANSI C");
  printf(
      "\n    Copyright (c)1998-2011 Cat's Eye Technologies, http://catseye.tc/"
      "\n    Released under BSD license, see source code for more "
      "information.\n");
  printf("usage: fbbi ");
  printf("[-F] [-f] [-w] [-t] [-s] [-u] [-93]\n            [-mc n] [-ms n] ");
  printf("sourcefile [funge-prog-args]\n");
  printf(
      " -[not]F[ast]: go slower but allow program interrupt on some systems\n");
  printf(" -f[ast]: go faster but program cannot be interrupted on some "
         "systems\n");
  printf(" -w[arn]: issue warnings on unimplemented instructions\n");
  printf(" -t[race]: trace source execution during run\n");
  printf(" -s[cript]: begin execution on first non-# line of source\n");
  printf(" -u[nefunge]: work in one dimension only (Unefunge) mode\n");
  printf(" -[befunge]93: work in Befunge-93 compatibility mode\n");
  printf(" -m[ax]c[ells]: specify number of elements allocated for each stack, "
         "def. %d\n",
         2048);
  printf(" -m[ax]s[tacks]: specify number of stacks allocated on stack stack, "
         "def. %d\n",
         256);
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1024(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x104e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x106e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x109b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ef(%rip),%rdi
mov    $0x800,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x112a(%rip),%rdi
mov    $0x100,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xec8(%rip),%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1032(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x107c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b6(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1102(%rip),%rdi
call   1030 <puts@plt>
lea    0x1130(%rip),%rdi
call   1030 <puts@plt>
lea    0x115d(%rip),%rdi
call   1030 <puts@plt>
lea    0xeaa(%rip),%rdi
mov    $0x800,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee5(%rip),%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"fbbi - flaming bovine befunge-98 interpreter v%d.%d\00"
@.str.1 = [11 x i8] c" in ANSI C\00"
@.str.2 = [142 x i8] c"\0A Copyright (c)1998-2011 Cat's Eye Technologies, http://catseye.tc/\0A Released under BSD license, see source code for more information.\0A\00"
@.str.3 = [13 x i8] c"usage: fbbi \00"
@.str.4 = [65 x i8] c"[-F] [-f] [-w] [-t] [-s] [-u] [-93]\0A [-mc n] [-ms n] \00"
@.str.5 = [30 x i8] c"sourcefile [funge-prog-args]\0A\00"
@.str.6 = [70 x i8] c" -[not]F[ast]: go slower but allow program interrupt on some systems\0A\00"
@.str.7 = [71 x i8] c" -f[ast]: go faster but program cannot be interrupted on some systems\0A\00"
@.str.8 = [56 x i8] c" -w[arn]: issue warnings on unimplemented instructions\0A\00"
@.str.9 = [46 x i8] c" -t[race]: trace source execution during run\0A\00"
@.str.10 = [59 x i8] c" -s[cript]: begin execution on first non-# line of source\0A\00"
@.str.11 = [58 x i8] c" -u[nefunge]: work in one dimension only (Unefunge) mode\0A\00"
@.str.12 = [54 x i8] c" -[befunge]93: work in Befunge-93 compatibility mode\0A\00"
@.str.13 = [78 x i8] c" -m[ax]c[ells]: specify number of elements allocated for each stack, def. %d\0A\00"
@.str.14 = [77 x i8] c" -m[ax]s[tacks]: specify number of stacks allocated on stack stack, def. %d\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 1, i32 0)
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([142 x i8], [142 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.13, i64 0, i64 0), i32 2048)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.14, i64 0, i64 0), i32 256)
%16 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [52 x i8] c"fbbi - flaming bovine befunge-98 interpreter v%d.%d\00"
@.str.1 = [11 x i8] c" in ANSI C\00"
@.str.3 = [13 x i8] c"usage: fbbi \00"
@.str.4 = [65 x i8] c"[-F] [-f] [-w] [-t] [-s] [-u] [-93]\0A [-mc n] [-ms n] \00"
@.str.13 = [78 x i8] c" -m[ax]c[ells]: specify number of elements allocated for each stack, def. %d\0A\00"
@.str.14 = [77 x i8] c" -m[ax]s[tacks]: specify number of stacks allocated on stack stack, def. %d\0A\00"
@str = [141 x i8] c"\0A Copyright (c)1998-2011 Cat's Eye Technologies, http://catseye.tc/\0A Released under BSD license, see source code for more information.\00"
@str.15 = [29 x i8] c"sourcefile [funge-prog-args]\00"
@str.16 = [69 x i8] c" -[not]F[ast]: go slower but allow program interrupt on some systems\00"
@str.17 = [70 x i8] c" -f[ast]: go faster but program cannot be interrupted on some systems\00"
@str.18 = [55 x i8] c" -w[arn]: issue warnings on unimplemented instructions\00"
@str.19 = [45 x i8] c" -t[race]: trace source execution during run\00"
@str.20 = [58 x i8] c" -s[cript]: begin execution on first non-# line of source\00"
@str.21 = [57 x i8] c" -u[nefunge]: work in one dimension only (Unefunge) mode\00"
@str.22 = [53 x i8] c" -[befunge]93: work in Befunge-93 compatibility mode\00"
define void @usage() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 1, i32 0)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([141 x i8], [141 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.20, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.21, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.22, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @.str.13, i64 0, i64 0), i32 2048)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.14, i64 0, i64 0), i32 256)
%16 = tail call i32 @exit(i32 1)
unreachable
}