#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 *, ...);
int usage(char *fn) {
  printf("cmail-admin-address - Configure inbound address routing\n");
  printf("This program is part of the cmail administration toolkit\n");
  printf("Usage: %s <options> <commands> <arguments>\n\n", fn);
  printf("Basic options:\n");
  printf("\t--verbosity, -v\t\tSet verbosity level (0 - 4)\n");
  printf("\t--dbpath, -d <dbpath>\tSet master database path (Default: %s)\n",
         "/etc/cmail/databases/master.db3");
  printf("\t--help, -h\t\tDisplay this help message\n");
  printf("Commands:\n");
  printf("\tadd <expression> <router> [<router argument> [<order>]]\t\tCreate "
         "an inbound path\n");
  printf("\tdelete <order>\t\t\t\t\t\t\tDelete a path expression\n");
  printf("\tupdate <order> <router> [<route argument>]\t\t\tUpdate routing "
         "information for a path\n");
  printf("\tswap <first> <second>\t\t\t\t\t\tSwap order of two expressions "
         "(given by their orders)\n");
  printf("\ttest <mailpath>\t\t\t\t\t\tTest <mailpath> against the address "
         "expression database\n");
  printf("\tlist [<expression>]\t\t\t\t\t\tList all currently configured "
         "paths, optionally filtered by <expression>\n");
  return 1;
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
lea    0xfaa(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1017(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1039(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1106(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8d(%rip),%rdi
call   1030 <puts@plt>
lea    0xebd(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xec1(%rip),%rdi
lea    0xef9(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfb9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1017(%rip),%rdi
call   1030 <puts@plt>
lea    0x103a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1082(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c8(%rip),%rdi
call   1030 <puts@plt>
lea    0x110a(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [57 x i8] c"cmail-admin-address - Configure inbound address routing\0A\00"
@.str.1 = [58 x i8] c"This program is part of the cmail administration toolkit\0A\00"
@.str.2 = [45 x i8] c"Usage: %s <options> <commands> <arguments>\0A\0A\00"
@.str.3 = [16 x i8] c"Basic options:\0A\00"
@.str.4 = [47 x i8] c"\09--verbosity, -v\09\09Set verbosity level (0 - 4)\0A\00"
@.str.5 = [63 x i8] c"\09--dbpath, -d <dbpath>\09Set master database path (Default: %s)\0A\00"
@.str.6 = [32 x i8] c"/etc/cmail/databases/master.db3\00"
@.str.7 = [40 x i8] c"\09--help, -h\09\09Display this help message\0A\00"
@.str.8 = [11 x i8] c"Commands:\0A\00"
@.str.9 = [82 x i8] c"\09add <expression> <router> [<router argument> [<order>]]\09\09Create an inbound path\0A\00"
@.str.10 = [48 x i8] c"\09delete <order>\09\09\09\09\09\09\09Delete a path expression\0A\00"
@.str.11 = [85 x i8] c"\09update <order> <router> [<route argument>]\09\09\09Update routing information for a path\0A\00"
@.str.12 = [83 x i8] c"\09swap <first> <second>\09\09\09\09\09\09Swap order of two expressions (given by their orders)\0A\00"
@.str.13 = [79 x i8] c"\09test <mailpath>\09\09\09\09\09\09Test <mailpath> against the address expression database\0A\00"
@.str.14 = [100 x i8] c"\09list [<expression>]\09\09\09\09\09\09List all currently configured paths, optionally filtered by <expression>\0A\00"
define i32 @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0))
%5 = load i8*, i8** %2
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0), i8* %5)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.14, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
@.str.2 = [45 x i8] c"Usage: %s <options> <commands> <arguments>\0A\0A\00"
@.str.5 = [63 x i8] c"\09--dbpath, -d <dbpath>\09Set master database path (Default: %s)\0A\00"
@.str.6 = [32 x i8] c"/etc/cmail/databases/master.db3\00"
@str = [56 x i8] c"cmail-admin-address - Configure inbound address routing\00"
@str.15 = [57 x i8] c"This program is part of the cmail administration toolkit\00"
@str.16 = [15 x i8] c"Basic options:\00"
@str.17 = [46 x i8] c"\09--verbosity, -v\09\09Set verbosity level (0 - 4)\00"
@str.18 = [39 x i8] c"\09--help, -h\09\09Display this help message\00"
@str.19 = [10 x i8] c"Commands:\00"
@str.20 = [81 x i8] c"\09add <expression> <router> [<router argument> [<order>]]\09\09Create an inbound path\00"
@str.21 = [47 x i8] c"\09delete <order>\09\09\09\09\09\09\09Delete a path expression\00"
@str.22 = [84 x i8] c"\09update <order> <router> [<route argument>]\09\09\09Update routing information for a path\00"
@str.23 = [82 x i8] c"\09swap <first> <second>\09\09\09\09\09\09Swap order of two expressions (given by their orders)\00"
@str.24 = [78 x i8] c"\09test <mailpath>\09\09\09\09\09\09Test <mailpath> against the address expression database\00"
@str.25 = [99 x i8] c"\09list [<expression>]\09\09\09\09\09\09List all currently configured paths, optionally filtered by <expression>\00"
define i32 @usage(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.23, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.24, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.25, i64 0, i64 0))
ret i32 1
}