#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*/ err_quit(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int main(int argc, char *argv[]) {
  if (argc != 2)
    err_quit("usage: a.out <dirname>");
  printf("no symbol for ARG_MAX\n");
  printf("no symbol for _SC_ARG_MAX\n");
  printf("no symbol for ATEXIT_MAX\n");
  printf("no symbol for _SC_ATEXIT_MAX\n");
  printf("no symbol for CHARCLASS_NAME_MAX\n");
  printf("no symbol for _SC_CHARCLASS_NAME_MAX\n");
  printf("no symbol for CHILD_MAX\n");
  printf("no symbol for _SC_CHILD_MAX\n");
  printf("no symbol for CLOCKTICKSPERSECOND\n");
  printf("no symbol for _SC_CLK_TCK\n");
  printf("no symbol for COLL_WEIGHTS_MAX\n");
  printf("no symbol for _SC_COLL_WEIGHTS_MAX\n");
  printf("no symbol for HOST_NAME_MAX\n");
  printf("no symbol for _SC_HOST_NAME_MAX\n");
  printf("no symbol for IOV_MAX\n");
  printf("no symbol for _SC_IOV_MAX\n");
  printf("no symbol for LINE_MAX\n");
  printf("no symbol for _SC_LINE_MAX\n");
  printf("no symbol for LOGIN_NAME_MAX\n");
  printf("no symbol for _SC_LOGIN_NAME_MAX\n");
  printf("no symbol for NGROUPS_MAX\n");
  printf("no symbol for _SC_NGROUPS_MAX\n");
  printf("no symbol for OPEN_MAX\n");
  printf("no symbol for _SC_OPEN_MAX\n");
  printf("no symbol for PAGESIZE\n");
  printf("no symbol for _SC_PAGESIZE\n");
  printf("no symbol for PAGE_SIZE\n");
  printf("no symbol for _SC_PAGE_SIZE\n");
  printf("no symbol for RE_DUP_MAX\n");
  printf("no symbol for _SC_RE_DUP_MAX\n");
  printf("no symbol for STREAM_MAX\n");
  printf("no symbol for _SC_STREAM_MAX\n");
  printf("no symbol for SYMLOOP_MAX\n");
  printf("no symbol for _SC_SYMLOOP_MAX\n");
  printf("no symbol for TTY_NAME_MAX\n");
  printf("no symbol for _SC_TTY_NAME_MAX\n");
  printf("no symbol for TZNAME_MAX\n");
  printf("no symbol for _SC_TZNAME_MAX\n");
  printf("no symbol for MAX_CANON\n");
  printf("no symbol for _PC_MAX_CANON\n");
  printf("no symbol for MAX_INPUT\n");
  printf("no symbol for _PC_MAX_INPUT\n");
  printf("no symbol for FILESIZEBITS\n");
  printf("no symbol for _PC_FILESIZEBITS\n");
  printf("no symbol for LINK_MAX\n");
  printf("no symbol for _PC_LINK_MAX\n");
  printf("no symbol for NAME_MAX\n");
  printf("no symbol for _PC_NAME_MAX\n");
  printf("no symbol for PATH_MAX\n");
  printf("no symbol for _PC_PATH_MAX\n");
  printf("no symbol for PIPE_BUF\n");
  printf("no symbol for _PC_PIPE_BUF\n");
  printf("no symbol for SYMLINK_MAX\n");
  printf("no symbol for _PC_SYMLINK_MAX\n");
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     115c <main+0x2c>
lea    0xea9(%rip),%rdi
call   1040 <err_quit@plt>
lea    0xeb4(%rip),%rdi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
call   1030 <printf@plt>
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
lea    0xf76(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0xfda(%rip),%rdi
call   1030 <printf@plt>
lea    0xfea(%rip),%rdi
call   1030 <printf@plt>
lea    0xffc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
call   1030 <printf@plt>
lea    0x1034(%rip),%rdi
call   1030 <printf@plt>
lea    0x1040(%rip),%rdi
call   1030 <printf@plt>
lea    0x1050(%rip),%rdi
call   1030 <printf@plt>
lea    0x105c(%rip),%rdi
call   1030 <printf@plt>
lea    0x106c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1079(%rip),%rdi
call   1030 <printf@plt>
lea    0x108a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1098(%rip),%rdi
call   1030 <printf@plt>
lea    0x10aa(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b8(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ca(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ec(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1110(%rip),%rdi
call   1030 <printf@plt>
lea    0x111e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1130(%rip),%rdi
call   1030 <printf@plt>
lea    0x113d(%rip),%rdi
call   1030 <printf@plt>
lea    0x114e(%rip),%rdi
call   1030 <printf@plt>
lea    0x115b(%rip),%rdi
call   1030 <printf@plt>
lea    0x116c(%rip),%rdi
call   1030 <printf@plt>
lea    0x117c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1190(%rip),%rdi
call   1030 <printf@plt>
lea    0x119c(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ac(%rip),%rdi
call   1030 <printf@plt>
lea    0x11b8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11d4(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e4(%rip),%rdi
call   1030 <printf@plt>
lea    0x11f0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1200(%rip),%rdi
call   1030 <printf@plt>
lea    0x120f(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rax
cmp    $0x2,%edi
je     1142 <main+0x12>
lea    0xec3(%rip),%rdi
call   1040 <err_quit@plt>
lea    0xece(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee6(%rip),%rdi
call   1030 <puts@plt>
lea    0xef3(%rip),%rdi
call   1030 <puts@plt>
lea    0xf04(%rip),%rdi
call   1030 <puts@plt>
lea    0xf19(%rip),%rdi
call   1030 <puts@plt>
lea    0xf32(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf64(%rip),%rdi
call   1030 <puts@plt>
lea    0xf72(%rip),%rdi
call   1030 <puts@plt>
lea    0xf85(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfca(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe3(%rip),%rdi
call   1030 <puts@plt>
lea    0xff2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1003(%rip),%rdi
call   1030 <puts@plt>
lea    0x1018(%rip),%rdi
call   1030 <puts@plt>
lea    0x1026(%rip),%rdi
call   1030 <puts@plt>
lea    0x1038(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x1052(%rip),%rdi
call   1030 <puts@plt>
lea    0x105d(%rip),%rdi
call   1030 <puts@plt>
lea    0x106c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1078(%rip),%rdi
call   1030 <puts@plt>
lea    0x1088(%rip),%rdi
call   1030 <puts@plt>
lea    0x1095(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a6(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b3(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d2(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1106(%rip),%rdi
call   1030 <puts@plt>
lea    0x1113(%rip),%rdi
call   1030 <puts@plt>
lea    0x1124(%rip),%rdi
call   1030 <puts@plt>
lea    0x1130(%rip),%rdi
call   1030 <puts@plt>
lea    0x1140(%rip),%rdi
call   1030 <puts@plt>
lea    0x114c(%rip),%rdi
call   1030 <puts@plt>
lea    0x115c(%rip),%rdi
call   1030 <puts@plt>
lea    0x116b(%rip),%rdi
call   1030 <puts@plt>
lea    0x117e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1189(%rip),%rdi
call   1030 <puts@plt>
lea    0x1198(%rip),%rdi
call   1030 <puts@plt>
lea    0x11a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x11bd(%rip),%rdi
call   1030 <puts@plt>
lea    0x11cc(%rip),%rdi
call   1030 <puts@plt>
lea    0x11d7(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e6(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f4(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"usage: a.out <dirname>\00"
@.str.1 = [23 x i8] c"no symbol for ARG_MAX\0A\00"
@.str.2 = [27 x i8] c"no symbol for _SC_ARG_MAX\0A\00"
@.str.3 = [26 x i8] c"no symbol for ATEXIT_MAX\0A\00"
@.str.4 = [30 x i8] c"no symbol for _SC_ATEXIT_MAX\0A\00"
@.str.5 = [34 x i8] c"no symbol for CHARCLASS_NAME_MAX\0A\00"
@.str.6 = [38 x i8] c"no symbol for _SC_CHARCLASS_NAME_MAX\0A\00"
@.str.7 = [25 x i8] c"no symbol for CHILD_MAX\0A\00"
@.str.8 = [29 x i8] c"no symbol for _SC_CHILD_MAX\0A\00"
@.str.9 = [35 x i8] c"no symbol for CLOCKTICKSPERSECOND\0A\00"
@.str.10 = [27 x i8] c"no symbol for _SC_CLK_TCK\0A\00"
@.str.11 = [32 x i8] c"no symbol for COLL_WEIGHTS_MAX\0A\00"
@.str.12 = [36 x i8] c"no symbol for _SC_COLL_WEIGHTS_MAX\0A\00"
@.str.13 = [29 x i8] c"no symbol for HOST_NAME_MAX\0A\00"
@.str.14 = [33 x i8] c"no symbol for _SC_HOST_NAME_MAX\0A\00"
@.str.15 = [23 x i8] c"no symbol for IOV_MAX\0A\00"
@.str.16 = [27 x i8] c"no symbol for _SC_IOV_MAX\0A\00"
@.str.17 = [24 x i8] c"no symbol for LINE_MAX\0A\00"
@.str.18 = [28 x i8] c"no symbol for _SC_LINE_MAX\0A\00"
@.str.19 = [30 x i8] c"no symbol for LOGIN_NAME_MAX\0A\00"
@.str.20 = [34 x i8] c"no symbol for _SC_LOGIN_NAME_MAX\0A\00"
@.str.21 = [27 x i8] c"no symbol for NGROUPS_MAX\0A\00"
@.str.22 = [31 x i8] c"no symbol for _SC_NGROUPS_MAX\0A\00"
@.str.23 = [24 x i8] c"no symbol for OPEN_MAX\0A\00"
@.str.24 = [28 x i8] c"no symbol for _SC_OPEN_MAX\0A\00"
@.str.25 = [24 x i8] c"no symbol for PAGESIZE\0A\00"
@.str.26 = [28 x i8] c"no symbol for _SC_PAGESIZE\0A\00"
@.str.27 = [25 x i8] c"no symbol for PAGE_SIZE\0A\00"
@.str.28 = [29 x i8] c"no symbol for _SC_PAGE_SIZE\0A\00"
@.str.29 = [26 x i8] c"no symbol for RE_DUP_MAX\0A\00"
@.str.30 = [30 x i8] c"no symbol for _SC_RE_DUP_MAX\0A\00"
@.str.31 = [26 x i8] c"no symbol for STREAM_MAX\0A\00"
@.str.32 = [30 x i8] c"no symbol for _SC_STREAM_MAX\0A\00"
@.str.33 = [27 x i8] c"no symbol for SYMLOOP_MAX\0A\00"
@.str.34 = [31 x i8] c"no symbol for _SC_SYMLOOP_MAX\0A\00"
@.str.35 = [28 x i8] c"no symbol for TTY_NAME_MAX\0A\00"
@.str.36 = [32 x i8] c"no symbol for _SC_TTY_NAME_MAX\0A\00"
@.str.37 = [26 x i8] c"no symbol for TZNAME_MAX\0A\00"
@.str.38 = [30 x i8] c"no symbol for _SC_TZNAME_MAX\0A\00"
@.str.39 = [25 x i8] c"no symbol for MAX_CANON\0A\00"
@.str.40 = [29 x i8] c"no symbol for _PC_MAX_CANON\0A\00"
@.str.41 = [25 x i8] c"no symbol for MAX_INPUT\0A\00"
@.str.42 = [29 x i8] c"no symbol for _PC_MAX_INPUT\0A\00"
@.str.43 = [28 x i8] c"no symbol for FILESIZEBITS\0A\00"
@.str.44 = [32 x i8] c"no symbol for _PC_FILESIZEBITS\0A\00"
@.str.45 = [24 x i8] c"no symbol for LINK_MAX\0A\00"
@.str.46 = [28 x i8] c"no symbol for _PC_LINK_MAX\0A\00"
@.str.47 = [24 x i8] c"no symbol for NAME_MAX\0A\00"
@.str.48 = [28 x i8] c"no symbol for _PC_NAME_MAX\0A\00"
@.str.49 = [24 x i8] c"no symbol for PATH_MAX\0A\00"
@.str.50 = [28 x i8] c"no symbol for _PC_PATH_MAX\0A\00"
@.str.51 = [24 x i8] c"no symbol for PIPE_BUF\0A\00"
@.str.52 = [28 x i8] c"no symbol for _PC_PIPE_BUF\0A\00"
@.str.53 = [27 x i8] c"no symbol for SYMLINK_MAX\0A\00"
@.str.54 = [31 x i8] c"no symbol for _PC_SYMLINK_MAX\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @err_quit(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %8, %2
%11 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.10, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.14, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.19, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.20, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.22, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.23, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.25, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.26, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.28, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.29, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.30, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.31, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.32, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.33, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.35, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.36, i64 0, i64 0))
%47 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.37, i64 0, i64 0))
%48 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.38, i64 0, i64 0))
%49 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.39, i64 0, i64 0))
%50 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.40, i64 0, i64 0))
%51 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.41, i64 0, i64 0))
%52 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.42, i64 0, i64 0))
%53 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.43, i64 0, i64 0))
%54 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.44, i64 0, i64 0))
%55 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.45, i64 0, i64 0))
%56 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0))
%57 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.47, i64 0, i64 0))
%58 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.48, i64 0, i64 0))
%59 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.49, i64 0, i64 0))
%60 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.50, i64 0, i64 0))
%61 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.51, i64 0, i64 0))
%62 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.52, i64 0, i64 0))
%63 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.53, i64 0, i64 0))
%64 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.54, i64 0, i64 0))
%65 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [23 x i8] c"usage: a.out <dirname>\00"
@str = [22 x i8] c"no symbol for ARG_MAX\00"
@str.55 = [26 x i8] c"no symbol for _SC_ARG_MAX\00"
@str.56 = [25 x i8] c"no symbol for ATEXIT_MAX\00"
@str.57 = [29 x i8] c"no symbol for _SC_ATEXIT_MAX\00"
@str.58 = [33 x i8] c"no symbol for CHARCLASS_NAME_MAX\00"
@str.59 = [37 x i8] c"no symbol for _SC_CHARCLASS_NAME_MAX\00"
@str.60 = [24 x i8] c"no symbol for CHILD_MAX\00"
@str.61 = [28 x i8] c"no symbol for _SC_CHILD_MAX\00"
@str.62 = [34 x i8] c"no symbol for CLOCKTICKSPERSECOND\00"
@str.63 = [26 x i8] c"no symbol for _SC_CLK_TCK\00"
@str.64 = [31 x i8] c"no symbol for COLL_WEIGHTS_MAX\00"
@str.65 = [35 x i8] c"no symbol for _SC_COLL_WEIGHTS_MAX\00"
@str.66 = [28 x i8] c"no symbol for HOST_NAME_MAX\00"
@str.67 = [32 x i8] c"no symbol for _SC_HOST_NAME_MAX\00"
@str.68 = [22 x i8] c"no symbol for IOV_MAX\00"
@str.69 = [26 x i8] c"no symbol for _SC_IOV_MAX\00"
@str.70 = [23 x i8] c"no symbol for LINE_MAX\00"
@str.71 = [27 x i8] c"no symbol for _SC_LINE_MAX\00"
@str.72 = [29 x i8] c"no symbol for LOGIN_NAME_MAX\00"
@str.73 = [33 x i8] c"no symbol for _SC_LOGIN_NAME_MAX\00"
@str.74 = [26 x i8] c"no symbol for NGROUPS_MAX\00"
@str.75 = [30 x i8] c"no symbol for _SC_NGROUPS_MAX\00"
@str.76 = [23 x i8] c"no symbol for OPEN_MAX\00"
@str.77 = [27 x i8] c"no symbol for _SC_OPEN_MAX\00"
@str.78 = [23 x i8] c"no symbol for PAGESIZE\00"
@str.79 = [27 x i8] c"no symbol for _SC_PAGESIZE\00"
@str.80 = [24 x i8] c"no symbol for PAGE_SIZE\00"
@str.81 = [28 x i8] c"no symbol for _SC_PAGE_SIZE\00"
@str.82 = [25 x i8] c"no symbol for RE_DUP_MAX\00"
@str.83 = [29 x i8] c"no symbol for _SC_RE_DUP_MAX\00"
@str.84 = [25 x i8] c"no symbol for STREAM_MAX\00"
@str.85 = [29 x i8] c"no symbol for _SC_STREAM_MAX\00"
@str.86 = [26 x i8] c"no symbol for SYMLOOP_MAX\00"
@str.87 = [30 x i8] c"no symbol for _SC_SYMLOOP_MAX\00"
@str.88 = [27 x i8] c"no symbol for TTY_NAME_MAX\00"
@str.89 = [31 x i8] c"no symbol for _SC_TTY_NAME_MAX\00"
@str.90 = [25 x i8] c"no symbol for TZNAME_MAX\00"
@str.91 = [29 x i8] c"no symbol for _SC_TZNAME_MAX\00"
@str.92 = [24 x i8] c"no symbol for MAX_CANON\00"
@str.93 = [28 x i8] c"no symbol for _PC_MAX_CANON\00"
@str.94 = [24 x i8] c"no symbol for MAX_INPUT\00"
@str.95 = [28 x i8] c"no symbol for _PC_MAX_INPUT\00"
@str.96 = [27 x i8] c"no symbol for FILESIZEBITS\00"
@str.97 = [31 x i8] c"no symbol for _PC_FILESIZEBITS\00"
@str.98 = [23 x i8] c"no symbol for LINK_MAX\00"
@str.99 = [27 x i8] c"no symbol for _PC_LINK_MAX\00"
@str.100 = [23 x i8] c"no symbol for NAME_MAX\00"
@str.101 = [27 x i8] c"no symbol for _PC_NAME_MAX\00"
@str.102 = [23 x i8] c"no symbol for PATH_MAX\00"
@str.103 = [27 x i8] c"no symbol for _PC_PATH_MAX\00"
@str.104 = [23 x i8] c"no symbol for PIPE_BUF\00"
@str.105 = [27 x i8] c"no symbol for _PC_PIPE_BUF\00"
@str.106 = [26 x i8] c"no symbol for SYMLINK_MAX\00"
@str.107 = [30 x i8] c"no symbol for _PC_SYMLINK_MAX\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = icmp eq i32 %0, 2
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @err_quit(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
br label %6
6: ; preds = %4, %2
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.55, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.56, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.57, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.58, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.59, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.60, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.61, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.62, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.63, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.64, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.65, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.66, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.67, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.68, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.69, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.70, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.71, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.72, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.73, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.74, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.75, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.76, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.77, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.78, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.79, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.80, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.81, i64 0, i64 0))
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.82, i64 0, i64 0))
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.83, i64 0, i64 0))
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.84, i64 0, i64 0))
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.85, i64 0, i64 0))
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.86, i64 0, i64 0))
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.87, i64 0, i64 0))
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.88, i64 0, i64 0))
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.89, i64 0, i64 0))
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.90, i64 0, i64 0))
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.91, i64 0, i64 0))
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.92, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.93, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.94, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.95, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.96, i64 0, i64 0))
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.97, i64 0, i64 0))
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.98, i64 0, i64 0))
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.99, i64 0, i64 0))
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.100, i64 0, i64 0))
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.101, i64 0, i64 0))
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.102, i64 0, i64 0))
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.103, i64 0, i64 0))
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.104, i64 0, i64 0))
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.105, i64 0, i64 0))
%59 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.106, i64 0, i64 0))
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.107, i64 0, i64 0))
%61 = tail call i32 @exit(i32 0)
unreachable
}