#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 /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void usage(void) {
  printf("mkchunk <source-dir> <chunksize(KB)>\n");
  printf("Traverses the source directory specified and for every	file "
         "encountered, creates a recipie of hashes.\n");
  printf("The recipie file has the same filename with an appended .recipie "
         "extension.\n");
  printf("Every %d bytes in the recipie file corresponds to a chunk file "
         "filename.n\n",
         20);
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
mov    $0x14,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf86(%rip),%rdi
call   1030 <puts@plt>
lea    0xea4(%rip),%rdi
mov    $0x14,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [38 x i8] c"mkchunk <source-dir> <chunksize(KB)>\0A\00"
@.str.1 = [103 x i8] c"Traverses the source directory specified and for every\09file encountered, creates a recipie of hashes.\0A\00"
@.str.2 = [77 x i8] c"The recipie file has the same filename with an appended .recipie extension.\0A\00"
@.str.3 = [75 x i8] c"Every %d bytes in the recipie file corresponds to a chunk file filename.n\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.3, i64 0, i64 0), i32 20)
%5 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.3 = [75 x i8] c"Every %d bytes in the recipie file corresponds to a chunk file filename.n\0A\00"
@str = [37 x i8] c"mkchunk <source-dir> <chunksize(KB)>\00"
@str.4 = [102 x i8] c"Traverses the source directory specified and for every\09file encountered, creates a recipie of hashes.\00"
@str.5 = [76 x i8] c"The recipie file has the same filename with an appended .recipie extension.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @str.4, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.5, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @.str.3, i64 0, i64 0), i32 20)
%5 = tail call i32 @exit(i32 0)
unreachable
}