#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*/ exit(int);
int /*<<< orphan*/ puts(char *);
GiveUsage() {
  puts("Usage:   copyobj direction_switch [@<ini_file_name>] [switches] [user "
       "name]");
  puts("");
  puts("Direction switch:");
  puts("      -p       copy objs to server (put)");
  puts("      -t       copy objs from server (take)");
  puts("");
  puts("Ini_file_name:");
  puts("   use same file used in makeopus. e.g., ");
  puts("      copyobj -p @debug.inf -v ");
  puts("   if omitted, makeopus.inf used ");
  puts("");
  puts("Switches:");
  puts("   Direction = put");
  puts("      -f       force");
  puts("      -v       verbose (leaves echo on)");
  puts("   Direction = take");
  puts("      -d       just remove obj of currently checked out file (don't "
       "take obj's)");
  puts("      -s       synced - does not delete any objects after copy");
  puts("      -v       verbose (leaves echo on)");
  puts("");
  puts("User name:");
  puts("   if used, objects put in \\private\\usr\\<username>\\obj instead of "
       "\\private\\obj");
  puts("\n\n");
  exit(1);
}


x86 assembly (clang, -O0):
<GiveUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1150(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1120(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xf75(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf84(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1078(%rip),%rdi
call   1030 <puts@plt>
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0x100f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1052(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<GiveUsage>:
push   %rbx
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xefe(%rip),%rdi
call   1040 <puts@plt>
lea    0xf04(%rip),%rdi
call   1040 <puts@plt>
lea    0xf21(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf37(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf58(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf78(%rip),%rdi
call   1040 <puts@plt>
lea    0xf76(%rip),%rdi
call   1040 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1040 <puts@plt>
lea    0xf86(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xf9f(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa7(%rip),%rdi
call   1040 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x100c(%rip),%rdi
call   1040 <puts@plt>
lea    0x100b(%rip),%rdi
call   1040 <puts@plt>
lea    0x104e(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [76 x i8] c"Usage: copyobj direction_switch [@<ini_file_name>] [switches] [user name]\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [18 x i8] c"Direction switch:\00"
@.str.3 = [41 x i8] c" -p copy objs to server (put)\00"
@.str.4 = [44 x i8] c" -t copy objs from server (take)\00"
@.str.5 = [15 x i8] c"Ini_file_name:\00"
@.str.6 = [42 x i8] c" use same file used in makeopus. e.g., \00"
@.str.7 = [32 x i8] c" copyobj -p @debug.inf -v \00"
@.str.8 = [34 x i8] c" if omitted, makeopus.inf used \00"
@.str.9 = [10 x i8] c"Switches:\00"
@.str.10 = [19 x i8] c" Direction = put\00"
@.str.11 = [21 x i8] c" -f force\00"
@.str.12 = [40 x i8] c" -v verbose (leaves echo on)\00"
@.str.13 = [20 x i8] c" Direction = take\00"
@.str.14 = [80 x i8] c" -d just remove obj of currently checked out file (don't take obj's)\00"
@.str.15 = [63 x i8] c" -s synced - does not delete any objects after copy\00"
@.str.16 = [11 x i8] c"User name:\00"
@.str.17 = [79 x i8] c" if used, objects put in \\private\\usr\\<username>\\obj instead of \\private\\obj\00"
@.str.18 = [3 x i8] c"\0A\0A\00"
define i32 @GiveUsage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 @puts(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @puts(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 @puts(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0))
%20 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%21 = call i32 @puts(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%22 = call i32 @puts(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.17, i64 0, i64 0))
%23 = call i32 @puts(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%24 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [76 x i8] c"Usage: copyobj direction_switch [@<ini_file_name>] [switches] [user name]\00"
@.str.2 = [18 x i8] c"Direction switch:\00"
@.str.3 = [41 x i8] c" -p copy objs to server (put)\00"
@.str.4 = [44 x i8] c" -t copy objs from server (take)\00"
@.str.5 = [15 x i8] c"Ini_file_name:\00"
@.str.6 = [42 x i8] c" use same file used in makeopus. e.g., \00"
@.str.7 = [32 x i8] c" copyobj -p @debug.inf -v \00"
@.str.8 = [34 x i8] c" if omitted, makeopus.inf used \00"
@.str.9 = [10 x i8] c"Switches:\00"
@.str.10 = [19 x i8] c" Direction = put\00"
@.str.11 = [21 x i8] c" -f force\00"
@.str.12 = [40 x i8] c" -v verbose (leaves echo on)\00"
@.str.13 = [20 x i8] c" Direction = take\00"
@.str.14 = [80 x i8] c" -d just remove obj of currently checked out file (don't take obj's)\00"
@.str.15 = [63 x i8] c" -s synced - does not delete any objects after copy\00"
@.str.16 = [11 x i8] c"User name:\00"
@.str.17 = [79 x i8] c" if used, objects put in \\private\\usr\\<username>\\obj instead of \\private\\obj\00"
@.str.18 = [3 x i8] c"\0A\0A\00"
define i32 @GiveUsage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @putchar(i32 10)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @.str.14, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.15, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0))
%20 = tail call i32 @putchar(i32 10)
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @.str.17, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%24 = tail call i32 @exit(i32 1)
unreachable
}