#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() {
  printf("vcp  Copyright (C) 2009, 2010  lynix <lynix47@gmail.com>\n\n");
  printf("This program comes with ABSOLUTELY NO WARRANTY, use at\n");
  printf("own risk. This is free software, and you are welcome to\n");
  printf("redistribute it under the terms of the GNU General\n");
  printf("Public License as published by the Free Software\n");
  printf("Foundation, either version 3 of the License, or (at your\n");
  printf("option) any later version.\n\n");
  printf("Usage:    vcp [OPTIONS] SOURCE(S) DESTINATION\n");
  printf("\n");
  printf("Behaviour:\n");
  printf("  -d  delete source(s) on success\n");
  printf("  -f  overwrite existing files (default: ask)\n");
  printf("  -k  skip all existing files (default: ask)\n");
  printf("  -p  only show what would be done\n");
  printf("  -u  skip identical existing files\n");
  printf("  -s  ensure each file is synched to disk after write\n");
  printf("  -t  ignore errors on preserving uid/gid\n");
  printf("Output control:\n");
  printf("  -b  display progress bars (default: text)\n");
  printf("  -B  display progress bars only, no filenames\n");
  printf("  -q  do not print progress indicators\n");
  printf("  -Q  do not print progress indicators nor filenames\n");
  printf("General options:\n");
  printf("  -h  print usage and license information\n");
  printf("  -v  be verbose\n");
  printf("  -D  print debugging messages\n");
  printf("\n");
  printf("This version of vcp was built on %s %s.\n", "Mar 16 2022",
         "14:28:13");
  return;
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1053(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1069(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10e8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x110a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1124(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x114c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1150(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x116d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1171(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1175(%rip),%rdi
lea    0x1197(%rip),%rsi
lea    0x119c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xf06(%rip),%rdi
call   1040 <puts@plt>
lea    0xf34(%rip),%rdi
call   1040 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8b(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb2(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd7(%rip),%rdi
call   1040 <puts@plt>
lea    0x1004(%rip),%rdi
call   1040 <puts@plt>
lea    0x1014(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x102c(%rip),%rdi
call   1040 <puts@plt>
lea    0x102b(%rip),%rdi
call   1040 <puts@plt>
lea    0x1041(%rip),%rdi
call   1040 <puts@plt>
lea    0x1063(%rip),%rdi
call   1040 <puts@plt>
lea    0x1084(%rip),%rdi
call   1040 <puts@plt>
lea    0x109b(%rip),%rdi
call   1040 <puts@plt>
lea    0x10b3(%rip),%rdi
call   1040 <puts@plt>
lea    0x10dd(%rip),%rdi
call   1040 <puts@plt>
lea    0x10fb(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ff(%rip),%rdi
call   1040 <puts@plt>
lea    0x111f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1142(%rip),%rdi
call   1040 <puts@plt>
lea    0x115d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1186(%rip),%rdi
call   1040 <puts@plt>
lea    0x118b(%rip),%rdi
call   1040 <puts@plt>
lea    0x11a9(%rip),%rdi
call   1040 <puts@plt>
lea    0x11ae(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd88(%rip),%rdi
lea    0xdaa(%rip),%rsi
lea    0xdaf(%rip),%rdx
xor    %eax,%eax
pop    %rcx
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"vcp Copyright (C) 2009, 2010 lynix <lynix47@gmail.com>\0A\0A\00"
@.str.1 = [56 x i8] c"This program comes with ABSOLUTELY NO WARRANTY, use at\0A\00"
@.str.2 = [57 x i8] c"own risk. This is free software, and you are welcome to\0A\00"
@.str.3 = [52 x i8] c"redistribute it under the terms of the GNU General\0A\00"
@.str.4 = [50 x i8] c"Public License as published by the Free Software\0A\00"
@.str.5 = [58 x i8] c"Foundation, either version 3 of the License, or (at your\0A\00"
@.str.6 = [29 x i8] c"option) any later version.\0A\0A\00"
@.str.7 = [47 x i8] c"Usage: vcp [OPTIONS] SOURCE(S) DESTINATION\0A\00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [12 x i8] c"Behaviour:\0A\00"
@.str.10 = [35 x i8] c" -d delete source(s) on success\0A\00"
@.str.11 = [47 x i8] c" -f overwrite existing files (default: ask)\0A\00"
@.str.12 = [46 x i8] c" -k skip all existing files (default: ask)\0A\00"
@.str.13 = [36 x i8] c" -p only show what would be done\0A\00"
@.str.14 = [37 x i8] c" -u skip identical existing files\0A\00"
@.str.15 = [55 x i8] c" -s ensure each file is synched to disk after write\0A\00"
@.str.16 = [43 x i8] c" -t ignore errors on preserving uid/gid\0A\00"
@.str.17 = [17 x i8] c"Output control:\0A\00"
@.str.18 = [45 x i8] c" -b display progress bars (default: text)\0A\00"
@.str.19 = [48 x i8] c" -B display progress bars only, no filenames\0A\00"
@.str.20 = [40 x i8] c" -q do not print progress indicators\0A\00"
@.str.21 = [54 x i8] c" -Q do not print progress indicators nor filenames\0A\00"
@.str.22 = [18 x i8] c"General options:\0A\00"
@.str.23 = [43 x i8] c" -h print usage and license information\0A\00"
@.str.24 = [18 x i8] c" -v be verbose\0A\00"
@.str.25 = [32 x i8] c" -D print debugging messages\0A\00"
@.str.26 = [41 x i8] c"This version of vcp was built on %s %s.\0A\00"
@.str.27 = [12 x i8] c"Mar 16 2022\00"
@.str.28 = [9 x i8] c"14:28:13\00"
define void @print_usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.24, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.25, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.26 = [41 x i8] c"This version of vcp was built on %s %s.\0A\00"
@.str.27 = [12 x i8] c"Mar 16 2022\00"
@.str.28 = [9 x i8] c"14:28:13\00"
@str = [58 x i8] c"vcp Copyright (C) 2009, 2010 lynix <lynix47@gmail.com>\0A\00"
@str.29 = [55 x i8] c"This program comes with ABSOLUTELY NO WARRANTY, use at\00"
@str.30 = [56 x i8] c"own risk. This is free software, and you are welcome to\00"
@str.31 = [51 x i8] c"redistribute it under the terms of the GNU General\00"
@str.32 = [49 x i8] c"Public License as published by the Free Software\00"
@str.33 = [57 x i8] c"Foundation, either version 3 of the License, or (at your\00"
@str.34 = [28 x i8] c"option) any later version.\0A\00"
@str.35 = [46 x i8] c"Usage: vcp [OPTIONS] SOURCE(S) DESTINATION\00"
@str.36 = [11 x i8] c"Behaviour:\00"
@str.37 = [34 x i8] c" -d delete source(s) on success\00"
@str.38 = [46 x i8] c" -f overwrite existing files (default: ask)\00"
@str.39 = [45 x i8] c" -k skip all existing files (default: ask)\00"
@str.40 = [35 x i8] c" -p only show what would be done\00"
@str.41 = [36 x i8] c" -u skip identical existing files\00"
@str.42 = [54 x i8] c" -s ensure each file is synched to disk after write\00"
@str.43 = [42 x i8] c" -t ignore errors on preserving uid/gid\00"
@str.44 = [16 x i8] c"Output control:\00"
@str.45 = [44 x i8] c" -b display progress bars (default: text)\00"
@str.46 = [47 x i8] c" -B display progress bars only, no filenames\00"
@str.47 = [39 x i8] c" -q do not print progress indicators\00"
@str.48 = [53 x i8] c" -Q do not print progress indicators nor filenames\00"
@str.49 = [17 x i8] c"General options:\00"
@str.50 = [42 x i8] c" -h print usage and license information\00"
@str.51 = [17 x i8] c" -v be verbose\00"
@str.52 = [31 x i8] c" -D print debugging messages\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.29, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.30, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.31, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.32, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.33, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.34, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.35, i64 0, i64 0))
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.36, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.37, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.38, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.39, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.40, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.41, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.42, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.43, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.44, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.45, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.46, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.47, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.48, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.49, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.50, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.51, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.52, i64 0, i64 0))
%27 = tail call i32 @putchar(i32 10)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0))
ret void
}