#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 usage_en_debug(void) {
  printf("DEBUG and help\n");
  printf("--------------\n");
  printf("echo [FMT] [ARG]     : try to get subnet from ARG and echo it "
         "according to FMT\n");
  printf("scanf [STRING] [FMT] : scan STRING according to scanf-like format "
         "FMT\n");
  printf(
      "fscanf [FILE] [FMT]  : scan FILE according to scanf-like format FMT\n");
  printf("confdesc             : print a small explanation of %s configuration "
         "file\n",
         "subnet-tools");
  printf("help                 : this help\n");
  printf("limits               : print all limits known by %s\n",
         "subnet-tools");
  printf("version              : %s version\n", "subnet-tools");
}


x86 assembly (clang, -O0):
<usage_en_debug>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
lea    0xfdf(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff2(%rip),%rdi
lea    0xfbc(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
lea    0xfa7(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_en_debug>:
push   %rbx
lea    0xf88(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd1(%rip),%rdi
call   1030 <puts@plt>
lea    0x100b(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9c(%rip),%rdi
lea    0xee0(%rip),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x102b(%rip),%rdi
call   1030 <puts@plt>
lea    0xed0(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef4(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"DEBUG and help\0A\00"
@.str.1 = [16 x i8] c"--------------\0A\00"
@.str.2 = [80 x i8] c"echo [FMT] [ARG] : try to get subnet from ARG and echo it according to FMT\0A\00"
@.str.3 = [71 x i8] c"scanf [STRING] [FMT] : scan STRING according to scanf-like format FMT\0A\00"
@.str.4 = [69 x i8] c"fscanf [FILE] [FMT] : scan FILE according to scanf-like format FMT\0A\00"
@.str.5 = [75 x i8] c"confdesc : print a small explanation of %s configuration file\0A\00"
@.str.6 = [13 x i8] c"subnet-tools\00"
@.str.7 = [34 x i8] c"help : this help\0A\00"
@.str.8 = [53 x i8] c"limits : print all limits known by %s\0A\00"
@.str.9 = [35 x i8] c"version : %s version\0A\00"
define void @usage_en_debug() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.5 = [75 x i8] c"confdesc : print a small explanation of %s configuration file\0A\00"
@.str.6 = [13 x i8] c"subnet-tools\00"
@.str.8 = [53 x i8] c"limits : print all limits known by %s\0A\00"
@.str.9 = [35 x i8] c"version : %s version\0A\00"
@str = [15 x i8] c"DEBUG and help\00"
@str.10 = [15 x i8] c"--------------\00"
@str.11 = [79 x i8] c"echo [FMT] [ARG] : try to get subnet from ARG and echo it according to FMT\00"
@str.12 = [70 x i8] c"scanf [STRING] [FMT] : scan STRING according to scanf-like format FMT\00"
@str.13 = [68 x i8] c"fscanf [FILE] [FMT] : scan FILE according to scanf-like format FMT\00"
@str.14 = [33 x i8] c"help : this help\00"
define void @usage_en_debug() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
ret void
}