#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 *, char *);
void show_help_english() {
  printf("%s", "\nFin: The command line personal finances manager\n");
  printf("%s", "-----------------------------------------------\n\n");
  printf("%s", "To log an amount of money spent:\n\n");
  printf("%s", "   fin spend <amount> on <thing purchased>\n\n");
  printf("%s", "   fin spend 2.99 on cheese\n\n");
  printf("%s", "Currency symbols such as $ or £ should not be included in the "
               "amount.\n\n");
  printf("%s", "You might also wish to log where money was spent, so that you "
               "can use that as a search criteria later.\n\n");
  printf("%s", "   fin spend 25.39 on groceries at supermarket\n\n");
  printf("%s", "To receive an amount of money:\n\n");
  printf("%s", "   fin receive <amount> from <source>\n\n");
  printf("%s", "   fin receive 100 from \"balance brought forward\"\n\n");
  printf("%s",
         "To show recent transactions just type \"fin\".  The most recent is "
         "at the top.  If you want to list more transactions:\n\n");
  printf("%s", "   fin transactions <number>\n\n");
  printf("%s", "You can also see aggregated figures:\n\n");
  printf("%s", "   fin monthly\n\n");
  printf("%s", "   fin yearly\n\n");
  printf("%s", "For more details see the README file.\n\n");
}


x86 assembly (clang, -O0):
<show_help_english>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee1(%rip),%rsi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
lea    0xf00(%rip),%rsi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
lea    0xf1f(%rip),%rsi
call   1030 <printf@plt>
lea    0xeac(%rip),%rdi
lea    0xf2f(%rip),%rsi
call   1030 <printf@plt>
lea    0xe99(%rip),%rdi
lea    0xf49(%rip),%rsi
call   1030 <printf@plt>
lea    0xe86(%rip),%rdi
lea    0xf54(%rip),%rsi
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0xf8a(%rip),%rsi
call   1030 <printf@plt>
lea    0xe60(%rip),%rdi
lea    0xfe0(%rip),%rsi
call   1030 <printf@plt>
lea    0xe4d(%rip),%rdi
lea    0xffe(%rip),%rsi
call   1030 <printf@plt>
lea    0xe3a(%rip),%rdi
lea    0x100c(%rip),%rsi
call   1030 <printf@plt>
lea    0xe27(%rip),%rdi
lea    0x1021(%rip),%rsi
call   1030 <printf@plt>
lea    0xe14(%rip),%rdi
lea    0x1042(%rip),%rsi
call   1030 <printf@plt>
lea    0xe01(%rip),%rdi
lea    0x10a6(%rip),%rsi
call   1030 <printf@plt>
lea    0xdee(%rip),%rdi
lea    0x10b2(%rip),%rsi
call   1030 <printf@plt>
lea    0xddb(%rip),%rdi
lea    0x10c6(%rip),%rsi
call   1030 <printf@plt>
lea    0xdc8(%rip),%rdi
lea    0x10c4(%rip),%rsi
call   1030 <printf@plt>
lea    0xdb5(%rip),%rdi
lea    0x10c1(%rip),%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help_english>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xee4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf2a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf6b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xfff(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1021(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1033(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x104c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1071(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x10d9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x10e9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1101(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1103(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1104(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [50 x i8] c"\0AFin: The command line personal finances manager\0A\00"
@.str.2 = [50 x i8] c"-----------------------------------------------\0A\0A\00"
@.str.3 = [35 x i8] c"To log an amount of money spent:\0A\0A\00"
@.str.4 = [45 x i8] c" fin spend <amount> on <thing purchased>\0A\0A\00"
@.str.5 = [30 x i8] c" fin spend 2.99 on cheese\0A\0A\00"
@.str.6 = [73 x i8] c"Currency symbols such as $ or \C2\A3 should not be included in the amount.\0A\0A\00"
@.str.7 = [105 x i8] c"You might also wish to log where money was spent, so that you can use that as a search criteria later.\0A\0A\00"
@.str.8 = [49 x i8] c" fin spend 25.39 on groceries at supermarket\0A\0A\00"
@.str.9 = [33 x i8] c"To receive an amount of money:\0A\0A\00"
@.str.10 = [40 x i8] c" fin receive <amount> from <source>\0A\0A\00"
@.str.11 = [52 x i8] c" fin receive 100 from \22balance brought forward\22\0A\0A\00"
@.str.12 = [119 x i8] c"To show recent transactions just type \22fin\22. The most recent is at the top. If you want to list more transactions:\0A\0A\00"
@.str.13 = [31 x i8] c" fin transactions <number>\0A\0A\00"
@.str.14 = [39 x i8] c"You can also see aggregated figures:\0A\0A\00"
@.str.15 = [17 x i8] c" fin monthly\0A\0A\00"
@.str.16 = [16 x i8] c" fin yearly\0A\0A\00"
@.str.17 = [40 x i8] c"For more details see the README file.\0A\0A\00"
define void @show_help_english() {
%1 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @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.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([105 x i8], [105 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.17, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [50 x i8] c"\0AFin: The command line personal finances manager\0A\00"
@.str.2 = [50 x i8] c"-----------------------------------------------\0A\0A\00"
@.str.3 = [35 x i8] c"To log an amount of money spent:\0A\0A\00"
@.str.4 = [45 x i8] c" fin spend <amount> on <thing purchased>\0A\0A\00"
@.str.5 = [30 x i8] c" fin spend 2.99 on cheese\0A\0A\00"
@.str.6 = [73 x i8] c"Currency symbols such as $ or \C2\A3 should not be included in the amount.\0A\0A\00"
@.str.7 = [105 x i8] c"You might also wish to log where money was spent, so that you can use that as a search criteria later.\0A\0A\00"
@.str.8 = [49 x i8] c" fin spend 25.39 on groceries at supermarket\0A\0A\00"
@.str.9 = [33 x i8] c"To receive an amount of money:\0A\0A\00"
@.str.10 = [40 x i8] c" fin receive <amount> from <source>\0A\0A\00"
@.str.11 = [52 x i8] c" fin receive 100 from \22balance brought forward\22\0A\0A\00"
@.str.12 = [119 x i8] c"To show recent transactions just type \22fin\22. The most recent is at the top. If you want to list more transactions:\0A\0A\00"
@.str.13 = [31 x i8] c" fin transactions <number>\0A\0A\00"
@.str.14 = [39 x i8] c"You can also see aggregated figures:\0A\0A\00"
@.str.15 = [17 x i8] c" fin monthly\0A\0A\00"
@.str.16 = [16 x i8] c" fin yearly\0A\0A\00"
@.str.17 = [40 x i8] c"For more details see the README file.\0A\0A\00"
define void @show_help_english() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @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.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([105 x i8], [105 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
%9 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0))
%11 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
%12 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str.12, i64 0, i64 0))
%13 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0))
%14 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0))
%15 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0))
%16 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0))
%17 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.17, i64 0, i64 0))
ret void
}