#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 PrintHelp(void) {
  printf("Split files into parts:\n");
  printf("split %s<in_file> %s<size_of_parts> [%s<out_directory>]\n",
         "in=", "size=", "out=");
  printf("Examples:\n");
  printf("split %sa.txt %s10240\n", "in=", "size=");
  printf("split %sa.txt %s10KB \"%s.\\New Folder\" %s1024\n",
         "in=", "size=", "out=", "buffer=");
}


x86 assembly (clang, -O0):
<PrintHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
lea    0xf22(%rip),%rsi
lea    0xf1f(%rip),%rdx
lea    0xf1e(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
lea    0xef1(%rip),%rsi
lea    0xeee(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
lea    0xed5(%rip),%rsi
lea    0xed2(%rip),%rdx
lea    0xed1(%rip),%rcx
lea    0xf1f(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintHelp>:
push   %r15
push   %r14
push   %rbx
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xec8(%rip),%rdi
lea    0xefa(%rip),%rbx
lea    0xef7(%rip),%r14
lea    0xef6(%rip),%r15
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedb(%rip),%rdi
lea    0xf02(%rip),%r8
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %r15,%rcx
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"Split files into parts:\0A\00"
@.str.1 = [57 x i8] c"split %s<in_file> %s<size_of_parts> [%s<out_directory>]\0A\00"
@.str.2 = [4 x i8] c"in=\00"
@.str.3 = [6 x i8] c"size=\00"
@.str.4 = [5 x i8] c"out=\00"
@.str.5 = [11 x i8] c"Examples:\0A\00"
@.str.6 = [23 x i8] c"split %sa.txt %s10240\0A\00"
@.str.7 = [46 x i8] c"split %sa.txt %s10KB \22%s.\\New Folder\22 %s1024\0A\00"
@.str.8 = [8 x i8] c"buffer=\00"
define void @PrintHelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [57 x i8] c"split %s<in_file> %s<size_of_parts> [%s<out_directory>]\0A\00"
@.str.2 = [4 x i8] c"in=\00"
@.str.3 = [6 x i8] c"size=\00"
@.str.4 = [5 x i8] c"out=\00"
@.str.6 = [23 x i8] c"split %sa.txt %s10240\0A\00"
@.str.7 = [46 x i8] c"split %sa.txt %s10KB \22%s.\\New Folder\22 %s1024\0A\00"
@.str.8 = [8 x i8] c"buffer=\00"
@str = [24 x i8] c"Split files into parts:\00"
@str.9 = [10 x i8] c"Examples:\00"
define void @PrintHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
ret void
}