#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 print_usage(void) {
  printf("-h --help\t\tprint help message\n");
  printf("-V --Version\t\tprint version  message\n");
  printf("-i --input\t\tinput file\n");
  printf("-o --output\t\toutput file\n");
  printf("-a --aes-key\t\taes key file\n");
  printf("-r --rsa-key\t\trsa key file\n");
  printf("-l --rsa-len\t\trsa N length in bit\n");
  printf("-m --crypt-mode\t\tcrypy mode bit 0: 0:file no crypt 1:file crypt\n");
  printf("\t\t\t\t\tbit 1:  0:key no crypt 1:key crypt\n");
  printf("\t\t\t\t\tbit 2:  0:use chip key 1:use user key\n");
  printf("\t\t\t\t\tbit 3:  0:no spl 1:is spl\n");
  printf("-s --skip-sz\t\tinput file skip size from head to crypy in KB\n");
  printf("-t --title-sz\t\tinput title size of head to reserve in 512Byte\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf63(%rip),%rdi
call   1030 <printf@plt>
lea    0xf98(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe9(%rip),%rdi
call   1030 <printf@plt>
lea    0x101a(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf93(%rip),%rdi
call   1030 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1030 <puts@plt>
lea    0xfce(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1011(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [31 x i8] c"-h --help\09\09print help message\0A\00"
@.str.1 = [38 x i8] c"-V --Version\09\09print version message\0A\00"
@.str.2 = [24 x i8] c"-i --input\09\09input file\0A\00"
@.str.3 = [26 x i8] c"-o --output\09\09output file\0A\00"
@.str.4 = [28 x i8] c"-a --aes-key\09\09aes key file\0A\00"
@.str.5 = [28 x i8] c"-r --rsa-key\09\09rsa key file\0A\00"
@.str.6 = [35 x i8] c"-l --rsa-len\09\09rsa N length in bit\0A\00"
@.str.7 = [65 x i8] c"-m --crypt-mode\09\09crypy mode bit 0: 0:file no crypt 1:file crypt\0A\00"
@.str.8 = [41 x i8] c"\09\09\09\09\09bit 1: 0:key no crypt 1:key crypt\0A\00"
@.str.9 = [44 x i8] c"\09\09\09\09\09bit 2: 0:use chip key 1:use user key\0A\00"
@.str.10 = [32 x i8] c"\09\09\09\09\09bit 3: 0:no spl 1:is spl\0A\00"
@.str.11 = [61 x i8] c"-s --skip-sz\09\09input file skip size from head to crypy in KB\0A\00"
@.str.12 = [63 x i8] c"-t --title-sz\09\09input title size of head to reserve in 512Byte\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [30 x i8] c"-h --help\09\09print help message\00"
@str.13 = [37 x i8] c"-V --Version\09\09print version message\00"
@str.14 = [23 x i8] c"-i --input\09\09input file\00"
@str.15 = [25 x i8] c"-o --output\09\09output file\00"
@str.16 = [27 x i8] c"-a --aes-key\09\09aes key file\00"
@str.17 = [27 x i8] c"-r --rsa-key\09\09rsa key file\00"
@str.18 = [34 x i8] c"-l --rsa-len\09\09rsa N length in bit\00"
@str.19 = [64 x i8] c"-m --crypt-mode\09\09crypy mode bit 0: 0:file no crypt 1:file crypt\00"
@str.20 = [40 x i8] c"\09\09\09\09\09bit 1: 0:key no crypt 1:key crypt\00"
@str.21 = [43 x i8] c"\09\09\09\09\09bit 2: 0:use chip key 1:use user key\00"
@str.22 = [31 x i8] c"\09\09\09\09\09bit 3: 0:no spl 1:is spl\00"
@str.23 = [60 x i8] c"-s --skip-sz\09\09input file skip size from head to crypy in KB\00"
@str.24 = [62 x i8] c"-t --title-sz\09\09input title size of head to reserve in 512Byte\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.24, i64 0, i64 0))
ret void
}