require '_h2ph_pre.ph';

unless(defined(&_SYS_SYSCTL_H_)) {
    eval 'sub _SYS_SYSCTL_H_ () {1;}' unless defined(&_SYS_SYSCTL_H_);
    unless(defined(&_KERNEL)) {
	require 'sys/time.ph';
	require 'sys/ucred.ph';
	require 'sys/proc.ph';
    }
    require 'vm/vm.ph';
    eval 'sub CTL_MAXNAME () {12;}' unless defined(&CTL_MAXNAME);
    eval 'sub CTLTYPE_NODE () {1;}' unless defined(&CTLTYPE_NODE);
    eval 'sub CTLTYPE_INT () {2;}' unless defined(&CTLTYPE_INT);
    eval 'sub CTLTYPE_STRING () {3;}' unless defined(&CTLTYPE_STRING);
    eval 'sub CTLTYPE_QUAD () {4;}' unless defined(&CTLTYPE_QUAD);
    eval 'sub CTLTYPE_STRUCT () {5;}' unless defined(&CTLTYPE_STRUCT);
    eval 'sub CTL_UNSPEC () {0;}' unless defined(&CTL_UNSPEC);
    eval 'sub CTL_KERN () {1;}' unless defined(&CTL_KERN);
    eval 'sub CTL_VM () {2;}' unless defined(&CTL_VM);
    eval 'sub CTL_FS () {3;}' unless defined(&CTL_FS);
    eval 'sub CTL_NET () {4;}' unless defined(&CTL_NET);
    eval 'sub CTL_DEBUG () {5;}' unless defined(&CTL_DEBUG);
    eval 'sub CTL_HW () {6;}' unless defined(&CTL_HW);
    eval 'sub CTL_MACHDEP () {7;}' unless defined(&CTL_MACHDEP);
    eval 'sub CTL_USER () {8;}' unless defined(&CTL_USER);
    eval 'sub CTL_DDB () {9;}' unless defined(&CTL_DDB);
    eval 'sub CTL_VFS () {10;}' unless defined(&CTL_VFS);
    eval 'sub CTL_MAXID () {11;}' unless defined(&CTL_MAXID);
    eval 'sub CTL_NAMES () {{ { 0, 0}, { "kern",  &CTLTYPE_NODE }, { "vm",  &CTLTYPE_NODE }, { "fs",  &CTLTYPE_NODE }, { "net",  &CTLTYPE_NODE }, { "debug",  &CTLTYPE_NODE }, { "hw",  &CTLTYPE_NODE }, { "machdep",  &CTLTYPE_NODE }, { "user",  &CTLTYPE_NODE }, { "ddb",  &CTLTYPE_NODE }, { "vfs",  &CTLTYPE_NODE }, };}' unless defined(&CTL_NAMES);
    eval 'sub KERN_OSTYPE () {1;}' unless defined(&KERN_OSTYPE);
    eval 'sub KERN_OSRELEASE () {2;}' unless defined(&KERN_OSRELEASE);
    eval 'sub KERN_OSREV () {3;}' unless defined(&KERN_OSREV);
    eval 'sub KERN_VERSION () {4;}' unless defined(&KERN_VERSION);
    eval 'sub KERN_MAXVNODES () {5;}' unless defined(&KERN_MAXVNODES);
    eval 'sub KERN_MAXPROC () {6;}' unless defined(&KERN_MAXPROC);
    eval 'sub KERN_MAXFILES () {7;}' unless defined(&KERN_MAXFILES);
    eval 'sub KERN_ARGMAX () {8;}' unless defined(&KERN_ARGMAX);
    eval 'sub KERN_SECURELVL () {9;}' unless defined(&KERN_SECURELVL);
    eval 'sub KERN_HOSTNAME () {10;}' unless defined(&KERN_HOSTNAME);
    eval 'sub KERN_HOSTID () {11;}' unless defined(&KERN_HOSTID);
    eval 'sub KERN_CLOCKRATE () {12;}' unless defined(&KERN_CLOCKRATE);
    eval 'sub KERN_VNODE () {13;}' unless defined(&KERN_VNODE);
    eval 'sub KERN_PROC () {14;}' unless defined(&KERN_PROC);
    eval 'sub KERN_FILE () {15;}' unless defined(&KERN_FILE);
    eval 'sub KERN_PROF () {16;}' unless defined(&KERN_PROF);
    eval 'sub KERN_POSIX1 () {17;}' unless defined(&KERN_POSIX1);
    eval 'sub KERN_NGROUPS () {18;}' unless defined(&KERN_NGROUPS);
    eval 'sub KERN_JOB_CONTROL () {19;}' unless defined(&KERN_JOB_CONTROL);
    eval 'sub KERN_SAVED_IDS () {20;}' unless defined(&KERN_SAVED_IDS);
    eval 'sub KERN_BOOTTIME () {21;}' unless defined(&KERN_BOOTTIME);
    eval 'sub KERN_DOMAINNAME () {22;}' unless defined(&KERN_DOMAINNAME);
    eval 'sub KERN_MAXPARTITIONS () {23;}' unless defined(&KERN_MAXPARTITIONS);
    eval 'sub KERN_RAWPARTITION () {24;}' unless defined(&KERN_RAWPARTITION);
    eval 'sub KERN_NTPTIME () {25;}' unless defined(&KERN_NTPTIME);
    eval 'sub KERN_TIMEX () {26;}' unless defined(&KERN_TIMEX);
    eval 'sub KERN_OSVERSION () {27;}' unless defined(&KERN_OSVERSION);
    eval 'sub KERN_SOMAXCONN () {28;}' unless defined(&KERN_SOMAXCONN);
    eval 'sub KERN_SOMINCONN () {29;}' unless defined(&KERN_SOMINCONN);
    eval 'sub KERN_USERMOUNT () {30;}' unless defined(&KERN_USERMOUNT);
    eval 'sub KERN_RND () {31;}' unless defined(&KERN_RND);
    eval 'sub KERN_NOSUIDCOREDUMP () {32;}' unless defined(&KERN_NOSUIDCOREDUMP);
    eval 'sub KERN_FSYNC () {33;}' unless defined(&KERN_FSYNC);
    eval 'sub KERN_SYSVMSG () {34;}' unless defined(&KERN_SYSVMSG);
    eval 'sub KERN_SYSVSEM () {35;}' unless defined(&KERN_SYSVSEM);
    eval 'sub KERN_SYSVSHM () {36;}' unless defined(&KERN_SYSVSHM);
    eval 'sub KERN_ARND () {37;}' unless defined(&KERN_ARND);
    eval 'sub KERN_MSGBUFSIZE () {38;}' unless defined(&KERN_MSGBUFSIZE);
    eval 'sub KERN_MALLOCSTATS () {39;}' unless defined(&KERN_MALLOCSTATS);
    eval 'sub KERN_CPTIME () {40;}' unless defined(&KERN_CPTIME);
    eval 'sub KERN_NCHSTATS () {41;}' unless defined(&KERN_NCHSTATS);
    eval 'sub KERN_FORKSTAT () {42;}' unless defined(&KERN_FORKSTAT);
    eval 'sub KERN_NSELCOLL () {43;}' unless defined(&KERN_NSELCOLL);
    eval 'sub KERN_TTY () {44;}' unless defined(&KERN_TTY);
    eval 'sub KERN_CCPU () {45;}' unless defined(&KERN_CCPU);
    eval 'sub KERN_FSCALE () {46;}' unless defined(&KERN_FSCALE);
    eval 'sub KERN_NPROCS () {47;}' unless defined(&KERN_NPROCS);
    eval 'sub KERN_MSGBUF () {48;}' unless defined(&KERN_MSGBUF);
    eval 'sub KERN_POOL () {49;}' unless defined(&KERN_POOL);
    eval 'sub KERN_STACKGAPRANDOM () {50;}' unless defined(&KERN_STACKGAPRANDOM);
    eval 'sub KERN_SYSVIPC_INFO () {51;}' unless defined(&KERN_SYSVIPC_INFO);
    eval 'sub KERN_MAXID () {52;}' unless defined(&KERN_MAXID);
    eval 'sub CTL_KERN_NAMES () {{ { 0, 0}, { "ostype",  &CTLTYPE_STRING }, { "osrelease",  &CTLTYPE_STRING }, { "osrevision",  &CTLTYPE_INT }, { "version",  &CTLTYPE_STRING }, { "maxvnodes",  &CTLTYPE_INT }, { "maxproc",  &CTLTYPE_INT }, { "maxfiles",  &CTLTYPE_INT }, { "argmax",  &CTLTYPE_INT }, { "securelevel",  &CTLTYPE_INT }, { "hostname",  &CTLTYPE_STRING }, { "hostid",  &CTLTYPE_INT }, { "clockrate",  &CTLTYPE_STRUCT }, { "vnode",  &CTLTYPE_STRUCT }, { "proc",  &CTLTYPE_STRUCT }, { "file",  &CTLTYPE_STRUCT }, { "profiling",  &CTLTYPE_NODE }, { "posix1version",  &CTLTYPE_INT }, { "ngroups",  &CTLTYPE_INT }, { "job_control",  &CTLTYPE_INT }, { "saved_ids",  &CTLTYPE_INT }, { "boottime",  &CTLTYPE_STRUCT }, { "domainname",  &CTLTYPE_STRING }, { "maxpartitions",  &CTLTYPE_INT }, { "rawpartition",  &CTLTYPE_INT }, { "ntptime",  &CTLTYPE_STRUCT }, { "timex",  &CTLTYPE_STRUCT }, { "osversion",  &CTLTYPE_STRING }, { "somaxconn",  &CTLTYPE_INT }, { "sominconn",  &CTLTYPE_INT }, { "usermount",  &CTLTYPE_INT }, { "random",  &CTLTYPE_STRUCT }, { "nosuidcoredump",  &CTLTYPE_INT }, { "fsync",  &CTLTYPE_INT }, { "sysvmsg",  &CTLTYPE_INT }, { "sysvsem",  &CTLTYPE_INT }, { "sysvshm",  &CTLTYPE_INT }, { "arandom",  &CTLTYPE_INT }, { "msgbufsize",  &CTLTYPE_INT }, { "malloc",  &CTLTYPE_NODE }, { "cp_time",  &CTLTYPE_STRUCT }, { "nchstats",  &CTLTYPE_STRUCT }, { "forkstat",  &CTLTYPE_STRUCT }, { "nselcoll",  &CTLTYPE_INT }, { "tty",  &CTLTYPE_NODE }, { "ccpu",  &CTLTYPE_INT }, { "fscale",  &CTLTYPE_INT }, { "nprocs",  &CTLTYPE_INT }, { "msgbuf",  &CTLTYPE_STRUCT }, { "pool",  &CTLTYPE_NODE }, { "stackgap_random",  &CTLTYPE_INT }, { "sysvipc_info",  &CTLTYPE_INT }, };}' unless defined(&CTL_KERN_NAMES);
    eval 'sub KERN_PROC_ALL () {0;}' unless defined(&KERN_PROC_ALL);
    eval 'sub KERN_PROC_PID () {1;}' unless defined(&KERN_PROC_PID);
    eval 'sub KERN_PROC_PGRP () {2;}' unless defined(&KERN_PROC_PGRP);
    eval 'sub KERN_PROC_SESSION () {3;}' unless defined(&KERN_PROC_SESSION);
    eval 'sub KERN_PROC_TTY () {4;}' unless defined(&KERN_PROC_TTY);
    eval 'sub KERN_PROC_UID () {5;}' unless defined(&KERN_PROC_UID);
    eval 'sub KERN_PROC_RUID () {6;}' unless defined(&KERN_PROC_RUID);
    eval 'sub KERN_PROC_KTHREAD () {7;}' unless defined(&KERN_PROC_KTHREAD);
    eval 'sub KERN_SYSVIPC_MSG_INFO () {1;}' unless defined(&KERN_SYSVIPC_MSG_INFO);
    eval 'sub KERN_SYSVIPC_SEM_INFO () {2;}' unless defined(&KERN_SYSVIPC_SEM_INFO);
    eval 'sub KERN_SYSVIPC_SHM_INFO () {3;}' unless defined(&KERN_SYSVIPC_SHM_INFO);
    eval 'sub WMESGLEN () {7;}' unless defined(&WMESGLEN);
    eval 'sub EPROC_CTTY () {0x01;}' unless defined(&EPROC_CTTY);
    eval 'sub EPROC_SLEADER () {0x02;}' unless defined(&EPROC_SLEADER);
    eval 'sub EMULNAMELEN () {7;}' unless defined(&EMULNAMELEN);
    eval 'sub FS_POSIX () {1;}' unless defined(&FS_POSIX);
    eval 'sub FS_MAXID () {2;}' unless defined(&FS_MAXID);
    eval 'sub CTL_FS_NAMES () {{ { 0, 0}, { "posix",  &CTLTYPE_NODE }, };}' unless defined(&CTL_FS_NAMES);
    eval 'sub FS_POSIX_SETUID () {1;}' unless defined(&FS_POSIX_SETUID);
    eval 'sub FS_POSIX_MAXID () {2;}' unless defined(&FS_POSIX_MAXID);
    eval 'sub CTL_FS_POSIX_NAMES () {{ { 0, 0}, { "setuid",  &CTLTYPE_INT }, };}' unless defined(&CTL_FS_POSIX_NAMES);
    eval 'sub HW_MACHINE () {1;}' unless defined(&HW_MACHINE);
    eval 'sub HW_MODEL () {2;}' unless defined(&HW_MODEL);
    eval 'sub HW_NCPU () {3;}' unless defined(&HW_NCPU);
    eval 'sub HW_BYTEORDER () {4;}' unless defined(&HW_BYTEORDER);
    eval 'sub HW_PHYSMEM () {5;}' unless defined(&HW_PHYSMEM);
    eval 'sub HW_USERMEM () {6;}' unless defined(&HW_USERMEM);
    eval 'sub HW_PAGESIZE () {7;}' unless defined(&HW_PAGESIZE);
    eval 'sub HW_DISKNAMES () {8;}' unless defined(&HW_DISKNAMES);
    eval 'sub HW_DISKSTATS () {9;}' unless defined(&HW_DISKSTATS);
    eval 'sub HW_DISKCOUNT () {10;}' unless defined(&HW_DISKCOUNT);
    eval 'sub HW_MAXID () {11;}' unless defined(&HW_MAXID);
    eval 'sub CTL_HW_NAMES () {{ { 0, 0}, { "machine",  &CTLTYPE_STRING }, { "model",  &CTLTYPE_STRING }, { "ncpu",  &CTLTYPE_INT }, { "byteorder",  &CTLTYPE_INT }, { "physmem",  &CTLTYPE_INT }, { "usermem",  &CTLTYPE_INT }, { "pagesize",  &CTLTYPE_INT }, { "disknames",  &CTLTYPE_STRING }, { "diskstats",  &CTLTYPE_STRUCT }, { "diskcount",  &CTLTYPE_INT }, };}' unless defined(&CTL_HW_NAMES);
    eval 'sub USER_CS_PATH () {1;}' unless defined(&USER_CS_PATH);
    eval 'sub USER_BC_BASE_MAX () {2;}' unless defined(&USER_BC_BASE_MAX);
    eval 'sub USER_BC_DIM_MAX () {3;}' unless defined(&USER_BC_DIM_MAX);
    eval 'sub USER_BC_SCALE_MAX () {4;}' unless defined(&USER_BC_SCALE_MAX);
    eval 'sub USER_BC_STRING_MAX () {5;}' unless defined(&USER_BC_STRING_MAX);
    eval 'sub USER_COLL_WEIGHTS_MAX () {6;}' unless defined(&USER_COLL_WEIGHTS_MAX);
    eval 'sub USER_EXPR_NEST_MAX () {7;}' unless defined(&USER_EXPR_NEST_MAX);
    eval 'sub USER_LINE_MAX () {8;}' unless defined(&USER_LINE_MAX);
    eval 'sub USER_RE_DUP_MAX () {9;}' unless defined(&USER_RE_DUP_MAX);
    eval 'sub USER_POSIX2_VERSION () {10;}' unless defined(&USER_POSIX2_VERSION);
    eval 'sub USER_POSIX2_C_BIND () {11;}' unless defined(&USER_POSIX2_C_BIND);
    eval 'sub USER_POSIX2_C_DEV () {12;}' unless defined(&USER_POSIX2_C_DEV);
    eval 'sub USER_POSIX2_CHAR_TERM () {13;}' unless defined(&USER_POSIX2_CHAR_TERM);
    eval 'sub USER_POSIX2_FORT_DEV () {14;}' unless defined(&USER_POSIX2_FORT_DEV);
    eval 'sub USER_POSIX2_FORT_RUN () {15;}' unless defined(&USER_POSIX2_FORT_RUN);
    eval 'sub USER_POSIX2_LOCALEDEF () {16;}' unless defined(&USER_POSIX2_LOCALEDEF);
    eval 'sub USER_POSIX2_SW_DEV () {17;}' unless defined(&USER_POSIX2_SW_DEV);
    eval 'sub USER_POSIX2_UPE () {18;}' unless defined(&USER_POSIX2_UPE);
    eval 'sub USER_STREAM_MAX () {19;}' unless defined(&USER_STREAM_MAX);
    eval 'sub USER_TZNAME_MAX () {20;}' unless defined(&USER_TZNAME_MAX);
    eval 'sub USER_MAXID () {21;}' unless defined(&USER_MAXID);
    eval 'sub CTL_USER_NAMES () {{ { 0, 0}, { "cs_path",  &CTLTYPE_STRING }, { "bc_base_max",  &CTLTYPE_INT }, { "bc_dim_max",  &CTLTYPE_INT }, { "bc_scale_max",  &CTLTYPE_INT }, { "bc_string_max",  &CTLTYPE_INT }, { "coll_weights_max",  &CTLTYPE_INT }, { "expr_nest_max",  &CTLTYPE_INT }, { "line_max",  &CTLTYPE_INT }, { "re_dup_max",  &CTLTYPE_INT }, { "posix2_version",  &CTLTYPE_INT }, { "posix2_c_bind",  &CTLTYPE_INT }, { "posix2_c_dev",  &CTLTYPE_INT }, { "posix2_char_term",  &CTLTYPE_INT }, { "posix2_fort_dev",  &CTLTYPE_INT }, { "posix2_fort_run",  &CTLTYPE_INT }, { "posix2_localedef",  &CTLTYPE_INT }, { "posix2_sw_dev",  &CTLTYPE_INT }, { "posix2_upe",  &CTLTYPE_INT }, { "stream_max",  &CTLTYPE_INT }, { "tzname_max",  &CTLTYPE_INT }, };}' unless defined(&CTL_USER_NAMES);
    eval 'sub CTL_DEBUG_NAME () {0;}' unless defined(&CTL_DEBUG_NAME);
    eval 'sub CTL_DEBUG_VALUE () {1;}' unless defined(&CTL_DEBUG_VALUE);
    eval 'sub CTL_DEBUG_MAXID () {20;}' unless defined(&CTL_DEBUG_MAXID);
    if(defined(&_KERNEL)) {
	if(defined(&DEBUG)) {
	}
	if(defined(&GPROF)) {
	}
	if(defined(&DEBUG)) {
	}
    } else {
	require 'sys/cdefs.ph';
    }
}
1;
