xref: /freebsd/sys/kern/systrace_args.c (revision 0bf56da32d83fbd3b5db8d6c72cd1e7cc26fbc66)
1 /*
2  * System call argument to DTrace register array converstion.
3  *
4  * DO NOT EDIT-- this file is automatically @generated.
5  * $FreeBSD$
6  * This file is part of the DTrace syscall provider.
7  */
8 
9 static void
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11 {
12 	int64_t *iarg  = (int64_t *) uarg;
13 	switch (sysnum) {
14 	/* nosys */
15 	case 0: {
16 		*n_args = 0;
17 		break;
18 	}
19 	/* sys_exit */
20 	case 1: {
21 		struct sys_exit_args *p = params;
22 		iarg[0] = p->rval; /* int */
23 		*n_args = 1;
24 		break;
25 	}
26 	/* fork */
27 	case 2: {
28 		*n_args = 0;
29 		break;
30 	}
31 	/* read */
32 	case 3: {
33 		struct read_args *p = params;
34 		iarg[0] = p->fd; /* int */
35 		uarg[1] = (intptr_t) p->buf; /* void * */
36 		uarg[2] = p->nbyte; /* size_t */
37 		*n_args = 3;
38 		break;
39 	}
40 	/* write */
41 	case 4: {
42 		struct write_args *p = params;
43 		iarg[0] = p->fd; /* int */
44 		uarg[1] = (intptr_t) p->buf; /* const void * */
45 		uarg[2] = p->nbyte; /* size_t */
46 		*n_args = 3;
47 		break;
48 	}
49 	/* open */
50 	case 5: {
51 		struct open_args *p = params;
52 		uarg[0] = (intptr_t) p->path; /* const char * */
53 		iarg[1] = p->flags; /* int */
54 		iarg[2] = p->mode; /* mode_t */
55 		*n_args = 3;
56 		break;
57 	}
58 	/* close */
59 	case 6: {
60 		struct close_args *p = params;
61 		iarg[0] = p->fd; /* int */
62 		*n_args = 1;
63 		break;
64 	}
65 	/* wait4 */
66 	case 7: {
67 		struct wait4_args *p = params;
68 		iarg[0] = p->pid; /* int */
69 		uarg[1] = (intptr_t) p->status; /* int * */
70 		iarg[2] = p->options; /* int */
71 		uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
72 		*n_args = 4;
73 		break;
74 	}
75 	/* link */
76 	case 9: {
77 		struct link_args *p = params;
78 		uarg[0] = (intptr_t) p->path; /* const char * */
79 		uarg[1] = (intptr_t) p->link; /* const char * */
80 		*n_args = 2;
81 		break;
82 	}
83 	/* unlink */
84 	case 10: {
85 		struct unlink_args *p = params;
86 		uarg[0] = (intptr_t) p->path; /* const char * */
87 		*n_args = 1;
88 		break;
89 	}
90 	/* chdir */
91 	case 12: {
92 		struct chdir_args *p = params;
93 		uarg[0] = (intptr_t) p->path; /* const char * */
94 		*n_args = 1;
95 		break;
96 	}
97 	/* fchdir */
98 	case 13: {
99 		struct fchdir_args *p = params;
100 		iarg[0] = p->fd; /* int */
101 		*n_args = 1;
102 		break;
103 	}
104 	/* chmod */
105 	case 15: {
106 		struct chmod_args *p = params;
107 		uarg[0] = (intptr_t) p->path; /* const char * */
108 		iarg[1] = p->mode; /* mode_t */
109 		*n_args = 2;
110 		break;
111 	}
112 	/* chown */
113 	case 16: {
114 		struct chown_args *p = params;
115 		uarg[0] = (intptr_t) p->path; /* const char * */
116 		iarg[1] = p->uid; /* int */
117 		iarg[2] = p->gid; /* int */
118 		*n_args = 3;
119 		break;
120 	}
121 	/* break */
122 	case 17: {
123 		struct break_args *p = params;
124 		uarg[0] = (intptr_t) p->nsize; /* char * */
125 		*n_args = 1;
126 		break;
127 	}
128 	/* getpid */
129 	case 20: {
130 		*n_args = 0;
131 		break;
132 	}
133 	/* mount */
134 	case 21: {
135 		struct mount_args *p = params;
136 		uarg[0] = (intptr_t) p->type; /* const char * */
137 		uarg[1] = (intptr_t) p->path; /* const char * */
138 		iarg[2] = p->flags; /* int */
139 		uarg[3] = (intptr_t) p->data; /* void * */
140 		*n_args = 4;
141 		break;
142 	}
143 	/* unmount */
144 	case 22: {
145 		struct unmount_args *p = params;
146 		uarg[0] = (intptr_t) p->path; /* const char * */
147 		iarg[1] = p->flags; /* int */
148 		*n_args = 2;
149 		break;
150 	}
151 	/* setuid */
152 	case 23: {
153 		struct setuid_args *p = params;
154 		uarg[0] = p->uid; /* uid_t */
155 		*n_args = 1;
156 		break;
157 	}
158 	/* getuid */
159 	case 24: {
160 		*n_args = 0;
161 		break;
162 	}
163 	/* geteuid */
164 	case 25: {
165 		*n_args = 0;
166 		break;
167 	}
168 	/* ptrace */
169 	case 26: {
170 		struct ptrace_args *p = params;
171 		iarg[0] = p->req; /* int */
172 		iarg[1] = p->pid; /* pid_t */
173 		uarg[2] = (intptr_t) p->addr; /* caddr_t */
174 		iarg[3] = p->data; /* int */
175 		*n_args = 4;
176 		break;
177 	}
178 	/* recvmsg */
179 	case 27: {
180 		struct recvmsg_args *p = params;
181 		iarg[0] = p->s; /* int */
182 		uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
183 		iarg[2] = p->flags; /* int */
184 		*n_args = 3;
185 		break;
186 	}
187 	/* sendmsg */
188 	case 28: {
189 		struct sendmsg_args *p = params;
190 		iarg[0] = p->s; /* int */
191 		uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 		iarg[2] = p->flags; /* int */
193 		*n_args = 3;
194 		break;
195 	}
196 	/* recvfrom */
197 	case 29: {
198 		struct recvfrom_args *p = params;
199 		iarg[0] = p->s; /* int */
200 		uarg[1] = (intptr_t) p->buf; /* void * */
201 		uarg[2] = p->len; /* size_t */
202 		iarg[3] = p->flags; /* int */
203 		uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
204 		uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
205 		*n_args = 6;
206 		break;
207 	}
208 	/* accept */
209 	case 30: {
210 		struct accept_args *p = params;
211 		iarg[0] = p->s; /* int */
212 		uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
213 		uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
214 		*n_args = 3;
215 		break;
216 	}
217 	/* getpeername */
218 	case 31: {
219 		struct getpeername_args *p = params;
220 		iarg[0] = p->fdes; /* int */
221 		uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
222 		uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
223 		*n_args = 3;
224 		break;
225 	}
226 	/* getsockname */
227 	case 32: {
228 		struct getsockname_args *p = params;
229 		iarg[0] = p->fdes; /* int */
230 		uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
231 		uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
232 		*n_args = 3;
233 		break;
234 	}
235 	/* access */
236 	case 33: {
237 		struct access_args *p = params;
238 		uarg[0] = (intptr_t) p->path; /* const char * */
239 		iarg[1] = p->amode; /* int */
240 		*n_args = 2;
241 		break;
242 	}
243 	/* chflags */
244 	case 34: {
245 		struct chflags_args *p = params;
246 		uarg[0] = (intptr_t) p->path; /* const char * */
247 		uarg[1] = p->flags; /* u_long */
248 		*n_args = 2;
249 		break;
250 	}
251 	/* fchflags */
252 	case 35: {
253 		struct fchflags_args *p = params;
254 		iarg[0] = p->fd; /* int */
255 		uarg[1] = p->flags; /* u_long */
256 		*n_args = 2;
257 		break;
258 	}
259 	/* sync */
260 	case 36: {
261 		*n_args = 0;
262 		break;
263 	}
264 	/* kill */
265 	case 37: {
266 		struct kill_args *p = params;
267 		iarg[0] = p->pid; /* int */
268 		iarg[1] = p->signum; /* int */
269 		*n_args = 2;
270 		break;
271 	}
272 	/* getppid */
273 	case 39: {
274 		*n_args = 0;
275 		break;
276 	}
277 	/* dup */
278 	case 41: {
279 		struct dup_args *p = params;
280 		uarg[0] = p->fd; /* u_int */
281 		*n_args = 1;
282 		break;
283 	}
284 	/* getegid */
285 	case 43: {
286 		*n_args = 0;
287 		break;
288 	}
289 	/* profil */
290 	case 44: {
291 		struct profil_args *p = params;
292 		uarg[0] = (intptr_t) p->samples; /* char * */
293 		uarg[1] = p->size; /* size_t */
294 		uarg[2] = p->offset; /* size_t */
295 		uarg[3] = p->scale; /* u_int */
296 		*n_args = 4;
297 		break;
298 	}
299 	/* ktrace */
300 	case 45: {
301 		struct ktrace_args *p = params;
302 		uarg[0] = (intptr_t) p->fname; /* const char * */
303 		iarg[1] = p->ops; /* int */
304 		iarg[2] = p->facs; /* int */
305 		iarg[3] = p->pid; /* int */
306 		*n_args = 4;
307 		break;
308 	}
309 	/* getgid */
310 	case 47: {
311 		*n_args = 0;
312 		break;
313 	}
314 	/* getlogin */
315 	case 49: {
316 		struct getlogin_args *p = params;
317 		uarg[0] = (intptr_t) p->namebuf; /* char * */
318 		uarg[1] = p->namelen; /* u_int */
319 		*n_args = 2;
320 		break;
321 	}
322 	/* setlogin */
323 	case 50: {
324 		struct setlogin_args *p = params;
325 		uarg[0] = (intptr_t) p->namebuf; /* const char * */
326 		*n_args = 1;
327 		break;
328 	}
329 	/* acct */
330 	case 51: {
331 		struct acct_args *p = params;
332 		uarg[0] = (intptr_t) p->path; /* const char * */
333 		*n_args = 1;
334 		break;
335 	}
336 	/* sigaltstack */
337 	case 53: {
338 		struct sigaltstack_args *p = params;
339 		uarg[0] = (intptr_t) p->ss; /* stack_t * */
340 		uarg[1] = (intptr_t) p->oss; /* stack_t * */
341 		*n_args = 2;
342 		break;
343 	}
344 	/* ioctl */
345 	case 54: {
346 		struct ioctl_args *p = params;
347 		iarg[0] = p->fd; /* int */
348 		uarg[1] = p->com; /* u_long */
349 		uarg[2] = (intptr_t) p->data; /* char * */
350 		*n_args = 3;
351 		break;
352 	}
353 	/* reboot */
354 	case 55: {
355 		struct reboot_args *p = params;
356 		iarg[0] = p->opt; /* int */
357 		*n_args = 1;
358 		break;
359 	}
360 	/* revoke */
361 	case 56: {
362 		struct revoke_args *p = params;
363 		uarg[0] = (intptr_t) p->path; /* const char * */
364 		*n_args = 1;
365 		break;
366 	}
367 	/* symlink */
368 	case 57: {
369 		struct symlink_args *p = params;
370 		uarg[0] = (intptr_t) p->path; /* const char * */
371 		uarg[1] = (intptr_t) p->link; /* const char * */
372 		*n_args = 2;
373 		break;
374 	}
375 	/* readlink */
376 	case 58: {
377 		struct readlink_args *p = params;
378 		uarg[0] = (intptr_t) p->path; /* const char * */
379 		uarg[1] = (intptr_t) p->buf; /* char * */
380 		uarg[2] = p->count; /* size_t */
381 		*n_args = 3;
382 		break;
383 	}
384 	/* execve */
385 	case 59: {
386 		struct execve_args *p = params;
387 		uarg[0] = (intptr_t) p->fname; /* const char * */
388 		uarg[1] = (intptr_t) p->argv; /* char ** */
389 		uarg[2] = (intptr_t) p->envv; /* char ** */
390 		*n_args = 3;
391 		break;
392 	}
393 	/* umask */
394 	case 60: {
395 		struct umask_args *p = params;
396 		iarg[0] = p->newmask; /* mode_t */
397 		*n_args = 1;
398 		break;
399 	}
400 	/* chroot */
401 	case 61: {
402 		struct chroot_args *p = params;
403 		uarg[0] = (intptr_t) p->path; /* const char * */
404 		*n_args = 1;
405 		break;
406 	}
407 	/* msync */
408 	case 65: {
409 		struct msync_args *p = params;
410 		uarg[0] = (intptr_t) p->addr; /* void * */
411 		uarg[1] = p->len; /* size_t */
412 		iarg[2] = p->flags; /* int */
413 		*n_args = 3;
414 		break;
415 	}
416 	/* vfork */
417 	case 66: {
418 		*n_args = 0;
419 		break;
420 	}
421 	/* sbrk */
422 	case 69: {
423 		struct sbrk_args *p = params;
424 		iarg[0] = p->incr; /* int */
425 		*n_args = 1;
426 		break;
427 	}
428 	/* sstk */
429 	case 70: {
430 		struct sstk_args *p = params;
431 		iarg[0] = p->incr; /* int */
432 		*n_args = 1;
433 		break;
434 	}
435 	/* munmap */
436 	case 73: {
437 		struct munmap_args *p = params;
438 		uarg[0] = (intptr_t) p->addr; /* void * */
439 		uarg[1] = p->len; /* size_t */
440 		*n_args = 2;
441 		break;
442 	}
443 	/* mprotect */
444 	case 74: {
445 		struct mprotect_args *p = params;
446 		uarg[0] = (intptr_t) p->addr; /* void * */
447 		uarg[1] = p->len; /* size_t */
448 		iarg[2] = p->prot; /* int */
449 		*n_args = 3;
450 		break;
451 	}
452 	/* madvise */
453 	case 75: {
454 		struct madvise_args *p = params;
455 		uarg[0] = (intptr_t) p->addr; /* void * */
456 		uarg[1] = p->len; /* size_t */
457 		iarg[2] = p->behav; /* int */
458 		*n_args = 3;
459 		break;
460 	}
461 	/* mincore */
462 	case 78: {
463 		struct mincore_args *p = params;
464 		uarg[0] = (intptr_t) p->addr; /* const void * */
465 		uarg[1] = p->len; /* size_t */
466 		uarg[2] = (intptr_t) p->vec; /* char * */
467 		*n_args = 3;
468 		break;
469 	}
470 	/* getgroups */
471 	case 79: {
472 		struct getgroups_args *p = params;
473 		uarg[0] = p->gidsetsize; /* u_int */
474 		uarg[1] = (intptr_t) p->gidset; /* gid_t * */
475 		*n_args = 2;
476 		break;
477 	}
478 	/* setgroups */
479 	case 80: {
480 		struct setgroups_args *p = params;
481 		uarg[0] = p->gidsetsize; /* u_int */
482 		uarg[1] = (intptr_t) p->gidset; /* gid_t * */
483 		*n_args = 2;
484 		break;
485 	}
486 	/* getpgrp */
487 	case 81: {
488 		*n_args = 0;
489 		break;
490 	}
491 	/* setpgid */
492 	case 82: {
493 		struct setpgid_args *p = params;
494 		iarg[0] = p->pid; /* int */
495 		iarg[1] = p->pgid; /* int */
496 		*n_args = 2;
497 		break;
498 	}
499 	/* setitimer */
500 	case 83: {
501 		struct setitimer_args *p = params;
502 		uarg[0] = p->which; /* u_int */
503 		uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
504 		uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
505 		*n_args = 3;
506 		break;
507 	}
508 	/* swapon */
509 	case 85: {
510 		struct swapon_args *p = params;
511 		uarg[0] = (intptr_t) p->name; /* const char * */
512 		*n_args = 1;
513 		break;
514 	}
515 	/* getitimer */
516 	case 86: {
517 		struct getitimer_args *p = params;
518 		uarg[0] = p->which; /* u_int */
519 		uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
520 		*n_args = 2;
521 		break;
522 	}
523 	/* getdtablesize */
524 	case 89: {
525 		*n_args = 0;
526 		break;
527 	}
528 	/* dup2 */
529 	case 90: {
530 		struct dup2_args *p = params;
531 		uarg[0] = p->from; /* u_int */
532 		uarg[1] = p->to; /* u_int */
533 		*n_args = 2;
534 		break;
535 	}
536 	/* fcntl */
537 	case 92: {
538 		struct fcntl_args *p = params;
539 		iarg[0] = p->fd; /* int */
540 		iarg[1] = p->cmd; /* int */
541 		iarg[2] = p->arg; /* long */
542 		*n_args = 3;
543 		break;
544 	}
545 	/* select */
546 	case 93: {
547 		struct select_args *p = params;
548 		iarg[0] = p->nd; /* int */
549 		uarg[1] = (intptr_t) p->in; /* fd_set * */
550 		uarg[2] = (intptr_t) p->ou; /* fd_set * */
551 		uarg[3] = (intptr_t) p->ex; /* fd_set * */
552 		uarg[4] = (intptr_t) p->tv; /* struct timeval * */
553 		*n_args = 5;
554 		break;
555 	}
556 	/* fsync */
557 	case 95: {
558 		struct fsync_args *p = params;
559 		iarg[0] = p->fd; /* int */
560 		*n_args = 1;
561 		break;
562 	}
563 	/* setpriority */
564 	case 96: {
565 		struct setpriority_args *p = params;
566 		iarg[0] = p->which; /* int */
567 		iarg[1] = p->who; /* int */
568 		iarg[2] = p->prio; /* int */
569 		*n_args = 3;
570 		break;
571 	}
572 	/* socket */
573 	case 97: {
574 		struct socket_args *p = params;
575 		iarg[0] = p->domain; /* int */
576 		iarg[1] = p->type; /* int */
577 		iarg[2] = p->protocol; /* int */
578 		*n_args = 3;
579 		break;
580 	}
581 	/* connect */
582 	case 98: {
583 		struct connect_args *p = params;
584 		iarg[0] = p->s; /* int */
585 		uarg[1] = (intptr_t) p->name; /* const struct sockaddr * */
586 		iarg[2] = p->namelen; /* int */
587 		*n_args = 3;
588 		break;
589 	}
590 	/* getpriority */
591 	case 100: {
592 		struct getpriority_args *p = params;
593 		iarg[0] = p->which; /* int */
594 		iarg[1] = p->who; /* int */
595 		*n_args = 2;
596 		break;
597 	}
598 	/* bind */
599 	case 104: {
600 		struct bind_args *p = params;
601 		iarg[0] = p->s; /* int */
602 		uarg[1] = (intptr_t) p->name; /* const struct sockaddr * */
603 		iarg[2] = p->namelen; /* int */
604 		*n_args = 3;
605 		break;
606 	}
607 	/* setsockopt */
608 	case 105: {
609 		struct setsockopt_args *p = params;
610 		iarg[0] = p->s; /* int */
611 		iarg[1] = p->level; /* int */
612 		iarg[2] = p->name; /* int */
613 		uarg[3] = (intptr_t) p->val; /* const void * */
614 		iarg[4] = p->valsize; /* int */
615 		*n_args = 5;
616 		break;
617 	}
618 	/* listen */
619 	case 106: {
620 		struct listen_args *p = params;
621 		iarg[0] = p->s; /* int */
622 		iarg[1] = p->backlog; /* int */
623 		*n_args = 2;
624 		break;
625 	}
626 	/* gettimeofday */
627 	case 116: {
628 		struct gettimeofday_args *p = params;
629 		uarg[0] = (intptr_t) p->tp; /* struct timeval * */
630 		uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
631 		*n_args = 2;
632 		break;
633 	}
634 	/* getrusage */
635 	case 117: {
636 		struct getrusage_args *p = params;
637 		iarg[0] = p->who; /* int */
638 		uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
639 		*n_args = 2;
640 		break;
641 	}
642 	/* getsockopt */
643 	case 118: {
644 		struct getsockopt_args *p = params;
645 		iarg[0] = p->s; /* int */
646 		iarg[1] = p->level; /* int */
647 		iarg[2] = p->name; /* int */
648 		uarg[3] = (intptr_t) p->val; /* void * */
649 		uarg[4] = (intptr_t) p->avalsize; /* int * */
650 		*n_args = 5;
651 		break;
652 	}
653 	/* readv */
654 	case 120: {
655 		struct readv_args *p = params;
656 		iarg[0] = p->fd; /* int */
657 		uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
658 		uarg[2] = p->iovcnt; /* u_int */
659 		*n_args = 3;
660 		break;
661 	}
662 	/* writev */
663 	case 121: {
664 		struct writev_args *p = params;
665 		iarg[0] = p->fd; /* int */
666 		uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
667 		uarg[2] = p->iovcnt; /* u_int */
668 		*n_args = 3;
669 		break;
670 	}
671 	/* settimeofday */
672 	case 122: {
673 		struct settimeofday_args *p = params;
674 		uarg[0] = (intptr_t) p->tv; /* struct timeval * */
675 		uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
676 		*n_args = 2;
677 		break;
678 	}
679 	/* fchown */
680 	case 123: {
681 		struct fchown_args *p = params;
682 		iarg[0] = p->fd; /* int */
683 		iarg[1] = p->uid; /* int */
684 		iarg[2] = p->gid; /* int */
685 		*n_args = 3;
686 		break;
687 	}
688 	/* fchmod */
689 	case 124: {
690 		struct fchmod_args *p = params;
691 		iarg[0] = p->fd; /* int */
692 		iarg[1] = p->mode; /* mode_t */
693 		*n_args = 2;
694 		break;
695 	}
696 	/* setreuid */
697 	case 126: {
698 		struct setreuid_args *p = params;
699 		iarg[0] = p->ruid; /* int */
700 		iarg[1] = p->euid; /* int */
701 		*n_args = 2;
702 		break;
703 	}
704 	/* setregid */
705 	case 127: {
706 		struct setregid_args *p = params;
707 		iarg[0] = p->rgid; /* int */
708 		iarg[1] = p->egid; /* int */
709 		*n_args = 2;
710 		break;
711 	}
712 	/* rename */
713 	case 128: {
714 		struct rename_args *p = params;
715 		uarg[0] = (intptr_t) p->from; /* const char * */
716 		uarg[1] = (intptr_t) p->to; /* const char * */
717 		*n_args = 2;
718 		break;
719 	}
720 	/* flock */
721 	case 131: {
722 		struct flock_args *p = params;
723 		iarg[0] = p->fd; /* int */
724 		iarg[1] = p->how; /* int */
725 		*n_args = 2;
726 		break;
727 	}
728 	/* mkfifo */
729 	case 132: {
730 		struct mkfifo_args *p = params;
731 		uarg[0] = (intptr_t) p->path; /* const char * */
732 		iarg[1] = p->mode; /* mode_t */
733 		*n_args = 2;
734 		break;
735 	}
736 	/* sendto */
737 	case 133: {
738 		struct sendto_args *p = params;
739 		iarg[0] = p->s; /* int */
740 		uarg[1] = (intptr_t) p->buf; /* const void * */
741 		uarg[2] = p->len; /* size_t */
742 		iarg[3] = p->flags; /* int */
743 		uarg[4] = (intptr_t) p->to; /* const struct sockaddr * */
744 		iarg[5] = p->tolen; /* int */
745 		*n_args = 6;
746 		break;
747 	}
748 	/* shutdown */
749 	case 134: {
750 		struct shutdown_args *p = params;
751 		iarg[0] = p->s; /* int */
752 		iarg[1] = p->how; /* int */
753 		*n_args = 2;
754 		break;
755 	}
756 	/* socketpair */
757 	case 135: {
758 		struct socketpair_args *p = params;
759 		iarg[0] = p->domain; /* int */
760 		iarg[1] = p->type; /* int */
761 		iarg[2] = p->protocol; /* int */
762 		uarg[3] = (intptr_t) p->rsv; /* int * */
763 		*n_args = 4;
764 		break;
765 	}
766 	/* mkdir */
767 	case 136: {
768 		struct mkdir_args *p = params;
769 		uarg[0] = (intptr_t) p->path; /* const char * */
770 		iarg[1] = p->mode; /* mode_t */
771 		*n_args = 2;
772 		break;
773 	}
774 	/* rmdir */
775 	case 137: {
776 		struct rmdir_args *p = params;
777 		uarg[0] = (intptr_t) p->path; /* const char * */
778 		*n_args = 1;
779 		break;
780 	}
781 	/* utimes */
782 	case 138: {
783 		struct utimes_args *p = params;
784 		uarg[0] = (intptr_t) p->path; /* const char * */
785 		uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
786 		*n_args = 2;
787 		break;
788 	}
789 	/* adjtime */
790 	case 140: {
791 		struct adjtime_args *p = params;
792 		uarg[0] = (intptr_t) p->delta; /* struct timeval * */
793 		uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
794 		*n_args = 2;
795 		break;
796 	}
797 	/* setsid */
798 	case 147: {
799 		*n_args = 0;
800 		break;
801 	}
802 	/* quotactl */
803 	case 148: {
804 		struct quotactl_args *p = params;
805 		uarg[0] = (intptr_t) p->path; /* const char * */
806 		iarg[1] = p->cmd; /* int */
807 		iarg[2] = p->uid; /* int */
808 		uarg[3] = (intptr_t) p->arg; /* void * */
809 		*n_args = 4;
810 		break;
811 	}
812 	/* nlm_syscall */
813 	case 154: {
814 		struct nlm_syscall_args *p = params;
815 		iarg[0] = p->debug_level; /* int */
816 		iarg[1] = p->grace_period; /* int */
817 		iarg[2] = p->addr_count; /* int */
818 		uarg[3] = (intptr_t) p->addrs; /* char ** */
819 		*n_args = 4;
820 		break;
821 	}
822 	/* nfssvc */
823 	case 155: {
824 		struct nfssvc_args *p = params;
825 		iarg[0] = p->flag; /* int */
826 		uarg[1] = (intptr_t) p->argp; /* void * */
827 		*n_args = 2;
828 		break;
829 	}
830 	/* lgetfh */
831 	case 160: {
832 		struct lgetfh_args *p = params;
833 		uarg[0] = (intptr_t) p->fname; /* const char * */
834 		uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
835 		*n_args = 2;
836 		break;
837 	}
838 	/* getfh */
839 	case 161: {
840 		struct getfh_args *p = params;
841 		uarg[0] = (intptr_t) p->fname; /* const char * */
842 		uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
843 		*n_args = 2;
844 		break;
845 	}
846 	/* sysarch */
847 	case 165: {
848 		struct sysarch_args *p = params;
849 		iarg[0] = p->op; /* int */
850 		uarg[1] = (intptr_t) p->parms; /* char * */
851 		*n_args = 2;
852 		break;
853 	}
854 	/* rtprio */
855 	case 166: {
856 		struct rtprio_args *p = params;
857 		iarg[0] = p->function; /* int */
858 		iarg[1] = p->pid; /* pid_t */
859 		uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
860 		*n_args = 3;
861 		break;
862 	}
863 	/* semsys */
864 	case 169: {
865 		struct semsys_args *p = params;
866 		iarg[0] = p->which; /* int */
867 		iarg[1] = p->a2; /* int */
868 		iarg[2] = p->a3; /* int */
869 		iarg[3] = p->a4; /* int */
870 		iarg[4] = p->a5; /* int */
871 		*n_args = 5;
872 		break;
873 	}
874 	/* msgsys */
875 	case 170: {
876 		struct msgsys_args *p = params;
877 		iarg[0] = p->which; /* int */
878 		iarg[1] = p->a2; /* int */
879 		iarg[2] = p->a3; /* int */
880 		iarg[3] = p->a4; /* int */
881 		iarg[4] = p->a5; /* int */
882 		iarg[5] = p->a6; /* int */
883 		*n_args = 6;
884 		break;
885 	}
886 	/* shmsys */
887 	case 171: {
888 		struct shmsys_args *p = params;
889 		iarg[0] = p->which; /* int */
890 		iarg[1] = p->a2; /* int */
891 		iarg[2] = p->a3; /* int */
892 		iarg[3] = p->a4; /* int */
893 		*n_args = 4;
894 		break;
895 	}
896 	/* setfib */
897 	case 175: {
898 		struct setfib_args *p = params;
899 		iarg[0] = p->fibnum; /* int */
900 		*n_args = 1;
901 		break;
902 	}
903 	/* ntp_adjtime */
904 	case 176: {
905 		struct ntp_adjtime_args *p = params;
906 		uarg[0] = (intptr_t) p->tp; /* struct timex * */
907 		*n_args = 1;
908 		break;
909 	}
910 	/* setgid */
911 	case 181: {
912 		struct setgid_args *p = params;
913 		iarg[0] = p->gid; /* gid_t */
914 		*n_args = 1;
915 		break;
916 	}
917 	/* setegid */
918 	case 182: {
919 		struct setegid_args *p = params;
920 		iarg[0] = p->egid; /* gid_t */
921 		*n_args = 1;
922 		break;
923 	}
924 	/* seteuid */
925 	case 183: {
926 		struct seteuid_args *p = params;
927 		uarg[0] = p->euid; /* uid_t */
928 		*n_args = 1;
929 		break;
930 	}
931 	/* pathconf */
932 	case 191: {
933 		struct pathconf_args *p = params;
934 		uarg[0] = (intptr_t) p->path; /* const char * */
935 		iarg[1] = p->name; /* int */
936 		*n_args = 2;
937 		break;
938 	}
939 	/* fpathconf */
940 	case 192: {
941 		struct fpathconf_args *p = params;
942 		iarg[0] = p->fd; /* int */
943 		iarg[1] = p->name; /* int */
944 		*n_args = 2;
945 		break;
946 	}
947 	/* getrlimit */
948 	case 194: {
949 		struct __getrlimit_args *p = params;
950 		uarg[0] = p->which; /* u_int */
951 		uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
952 		*n_args = 2;
953 		break;
954 	}
955 	/* setrlimit */
956 	case 195: {
957 		struct __setrlimit_args *p = params;
958 		uarg[0] = p->which; /* u_int */
959 		uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
960 		*n_args = 2;
961 		break;
962 	}
963 	/* nosys */
964 	case 198: {
965 		*n_args = 0;
966 		break;
967 	}
968 	/* __sysctl */
969 	case 202: {
970 		struct sysctl_args *p = params;
971 		uarg[0] = (intptr_t) p->name; /* int * */
972 		uarg[1] = p->namelen; /* u_int */
973 		uarg[2] = (intptr_t) p->old; /* void * */
974 		uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
975 		uarg[4] = (intptr_t) p->new; /* const void * */
976 		uarg[5] = p->newlen; /* size_t */
977 		*n_args = 6;
978 		break;
979 	}
980 	/* mlock */
981 	case 203: {
982 		struct mlock_args *p = params;
983 		uarg[0] = (intptr_t) p->addr; /* const void * */
984 		uarg[1] = p->len; /* size_t */
985 		*n_args = 2;
986 		break;
987 	}
988 	/* munlock */
989 	case 204: {
990 		struct munlock_args *p = params;
991 		uarg[0] = (intptr_t) p->addr; /* const void * */
992 		uarg[1] = p->len; /* size_t */
993 		*n_args = 2;
994 		break;
995 	}
996 	/* undelete */
997 	case 205: {
998 		struct undelete_args *p = params;
999 		uarg[0] = (intptr_t) p->path; /* const char * */
1000 		*n_args = 1;
1001 		break;
1002 	}
1003 	/* futimes */
1004 	case 206: {
1005 		struct futimes_args *p = params;
1006 		iarg[0] = p->fd; /* int */
1007 		uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1008 		*n_args = 2;
1009 		break;
1010 	}
1011 	/* getpgid */
1012 	case 207: {
1013 		struct getpgid_args *p = params;
1014 		iarg[0] = p->pid; /* pid_t */
1015 		*n_args = 1;
1016 		break;
1017 	}
1018 	/* poll */
1019 	case 209: {
1020 		struct poll_args *p = params;
1021 		uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1022 		uarg[1] = p->nfds; /* u_int */
1023 		iarg[2] = p->timeout; /* int */
1024 		*n_args = 3;
1025 		break;
1026 	}
1027 	/* lkmnosys */
1028 	case 210: {
1029 		*n_args = 0;
1030 		break;
1031 	}
1032 	/* lkmnosys */
1033 	case 211: {
1034 		*n_args = 0;
1035 		break;
1036 	}
1037 	/* lkmnosys */
1038 	case 212: {
1039 		*n_args = 0;
1040 		break;
1041 	}
1042 	/* lkmnosys */
1043 	case 213: {
1044 		*n_args = 0;
1045 		break;
1046 	}
1047 	/* lkmnosys */
1048 	case 214: {
1049 		*n_args = 0;
1050 		break;
1051 	}
1052 	/* lkmnosys */
1053 	case 215: {
1054 		*n_args = 0;
1055 		break;
1056 	}
1057 	/* lkmnosys */
1058 	case 216: {
1059 		*n_args = 0;
1060 		break;
1061 	}
1062 	/* lkmnosys */
1063 	case 217: {
1064 		*n_args = 0;
1065 		break;
1066 	}
1067 	/* lkmnosys */
1068 	case 218: {
1069 		*n_args = 0;
1070 		break;
1071 	}
1072 	/* lkmnosys */
1073 	case 219: {
1074 		*n_args = 0;
1075 		break;
1076 	}
1077 	/* semget */
1078 	case 221: {
1079 		struct semget_args *p = params;
1080 		iarg[0] = p->key; /* key_t */
1081 		iarg[1] = p->nsems; /* int */
1082 		iarg[2] = p->semflg; /* int */
1083 		*n_args = 3;
1084 		break;
1085 	}
1086 	/* semop */
1087 	case 222: {
1088 		struct semop_args *p = params;
1089 		iarg[0] = p->semid; /* int */
1090 		uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1091 		uarg[2] = p->nsops; /* size_t */
1092 		*n_args = 3;
1093 		break;
1094 	}
1095 	/* msgget */
1096 	case 225: {
1097 		struct msgget_args *p = params;
1098 		iarg[0] = p->key; /* key_t */
1099 		iarg[1] = p->msgflg; /* int */
1100 		*n_args = 2;
1101 		break;
1102 	}
1103 	/* msgsnd */
1104 	case 226: {
1105 		struct msgsnd_args *p = params;
1106 		iarg[0] = p->msqid; /* int */
1107 		uarg[1] = (intptr_t) p->msgp; /* const void * */
1108 		uarg[2] = p->msgsz; /* size_t */
1109 		iarg[3] = p->msgflg; /* int */
1110 		*n_args = 4;
1111 		break;
1112 	}
1113 	/* msgrcv */
1114 	case 227: {
1115 		struct msgrcv_args *p = params;
1116 		iarg[0] = p->msqid; /* int */
1117 		uarg[1] = (intptr_t) p->msgp; /* void * */
1118 		uarg[2] = p->msgsz; /* size_t */
1119 		iarg[3] = p->msgtyp; /* long */
1120 		iarg[4] = p->msgflg; /* int */
1121 		*n_args = 5;
1122 		break;
1123 	}
1124 	/* shmat */
1125 	case 228: {
1126 		struct shmat_args *p = params;
1127 		iarg[0] = p->shmid; /* int */
1128 		uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1129 		iarg[2] = p->shmflg; /* int */
1130 		*n_args = 3;
1131 		break;
1132 	}
1133 	/* shmdt */
1134 	case 230: {
1135 		struct shmdt_args *p = params;
1136 		uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1137 		*n_args = 1;
1138 		break;
1139 	}
1140 	/* shmget */
1141 	case 231: {
1142 		struct shmget_args *p = params;
1143 		iarg[0] = p->key; /* key_t */
1144 		uarg[1] = p->size; /* size_t */
1145 		iarg[2] = p->shmflg; /* int */
1146 		*n_args = 3;
1147 		break;
1148 	}
1149 	/* clock_gettime */
1150 	case 232: {
1151 		struct clock_gettime_args *p = params;
1152 		iarg[0] = p->clock_id; /* clockid_t */
1153 		uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1154 		*n_args = 2;
1155 		break;
1156 	}
1157 	/* clock_settime */
1158 	case 233: {
1159 		struct clock_settime_args *p = params;
1160 		iarg[0] = p->clock_id; /* clockid_t */
1161 		uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1162 		*n_args = 2;
1163 		break;
1164 	}
1165 	/* clock_getres */
1166 	case 234: {
1167 		struct clock_getres_args *p = params;
1168 		iarg[0] = p->clock_id; /* clockid_t */
1169 		uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1170 		*n_args = 2;
1171 		break;
1172 	}
1173 	/* ktimer_create */
1174 	case 235: {
1175 		struct ktimer_create_args *p = params;
1176 		iarg[0] = p->clock_id; /* clockid_t */
1177 		uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1178 		uarg[2] = (intptr_t) p->timerid; /* int * */
1179 		*n_args = 3;
1180 		break;
1181 	}
1182 	/* ktimer_delete */
1183 	case 236: {
1184 		struct ktimer_delete_args *p = params;
1185 		iarg[0] = p->timerid; /* int */
1186 		*n_args = 1;
1187 		break;
1188 	}
1189 	/* ktimer_settime */
1190 	case 237: {
1191 		struct ktimer_settime_args *p = params;
1192 		iarg[0] = p->timerid; /* int */
1193 		iarg[1] = p->flags; /* int */
1194 		uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1195 		uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1196 		*n_args = 4;
1197 		break;
1198 	}
1199 	/* ktimer_gettime */
1200 	case 238: {
1201 		struct ktimer_gettime_args *p = params;
1202 		iarg[0] = p->timerid; /* int */
1203 		uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1204 		*n_args = 2;
1205 		break;
1206 	}
1207 	/* ktimer_getoverrun */
1208 	case 239: {
1209 		struct ktimer_getoverrun_args *p = params;
1210 		iarg[0] = p->timerid; /* int */
1211 		*n_args = 1;
1212 		break;
1213 	}
1214 	/* nanosleep */
1215 	case 240: {
1216 		struct nanosleep_args *p = params;
1217 		uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1218 		uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1219 		*n_args = 2;
1220 		break;
1221 	}
1222 	/* ffclock_getcounter */
1223 	case 241: {
1224 		struct ffclock_getcounter_args *p = params;
1225 		uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1226 		*n_args = 1;
1227 		break;
1228 	}
1229 	/* ffclock_setestimate */
1230 	case 242: {
1231 		struct ffclock_setestimate_args *p = params;
1232 		uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1233 		*n_args = 1;
1234 		break;
1235 	}
1236 	/* ffclock_getestimate */
1237 	case 243: {
1238 		struct ffclock_getestimate_args *p = params;
1239 		uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1240 		*n_args = 1;
1241 		break;
1242 	}
1243 	/* clock_nanosleep */
1244 	case 244: {
1245 		struct clock_nanosleep_args *p = params;
1246 		iarg[0] = p->clock_id; /* clockid_t */
1247 		iarg[1] = p->flags; /* int */
1248 		uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */
1249 		uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */
1250 		*n_args = 4;
1251 		break;
1252 	}
1253 	/* clock_getcpuclockid2 */
1254 	case 247: {
1255 		struct clock_getcpuclockid2_args *p = params;
1256 		iarg[0] = p->id; /* id_t */
1257 		iarg[1] = p->which; /* int */
1258 		uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1259 		*n_args = 3;
1260 		break;
1261 	}
1262 	/* ntp_gettime */
1263 	case 248: {
1264 		struct ntp_gettime_args *p = params;
1265 		uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1266 		*n_args = 1;
1267 		break;
1268 	}
1269 	/* minherit */
1270 	case 250: {
1271 		struct minherit_args *p = params;
1272 		uarg[0] = (intptr_t) p->addr; /* void * */
1273 		uarg[1] = p->len; /* size_t */
1274 		iarg[2] = p->inherit; /* int */
1275 		*n_args = 3;
1276 		break;
1277 	}
1278 	/* rfork */
1279 	case 251: {
1280 		struct rfork_args *p = params;
1281 		iarg[0] = p->flags; /* int */
1282 		*n_args = 1;
1283 		break;
1284 	}
1285 	/* issetugid */
1286 	case 253: {
1287 		*n_args = 0;
1288 		break;
1289 	}
1290 	/* lchown */
1291 	case 254: {
1292 		struct lchown_args *p = params;
1293 		uarg[0] = (intptr_t) p->path; /* const char * */
1294 		iarg[1] = p->uid; /* int */
1295 		iarg[2] = p->gid; /* int */
1296 		*n_args = 3;
1297 		break;
1298 	}
1299 	/* aio_read */
1300 	case 255: {
1301 		struct aio_read_args *p = params;
1302 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1303 		*n_args = 1;
1304 		break;
1305 	}
1306 	/* aio_write */
1307 	case 256: {
1308 		struct aio_write_args *p = params;
1309 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1310 		*n_args = 1;
1311 		break;
1312 	}
1313 	/* lio_listio */
1314 	case 257: {
1315 		struct lio_listio_args *p = params;
1316 		iarg[0] = p->mode; /* int */
1317 		uarg[1] = (intptr_t) p->acb_list; /* struct aiocb * const * */
1318 		iarg[2] = p->nent; /* int */
1319 		uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1320 		*n_args = 4;
1321 		break;
1322 	}
1323 	/* lchmod */
1324 	case 274: {
1325 		struct lchmod_args *p = params;
1326 		uarg[0] = (intptr_t) p->path; /* const char * */
1327 		iarg[1] = p->mode; /* mode_t */
1328 		*n_args = 2;
1329 		break;
1330 	}
1331 	/* lutimes */
1332 	case 276: {
1333 		struct lutimes_args *p = params;
1334 		uarg[0] = (intptr_t) p->path; /* const char * */
1335 		uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1336 		*n_args = 2;
1337 		break;
1338 	}
1339 	/* preadv */
1340 	case 289: {
1341 		struct preadv_args *p = params;
1342 		iarg[0] = p->fd; /* int */
1343 		uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1344 		uarg[2] = p->iovcnt; /* u_int */
1345 		iarg[3] = p->offset; /* off_t */
1346 		*n_args = 4;
1347 		break;
1348 	}
1349 	/* pwritev */
1350 	case 290: {
1351 		struct pwritev_args *p = params;
1352 		iarg[0] = p->fd; /* int */
1353 		uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1354 		uarg[2] = p->iovcnt; /* u_int */
1355 		iarg[3] = p->offset; /* off_t */
1356 		*n_args = 4;
1357 		break;
1358 	}
1359 	/* fhopen */
1360 	case 298: {
1361 		struct fhopen_args *p = params;
1362 		uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1363 		iarg[1] = p->flags; /* int */
1364 		*n_args = 2;
1365 		break;
1366 	}
1367 	/* modnext */
1368 	case 300: {
1369 		struct modnext_args *p = params;
1370 		iarg[0] = p->modid; /* int */
1371 		*n_args = 1;
1372 		break;
1373 	}
1374 	/* modstat */
1375 	case 301: {
1376 		struct modstat_args *p = params;
1377 		iarg[0] = p->modid; /* int */
1378 		uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1379 		*n_args = 2;
1380 		break;
1381 	}
1382 	/* modfnext */
1383 	case 302: {
1384 		struct modfnext_args *p = params;
1385 		iarg[0] = p->modid; /* int */
1386 		*n_args = 1;
1387 		break;
1388 	}
1389 	/* modfind */
1390 	case 303: {
1391 		struct modfind_args *p = params;
1392 		uarg[0] = (intptr_t) p->name; /* const char * */
1393 		*n_args = 1;
1394 		break;
1395 	}
1396 	/* kldload */
1397 	case 304: {
1398 		struct kldload_args *p = params;
1399 		uarg[0] = (intptr_t) p->file; /* const char * */
1400 		*n_args = 1;
1401 		break;
1402 	}
1403 	/* kldunload */
1404 	case 305: {
1405 		struct kldunload_args *p = params;
1406 		iarg[0] = p->fileid; /* int */
1407 		*n_args = 1;
1408 		break;
1409 	}
1410 	/* kldfind */
1411 	case 306: {
1412 		struct kldfind_args *p = params;
1413 		uarg[0] = (intptr_t) p->file; /* const char * */
1414 		*n_args = 1;
1415 		break;
1416 	}
1417 	/* kldnext */
1418 	case 307: {
1419 		struct kldnext_args *p = params;
1420 		iarg[0] = p->fileid; /* int */
1421 		*n_args = 1;
1422 		break;
1423 	}
1424 	/* kldstat */
1425 	case 308: {
1426 		struct kldstat_args *p = params;
1427 		iarg[0] = p->fileid; /* int */
1428 		uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1429 		*n_args = 2;
1430 		break;
1431 	}
1432 	/* kldfirstmod */
1433 	case 309: {
1434 		struct kldfirstmod_args *p = params;
1435 		iarg[0] = p->fileid; /* int */
1436 		*n_args = 1;
1437 		break;
1438 	}
1439 	/* getsid */
1440 	case 310: {
1441 		struct getsid_args *p = params;
1442 		iarg[0] = p->pid; /* pid_t */
1443 		*n_args = 1;
1444 		break;
1445 	}
1446 	/* setresuid */
1447 	case 311: {
1448 		struct setresuid_args *p = params;
1449 		uarg[0] = p->ruid; /* uid_t */
1450 		uarg[1] = p->euid; /* uid_t */
1451 		uarg[2] = p->suid; /* uid_t */
1452 		*n_args = 3;
1453 		break;
1454 	}
1455 	/* setresgid */
1456 	case 312: {
1457 		struct setresgid_args *p = params;
1458 		iarg[0] = p->rgid; /* gid_t */
1459 		iarg[1] = p->egid; /* gid_t */
1460 		iarg[2] = p->sgid; /* gid_t */
1461 		*n_args = 3;
1462 		break;
1463 	}
1464 	/* aio_return */
1465 	case 314: {
1466 		struct aio_return_args *p = params;
1467 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1468 		*n_args = 1;
1469 		break;
1470 	}
1471 	/* aio_suspend */
1472 	case 315: {
1473 		struct aio_suspend_args *p = params;
1474 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * const * */
1475 		iarg[1] = p->nent; /* int */
1476 		uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1477 		*n_args = 3;
1478 		break;
1479 	}
1480 	/* aio_cancel */
1481 	case 316: {
1482 		struct aio_cancel_args *p = params;
1483 		iarg[0] = p->fd; /* int */
1484 		uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1485 		*n_args = 2;
1486 		break;
1487 	}
1488 	/* aio_error */
1489 	case 317: {
1490 		struct aio_error_args *p = params;
1491 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1492 		*n_args = 1;
1493 		break;
1494 	}
1495 	/* yield */
1496 	case 321: {
1497 		*n_args = 0;
1498 		break;
1499 	}
1500 	/* mlockall */
1501 	case 324: {
1502 		struct mlockall_args *p = params;
1503 		iarg[0] = p->how; /* int */
1504 		*n_args = 1;
1505 		break;
1506 	}
1507 	/* munlockall */
1508 	case 325: {
1509 		*n_args = 0;
1510 		break;
1511 	}
1512 	/* __getcwd */
1513 	case 326: {
1514 		struct __getcwd_args *p = params;
1515 		uarg[0] = (intptr_t) p->buf; /* char * */
1516 		uarg[1] = p->buflen; /* size_t */
1517 		*n_args = 2;
1518 		break;
1519 	}
1520 	/* sched_setparam */
1521 	case 327: {
1522 		struct sched_setparam_args *p = params;
1523 		iarg[0] = p->pid; /* pid_t */
1524 		uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1525 		*n_args = 2;
1526 		break;
1527 	}
1528 	/* sched_getparam */
1529 	case 328: {
1530 		struct sched_getparam_args *p = params;
1531 		iarg[0] = p->pid; /* pid_t */
1532 		uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1533 		*n_args = 2;
1534 		break;
1535 	}
1536 	/* sched_setscheduler */
1537 	case 329: {
1538 		struct sched_setscheduler_args *p = params;
1539 		iarg[0] = p->pid; /* pid_t */
1540 		iarg[1] = p->policy; /* int */
1541 		uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1542 		*n_args = 3;
1543 		break;
1544 	}
1545 	/* sched_getscheduler */
1546 	case 330: {
1547 		struct sched_getscheduler_args *p = params;
1548 		iarg[0] = p->pid; /* pid_t */
1549 		*n_args = 1;
1550 		break;
1551 	}
1552 	/* sched_yield */
1553 	case 331: {
1554 		*n_args = 0;
1555 		break;
1556 	}
1557 	/* sched_get_priority_max */
1558 	case 332: {
1559 		struct sched_get_priority_max_args *p = params;
1560 		iarg[0] = p->policy; /* int */
1561 		*n_args = 1;
1562 		break;
1563 	}
1564 	/* sched_get_priority_min */
1565 	case 333: {
1566 		struct sched_get_priority_min_args *p = params;
1567 		iarg[0] = p->policy; /* int */
1568 		*n_args = 1;
1569 		break;
1570 	}
1571 	/* sched_rr_get_interval */
1572 	case 334: {
1573 		struct sched_rr_get_interval_args *p = params;
1574 		iarg[0] = p->pid; /* pid_t */
1575 		uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1576 		*n_args = 2;
1577 		break;
1578 	}
1579 	/* utrace */
1580 	case 335: {
1581 		struct utrace_args *p = params;
1582 		uarg[0] = (intptr_t) p->addr; /* const void * */
1583 		uarg[1] = p->len; /* size_t */
1584 		*n_args = 2;
1585 		break;
1586 	}
1587 	/* kldsym */
1588 	case 337: {
1589 		struct kldsym_args *p = params;
1590 		iarg[0] = p->fileid; /* int */
1591 		iarg[1] = p->cmd; /* int */
1592 		uarg[2] = (intptr_t) p->data; /* void * */
1593 		*n_args = 3;
1594 		break;
1595 	}
1596 	/* jail */
1597 	case 338: {
1598 		struct jail_args *p = params;
1599 		uarg[0] = (intptr_t) p->jail; /* struct jail * */
1600 		*n_args = 1;
1601 		break;
1602 	}
1603 	/* nnpfs_syscall */
1604 	case 339: {
1605 		struct nnpfs_syscall_args *p = params;
1606 		iarg[0] = p->operation; /* int */
1607 		uarg[1] = (intptr_t) p->a_pathP; /* char * */
1608 		iarg[2] = p->a_opcode; /* int */
1609 		uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1610 		iarg[4] = p->a_followSymlinks; /* int */
1611 		*n_args = 5;
1612 		break;
1613 	}
1614 	/* sigprocmask */
1615 	case 340: {
1616 		struct sigprocmask_args *p = params;
1617 		iarg[0] = p->how; /* int */
1618 		uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1619 		uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1620 		*n_args = 3;
1621 		break;
1622 	}
1623 	/* sigsuspend */
1624 	case 341: {
1625 		struct sigsuspend_args *p = params;
1626 		uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1627 		*n_args = 1;
1628 		break;
1629 	}
1630 	/* sigpending */
1631 	case 343: {
1632 		struct sigpending_args *p = params;
1633 		uarg[0] = (intptr_t) p->set; /* sigset_t * */
1634 		*n_args = 1;
1635 		break;
1636 	}
1637 	/* sigtimedwait */
1638 	case 345: {
1639 		struct sigtimedwait_args *p = params;
1640 		uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1641 		uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1642 		uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1643 		*n_args = 3;
1644 		break;
1645 	}
1646 	/* sigwaitinfo */
1647 	case 346: {
1648 		struct sigwaitinfo_args *p = params;
1649 		uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1650 		uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1651 		*n_args = 2;
1652 		break;
1653 	}
1654 	/* __acl_get_file */
1655 	case 347: {
1656 		struct __acl_get_file_args *p = params;
1657 		uarg[0] = (intptr_t) p->path; /* const char * */
1658 		iarg[1] = p->type; /* acl_type_t */
1659 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1660 		*n_args = 3;
1661 		break;
1662 	}
1663 	/* __acl_set_file */
1664 	case 348: {
1665 		struct __acl_set_file_args *p = params;
1666 		uarg[0] = (intptr_t) p->path; /* const char * */
1667 		iarg[1] = p->type; /* acl_type_t */
1668 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1669 		*n_args = 3;
1670 		break;
1671 	}
1672 	/* __acl_get_fd */
1673 	case 349: {
1674 		struct __acl_get_fd_args *p = params;
1675 		iarg[0] = p->filedes; /* int */
1676 		iarg[1] = p->type; /* acl_type_t */
1677 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1678 		*n_args = 3;
1679 		break;
1680 	}
1681 	/* __acl_set_fd */
1682 	case 350: {
1683 		struct __acl_set_fd_args *p = params;
1684 		iarg[0] = p->filedes; /* int */
1685 		iarg[1] = p->type; /* acl_type_t */
1686 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1687 		*n_args = 3;
1688 		break;
1689 	}
1690 	/* __acl_delete_file */
1691 	case 351: {
1692 		struct __acl_delete_file_args *p = params;
1693 		uarg[0] = (intptr_t) p->path; /* const char * */
1694 		iarg[1] = p->type; /* acl_type_t */
1695 		*n_args = 2;
1696 		break;
1697 	}
1698 	/* __acl_delete_fd */
1699 	case 352: {
1700 		struct __acl_delete_fd_args *p = params;
1701 		iarg[0] = p->filedes; /* int */
1702 		iarg[1] = p->type; /* acl_type_t */
1703 		*n_args = 2;
1704 		break;
1705 	}
1706 	/* __acl_aclcheck_file */
1707 	case 353: {
1708 		struct __acl_aclcheck_file_args *p = params;
1709 		uarg[0] = (intptr_t) p->path; /* const char * */
1710 		iarg[1] = p->type; /* acl_type_t */
1711 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1712 		*n_args = 3;
1713 		break;
1714 	}
1715 	/* __acl_aclcheck_fd */
1716 	case 354: {
1717 		struct __acl_aclcheck_fd_args *p = params;
1718 		iarg[0] = p->filedes; /* int */
1719 		iarg[1] = p->type; /* acl_type_t */
1720 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1721 		*n_args = 3;
1722 		break;
1723 	}
1724 	/* extattrctl */
1725 	case 355: {
1726 		struct extattrctl_args *p = params;
1727 		uarg[0] = (intptr_t) p->path; /* const char * */
1728 		iarg[1] = p->cmd; /* int */
1729 		uarg[2] = (intptr_t) p->filename; /* const char * */
1730 		iarg[3] = p->attrnamespace; /* int */
1731 		uarg[4] = (intptr_t) p->attrname; /* const char * */
1732 		*n_args = 5;
1733 		break;
1734 	}
1735 	/* extattr_set_file */
1736 	case 356: {
1737 		struct extattr_set_file_args *p = params;
1738 		uarg[0] = (intptr_t) p->path; /* const char * */
1739 		iarg[1] = p->attrnamespace; /* int */
1740 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1741 		uarg[3] = (intptr_t) p->data; /* void * */
1742 		uarg[4] = p->nbytes; /* size_t */
1743 		*n_args = 5;
1744 		break;
1745 	}
1746 	/* extattr_get_file */
1747 	case 357: {
1748 		struct extattr_get_file_args *p = params;
1749 		uarg[0] = (intptr_t) p->path; /* const char * */
1750 		iarg[1] = p->attrnamespace; /* int */
1751 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1752 		uarg[3] = (intptr_t) p->data; /* void * */
1753 		uarg[4] = p->nbytes; /* size_t */
1754 		*n_args = 5;
1755 		break;
1756 	}
1757 	/* extattr_delete_file */
1758 	case 358: {
1759 		struct extattr_delete_file_args *p = params;
1760 		uarg[0] = (intptr_t) p->path; /* const char * */
1761 		iarg[1] = p->attrnamespace; /* int */
1762 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1763 		*n_args = 3;
1764 		break;
1765 	}
1766 	/* aio_waitcomplete */
1767 	case 359: {
1768 		struct aio_waitcomplete_args *p = params;
1769 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1770 		uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1771 		*n_args = 2;
1772 		break;
1773 	}
1774 	/* getresuid */
1775 	case 360: {
1776 		struct getresuid_args *p = params;
1777 		uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1778 		uarg[1] = (intptr_t) p->euid; /* uid_t * */
1779 		uarg[2] = (intptr_t) p->suid; /* uid_t * */
1780 		*n_args = 3;
1781 		break;
1782 	}
1783 	/* getresgid */
1784 	case 361: {
1785 		struct getresgid_args *p = params;
1786 		uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1787 		uarg[1] = (intptr_t) p->egid; /* gid_t * */
1788 		uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1789 		*n_args = 3;
1790 		break;
1791 	}
1792 	/* kqueue */
1793 	case 362: {
1794 		*n_args = 0;
1795 		break;
1796 	}
1797 	/* extattr_set_fd */
1798 	case 371: {
1799 		struct extattr_set_fd_args *p = params;
1800 		iarg[0] = p->fd; /* int */
1801 		iarg[1] = p->attrnamespace; /* int */
1802 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1803 		uarg[3] = (intptr_t) p->data; /* void * */
1804 		uarg[4] = p->nbytes; /* size_t */
1805 		*n_args = 5;
1806 		break;
1807 	}
1808 	/* extattr_get_fd */
1809 	case 372: {
1810 		struct extattr_get_fd_args *p = params;
1811 		iarg[0] = p->fd; /* int */
1812 		iarg[1] = p->attrnamespace; /* int */
1813 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1814 		uarg[3] = (intptr_t) p->data; /* void * */
1815 		uarg[4] = p->nbytes; /* size_t */
1816 		*n_args = 5;
1817 		break;
1818 	}
1819 	/* extattr_delete_fd */
1820 	case 373: {
1821 		struct extattr_delete_fd_args *p = params;
1822 		iarg[0] = p->fd; /* int */
1823 		iarg[1] = p->attrnamespace; /* int */
1824 		uarg[2] = (intptr_t) p->attrname; /* const char * */
1825 		*n_args = 3;
1826 		break;
1827 	}
1828 	/* __setugid */
1829 	case 374: {
1830 		struct __setugid_args *p = params;
1831 		iarg[0] = p->flag; /* int */
1832 		*n_args = 1;
1833 		break;
1834 	}
1835 	/* eaccess */
1836 	case 376: {
1837 		struct eaccess_args *p = params;
1838 		uarg[0] = (intptr_t) p->path; /* const char * */
1839 		iarg[1] = p->amode; /* int */
1840 		*n_args = 2;
1841 		break;
1842 	}
1843 	/* afs3_syscall */
1844 	case 377: {
1845 		struct afs3_syscall_args *p = params;
1846 		iarg[0] = p->syscall; /* long */
1847 		iarg[1] = p->parm1; /* long */
1848 		iarg[2] = p->parm2; /* long */
1849 		iarg[3] = p->parm3; /* long */
1850 		iarg[4] = p->parm4; /* long */
1851 		iarg[5] = p->parm5; /* long */
1852 		iarg[6] = p->parm6; /* long */
1853 		*n_args = 7;
1854 		break;
1855 	}
1856 	/* nmount */
1857 	case 378: {
1858 		struct nmount_args *p = params;
1859 		uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1860 		uarg[1] = p->iovcnt; /* unsigned int */
1861 		iarg[2] = p->flags; /* int */
1862 		*n_args = 3;
1863 		break;
1864 	}
1865 	/* __mac_get_proc */
1866 	case 384: {
1867 		struct __mac_get_proc_args *p = params;
1868 		uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1869 		*n_args = 1;
1870 		break;
1871 	}
1872 	/* __mac_set_proc */
1873 	case 385: {
1874 		struct __mac_set_proc_args *p = params;
1875 		uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1876 		*n_args = 1;
1877 		break;
1878 	}
1879 	/* __mac_get_fd */
1880 	case 386: {
1881 		struct __mac_get_fd_args *p = params;
1882 		iarg[0] = p->fd; /* int */
1883 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1884 		*n_args = 2;
1885 		break;
1886 	}
1887 	/* __mac_get_file */
1888 	case 387: {
1889 		struct __mac_get_file_args *p = params;
1890 		uarg[0] = (intptr_t) p->path_p; /* const char * */
1891 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1892 		*n_args = 2;
1893 		break;
1894 	}
1895 	/* __mac_set_fd */
1896 	case 388: {
1897 		struct __mac_set_fd_args *p = params;
1898 		iarg[0] = p->fd; /* int */
1899 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1900 		*n_args = 2;
1901 		break;
1902 	}
1903 	/* __mac_set_file */
1904 	case 389: {
1905 		struct __mac_set_file_args *p = params;
1906 		uarg[0] = (intptr_t) p->path_p; /* const char * */
1907 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1908 		*n_args = 2;
1909 		break;
1910 	}
1911 	/* kenv */
1912 	case 390: {
1913 		struct kenv_args *p = params;
1914 		iarg[0] = p->what; /* int */
1915 		uarg[1] = (intptr_t) p->name; /* const char * */
1916 		uarg[2] = (intptr_t) p->value; /* char * */
1917 		iarg[3] = p->len; /* int */
1918 		*n_args = 4;
1919 		break;
1920 	}
1921 	/* lchflags */
1922 	case 391: {
1923 		struct lchflags_args *p = params;
1924 		uarg[0] = (intptr_t) p->path; /* const char * */
1925 		uarg[1] = p->flags; /* u_long */
1926 		*n_args = 2;
1927 		break;
1928 	}
1929 	/* uuidgen */
1930 	case 392: {
1931 		struct uuidgen_args *p = params;
1932 		uarg[0] = (intptr_t) p->store; /* struct uuid * */
1933 		iarg[1] = p->count; /* int */
1934 		*n_args = 2;
1935 		break;
1936 	}
1937 	/* sendfile */
1938 	case 393: {
1939 		struct sendfile_args *p = params;
1940 		iarg[0] = p->fd; /* int */
1941 		iarg[1] = p->s; /* int */
1942 		iarg[2] = p->offset; /* off_t */
1943 		uarg[3] = p->nbytes; /* size_t */
1944 		uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
1945 		uarg[5] = (intptr_t) p->sbytes; /* off_t * */
1946 		iarg[6] = p->flags; /* int */
1947 		*n_args = 7;
1948 		break;
1949 	}
1950 	/* mac_syscall */
1951 	case 394: {
1952 		struct mac_syscall_args *p = params;
1953 		uarg[0] = (intptr_t) p->policy; /* const char * */
1954 		iarg[1] = p->call; /* int */
1955 		uarg[2] = (intptr_t) p->arg; /* void * */
1956 		*n_args = 3;
1957 		break;
1958 	}
1959 	/* ksem_close */
1960 	case 400: {
1961 		struct ksem_close_args *p = params;
1962 		iarg[0] = p->id; /* semid_t */
1963 		*n_args = 1;
1964 		break;
1965 	}
1966 	/* ksem_post */
1967 	case 401: {
1968 		struct ksem_post_args *p = params;
1969 		iarg[0] = p->id; /* semid_t */
1970 		*n_args = 1;
1971 		break;
1972 	}
1973 	/* ksem_wait */
1974 	case 402: {
1975 		struct ksem_wait_args *p = params;
1976 		iarg[0] = p->id; /* semid_t */
1977 		*n_args = 1;
1978 		break;
1979 	}
1980 	/* ksem_trywait */
1981 	case 403: {
1982 		struct ksem_trywait_args *p = params;
1983 		iarg[0] = p->id; /* semid_t */
1984 		*n_args = 1;
1985 		break;
1986 	}
1987 	/* ksem_init */
1988 	case 404: {
1989 		struct ksem_init_args *p = params;
1990 		uarg[0] = (intptr_t) p->idp; /* semid_t * */
1991 		uarg[1] = p->value; /* unsigned int */
1992 		*n_args = 2;
1993 		break;
1994 	}
1995 	/* ksem_open */
1996 	case 405: {
1997 		struct ksem_open_args *p = params;
1998 		uarg[0] = (intptr_t) p->idp; /* semid_t * */
1999 		uarg[1] = (intptr_t) p->name; /* const char * */
2000 		iarg[2] = p->oflag; /* int */
2001 		iarg[3] = p->mode; /* mode_t */
2002 		uarg[4] = p->value; /* unsigned int */
2003 		*n_args = 5;
2004 		break;
2005 	}
2006 	/* ksem_unlink */
2007 	case 406: {
2008 		struct ksem_unlink_args *p = params;
2009 		uarg[0] = (intptr_t) p->name; /* const char * */
2010 		*n_args = 1;
2011 		break;
2012 	}
2013 	/* ksem_getvalue */
2014 	case 407: {
2015 		struct ksem_getvalue_args *p = params;
2016 		iarg[0] = p->id; /* semid_t */
2017 		uarg[1] = (intptr_t) p->val; /* int * */
2018 		*n_args = 2;
2019 		break;
2020 	}
2021 	/* ksem_destroy */
2022 	case 408: {
2023 		struct ksem_destroy_args *p = params;
2024 		iarg[0] = p->id; /* semid_t */
2025 		*n_args = 1;
2026 		break;
2027 	}
2028 	/* __mac_get_pid */
2029 	case 409: {
2030 		struct __mac_get_pid_args *p = params;
2031 		iarg[0] = p->pid; /* pid_t */
2032 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2033 		*n_args = 2;
2034 		break;
2035 	}
2036 	/* __mac_get_link */
2037 	case 410: {
2038 		struct __mac_get_link_args *p = params;
2039 		uarg[0] = (intptr_t) p->path_p; /* const char * */
2040 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2041 		*n_args = 2;
2042 		break;
2043 	}
2044 	/* __mac_set_link */
2045 	case 411: {
2046 		struct __mac_set_link_args *p = params;
2047 		uarg[0] = (intptr_t) p->path_p; /* const char * */
2048 		uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2049 		*n_args = 2;
2050 		break;
2051 	}
2052 	/* extattr_set_link */
2053 	case 412: {
2054 		struct extattr_set_link_args *p = params;
2055 		uarg[0] = (intptr_t) p->path; /* const char * */
2056 		iarg[1] = p->attrnamespace; /* int */
2057 		uarg[2] = (intptr_t) p->attrname; /* const char * */
2058 		uarg[3] = (intptr_t) p->data; /* void * */
2059 		uarg[4] = p->nbytes; /* size_t */
2060 		*n_args = 5;
2061 		break;
2062 	}
2063 	/* extattr_get_link */
2064 	case 413: {
2065 		struct extattr_get_link_args *p = params;
2066 		uarg[0] = (intptr_t) p->path; /* const char * */
2067 		iarg[1] = p->attrnamespace; /* int */
2068 		uarg[2] = (intptr_t) p->attrname; /* const char * */
2069 		uarg[3] = (intptr_t) p->data; /* void * */
2070 		uarg[4] = p->nbytes; /* size_t */
2071 		*n_args = 5;
2072 		break;
2073 	}
2074 	/* extattr_delete_link */
2075 	case 414: {
2076 		struct extattr_delete_link_args *p = params;
2077 		uarg[0] = (intptr_t) p->path; /* const char * */
2078 		iarg[1] = p->attrnamespace; /* int */
2079 		uarg[2] = (intptr_t) p->attrname; /* const char * */
2080 		*n_args = 3;
2081 		break;
2082 	}
2083 	/* __mac_execve */
2084 	case 415: {
2085 		struct __mac_execve_args *p = params;
2086 		uarg[0] = (intptr_t) p->fname; /* const char * */
2087 		uarg[1] = (intptr_t) p->argv; /* char ** */
2088 		uarg[2] = (intptr_t) p->envv; /* char ** */
2089 		uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2090 		*n_args = 4;
2091 		break;
2092 	}
2093 	/* sigaction */
2094 	case 416: {
2095 		struct sigaction_args *p = params;
2096 		iarg[0] = p->sig; /* int */
2097 		uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2098 		uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2099 		*n_args = 3;
2100 		break;
2101 	}
2102 	/* sigreturn */
2103 	case 417: {
2104 		struct sigreturn_args *p = params;
2105 		uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2106 		*n_args = 1;
2107 		break;
2108 	}
2109 	/* getcontext */
2110 	case 421: {
2111 		struct getcontext_args *p = params;
2112 		uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2113 		*n_args = 1;
2114 		break;
2115 	}
2116 	/* setcontext */
2117 	case 422: {
2118 		struct setcontext_args *p = params;
2119 		uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2120 		*n_args = 1;
2121 		break;
2122 	}
2123 	/* swapcontext */
2124 	case 423: {
2125 		struct swapcontext_args *p = params;
2126 		uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2127 		uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2128 		*n_args = 2;
2129 		break;
2130 	}
2131 	/* swapoff */
2132 	case 424: {
2133 		struct swapoff_args *p = params;
2134 		uarg[0] = (intptr_t) p->name; /* const char * */
2135 		*n_args = 1;
2136 		break;
2137 	}
2138 	/* __acl_get_link */
2139 	case 425: {
2140 		struct __acl_get_link_args *p = params;
2141 		uarg[0] = (intptr_t) p->path; /* const char * */
2142 		iarg[1] = p->type; /* acl_type_t */
2143 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2144 		*n_args = 3;
2145 		break;
2146 	}
2147 	/* __acl_set_link */
2148 	case 426: {
2149 		struct __acl_set_link_args *p = params;
2150 		uarg[0] = (intptr_t) p->path; /* const char * */
2151 		iarg[1] = p->type; /* acl_type_t */
2152 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2153 		*n_args = 3;
2154 		break;
2155 	}
2156 	/* __acl_delete_link */
2157 	case 427: {
2158 		struct __acl_delete_link_args *p = params;
2159 		uarg[0] = (intptr_t) p->path; /* const char * */
2160 		iarg[1] = p->type; /* acl_type_t */
2161 		*n_args = 2;
2162 		break;
2163 	}
2164 	/* __acl_aclcheck_link */
2165 	case 428: {
2166 		struct __acl_aclcheck_link_args *p = params;
2167 		uarg[0] = (intptr_t) p->path; /* const char * */
2168 		iarg[1] = p->type; /* acl_type_t */
2169 		uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2170 		*n_args = 3;
2171 		break;
2172 	}
2173 	/* sigwait */
2174 	case 429: {
2175 		struct sigwait_args *p = params;
2176 		uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2177 		uarg[1] = (intptr_t) p->sig; /* int * */
2178 		*n_args = 2;
2179 		break;
2180 	}
2181 	/* thr_create */
2182 	case 430: {
2183 		struct thr_create_args *p = params;
2184 		uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2185 		uarg[1] = (intptr_t) p->id; /* long * */
2186 		iarg[2] = p->flags; /* int */
2187 		*n_args = 3;
2188 		break;
2189 	}
2190 	/* thr_exit */
2191 	case 431: {
2192 		struct thr_exit_args *p = params;
2193 		uarg[0] = (intptr_t) p->state; /* long * */
2194 		*n_args = 1;
2195 		break;
2196 	}
2197 	/* thr_self */
2198 	case 432: {
2199 		struct thr_self_args *p = params;
2200 		uarg[0] = (intptr_t) p->id; /* long * */
2201 		*n_args = 1;
2202 		break;
2203 	}
2204 	/* thr_kill */
2205 	case 433: {
2206 		struct thr_kill_args *p = params;
2207 		iarg[0] = p->id; /* long */
2208 		iarg[1] = p->sig; /* int */
2209 		*n_args = 2;
2210 		break;
2211 	}
2212 	/* jail_attach */
2213 	case 436: {
2214 		struct jail_attach_args *p = params;
2215 		iarg[0] = p->jid; /* int */
2216 		*n_args = 1;
2217 		break;
2218 	}
2219 	/* extattr_list_fd */
2220 	case 437: {
2221 		struct extattr_list_fd_args *p = params;
2222 		iarg[0] = p->fd; /* int */
2223 		iarg[1] = p->attrnamespace; /* int */
2224 		uarg[2] = (intptr_t) p->data; /* void * */
2225 		uarg[3] = p->nbytes; /* size_t */
2226 		*n_args = 4;
2227 		break;
2228 	}
2229 	/* extattr_list_file */
2230 	case 438: {
2231 		struct extattr_list_file_args *p = params;
2232 		uarg[0] = (intptr_t) p->path; /* const char * */
2233 		iarg[1] = p->attrnamespace; /* int */
2234 		uarg[2] = (intptr_t) p->data; /* void * */
2235 		uarg[3] = p->nbytes; /* size_t */
2236 		*n_args = 4;
2237 		break;
2238 	}
2239 	/* extattr_list_link */
2240 	case 439: {
2241 		struct extattr_list_link_args *p = params;
2242 		uarg[0] = (intptr_t) p->path; /* const char * */
2243 		iarg[1] = p->attrnamespace; /* int */
2244 		uarg[2] = (intptr_t) p->data; /* void * */
2245 		uarg[3] = p->nbytes; /* size_t */
2246 		*n_args = 4;
2247 		break;
2248 	}
2249 	/* ksem_timedwait */
2250 	case 441: {
2251 		struct ksem_timedwait_args *p = params;
2252 		iarg[0] = p->id; /* semid_t */
2253 		uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2254 		*n_args = 2;
2255 		break;
2256 	}
2257 	/* thr_suspend */
2258 	case 442: {
2259 		struct thr_suspend_args *p = params;
2260 		uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2261 		*n_args = 1;
2262 		break;
2263 	}
2264 	/* thr_wake */
2265 	case 443: {
2266 		struct thr_wake_args *p = params;
2267 		iarg[0] = p->id; /* long */
2268 		*n_args = 1;
2269 		break;
2270 	}
2271 	/* kldunloadf */
2272 	case 444: {
2273 		struct kldunloadf_args *p = params;
2274 		iarg[0] = p->fileid; /* int */
2275 		iarg[1] = p->flags; /* int */
2276 		*n_args = 2;
2277 		break;
2278 	}
2279 	/* audit */
2280 	case 445: {
2281 		struct audit_args *p = params;
2282 		uarg[0] = (intptr_t) p->record; /* const void * */
2283 		uarg[1] = p->length; /* u_int */
2284 		*n_args = 2;
2285 		break;
2286 	}
2287 	/* auditon */
2288 	case 446: {
2289 		struct auditon_args *p = params;
2290 		iarg[0] = p->cmd; /* int */
2291 		uarg[1] = (intptr_t) p->data; /* void * */
2292 		uarg[2] = p->length; /* u_int */
2293 		*n_args = 3;
2294 		break;
2295 	}
2296 	/* getauid */
2297 	case 447: {
2298 		struct getauid_args *p = params;
2299 		uarg[0] = (intptr_t) p->auid; /* uid_t * */
2300 		*n_args = 1;
2301 		break;
2302 	}
2303 	/* setauid */
2304 	case 448: {
2305 		struct setauid_args *p = params;
2306 		uarg[0] = (intptr_t) p->auid; /* uid_t * */
2307 		*n_args = 1;
2308 		break;
2309 	}
2310 	/* getaudit */
2311 	case 449: {
2312 		struct getaudit_args *p = params;
2313 		uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2314 		*n_args = 1;
2315 		break;
2316 	}
2317 	/* setaudit */
2318 	case 450: {
2319 		struct setaudit_args *p = params;
2320 		uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2321 		*n_args = 1;
2322 		break;
2323 	}
2324 	/* getaudit_addr */
2325 	case 451: {
2326 		struct getaudit_addr_args *p = params;
2327 		uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2328 		uarg[1] = p->length; /* u_int */
2329 		*n_args = 2;
2330 		break;
2331 	}
2332 	/* setaudit_addr */
2333 	case 452: {
2334 		struct setaudit_addr_args *p = params;
2335 		uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2336 		uarg[1] = p->length; /* u_int */
2337 		*n_args = 2;
2338 		break;
2339 	}
2340 	/* auditctl */
2341 	case 453: {
2342 		struct auditctl_args *p = params;
2343 		uarg[0] = (intptr_t) p->path; /* const char * */
2344 		*n_args = 1;
2345 		break;
2346 	}
2347 	/* _umtx_op */
2348 	case 454: {
2349 		struct _umtx_op_args *p = params;
2350 		uarg[0] = (intptr_t) p->obj; /* void * */
2351 		iarg[1] = p->op; /* int */
2352 		uarg[2] = p->val; /* u_long */
2353 		uarg[3] = (intptr_t) p->uaddr1; /* void * */
2354 		uarg[4] = (intptr_t) p->uaddr2; /* void * */
2355 		*n_args = 5;
2356 		break;
2357 	}
2358 	/* thr_new */
2359 	case 455: {
2360 		struct thr_new_args *p = params;
2361 		uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2362 		iarg[1] = p->param_size; /* int */
2363 		*n_args = 2;
2364 		break;
2365 	}
2366 	/* sigqueue */
2367 	case 456: {
2368 		struct sigqueue_args *p = params;
2369 		iarg[0] = p->pid; /* pid_t */
2370 		iarg[1] = p->signum; /* int */
2371 		uarg[2] = (intptr_t) p->value; /* void * */
2372 		*n_args = 3;
2373 		break;
2374 	}
2375 	/* kmq_open */
2376 	case 457: {
2377 		struct kmq_open_args *p = params;
2378 		uarg[0] = (intptr_t) p->path; /* const char * */
2379 		iarg[1] = p->flags; /* int */
2380 		iarg[2] = p->mode; /* mode_t */
2381 		uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2382 		*n_args = 4;
2383 		break;
2384 	}
2385 	/* kmq_setattr */
2386 	case 458: {
2387 		struct kmq_setattr_args *p = params;
2388 		iarg[0] = p->mqd; /* int */
2389 		uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2390 		uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2391 		*n_args = 3;
2392 		break;
2393 	}
2394 	/* kmq_timedreceive */
2395 	case 459: {
2396 		struct kmq_timedreceive_args *p = params;
2397 		iarg[0] = p->mqd; /* int */
2398 		uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2399 		uarg[2] = p->msg_len; /* size_t */
2400 		uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2401 		uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2402 		*n_args = 5;
2403 		break;
2404 	}
2405 	/* kmq_timedsend */
2406 	case 460: {
2407 		struct kmq_timedsend_args *p = params;
2408 		iarg[0] = p->mqd; /* int */
2409 		uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2410 		uarg[2] = p->msg_len; /* size_t */
2411 		uarg[3] = p->msg_prio; /* unsigned */
2412 		uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2413 		*n_args = 5;
2414 		break;
2415 	}
2416 	/* kmq_notify */
2417 	case 461: {
2418 		struct kmq_notify_args *p = params;
2419 		iarg[0] = p->mqd; /* int */
2420 		uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2421 		*n_args = 2;
2422 		break;
2423 	}
2424 	/* kmq_unlink */
2425 	case 462: {
2426 		struct kmq_unlink_args *p = params;
2427 		uarg[0] = (intptr_t) p->path; /* const char * */
2428 		*n_args = 1;
2429 		break;
2430 	}
2431 	/* abort2 */
2432 	case 463: {
2433 		struct abort2_args *p = params;
2434 		uarg[0] = (intptr_t) p->why; /* const char * */
2435 		iarg[1] = p->nargs; /* int */
2436 		uarg[2] = (intptr_t) p->args; /* void ** */
2437 		*n_args = 3;
2438 		break;
2439 	}
2440 	/* thr_set_name */
2441 	case 464: {
2442 		struct thr_set_name_args *p = params;
2443 		iarg[0] = p->id; /* long */
2444 		uarg[1] = (intptr_t) p->name; /* const char * */
2445 		*n_args = 2;
2446 		break;
2447 	}
2448 	/* aio_fsync */
2449 	case 465: {
2450 		struct aio_fsync_args *p = params;
2451 		iarg[0] = p->op; /* int */
2452 		uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2453 		*n_args = 2;
2454 		break;
2455 	}
2456 	/* rtprio_thread */
2457 	case 466: {
2458 		struct rtprio_thread_args *p = params;
2459 		iarg[0] = p->function; /* int */
2460 		iarg[1] = p->lwpid; /* lwpid_t */
2461 		uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2462 		*n_args = 3;
2463 		break;
2464 	}
2465 	/* sctp_peeloff */
2466 	case 471: {
2467 		struct sctp_peeloff_args *p = params;
2468 		iarg[0] = p->sd; /* int */
2469 		uarg[1] = p->name; /* uint32_t */
2470 		*n_args = 2;
2471 		break;
2472 	}
2473 	/* sctp_generic_sendmsg */
2474 	case 472: {
2475 		struct sctp_generic_sendmsg_args *p = params;
2476 		iarg[0] = p->sd; /* int */
2477 		uarg[1] = (intptr_t) p->msg; /* void * */
2478 		iarg[2] = p->mlen; /* int */
2479 		uarg[3] = (intptr_t) p->to; /* struct sockaddr * */
2480 		iarg[4] = p->tolen; /* __socklen_t */
2481 		uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2482 		iarg[6] = p->flags; /* int */
2483 		*n_args = 7;
2484 		break;
2485 	}
2486 	/* sctp_generic_sendmsg_iov */
2487 	case 473: {
2488 		struct sctp_generic_sendmsg_iov_args *p = params;
2489 		iarg[0] = p->sd; /* int */
2490 		uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2491 		iarg[2] = p->iovlen; /* int */
2492 		uarg[3] = (intptr_t) p->to; /* struct sockaddr * */
2493 		iarg[4] = p->tolen; /* __socklen_t */
2494 		uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2495 		iarg[6] = p->flags; /* int */
2496 		*n_args = 7;
2497 		break;
2498 	}
2499 	/* sctp_generic_recvmsg */
2500 	case 474: {
2501 		struct sctp_generic_recvmsg_args *p = params;
2502 		iarg[0] = p->sd; /* int */
2503 		uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2504 		iarg[2] = p->iovlen; /* int */
2505 		uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2506 		uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2507 		uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2508 		uarg[6] = (intptr_t) p->msg_flags; /* int * */
2509 		*n_args = 7;
2510 		break;
2511 	}
2512 	/* pread */
2513 	case 475: {
2514 		struct pread_args *p = params;
2515 		iarg[0] = p->fd; /* int */
2516 		uarg[1] = (intptr_t) p->buf; /* void * */
2517 		uarg[2] = p->nbyte; /* size_t */
2518 		iarg[3] = p->offset; /* off_t */
2519 		*n_args = 4;
2520 		break;
2521 	}
2522 	/* pwrite */
2523 	case 476: {
2524 		struct pwrite_args *p = params;
2525 		iarg[0] = p->fd; /* int */
2526 		uarg[1] = (intptr_t) p->buf; /* const void * */
2527 		uarg[2] = p->nbyte; /* size_t */
2528 		iarg[3] = p->offset; /* off_t */
2529 		*n_args = 4;
2530 		break;
2531 	}
2532 	/* mmap */
2533 	case 477: {
2534 		struct mmap_args *p = params;
2535 		uarg[0] = (intptr_t) p->addr; /* void * */
2536 		uarg[1] = p->len; /* size_t */
2537 		iarg[2] = p->prot; /* int */
2538 		iarg[3] = p->flags; /* int */
2539 		iarg[4] = p->fd; /* int */
2540 		iarg[5] = p->pos; /* off_t */
2541 		*n_args = 6;
2542 		break;
2543 	}
2544 	/* lseek */
2545 	case 478: {
2546 		struct lseek_args *p = params;
2547 		iarg[0] = p->fd; /* int */
2548 		iarg[1] = p->offset; /* off_t */
2549 		iarg[2] = p->whence; /* int */
2550 		*n_args = 3;
2551 		break;
2552 	}
2553 	/* truncate */
2554 	case 479: {
2555 		struct truncate_args *p = params;
2556 		uarg[0] = (intptr_t) p->path; /* const char * */
2557 		iarg[1] = p->length; /* off_t */
2558 		*n_args = 2;
2559 		break;
2560 	}
2561 	/* ftruncate */
2562 	case 480: {
2563 		struct ftruncate_args *p = params;
2564 		iarg[0] = p->fd; /* int */
2565 		iarg[1] = p->length; /* off_t */
2566 		*n_args = 2;
2567 		break;
2568 	}
2569 	/* thr_kill2 */
2570 	case 481: {
2571 		struct thr_kill2_args *p = params;
2572 		iarg[0] = p->pid; /* pid_t */
2573 		iarg[1] = p->id; /* long */
2574 		iarg[2] = p->sig; /* int */
2575 		*n_args = 3;
2576 		break;
2577 	}
2578 	/* shm_unlink */
2579 	case 483: {
2580 		struct shm_unlink_args *p = params;
2581 		uarg[0] = (intptr_t) p->path; /* const char * */
2582 		*n_args = 1;
2583 		break;
2584 	}
2585 	/* cpuset */
2586 	case 484: {
2587 		struct cpuset_args *p = params;
2588 		uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2589 		*n_args = 1;
2590 		break;
2591 	}
2592 	/* cpuset_setid */
2593 	case 485: {
2594 		struct cpuset_setid_args *p = params;
2595 		iarg[0] = p->which; /* cpuwhich_t */
2596 		iarg[1] = p->id; /* id_t */
2597 		iarg[2] = p->setid; /* cpusetid_t */
2598 		*n_args = 3;
2599 		break;
2600 	}
2601 	/* cpuset_getid */
2602 	case 486: {
2603 		struct cpuset_getid_args *p = params;
2604 		iarg[0] = p->level; /* cpulevel_t */
2605 		iarg[1] = p->which; /* cpuwhich_t */
2606 		iarg[2] = p->id; /* id_t */
2607 		uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2608 		*n_args = 4;
2609 		break;
2610 	}
2611 	/* cpuset_getaffinity */
2612 	case 487: {
2613 		struct cpuset_getaffinity_args *p = params;
2614 		iarg[0] = p->level; /* cpulevel_t */
2615 		iarg[1] = p->which; /* cpuwhich_t */
2616 		iarg[2] = p->id; /* id_t */
2617 		uarg[3] = p->cpusetsize; /* size_t */
2618 		uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2619 		*n_args = 5;
2620 		break;
2621 	}
2622 	/* cpuset_setaffinity */
2623 	case 488: {
2624 		struct cpuset_setaffinity_args *p = params;
2625 		iarg[0] = p->level; /* cpulevel_t */
2626 		iarg[1] = p->which; /* cpuwhich_t */
2627 		iarg[2] = p->id; /* id_t */
2628 		uarg[3] = p->cpusetsize; /* size_t */
2629 		uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2630 		*n_args = 5;
2631 		break;
2632 	}
2633 	/* faccessat */
2634 	case 489: {
2635 		struct faccessat_args *p = params;
2636 		iarg[0] = p->fd; /* int */
2637 		uarg[1] = (intptr_t) p->path; /* const char * */
2638 		iarg[2] = p->amode; /* int */
2639 		iarg[3] = p->flag; /* int */
2640 		*n_args = 4;
2641 		break;
2642 	}
2643 	/* fchmodat */
2644 	case 490: {
2645 		struct fchmodat_args *p = params;
2646 		iarg[0] = p->fd; /* int */
2647 		uarg[1] = (intptr_t) p->path; /* const char * */
2648 		iarg[2] = p->mode; /* mode_t */
2649 		iarg[3] = p->flag; /* int */
2650 		*n_args = 4;
2651 		break;
2652 	}
2653 	/* fchownat */
2654 	case 491: {
2655 		struct fchownat_args *p = params;
2656 		iarg[0] = p->fd; /* int */
2657 		uarg[1] = (intptr_t) p->path; /* const char * */
2658 		uarg[2] = p->uid; /* uid_t */
2659 		iarg[3] = p->gid; /* gid_t */
2660 		iarg[4] = p->flag; /* int */
2661 		*n_args = 5;
2662 		break;
2663 	}
2664 	/* fexecve */
2665 	case 492: {
2666 		struct fexecve_args *p = params;
2667 		iarg[0] = p->fd; /* int */
2668 		uarg[1] = (intptr_t) p->argv; /* char ** */
2669 		uarg[2] = (intptr_t) p->envv; /* char ** */
2670 		*n_args = 3;
2671 		break;
2672 	}
2673 	/* futimesat */
2674 	case 494: {
2675 		struct futimesat_args *p = params;
2676 		iarg[0] = p->fd; /* int */
2677 		uarg[1] = (intptr_t) p->path; /* const char * */
2678 		uarg[2] = (intptr_t) p->times; /* struct timeval * */
2679 		*n_args = 3;
2680 		break;
2681 	}
2682 	/* linkat */
2683 	case 495: {
2684 		struct linkat_args *p = params;
2685 		iarg[0] = p->fd1; /* int */
2686 		uarg[1] = (intptr_t) p->path1; /* const char * */
2687 		iarg[2] = p->fd2; /* int */
2688 		uarg[3] = (intptr_t) p->path2; /* const char * */
2689 		iarg[4] = p->flag; /* int */
2690 		*n_args = 5;
2691 		break;
2692 	}
2693 	/* mkdirat */
2694 	case 496: {
2695 		struct mkdirat_args *p = params;
2696 		iarg[0] = p->fd; /* int */
2697 		uarg[1] = (intptr_t) p->path; /* const char * */
2698 		iarg[2] = p->mode; /* mode_t */
2699 		*n_args = 3;
2700 		break;
2701 	}
2702 	/* mkfifoat */
2703 	case 497: {
2704 		struct mkfifoat_args *p = params;
2705 		iarg[0] = p->fd; /* int */
2706 		uarg[1] = (intptr_t) p->path; /* const char * */
2707 		iarg[2] = p->mode; /* mode_t */
2708 		*n_args = 3;
2709 		break;
2710 	}
2711 	/* openat */
2712 	case 499: {
2713 		struct openat_args *p = params;
2714 		iarg[0] = p->fd; /* int */
2715 		uarg[1] = (intptr_t) p->path; /* const char * */
2716 		iarg[2] = p->flag; /* int */
2717 		iarg[3] = p->mode; /* mode_t */
2718 		*n_args = 4;
2719 		break;
2720 	}
2721 	/* readlinkat */
2722 	case 500: {
2723 		struct readlinkat_args *p = params;
2724 		iarg[0] = p->fd; /* int */
2725 		uarg[1] = (intptr_t) p->path; /* const char * */
2726 		uarg[2] = (intptr_t) p->buf; /* char * */
2727 		uarg[3] = p->bufsize; /* size_t */
2728 		*n_args = 4;
2729 		break;
2730 	}
2731 	/* renameat */
2732 	case 501: {
2733 		struct renameat_args *p = params;
2734 		iarg[0] = p->oldfd; /* int */
2735 		uarg[1] = (intptr_t) p->old; /* const char * */
2736 		iarg[2] = p->newfd; /* int */
2737 		uarg[3] = (intptr_t) p->new; /* const char * */
2738 		*n_args = 4;
2739 		break;
2740 	}
2741 	/* symlinkat */
2742 	case 502: {
2743 		struct symlinkat_args *p = params;
2744 		uarg[0] = (intptr_t) p->path1; /* const char * */
2745 		iarg[1] = p->fd; /* int */
2746 		uarg[2] = (intptr_t) p->path2; /* const char * */
2747 		*n_args = 3;
2748 		break;
2749 	}
2750 	/* unlinkat */
2751 	case 503: {
2752 		struct unlinkat_args *p = params;
2753 		iarg[0] = p->fd; /* int */
2754 		uarg[1] = (intptr_t) p->path; /* const char * */
2755 		iarg[2] = p->flag; /* int */
2756 		*n_args = 3;
2757 		break;
2758 	}
2759 	/* posix_openpt */
2760 	case 504: {
2761 		struct posix_openpt_args *p = params;
2762 		iarg[0] = p->flags; /* int */
2763 		*n_args = 1;
2764 		break;
2765 	}
2766 	/* gssd_syscall */
2767 	case 505: {
2768 		struct gssd_syscall_args *p = params;
2769 		uarg[0] = (intptr_t) p->path; /* const char * */
2770 		*n_args = 1;
2771 		break;
2772 	}
2773 	/* jail_get */
2774 	case 506: {
2775 		struct jail_get_args *p = params;
2776 		uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2777 		uarg[1] = p->iovcnt; /* unsigned int */
2778 		iarg[2] = p->flags; /* int */
2779 		*n_args = 3;
2780 		break;
2781 	}
2782 	/* jail_set */
2783 	case 507: {
2784 		struct jail_set_args *p = params;
2785 		uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2786 		uarg[1] = p->iovcnt; /* unsigned int */
2787 		iarg[2] = p->flags; /* int */
2788 		*n_args = 3;
2789 		break;
2790 	}
2791 	/* jail_remove */
2792 	case 508: {
2793 		struct jail_remove_args *p = params;
2794 		iarg[0] = p->jid; /* int */
2795 		*n_args = 1;
2796 		break;
2797 	}
2798 	/* closefrom */
2799 	case 509: {
2800 		struct closefrom_args *p = params;
2801 		iarg[0] = p->lowfd; /* int */
2802 		*n_args = 1;
2803 		break;
2804 	}
2805 	/* __semctl */
2806 	case 510: {
2807 		struct __semctl_args *p = params;
2808 		iarg[0] = p->semid; /* int */
2809 		iarg[1] = p->semnum; /* int */
2810 		iarg[2] = p->cmd; /* int */
2811 		uarg[3] = (intptr_t) p->arg; /* union semun * */
2812 		*n_args = 4;
2813 		break;
2814 	}
2815 	/* msgctl */
2816 	case 511: {
2817 		struct msgctl_args *p = params;
2818 		iarg[0] = p->msqid; /* int */
2819 		iarg[1] = p->cmd; /* int */
2820 		uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
2821 		*n_args = 3;
2822 		break;
2823 	}
2824 	/* shmctl */
2825 	case 512: {
2826 		struct shmctl_args *p = params;
2827 		iarg[0] = p->shmid; /* int */
2828 		iarg[1] = p->cmd; /* int */
2829 		uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
2830 		*n_args = 3;
2831 		break;
2832 	}
2833 	/* lpathconf */
2834 	case 513: {
2835 		struct lpathconf_args *p = params;
2836 		uarg[0] = (intptr_t) p->path; /* const char * */
2837 		iarg[1] = p->name; /* int */
2838 		*n_args = 2;
2839 		break;
2840 	}
2841 	/* __cap_rights_get */
2842 	case 515: {
2843 		struct __cap_rights_get_args *p = params;
2844 		iarg[0] = p->version; /* int */
2845 		iarg[1] = p->fd; /* int */
2846 		uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
2847 		*n_args = 3;
2848 		break;
2849 	}
2850 	/* cap_enter */
2851 	case 516: {
2852 		*n_args = 0;
2853 		break;
2854 	}
2855 	/* cap_getmode */
2856 	case 517: {
2857 		struct cap_getmode_args *p = params;
2858 		uarg[0] = (intptr_t) p->modep; /* u_int * */
2859 		*n_args = 1;
2860 		break;
2861 	}
2862 	/* pdfork */
2863 	case 518: {
2864 		struct pdfork_args *p = params;
2865 		uarg[0] = (intptr_t) p->fdp; /* int * */
2866 		iarg[1] = p->flags; /* int */
2867 		*n_args = 2;
2868 		break;
2869 	}
2870 	/* pdkill */
2871 	case 519: {
2872 		struct pdkill_args *p = params;
2873 		iarg[0] = p->fd; /* int */
2874 		iarg[1] = p->signum; /* int */
2875 		*n_args = 2;
2876 		break;
2877 	}
2878 	/* pdgetpid */
2879 	case 520: {
2880 		struct pdgetpid_args *p = params;
2881 		iarg[0] = p->fd; /* int */
2882 		uarg[1] = (intptr_t) p->pidp; /* pid_t * */
2883 		*n_args = 2;
2884 		break;
2885 	}
2886 	/* pselect */
2887 	case 522: {
2888 		struct pselect_args *p = params;
2889 		iarg[0] = p->nd; /* int */
2890 		uarg[1] = (intptr_t) p->in; /* fd_set * */
2891 		uarg[2] = (intptr_t) p->ou; /* fd_set * */
2892 		uarg[3] = (intptr_t) p->ex; /* fd_set * */
2893 		uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
2894 		uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2895 		*n_args = 6;
2896 		break;
2897 	}
2898 	/* getloginclass */
2899 	case 523: {
2900 		struct getloginclass_args *p = params;
2901 		uarg[0] = (intptr_t) p->namebuf; /* char * */
2902 		uarg[1] = p->namelen; /* size_t */
2903 		*n_args = 2;
2904 		break;
2905 	}
2906 	/* setloginclass */
2907 	case 524: {
2908 		struct setloginclass_args *p = params;
2909 		uarg[0] = (intptr_t) p->namebuf; /* const char * */
2910 		*n_args = 1;
2911 		break;
2912 	}
2913 	/* rctl_get_racct */
2914 	case 525: {
2915 		struct rctl_get_racct_args *p = params;
2916 		uarg[0] = (intptr_t) p->inbufp; /* const void * */
2917 		uarg[1] = p->inbuflen; /* size_t */
2918 		uarg[2] = (intptr_t) p->outbufp; /* void * */
2919 		uarg[3] = p->outbuflen; /* size_t */
2920 		*n_args = 4;
2921 		break;
2922 	}
2923 	/* rctl_get_rules */
2924 	case 526: {
2925 		struct rctl_get_rules_args *p = params;
2926 		uarg[0] = (intptr_t) p->inbufp; /* const void * */
2927 		uarg[1] = p->inbuflen; /* size_t */
2928 		uarg[2] = (intptr_t) p->outbufp; /* void * */
2929 		uarg[3] = p->outbuflen; /* size_t */
2930 		*n_args = 4;
2931 		break;
2932 	}
2933 	/* rctl_get_limits */
2934 	case 527: {
2935 		struct rctl_get_limits_args *p = params;
2936 		uarg[0] = (intptr_t) p->inbufp; /* const void * */
2937 		uarg[1] = p->inbuflen; /* size_t */
2938 		uarg[2] = (intptr_t) p->outbufp; /* void * */
2939 		uarg[3] = p->outbuflen; /* size_t */
2940 		*n_args = 4;
2941 		break;
2942 	}
2943 	/* rctl_add_rule */
2944 	case 528: {
2945 		struct rctl_add_rule_args *p = params;
2946 		uarg[0] = (intptr_t) p->inbufp; /* const void * */
2947 		uarg[1] = p->inbuflen; /* size_t */
2948 		uarg[2] = (intptr_t) p->outbufp; /* void * */
2949 		uarg[3] = p->outbuflen; /* size_t */
2950 		*n_args = 4;
2951 		break;
2952 	}
2953 	/* rctl_remove_rule */
2954 	case 529: {
2955 		struct rctl_remove_rule_args *p = params;
2956 		uarg[0] = (intptr_t) p->inbufp; /* const void * */
2957 		uarg[1] = p->inbuflen; /* size_t */
2958 		uarg[2] = (intptr_t) p->outbufp; /* void * */
2959 		uarg[3] = p->outbuflen; /* size_t */
2960 		*n_args = 4;
2961 		break;
2962 	}
2963 	/* posix_fallocate */
2964 	case 530: {
2965 		struct posix_fallocate_args *p = params;
2966 		iarg[0] = p->fd; /* int */
2967 		iarg[1] = p->offset; /* off_t */
2968 		iarg[2] = p->len; /* off_t */
2969 		*n_args = 3;
2970 		break;
2971 	}
2972 	/* posix_fadvise */
2973 	case 531: {
2974 		struct posix_fadvise_args *p = params;
2975 		iarg[0] = p->fd; /* int */
2976 		iarg[1] = p->offset; /* off_t */
2977 		iarg[2] = p->len; /* off_t */
2978 		iarg[3] = p->advice; /* int */
2979 		*n_args = 4;
2980 		break;
2981 	}
2982 	/* wait6 */
2983 	case 532: {
2984 		struct wait6_args *p = params;
2985 		iarg[0] = p->idtype; /* idtype_t */
2986 		iarg[1] = p->id; /* id_t */
2987 		uarg[2] = (intptr_t) p->status; /* int * */
2988 		iarg[3] = p->options; /* int */
2989 		uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
2990 		uarg[5] = (intptr_t) p->info; /* siginfo_t * */
2991 		*n_args = 6;
2992 		break;
2993 	}
2994 	/* cap_rights_limit */
2995 	case 533: {
2996 		struct cap_rights_limit_args *p = params;
2997 		iarg[0] = p->fd; /* int */
2998 		uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
2999 		*n_args = 2;
3000 		break;
3001 	}
3002 	/* cap_ioctls_limit */
3003 	case 534: {
3004 		struct cap_ioctls_limit_args *p = params;
3005 		iarg[0] = p->fd; /* int */
3006 		uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3007 		uarg[2] = p->ncmds; /* size_t */
3008 		*n_args = 3;
3009 		break;
3010 	}
3011 	/* cap_ioctls_get */
3012 	case 535: {
3013 		struct cap_ioctls_get_args *p = params;
3014 		iarg[0] = p->fd; /* int */
3015 		uarg[1] = (intptr_t) p->cmds; /* u_long * */
3016 		uarg[2] = p->maxcmds; /* size_t */
3017 		*n_args = 3;
3018 		break;
3019 	}
3020 	/* cap_fcntls_limit */
3021 	case 536: {
3022 		struct cap_fcntls_limit_args *p = params;
3023 		iarg[0] = p->fd; /* int */
3024 		uarg[1] = p->fcntlrights; /* uint32_t */
3025 		*n_args = 2;
3026 		break;
3027 	}
3028 	/* cap_fcntls_get */
3029 	case 537: {
3030 		struct cap_fcntls_get_args *p = params;
3031 		iarg[0] = p->fd; /* int */
3032 		uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3033 		*n_args = 2;
3034 		break;
3035 	}
3036 	/* bindat */
3037 	case 538: {
3038 		struct bindat_args *p = params;
3039 		iarg[0] = p->fd; /* int */
3040 		iarg[1] = p->s; /* int */
3041 		uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */
3042 		iarg[3] = p->namelen; /* int */
3043 		*n_args = 4;
3044 		break;
3045 	}
3046 	/* connectat */
3047 	case 539: {
3048 		struct connectat_args *p = params;
3049 		iarg[0] = p->fd; /* int */
3050 		iarg[1] = p->s; /* int */
3051 		uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */
3052 		iarg[3] = p->namelen; /* int */
3053 		*n_args = 4;
3054 		break;
3055 	}
3056 	/* chflagsat */
3057 	case 540: {
3058 		struct chflagsat_args *p = params;
3059 		iarg[0] = p->fd; /* int */
3060 		uarg[1] = (intptr_t) p->path; /* const char * */
3061 		uarg[2] = p->flags; /* u_long */
3062 		iarg[3] = p->atflag; /* int */
3063 		*n_args = 4;
3064 		break;
3065 	}
3066 	/* accept4 */
3067 	case 541: {
3068 		struct accept4_args *p = params;
3069 		iarg[0] = p->s; /* int */
3070 		uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3071 		uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3072 		iarg[3] = p->flags; /* int */
3073 		*n_args = 4;
3074 		break;
3075 	}
3076 	/* pipe2 */
3077 	case 542: {
3078 		struct pipe2_args *p = params;
3079 		uarg[0] = (intptr_t) p->fildes; /* int * */
3080 		iarg[1] = p->flags; /* int */
3081 		*n_args = 2;
3082 		break;
3083 	}
3084 	/* aio_mlock */
3085 	case 543: {
3086 		struct aio_mlock_args *p = params;
3087 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3088 		*n_args = 1;
3089 		break;
3090 	}
3091 	/* procctl */
3092 	case 544: {
3093 		struct procctl_args *p = params;
3094 		iarg[0] = p->idtype; /* idtype_t */
3095 		iarg[1] = p->id; /* id_t */
3096 		iarg[2] = p->com; /* int */
3097 		uarg[3] = (intptr_t) p->data; /* void * */
3098 		*n_args = 4;
3099 		break;
3100 	}
3101 	/* ppoll */
3102 	case 545: {
3103 		struct ppoll_args *p = params;
3104 		uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3105 		uarg[1] = p->nfds; /* u_int */
3106 		uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3107 		uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3108 		*n_args = 4;
3109 		break;
3110 	}
3111 	/* futimens */
3112 	case 546: {
3113 		struct futimens_args *p = params;
3114 		iarg[0] = p->fd; /* int */
3115 		uarg[1] = (intptr_t) p->times; /* struct timespec * */
3116 		*n_args = 2;
3117 		break;
3118 	}
3119 	/* utimensat */
3120 	case 547: {
3121 		struct utimensat_args *p = params;
3122 		iarg[0] = p->fd; /* int */
3123 		uarg[1] = (intptr_t) p->path; /* const char * */
3124 		uarg[2] = (intptr_t) p->times; /* struct timespec * */
3125 		iarg[3] = p->flag; /* int */
3126 		*n_args = 4;
3127 		break;
3128 	}
3129 	/* fdatasync */
3130 	case 550: {
3131 		struct fdatasync_args *p = params;
3132 		iarg[0] = p->fd; /* int */
3133 		*n_args = 1;
3134 		break;
3135 	}
3136 	/* fstat */
3137 	case 551: {
3138 		struct fstat_args *p = params;
3139 		iarg[0] = p->fd; /* int */
3140 		uarg[1] = (intptr_t) p->sb; /* struct stat * */
3141 		*n_args = 2;
3142 		break;
3143 	}
3144 	/* fstatat */
3145 	case 552: {
3146 		struct fstatat_args *p = params;
3147 		iarg[0] = p->fd; /* int */
3148 		uarg[1] = (intptr_t) p->path; /* const char * */
3149 		uarg[2] = (intptr_t) p->buf; /* struct stat * */
3150 		iarg[3] = p->flag; /* int */
3151 		*n_args = 4;
3152 		break;
3153 	}
3154 	/* fhstat */
3155 	case 553: {
3156 		struct fhstat_args *p = params;
3157 		uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3158 		uarg[1] = (intptr_t) p->sb; /* struct stat * */
3159 		*n_args = 2;
3160 		break;
3161 	}
3162 	/* getdirentries */
3163 	case 554: {
3164 		struct getdirentries_args *p = params;
3165 		iarg[0] = p->fd; /* int */
3166 		uarg[1] = (intptr_t) p->buf; /* char * */
3167 		uarg[2] = p->count; /* size_t */
3168 		uarg[3] = (intptr_t) p->basep; /* off_t * */
3169 		*n_args = 4;
3170 		break;
3171 	}
3172 	/* statfs */
3173 	case 555: {
3174 		struct statfs_args *p = params;
3175 		uarg[0] = (intptr_t) p->path; /* const char * */
3176 		uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3177 		*n_args = 2;
3178 		break;
3179 	}
3180 	/* fstatfs */
3181 	case 556: {
3182 		struct fstatfs_args *p = params;
3183 		iarg[0] = p->fd; /* int */
3184 		uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3185 		*n_args = 2;
3186 		break;
3187 	}
3188 	/* getfsstat */
3189 	case 557: {
3190 		struct getfsstat_args *p = params;
3191 		uarg[0] = (intptr_t) p->buf; /* struct statfs * */
3192 		iarg[1] = p->bufsize; /* long */
3193 		iarg[2] = p->mode; /* int */
3194 		*n_args = 3;
3195 		break;
3196 	}
3197 	/* fhstatfs */
3198 	case 558: {
3199 		struct fhstatfs_args *p = params;
3200 		uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3201 		uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3202 		*n_args = 2;
3203 		break;
3204 	}
3205 	/* mknodat */
3206 	case 559: {
3207 		struct mknodat_args *p = params;
3208 		iarg[0] = p->fd; /* int */
3209 		uarg[1] = (intptr_t) p->path; /* const char * */
3210 		iarg[2] = p->mode; /* mode_t */
3211 		iarg[3] = p->dev; /* dev_t */
3212 		*n_args = 4;
3213 		break;
3214 	}
3215 	/* kevent */
3216 	case 560: {
3217 		struct kevent_args *p = params;
3218 		iarg[0] = p->fd; /* int */
3219 		uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
3220 		iarg[2] = p->nchanges; /* int */
3221 		uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
3222 		iarg[4] = p->nevents; /* int */
3223 		uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
3224 		*n_args = 6;
3225 		break;
3226 	}
3227 	/* cpuset_getdomain */
3228 	case 561: {
3229 		struct cpuset_getdomain_args *p = params;
3230 		iarg[0] = p->level; /* cpulevel_t */
3231 		iarg[1] = p->which; /* cpuwhich_t */
3232 		iarg[2] = p->id; /* id_t */
3233 		uarg[3] = p->domainsetsize; /* size_t */
3234 		uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3235 		uarg[5] = (intptr_t) p->policy; /* int * */
3236 		*n_args = 6;
3237 		break;
3238 	}
3239 	/* cpuset_setdomain */
3240 	case 562: {
3241 		struct cpuset_setdomain_args *p = params;
3242 		iarg[0] = p->level; /* cpulevel_t */
3243 		iarg[1] = p->which; /* cpuwhich_t */
3244 		iarg[2] = p->id; /* id_t */
3245 		uarg[3] = p->domainsetsize; /* size_t */
3246 		uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3247 		iarg[5] = p->policy; /* int */
3248 		*n_args = 6;
3249 		break;
3250 	}
3251 	/* getrandom */
3252 	case 563: {
3253 		struct getrandom_args *p = params;
3254 		uarg[0] = (intptr_t) p->buf; /* void * */
3255 		uarg[1] = p->buflen; /* size_t */
3256 		uarg[2] = p->flags; /* unsigned int */
3257 		*n_args = 3;
3258 		break;
3259 	}
3260 	/* getfhat */
3261 	case 564: {
3262 		struct getfhat_args *p = params;
3263 		iarg[0] = p->fd; /* int */
3264 		uarg[1] = (intptr_t) p->path; /* char * */
3265 		uarg[2] = (intptr_t) p->fhp; /* struct fhandle * */
3266 		iarg[3] = p->flags; /* int */
3267 		*n_args = 4;
3268 		break;
3269 	}
3270 	/* fhlink */
3271 	case 565: {
3272 		struct fhlink_args *p = params;
3273 		uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3274 		uarg[1] = (intptr_t) p->to; /* const char * */
3275 		*n_args = 2;
3276 		break;
3277 	}
3278 	/* fhlinkat */
3279 	case 566: {
3280 		struct fhlinkat_args *p = params;
3281 		uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3282 		iarg[1] = p->tofd; /* int */
3283 		uarg[2] = (intptr_t) p->to; /* const char * */
3284 		*n_args = 3;
3285 		break;
3286 	}
3287 	/* fhreadlink */
3288 	case 567: {
3289 		struct fhreadlink_args *p = params;
3290 		uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3291 		uarg[1] = (intptr_t) p->buf; /* char * */
3292 		uarg[2] = p->bufsize; /* size_t */
3293 		*n_args = 3;
3294 		break;
3295 	}
3296 	/* funlinkat */
3297 	case 568: {
3298 		struct funlinkat_args *p = params;
3299 		iarg[0] = p->dfd; /* int */
3300 		uarg[1] = (intptr_t) p->path; /* const char * */
3301 		iarg[2] = p->fd; /* int */
3302 		iarg[3] = p->flag; /* int */
3303 		*n_args = 4;
3304 		break;
3305 	}
3306 	/* copy_file_range */
3307 	case 569: {
3308 		struct copy_file_range_args *p = params;
3309 		iarg[0] = p->infd; /* int */
3310 		uarg[1] = (intptr_t) p->inoffp; /* off_t * */
3311 		iarg[2] = p->outfd; /* int */
3312 		uarg[3] = (intptr_t) p->outoffp; /* off_t * */
3313 		uarg[4] = p->len; /* size_t */
3314 		uarg[5] = p->flags; /* unsigned int */
3315 		*n_args = 6;
3316 		break;
3317 	}
3318 	/* __sysctlbyname */
3319 	case 570: {
3320 		struct __sysctlbyname_args *p = params;
3321 		uarg[0] = (intptr_t) p->name; /* const char * */
3322 		uarg[1] = p->namelen; /* size_t */
3323 		uarg[2] = (intptr_t) p->old; /* void * */
3324 		uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
3325 		uarg[4] = (intptr_t) p->new; /* void * */
3326 		uarg[5] = p->newlen; /* size_t */
3327 		*n_args = 6;
3328 		break;
3329 	}
3330 	/* shm_open2 */
3331 	case 571: {
3332 		struct shm_open2_args *p = params;
3333 		uarg[0] = (intptr_t) p->path; /* const char * */
3334 		iarg[1] = p->flags; /* int */
3335 		iarg[2] = p->mode; /* mode_t */
3336 		iarg[3] = p->shmflags; /* int */
3337 		uarg[4] = (intptr_t) p->name; /* const char * */
3338 		*n_args = 5;
3339 		break;
3340 	}
3341 	/* shm_rename */
3342 	case 572: {
3343 		struct shm_rename_args *p = params;
3344 		uarg[0] = (intptr_t) p->path_from; /* const char * */
3345 		uarg[1] = (intptr_t) p->path_to; /* const char * */
3346 		iarg[2] = p->flags; /* int */
3347 		*n_args = 3;
3348 		break;
3349 	}
3350 	/* sigfastblock */
3351 	case 573: {
3352 		struct sigfastblock_args *p = params;
3353 		iarg[0] = p->cmd; /* int */
3354 		uarg[1] = (intptr_t) p->ptr; /* uint32_t * */
3355 		*n_args = 2;
3356 		break;
3357 	}
3358 	/* __realpathat */
3359 	case 574: {
3360 		struct __realpathat_args *p = params;
3361 		iarg[0] = p->fd; /* int */
3362 		uarg[1] = (intptr_t) p->path; /* const char * */
3363 		uarg[2] = (intptr_t) p->buf; /* char * */
3364 		uarg[3] = p->size; /* size_t */
3365 		iarg[4] = p->flags; /* int */
3366 		*n_args = 5;
3367 		break;
3368 	}
3369 	default:
3370 		*n_args = 0;
3371 		break;
3372 	};
3373 }
3374 static void
3375 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3376 {
3377 	const char *p = NULL;
3378 	switch (sysnum) {
3379 	/* nosys */
3380 	case 0:
3381 		break;
3382 	/* sys_exit */
3383 	case 1:
3384 		switch(ndx) {
3385 		case 0:
3386 			p = "int";
3387 			break;
3388 		default:
3389 			break;
3390 		};
3391 		break;
3392 	/* fork */
3393 	case 2:
3394 		break;
3395 	/* read */
3396 	case 3:
3397 		switch(ndx) {
3398 		case 0:
3399 			p = "int";
3400 			break;
3401 		case 1:
3402 			p = "userland void *";
3403 			break;
3404 		case 2:
3405 			p = "size_t";
3406 			break;
3407 		default:
3408 			break;
3409 		};
3410 		break;
3411 	/* write */
3412 	case 4:
3413 		switch(ndx) {
3414 		case 0:
3415 			p = "int";
3416 			break;
3417 		case 1:
3418 			p = "userland const void *";
3419 			break;
3420 		case 2:
3421 			p = "size_t";
3422 			break;
3423 		default:
3424 			break;
3425 		};
3426 		break;
3427 	/* open */
3428 	case 5:
3429 		switch(ndx) {
3430 		case 0:
3431 			p = "userland const char *";
3432 			break;
3433 		case 1:
3434 			p = "int";
3435 			break;
3436 		case 2:
3437 			p = "mode_t";
3438 			break;
3439 		default:
3440 			break;
3441 		};
3442 		break;
3443 	/* close */
3444 	case 6:
3445 		switch(ndx) {
3446 		case 0:
3447 			p = "int";
3448 			break;
3449 		default:
3450 			break;
3451 		};
3452 		break;
3453 	/* wait4 */
3454 	case 7:
3455 		switch(ndx) {
3456 		case 0:
3457 			p = "int";
3458 			break;
3459 		case 1:
3460 			p = "userland int *";
3461 			break;
3462 		case 2:
3463 			p = "int";
3464 			break;
3465 		case 3:
3466 			p = "userland struct rusage *";
3467 			break;
3468 		default:
3469 			break;
3470 		};
3471 		break;
3472 	/* link */
3473 	case 9:
3474 		switch(ndx) {
3475 		case 0:
3476 			p = "userland const char *";
3477 			break;
3478 		case 1:
3479 			p = "userland const char *";
3480 			break;
3481 		default:
3482 			break;
3483 		};
3484 		break;
3485 	/* unlink */
3486 	case 10:
3487 		switch(ndx) {
3488 		case 0:
3489 			p = "userland const char *";
3490 			break;
3491 		default:
3492 			break;
3493 		};
3494 		break;
3495 	/* chdir */
3496 	case 12:
3497 		switch(ndx) {
3498 		case 0:
3499 			p = "userland const char *";
3500 			break;
3501 		default:
3502 			break;
3503 		};
3504 		break;
3505 	/* fchdir */
3506 	case 13:
3507 		switch(ndx) {
3508 		case 0:
3509 			p = "int";
3510 			break;
3511 		default:
3512 			break;
3513 		};
3514 		break;
3515 	/* chmod */
3516 	case 15:
3517 		switch(ndx) {
3518 		case 0:
3519 			p = "userland const char *";
3520 			break;
3521 		case 1:
3522 			p = "mode_t";
3523 			break;
3524 		default:
3525 			break;
3526 		};
3527 		break;
3528 	/* chown */
3529 	case 16:
3530 		switch(ndx) {
3531 		case 0:
3532 			p = "userland const char *";
3533 			break;
3534 		case 1:
3535 			p = "int";
3536 			break;
3537 		case 2:
3538 			p = "int";
3539 			break;
3540 		default:
3541 			break;
3542 		};
3543 		break;
3544 	/* break */
3545 	case 17:
3546 		switch(ndx) {
3547 		case 0:
3548 			p = "userland char *";
3549 			break;
3550 		default:
3551 			break;
3552 		};
3553 		break;
3554 	/* getpid */
3555 	case 20:
3556 		break;
3557 	/* mount */
3558 	case 21:
3559 		switch(ndx) {
3560 		case 0:
3561 			p = "userland const char *";
3562 			break;
3563 		case 1:
3564 			p = "userland const char *";
3565 			break;
3566 		case 2:
3567 			p = "int";
3568 			break;
3569 		case 3:
3570 			p = "userland void *";
3571 			break;
3572 		default:
3573 			break;
3574 		};
3575 		break;
3576 	/* unmount */
3577 	case 22:
3578 		switch(ndx) {
3579 		case 0:
3580 			p = "userland const char *";
3581 			break;
3582 		case 1:
3583 			p = "int";
3584 			break;
3585 		default:
3586 			break;
3587 		};
3588 		break;
3589 	/* setuid */
3590 	case 23:
3591 		switch(ndx) {
3592 		case 0:
3593 			p = "uid_t";
3594 			break;
3595 		default:
3596 			break;
3597 		};
3598 		break;
3599 	/* getuid */
3600 	case 24:
3601 		break;
3602 	/* geteuid */
3603 	case 25:
3604 		break;
3605 	/* ptrace */
3606 	case 26:
3607 		switch(ndx) {
3608 		case 0:
3609 			p = "int";
3610 			break;
3611 		case 1:
3612 			p = "pid_t";
3613 			break;
3614 		case 2:
3615 			p = "caddr_t";
3616 			break;
3617 		case 3:
3618 			p = "int";
3619 			break;
3620 		default:
3621 			break;
3622 		};
3623 		break;
3624 	/* recvmsg */
3625 	case 27:
3626 		switch(ndx) {
3627 		case 0:
3628 			p = "int";
3629 			break;
3630 		case 1:
3631 			p = "userland struct msghdr *";
3632 			break;
3633 		case 2:
3634 			p = "int";
3635 			break;
3636 		default:
3637 			break;
3638 		};
3639 		break;
3640 	/* sendmsg */
3641 	case 28:
3642 		switch(ndx) {
3643 		case 0:
3644 			p = "int";
3645 			break;
3646 		case 1:
3647 			p = "userland struct msghdr *";
3648 			break;
3649 		case 2:
3650 			p = "int";
3651 			break;
3652 		default:
3653 			break;
3654 		};
3655 		break;
3656 	/* recvfrom */
3657 	case 29:
3658 		switch(ndx) {
3659 		case 0:
3660 			p = "int";
3661 			break;
3662 		case 1:
3663 			p = "userland void *";
3664 			break;
3665 		case 2:
3666 			p = "size_t";
3667 			break;
3668 		case 3:
3669 			p = "int";
3670 			break;
3671 		case 4:
3672 			p = "userland struct sockaddr *";
3673 			break;
3674 		case 5:
3675 			p = "userland __socklen_t *";
3676 			break;
3677 		default:
3678 			break;
3679 		};
3680 		break;
3681 	/* accept */
3682 	case 30:
3683 		switch(ndx) {
3684 		case 0:
3685 			p = "int";
3686 			break;
3687 		case 1:
3688 			p = "userland struct sockaddr *";
3689 			break;
3690 		case 2:
3691 			p = "userland __socklen_t *";
3692 			break;
3693 		default:
3694 			break;
3695 		};
3696 		break;
3697 	/* getpeername */
3698 	case 31:
3699 		switch(ndx) {
3700 		case 0:
3701 			p = "int";
3702 			break;
3703 		case 1:
3704 			p = "userland struct sockaddr *";
3705 			break;
3706 		case 2:
3707 			p = "userland __socklen_t *";
3708 			break;
3709 		default:
3710 			break;
3711 		};
3712 		break;
3713 	/* getsockname */
3714 	case 32:
3715 		switch(ndx) {
3716 		case 0:
3717 			p = "int";
3718 			break;
3719 		case 1:
3720 			p = "userland struct sockaddr *";
3721 			break;
3722 		case 2:
3723 			p = "userland __socklen_t *";
3724 			break;
3725 		default:
3726 			break;
3727 		};
3728 		break;
3729 	/* access */
3730 	case 33:
3731 		switch(ndx) {
3732 		case 0:
3733 			p = "userland const char *";
3734 			break;
3735 		case 1:
3736 			p = "int";
3737 			break;
3738 		default:
3739 			break;
3740 		};
3741 		break;
3742 	/* chflags */
3743 	case 34:
3744 		switch(ndx) {
3745 		case 0:
3746 			p = "userland const char *";
3747 			break;
3748 		case 1:
3749 			p = "u_long";
3750 			break;
3751 		default:
3752 			break;
3753 		};
3754 		break;
3755 	/* fchflags */
3756 	case 35:
3757 		switch(ndx) {
3758 		case 0:
3759 			p = "int";
3760 			break;
3761 		case 1:
3762 			p = "u_long";
3763 			break;
3764 		default:
3765 			break;
3766 		};
3767 		break;
3768 	/* sync */
3769 	case 36:
3770 		break;
3771 	/* kill */
3772 	case 37:
3773 		switch(ndx) {
3774 		case 0:
3775 			p = "int";
3776 			break;
3777 		case 1:
3778 			p = "int";
3779 			break;
3780 		default:
3781 			break;
3782 		};
3783 		break;
3784 	/* getppid */
3785 	case 39:
3786 		break;
3787 	/* dup */
3788 	case 41:
3789 		switch(ndx) {
3790 		case 0:
3791 			p = "u_int";
3792 			break;
3793 		default:
3794 			break;
3795 		};
3796 		break;
3797 	/* getegid */
3798 	case 43:
3799 		break;
3800 	/* profil */
3801 	case 44:
3802 		switch(ndx) {
3803 		case 0:
3804 			p = "userland char *";
3805 			break;
3806 		case 1:
3807 			p = "size_t";
3808 			break;
3809 		case 2:
3810 			p = "size_t";
3811 			break;
3812 		case 3:
3813 			p = "u_int";
3814 			break;
3815 		default:
3816 			break;
3817 		};
3818 		break;
3819 	/* ktrace */
3820 	case 45:
3821 		switch(ndx) {
3822 		case 0:
3823 			p = "userland const char *";
3824 			break;
3825 		case 1:
3826 			p = "int";
3827 			break;
3828 		case 2:
3829 			p = "int";
3830 			break;
3831 		case 3:
3832 			p = "int";
3833 			break;
3834 		default:
3835 			break;
3836 		};
3837 		break;
3838 	/* getgid */
3839 	case 47:
3840 		break;
3841 	/* getlogin */
3842 	case 49:
3843 		switch(ndx) {
3844 		case 0:
3845 			p = "userland char *";
3846 			break;
3847 		case 1:
3848 			p = "u_int";
3849 			break;
3850 		default:
3851 			break;
3852 		};
3853 		break;
3854 	/* setlogin */
3855 	case 50:
3856 		switch(ndx) {
3857 		case 0:
3858 			p = "userland const char *";
3859 			break;
3860 		default:
3861 			break;
3862 		};
3863 		break;
3864 	/* acct */
3865 	case 51:
3866 		switch(ndx) {
3867 		case 0:
3868 			p = "userland const char *";
3869 			break;
3870 		default:
3871 			break;
3872 		};
3873 		break;
3874 	/* sigaltstack */
3875 	case 53:
3876 		switch(ndx) {
3877 		case 0:
3878 			p = "userland stack_t *";
3879 			break;
3880 		case 1:
3881 			p = "userland stack_t *";
3882 			break;
3883 		default:
3884 			break;
3885 		};
3886 		break;
3887 	/* ioctl */
3888 	case 54:
3889 		switch(ndx) {
3890 		case 0:
3891 			p = "int";
3892 			break;
3893 		case 1:
3894 			p = "u_long";
3895 			break;
3896 		case 2:
3897 			p = "userland char *";
3898 			break;
3899 		default:
3900 			break;
3901 		};
3902 		break;
3903 	/* reboot */
3904 	case 55:
3905 		switch(ndx) {
3906 		case 0:
3907 			p = "int";
3908 			break;
3909 		default:
3910 			break;
3911 		};
3912 		break;
3913 	/* revoke */
3914 	case 56:
3915 		switch(ndx) {
3916 		case 0:
3917 			p = "userland const char *";
3918 			break;
3919 		default:
3920 			break;
3921 		};
3922 		break;
3923 	/* symlink */
3924 	case 57:
3925 		switch(ndx) {
3926 		case 0:
3927 			p = "userland const char *";
3928 			break;
3929 		case 1:
3930 			p = "userland const char *";
3931 			break;
3932 		default:
3933 			break;
3934 		};
3935 		break;
3936 	/* readlink */
3937 	case 58:
3938 		switch(ndx) {
3939 		case 0:
3940 			p = "userland const char *";
3941 			break;
3942 		case 1:
3943 			p = "userland char *";
3944 			break;
3945 		case 2:
3946 			p = "size_t";
3947 			break;
3948 		default:
3949 			break;
3950 		};
3951 		break;
3952 	/* execve */
3953 	case 59:
3954 		switch(ndx) {
3955 		case 0:
3956 			p = "userland const char *";
3957 			break;
3958 		case 1:
3959 			p = "userland char **";
3960 			break;
3961 		case 2:
3962 			p = "userland char **";
3963 			break;
3964 		default:
3965 			break;
3966 		};
3967 		break;
3968 	/* umask */
3969 	case 60:
3970 		switch(ndx) {
3971 		case 0:
3972 			p = "mode_t";
3973 			break;
3974 		default:
3975 			break;
3976 		};
3977 		break;
3978 	/* chroot */
3979 	case 61:
3980 		switch(ndx) {
3981 		case 0:
3982 			p = "userland const char *";
3983 			break;
3984 		default:
3985 			break;
3986 		};
3987 		break;
3988 	/* msync */
3989 	case 65:
3990 		switch(ndx) {
3991 		case 0:
3992 			p = "userland void *";
3993 			break;
3994 		case 1:
3995 			p = "size_t";
3996 			break;
3997 		case 2:
3998 			p = "int";
3999 			break;
4000 		default:
4001 			break;
4002 		};
4003 		break;
4004 	/* vfork */
4005 	case 66:
4006 		break;
4007 	/* sbrk */
4008 	case 69:
4009 		switch(ndx) {
4010 		case 0:
4011 			p = "int";
4012 			break;
4013 		default:
4014 			break;
4015 		};
4016 		break;
4017 	/* sstk */
4018 	case 70:
4019 		switch(ndx) {
4020 		case 0:
4021 			p = "int";
4022 			break;
4023 		default:
4024 			break;
4025 		};
4026 		break;
4027 	/* munmap */
4028 	case 73:
4029 		switch(ndx) {
4030 		case 0:
4031 			p = "userland void *";
4032 			break;
4033 		case 1:
4034 			p = "size_t";
4035 			break;
4036 		default:
4037 			break;
4038 		};
4039 		break;
4040 	/* mprotect */
4041 	case 74:
4042 		switch(ndx) {
4043 		case 0:
4044 			p = "userland void *";
4045 			break;
4046 		case 1:
4047 			p = "size_t";
4048 			break;
4049 		case 2:
4050 			p = "int";
4051 			break;
4052 		default:
4053 			break;
4054 		};
4055 		break;
4056 	/* madvise */
4057 	case 75:
4058 		switch(ndx) {
4059 		case 0:
4060 			p = "userland void *";
4061 			break;
4062 		case 1:
4063 			p = "size_t";
4064 			break;
4065 		case 2:
4066 			p = "int";
4067 			break;
4068 		default:
4069 			break;
4070 		};
4071 		break;
4072 	/* mincore */
4073 	case 78:
4074 		switch(ndx) {
4075 		case 0:
4076 			p = "userland const void *";
4077 			break;
4078 		case 1:
4079 			p = "size_t";
4080 			break;
4081 		case 2:
4082 			p = "userland char *";
4083 			break;
4084 		default:
4085 			break;
4086 		};
4087 		break;
4088 	/* getgroups */
4089 	case 79:
4090 		switch(ndx) {
4091 		case 0:
4092 			p = "u_int";
4093 			break;
4094 		case 1:
4095 			p = "userland gid_t *";
4096 			break;
4097 		default:
4098 			break;
4099 		};
4100 		break;
4101 	/* setgroups */
4102 	case 80:
4103 		switch(ndx) {
4104 		case 0:
4105 			p = "u_int";
4106 			break;
4107 		case 1:
4108 			p = "userland gid_t *";
4109 			break;
4110 		default:
4111 			break;
4112 		};
4113 		break;
4114 	/* getpgrp */
4115 	case 81:
4116 		break;
4117 	/* setpgid */
4118 	case 82:
4119 		switch(ndx) {
4120 		case 0:
4121 			p = "int";
4122 			break;
4123 		case 1:
4124 			p = "int";
4125 			break;
4126 		default:
4127 			break;
4128 		};
4129 		break;
4130 	/* setitimer */
4131 	case 83:
4132 		switch(ndx) {
4133 		case 0:
4134 			p = "u_int";
4135 			break;
4136 		case 1:
4137 			p = "userland struct itimerval *";
4138 			break;
4139 		case 2:
4140 			p = "userland struct itimerval *";
4141 			break;
4142 		default:
4143 			break;
4144 		};
4145 		break;
4146 	/* swapon */
4147 	case 85:
4148 		switch(ndx) {
4149 		case 0:
4150 			p = "userland const char *";
4151 			break;
4152 		default:
4153 			break;
4154 		};
4155 		break;
4156 	/* getitimer */
4157 	case 86:
4158 		switch(ndx) {
4159 		case 0:
4160 			p = "u_int";
4161 			break;
4162 		case 1:
4163 			p = "userland struct itimerval *";
4164 			break;
4165 		default:
4166 			break;
4167 		};
4168 		break;
4169 	/* getdtablesize */
4170 	case 89:
4171 		break;
4172 	/* dup2 */
4173 	case 90:
4174 		switch(ndx) {
4175 		case 0:
4176 			p = "u_int";
4177 			break;
4178 		case 1:
4179 			p = "u_int";
4180 			break;
4181 		default:
4182 			break;
4183 		};
4184 		break;
4185 	/* fcntl */
4186 	case 92:
4187 		switch(ndx) {
4188 		case 0:
4189 			p = "int";
4190 			break;
4191 		case 1:
4192 			p = "int";
4193 			break;
4194 		case 2:
4195 			p = "long";
4196 			break;
4197 		default:
4198 			break;
4199 		};
4200 		break;
4201 	/* select */
4202 	case 93:
4203 		switch(ndx) {
4204 		case 0:
4205 			p = "int";
4206 			break;
4207 		case 1:
4208 			p = "userland fd_set *";
4209 			break;
4210 		case 2:
4211 			p = "userland fd_set *";
4212 			break;
4213 		case 3:
4214 			p = "userland fd_set *";
4215 			break;
4216 		case 4:
4217 			p = "userland struct timeval *";
4218 			break;
4219 		default:
4220 			break;
4221 		};
4222 		break;
4223 	/* fsync */
4224 	case 95:
4225 		switch(ndx) {
4226 		case 0:
4227 			p = "int";
4228 			break;
4229 		default:
4230 			break;
4231 		};
4232 		break;
4233 	/* setpriority */
4234 	case 96:
4235 		switch(ndx) {
4236 		case 0:
4237 			p = "int";
4238 			break;
4239 		case 1:
4240 			p = "int";
4241 			break;
4242 		case 2:
4243 			p = "int";
4244 			break;
4245 		default:
4246 			break;
4247 		};
4248 		break;
4249 	/* socket */
4250 	case 97:
4251 		switch(ndx) {
4252 		case 0:
4253 			p = "int";
4254 			break;
4255 		case 1:
4256 			p = "int";
4257 			break;
4258 		case 2:
4259 			p = "int";
4260 			break;
4261 		default:
4262 			break;
4263 		};
4264 		break;
4265 	/* connect */
4266 	case 98:
4267 		switch(ndx) {
4268 		case 0:
4269 			p = "int";
4270 			break;
4271 		case 1:
4272 			p = "userland const struct sockaddr *";
4273 			break;
4274 		case 2:
4275 			p = "int";
4276 			break;
4277 		default:
4278 			break;
4279 		};
4280 		break;
4281 	/* getpriority */
4282 	case 100:
4283 		switch(ndx) {
4284 		case 0:
4285 			p = "int";
4286 			break;
4287 		case 1:
4288 			p = "int";
4289 			break;
4290 		default:
4291 			break;
4292 		};
4293 		break;
4294 	/* bind */
4295 	case 104:
4296 		switch(ndx) {
4297 		case 0:
4298 			p = "int";
4299 			break;
4300 		case 1:
4301 			p = "userland const struct sockaddr *";
4302 			break;
4303 		case 2:
4304 			p = "int";
4305 			break;
4306 		default:
4307 			break;
4308 		};
4309 		break;
4310 	/* setsockopt */
4311 	case 105:
4312 		switch(ndx) {
4313 		case 0:
4314 			p = "int";
4315 			break;
4316 		case 1:
4317 			p = "int";
4318 			break;
4319 		case 2:
4320 			p = "int";
4321 			break;
4322 		case 3:
4323 			p = "userland const void *";
4324 			break;
4325 		case 4:
4326 			p = "int";
4327 			break;
4328 		default:
4329 			break;
4330 		};
4331 		break;
4332 	/* listen */
4333 	case 106:
4334 		switch(ndx) {
4335 		case 0:
4336 			p = "int";
4337 			break;
4338 		case 1:
4339 			p = "int";
4340 			break;
4341 		default:
4342 			break;
4343 		};
4344 		break;
4345 	/* gettimeofday */
4346 	case 116:
4347 		switch(ndx) {
4348 		case 0:
4349 			p = "userland struct timeval *";
4350 			break;
4351 		case 1:
4352 			p = "userland struct timezone *";
4353 			break;
4354 		default:
4355 			break;
4356 		};
4357 		break;
4358 	/* getrusage */
4359 	case 117:
4360 		switch(ndx) {
4361 		case 0:
4362 			p = "int";
4363 			break;
4364 		case 1:
4365 			p = "userland struct rusage *";
4366 			break;
4367 		default:
4368 			break;
4369 		};
4370 		break;
4371 	/* getsockopt */
4372 	case 118:
4373 		switch(ndx) {
4374 		case 0:
4375 			p = "int";
4376 			break;
4377 		case 1:
4378 			p = "int";
4379 			break;
4380 		case 2:
4381 			p = "int";
4382 			break;
4383 		case 3:
4384 			p = "userland void *";
4385 			break;
4386 		case 4:
4387 			p = "userland int *";
4388 			break;
4389 		default:
4390 			break;
4391 		};
4392 		break;
4393 	/* readv */
4394 	case 120:
4395 		switch(ndx) {
4396 		case 0:
4397 			p = "int";
4398 			break;
4399 		case 1:
4400 			p = "userland struct iovec *";
4401 			break;
4402 		case 2:
4403 			p = "u_int";
4404 			break;
4405 		default:
4406 			break;
4407 		};
4408 		break;
4409 	/* writev */
4410 	case 121:
4411 		switch(ndx) {
4412 		case 0:
4413 			p = "int";
4414 			break;
4415 		case 1:
4416 			p = "userland struct iovec *";
4417 			break;
4418 		case 2:
4419 			p = "u_int";
4420 			break;
4421 		default:
4422 			break;
4423 		};
4424 		break;
4425 	/* settimeofday */
4426 	case 122:
4427 		switch(ndx) {
4428 		case 0:
4429 			p = "userland struct timeval *";
4430 			break;
4431 		case 1:
4432 			p = "userland struct timezone *";
4433 			break;
4434 		default:
4435 			break;
4436 		};
4437 		break;
4438 	/* fchown */
4439 	case 123:
4440 		switch(ndx) {
4441 		case 0:
4442 			p = "int";
4443 			break;
4444 		case 1:
4445 			p = "int";
4446 			break;
4447 		case 2:
4448 			p = "int";
4449 			break;
4450 		default:
4451 			break;
4452 		};
4453 		break;
4454 	/* fchmod */
4455 	case 124:
4456 		switch(ndx) {
4457 		case 0:
4458 			p = "int";
4459 			break;
4460 		case 1:
4461 			p = "mode_t";
4462 			break;
4463 		default:
4464 			break;
4465 		};
4466 		break;
4467 	/* setreuid */
4468 	case 126:
4469 		switch(ndx) {
4470 		case 0:
4471 			p = "int";
4472 			break;
4473 		case 1:
4474 			p = "int";
4475 			break;
4476 		default:
4477 			break;
4478 		};
4479 		break;
4480 	/* setregid */
4481 	case 127:
4482 		switch(ndx) {
4483 		case 0:
4484 			p = "int";
4485 			break;
4486 		case 1:
4487 			p = "int";
4488 			break;
4489 		default:
4490 			break;
4491 		};
4492 		break;
4493 	/* rename */
4494 	case 128:
4495 		switch(ndx) {
4496 		case 0:
4497 			p = "userland const char *";
4498 			break;
4499 		case 1:
4500 			p = "userland const char *";
4501 			break;
4502 		default:
4503 			break;
4504 		};
4505 		break;
4506 	/* flock */
4507 	case 131:
4508 		switch(ndx) {
4509 		case 0:
4510 			p = "int";
4511 			break;
4512 		case 1:
4513 			p = "int";
4514 			break;
4515 		default:
4516 			break;
4517 		};
4518 		break;
4519 	/* mkfifo */
4520 	case 132:
4521 		switch(ndx) {
4522 		case 0:
4523 			p = "userland const char *";
4524 			break;
4525 		case 1:
4526 			p = "mode_t";
4527 			break;
4528 		default:
4529 			break;
4530 		};
4531 		break;
4532 	/* sendto */
4533 	case 133:
4534 		switch(ndx) {
4535 		case 0:
4536 			p = "int";
4537 			break;
4538 		case 1:
4539 			p = "userland const void *";
4540 			break;
4541 		case 2:
4542 			p = "size_t";
4543 			break;
4544 		case 3:
4545 			p = "int";
4546 			break;
4547 		case 4:
4548 			p = "userland const struct sockaddr *";
4549 			break;
4550 		case 5:
4551 			p = "int";
4552 			break;
4553 		default:
4554 			break;
4555 		};
4556 		break;
4557 	/* shutdown */
4558 	case 134:
4559 		switch(ndx) {
4560 		case 0:
4561 			p = "int";
4562 			break;
4563 		case 1:
4564 			p = "int";
4565 			break;
4566 		default:
4567 			break;
4568 		};
4569 		break;
4570 	/* socketpair */
4571 	case 135:
4572 		switch(ndx) {
4573 		case 0:
4574 			p = "int";
4575 			break;
4576 		case 1:
4577 			p = "int";
4578 			break;
4579 		case 2:
4580 			p = "int";
4581 			break;
4582 		case 3:
4583 			p = "userland int *";
4584 			break;
4585 		default:
4586 			break;
4587 		};
4588 		break;
4589 	/* mkdir */
4590 	case 136:
4591 		switch(ndx) {
4592 		case 0:
4593 			p = "userland const char *";
4594 			break;
4595 		case 1:
4596 			p = "mode_t";
4597 			break;
4598 		default:
4599 			break;
4600 		};
4601 		break;
4602 	/* rmdir */
4603 	case 137:
4604 		switch(ndx) {
4605 		case 0:
4606 			p = "userland const char *";
4607 			break;
4608 		default:
4609 			break;
4610 		};
4611 		break;
4612 	/* utimes */
4613 	case 138:
4614 		switch(ndx) {
4615 		case 0:
4616 			p = "userland const char *";
4617 			break;
4618 		case 1:
4619 			p = "userland struct timeval *";
4620 			break;
4621 		default:
4622 			break;
4623 		};
4624 		break;
4625 	/* adjtime */
4626 	case 140:
4627 		switch(ndx) {
4628 		case 0:
4629 			p = "userland struct timeval *";
4630 			break;
4631 		case 1:
4632 			p = "userland struct timeval *";
4633 			break;
4634 		default:
4635 			break;
4636 		};
4637 		break;
4638 	/* setsid */
4639 	case 147:
4640 		break;
4641 	/* quotactl */
4642 	case 148:
4643 		switch(ndx) {
4644 		case 0:
4645 			p = "userland const char *";
4646 			break;
4647 		case 1:
4648 			p = "int";
4649 			break;
4650 		case 2:
4651 			p = "int";
4652 			break;
4653 		case 3:
4654 			p = "userland void *";
4655 			break;
4656 		default:
4657 			break;
4658 		};
4659 		break;
4660 	/* nlm_syscall */
4661 	case 154:
4662 		switch(ndx) {
4663 		case 0:
4664 			p = "int";
4665 			break;
4666 		case 1:
4667 			p = "int";
4668 			break;
4669 		case 2:
4670 			p = "int";
4671 			break;
4672 		case 3:
4673 			p = "userland char **";
4674 			break;
4675 		default:
4676 			break;
4677 		};
4678 		break;
4679 	/* nfssvc */
4680 	case 155:
4681 		switch(ndx) {
4682 		case 0:
4683 			p = "int";
4684 			break;
4685 		case 1:
4686 			p = "userland void *";
4687 			break;
4688 		default:
4689 			break;
4690 		};
4691 		break;
4692 	/* lgetfh */
4693 	case 160:
4694 		switch(ndx) {
4695 		case 0:
4696 			p = "userland const char *";
4697 			break;
4698 		case 1:
4699 			p = "userland struct fhandle *";
4700 			break;
4701 		default:
4702 			break;
4703 		};
4704 		break;
4705 	/* getfh */
4706 	case 161:
4707 		switch(ndx) {
4708 		case 0:
4709 			p = "userland const char *";
4710 			break;
4711 		case 1:
4712 			p = "userland struct fhandle *";
4713 			break;
4714 		default:
4715 			break;
4716 		};
4717 		break;
4718 	/* sysarch */
4719 	case 165:
4720 		switch(ndx) {
4721 		case 0:
4722 			p = "int";
4723 			break;
4724 		case 1:
4725 			p = "userland char *";
4726 			break;
4727 		default:
4728 			break;
4729 		};
4730 		break;
4731 	/* rtprio */
4732 	case 166:
4733 		switch(ndx) {
4734 		case 0:
4735 			p = "int";
4736 			break;
4737 		case 1:
4738 			p = "pid_t";
4739 			break;
4740 		case 2:
4741 			p = "userland struct rtprio *";
4742 			break;
4743 		default:
4744 			break;
4745 		};
4746 		break;
4747 	/* semsys */
4748 	case 169:
4749 		switch(ndx) {
4750 		case 0:
4751 			p = "int";
4752 			break;
4753 		case 1:
4754 			p = "int";
4755 			break;
4756 		case 2:
4757 			p = "int";
4758 			break;
4759 		case 3:
4760 			p = "int";
4761 			break;
4762 		case 4:
4763 			p = "int";
4764 			break;
4765 		default:
4766 			break;
4767 		};
4768 		break;
4769 	/* msgsys */
4770 	case 170:
4771 		switch(ndx) {
4772 		case 0:
4773 			p = "int";
4774 			break;
4775 		case 1:
4776 			p = "int";
4777 			break;
4778 		case 2:
4779 			p = "int";
4780 			break;
4781 		case 3:
4782 			p = "int";
4783 			break;
4784 		case 4:
4785 			p = "int";
4786 			break;
4787 		case 5:
4788 			p = "int";
4789 			break;
4790 		default:
4791 			break;
4792 		};
4793 		break;
4794 	/* shmsys */
4795 	case 171:
4796 		switch(ndx) {
4797 		case 0:
4798 			p = "int";
4799 			break;
4800 		case 1:
4801 			p = "int";
4802 			break;
4803 		case 2:
4804 			p = "int";
4805 			break;
4806 		case 3:
4807 			p = "int";
4808 			break;
4809 		default:
4810 			break;
4811 		};
4812 		break;
4813 	/* setfib */
4814 	case 175:
4815 		switch(ndx) {
4816 		case 0:
4817 			p = "int";
4818 			break;
4819 		default:
4820 			break;
4821 		};
4822 		break;
4823 	/* ntp_adjtime */
4824 	case 176:
4825 		switch(ndx) {
4826 		case 0:
4827 			p = "userland struct timex *";
4828 			break;
4829 		default:
4830 			break;
4831 		};
4832 		break;
4833 	/* setgid */
4834 	case 181:
4835 		switch(ndx) {
4836 		case 0:
4837 			p = "gid_t";
4838 			break;
4839 		default:
4840 			break;
4841 		};
4842 		break;
4843 	/* setegid */
4844 	case 182:
4845 		switch(ndx) {
4846 		case 0:
4847 			p = "gid_t";
4848 			break;
4849 		default:
4850 			break;
4851 		};
4852 		break;
4853 	/* seteuid */
4854 	case 183:
4855 		switch(ndx) {
4856 		case 0:
4857 			p = "uid_t";
4858 			break;
4859 		default:
4860 			break;
4861 		};
4862 		break;
4863 	/* pathconf */
4864 	case 191:
4865 		switch(ndx) {
4866 		case 0:
4867 			p = "userland const char *";
4868 			break;
4869 		case 1:
4870 			p = "int";
4871 			break;
4872 		default:
4873 			break;
4874 		};
4875 		break;
4876 	/* fpathconf */
4877 	case 192:
4878 		switch(ndx) {
4879 		case 0:
4880 			p = "int";
4881 			break;
4882 		case 1:
4883 			p = "int";
4884 			break;
4885 		default:
4886 			break;
4887 		};
4888 		break;
4889 	/* getrlimit */
4890 	case 194:
4891 		switch(ndx) {
4892 		case 0:
4893 			p = "u_int";
4894 			break;
4895 		case 1:
4896 			p = "userland struct rlimit *";
4897 			break;
4898 		default:
4899 			break;
4900 		};
4901 		break;
4902 	/* setrlimit */
4903 	case 195:
4904 		switch(ndx) {
4905 		case 0:
4906 			p = "u_int";
4907 			break;
4908 		case 1:
4909 			p = "userland struct rlimit *";
4910 			break;
4911 		default:
4912 			break;
4913 		};
4914 		break;
4915 	/* nosys */
4916 	case 198:
4917 		break;
4918 	/* __sysctl */
4919 	case 202:
4920 		switch(ndx) {
4921 		case 0:
4922 			p = "userland int *";
4923 			break;
4924 		case 1:
4925 			p = "u_int";
4926 			break;
4927 		case 2:
4928 			p = "userland void *";
4929 			break;
4930 		case 3:
4931 			p = "userland size_t *";
4932 			break;
4933 		case 4:
4934 			p = "userland const void *";
4935 			break;
4936 		case 5:
4937 			p = "size_t";
4938 			break;
4939 		default:
4940 			break;
4941 		};
4942 		break;
4943 	/* mlock */
4944 	case 203:
4945 		switch(ndx) {
4946 		case 0:
4947 			p = "userland const void *";
4948 			break;
4949 		case 1:
4950 			p = "size_t";
4951 			break;
4952 		default:
4953 			break;
4954 		};
4955 		break;
4956 	/* munlock */
4957 	case 204:
4958 		switch(ndx) {
4959 		case 0:
4960 			p = "userland const void *";
4961 			break;
4962 		case 1:
4963 			p = "size_t";
4964 			break;
4965 		default:
4966 			break;
4967 		};
4968 		break;
4969 	/* undelete */
4970 	case 205:
4971 		switch(ndx) {
4972 		case 0:
4973 			p = "userland const char *";
4974 			break;
4975 		default:
4976 			break;
4977 		};
4978 		break;
4979 	/* futimes */
4980 	case 206:
4981 		switch(ndx) {
4982 		case 0:
4983 			p = "int";
4984 			break;
4985 		case 1:
4986 			p = "userland struct timeval *";
4987 			break;
4988 		default:
4989 			break;
4990 		};
4991 		break;
4992 	/* getpgid */
4993 	case 207:
4994 		switch(ndx) {
4995 		case 0:
4996 			p = "pid_t";
4997 			break;
4998 		default:
4999 			break;
5000 		};
5001 		break;
5002 	/* poll */
5003 	case 209:
5004 		switch(ndx) {
5005 		case 0:
5006 			p = "userland struct pollfd *";
5007 			break;
5008 		case 1:
5009 			p = "u_int";
5010 			break;
5011 		case 2:
5012 			p = "int";
5013 			break;
5014 		default:
5015 			break;
5016 		};
5017 		break;
5018 	/* lkmnosys */
5019 	case 210:
5020 		break;
5021 	/* lkmnosys */
5022 	case 211:
5023 		break;
5024 	/* lkmnosys */
5025 	case 212:
5026 		break;
5027 	/* lkmnosys */
5028 	case 213:
5029 		break;
5030 	/* lkmnosys */
5031 	case 214:
5032 		break;
5033 	/* lkmnosys */
5034 	case 215:
5035 		break;
5036 	/* lkmnosys */
5037 	case 216:
5038 		break;
5039 	/* lkmnosys */
5040 	case 217:
5041 		break;
5042 	/* lkmnosys */
5043 	case 218:
5044 		break;
5045 	/* lkmnosys */
5046 	case 219:
5047 		break;
5048 	/* semget */
5049 	case 221:
5050 		switch(ndx) {
5051 		case 0:
5052 			p = "key_t";
5053 			break;
5054 		case 1:
5055 			p = "int";
5056 			break;
5057 		case 2:
5058 			p = "int";
5059 			break;
5060 		default:
5061 			break;
5062 		};
5063 		break;
5064 	/* semop */
5065 	case 222:
5066 		switch(ndx) {
5067 		case 0:
5068 			p = "int";
5069 			break;
5070 		case 1:
5071 			p = "userland struct sembuf *";
5072 			break;
5073 		case 2:
5074 			p = "size_t";
5075 			break;
5076 		default:
5077 			break;
5078 		};
5079 		break;
5080 	/* msgget */
5081 	case 225:
5082 		switch(ndx) {
5083 		case 0:
5084 			p = "key_t";
5085 			break;
5086 		case 1:
5087 			p = "int";
5088 			break;
5089 		default:
5090 			break;
5091 		};
5092 		break;
5093 	/* msgsnd */
5094 	case 226:
5095 		switch(ndx) {
5096 		case 0:
5097 			p = "int";
5098 			break;
5099 		case 1:
5100 			p = "userland const void *";
5101 			break;
5102 		case 2:
5103 			p = "size_t";
5104 			break;
5105 		case 3:
5106 			p = "int";
5107 			break;
5108 		default:
5109 			break;
5110 		};
5111 		break;
5112 	/* msgrcv */
5113 	case 227:
5114 		switch(ndx) {
5115 		case 0:
5116 			p = "int";
5117 			break;
5118 		case 1:
5119 			p = "userland void *";
5120 			break;
5121 		case 2:
5122 			p = "size_t";
5123 			break;
5124 		case 3:
5125 			p = "long";
5126 			break;
5127 		case 4:
5128 			p = "int";
5129 			break;
5130 		default:
5131 			break;
5132 		};
5133 		break;
5134 	/* shmat */
5135 	case 228:
5136 		switch(ndx) {
5137 		case 0:
5138 			p = "int";
5139 			break;
5140 		case 1:
5141 			p = "userland const void *";
5142 			break;
5143 		case 2:
5144 			p = "int";
5145 			break;
5146 		default:
5147 			break;
5148 		};
5149 		break;
5150 	/* shmdt */
5151 	case 230:
5152 		switch(ndx) {
5153 		case 0:
5154 			p = "userland const void *";
5155 			break;
5156 		default:
5157 			break;
5158 		};
5159 		break;
5160 	/* shmget */
5161 	case 231:
5162 		switch(ndx) {
5163 		case 0:
5164 			p = "key_t";
5165 			break;
5166 		case 1:
5167 			p = "size_t";
5168 			break;
5169 		case 2:
5170 			p = "int";
5171 			break;
5172 		default:
5173 			break;
5174 		};
5175 		break;
5176 	/* clock_gettime */
5177 	case 232:
5178 		switch(ndx) {
5179 		case 0:
5180 			p = "clockid_t";
5181 			break;
5182 		case 1:
5183 			p = "userland struct timespec *";
5184 			break;
5185 		default:
5186 			break;
5187 		};
5188 		break;
5189 	/* clock_settime */
5190 	case 233:
5191 		switch(ndx) {
5192 		case 0:
5193 			p = "clockid_t";
5194 			break;
5195 		case 1:
5196 			p = "userland const struct timespec *";
5197 			break;
5198 		default:
5199 			break;
5200 		};
5201 		break;
5202 	/* clock_getres */
5203 	case 234:
5204 		switch(ndx) {
5205 		case 0:
5206 			p = "clockid_t";
5207 			break;
5208 		case 1:
5209 			p = "userland struct timespec *";
5210 			break;
5211 		default:
5212 			break;
5213 		};
5214 		break;
5215 	/* ktimer_create */
5216 	case 235:
5217 		switch(ndx) {
5218 		case 0:
5219 			p = "clockid_t";
5220 			break;
5221 		case 1:
5222 			p = "userland struct sigevent *";
5223 			break;
5224 		case 2:
5225 			p = "userland int *";
5226 			break;
5227 		default:
5228 			break;
5229 		};
5230 		break;
5231 	/* ktimer_delete */
5232 	case 236:
5233 		switch(ndx) {
5234 		case 0:
5235 			p = "int";
5236 			break;
5237 		default:
5238 			break;
5239 		};
5240 		break;
5241 	/* ktimer_settime */
5242 	case 237:
5243 		switch(ndx) {
5244 		case 0:
5245 			p = "int";
5246 			break;
5247 		case 1:
5248 			p = "int";
5249 			break;
5250 		case 2:
5251 			p = "userland const struct itimerspec *";
5252 			break;
5253 		case 3:
5254 			p = "userland struct itimerspec *";
5255 			break;
5256 		default:
5257 			break;
5258 		};
5259 		break;
5260 	/* ktimer_gettime */
5261 	case 238:
5262 		switch(ndx) {
5263 		case 0:
5264 			p = "int";
5265 			break;
5266 		case 1:
5267 			p = "userland struct itimerspec *";
5268 			break;
5269 		default:
5270 			break;
5271 		};
5272 		break;
5273 	/* ktimer_getoverrun */
5274 	case 239:
5275 		switch(ndx) {
5276 		case 0:
5277 			p = "int";
5278 			break;
5279 		default:
5280 			break;
5281 		};
5282 		break;
5283 	/* nanosleep */
5284 	case 240:
5285 		switch(ndx) {
5286 		case 0:
5287 			p = "userland const struct timespec *";
5288 			break;
5289 		case 1:
5290 			p = "userland struct timespec *";
5291 			break;
5292 		default:
5293 			break;
5294 		};
5295 		break;
5296 	/* ffclock_getcounter */
5297 	case 241:
5298 		switch(ndx) {
5299 		case 0:
5300 			p = "userland ffcounter *";
5301 			break;
5302 		default:
5303 			break;
5304 		};
5305 		break;
5306 	/* ffclock_setestimate */
5307 	case 242:
5308 		switch(ndx) {
5309 		case 0:
5310 			p = "userland struct ffclock_estimate *";
5311 			break;
5312 		default:
5313 			break;
5314 		};
5315 		break;
5316 	/* ffclock_getestimate */
5317 	case 243:
5318 		switch(ndx) {
5319 		case 0:
5320 			p = "userland struct ffclock_estimate *";
5321 			break;
5322 		default:
5323 			break;
5324 		};
5325 		break;
5326 	/* clock_nanosleep */
5327 	case 244:
5328 		switch(ndx) {
5329 		case 0:
5330 			p = "clockid_t";
5331 			break;
5332 		case 1:
5333 			p = "int";
5334 			break;
5335 		case 2:
5336 			p = "userland const struct timespec *";
5337 			break;
5338 		case 3:
5339 			p = "userland struct timespec *";
5340 			break;
5341 		default:
5342 			break;
5343 		};
5344 		break;
5345 	/* clock_getcpuclockid2 */
5346 	case 247:
5347 		switch(ndx) {
5348 		case 0:
5349 			p = "id_t";
5350 			break;
5351 		case 1:
5352 			p = "int";
5353 			break;
5354 		case 2:
5355 			p = "userland clockid_t *";
5356 			break;
5357 		default:
5358 			break;
5359 		};
5360 		break;
5361 	/* ntp_gettime */
5362 	case 248:
5363 		switch(ndx) {
5364 		case 0:
5365 			p = "userland struct ntptimeval *";
5366 			break;
5367 		default:
5368 			break;
5369 		};
5370 		break;
5371 	/* minherit */
5372 	case 250:
5373 		switch(ndx) {
5374 		case 0:
5375 			p = "userland void *";
5376 			break;
5377 		case 1:
5378 			p = "size_t";
5379 			break;
5380 		case 2:
5381 			p = "int";
5382 			break;
5383 		default:
5384 			break;
5385 		};
5386 		break;
5387 	/* rfork */
5388 	case 251:
5389 		switch(ndx) {
5390 		case 0:
5391 			p = "int";
5392 			break;
5393 		default:
5394 			break;
5395 		};
5396 		break;
5397 	/* issetugid */
5398 	case 253:
5399 		break;
5400 	/* lchown */
5401 	case 254:
5402 		switch(ndx) {
5403 		case 0:
5404 			p = "userland const char *";
5405 			break;
5406 		case 1:
5407 			p = "int";
5408 			break;
5409 		case 2:
5410 			p = "int";
5411 			break;
5412 		default:
5413 			break;
5414 		};
5415 		break;
5416 	/* aio_read */
5417 	case 255:
5418 		switch(ndx) {
5419 		case 0:
5420 			p = "userland struct aiocb *";
5421 			break;
5422 		default:
5423 			break;
5424 		};
5425 		break;
5426 	/* aio_write */
5427 	case 256:
5428 		switch(ndx) {
5429 		case 0:
5430 			p = "userland struct aiocb *";
5431 			break;
5432 		default:
5433 			break;
5434 		};
5435 		break;
5436 	/* lio_listio */
5437 	case 257:
5438 		switch(ndx) {
5439 		case 0:
5440 			p = "int";
5441 			break;
5442 		case 1:
5443 			p = "userland struct aiocb * const *";
5444 			break;
5445 		case 2:
5446 			p = "int";
5447 			break;
5448 		case 3:
5449 			p = "userland struct sigevent *";
5450 			break;
5451 		default:
5452 			break;
5453 		};
5454 		break;
5455 	/* lchmod */
5456 	case 274:
5457 		switch(ndx) {
5458 		case 0:
5459 			p = "userland const char *";
5460 			break;
5461 		case 1:
5462 			p = "mode_t";
5463 			break;
5464 		default:
5465 			break;
5466 		};
5467 		break;
5468 	/* lutimes */
5469 	case 276:
5470 		switch(ndx) {
5471 		case 0:
5472 			p = "userland const char *";
5473 			break;
5474 		case 1:
5475 			p = "userland struct timeval *";
5476 			break;
5477 		default:
5478 			break;
5479 		};
5480 		break;
5481 	/* preadv */
5482 	case 289:
5483 		switch(ndx) {
5484 		case 0:
5485 			p = "int";
5486 			break;
5487 		case 1:
5488 			p = "userland struct iovec *";
5489 			break;
5490 		case 2:
5491 			p = "u_int";
5492 			break;
5493 		case 3:
5494 			p = "off_t";
5495 			break;
5496 		default:
5497 			break;
5498 		};
5499 		break;
5500 	/* pwritev */
5501 	case 290:
5502 		switch(ndx) {
5503 		case 0:
5504 			p = "int";
5505 			break;
5506 		case 1:
5507 			p = "userland struct iovec *";
5508 			break;
5509 		case 2:
5510 			p = "u_int";
5511 			break;
5512 		case 3:
5513 			p = "off_t";
5514 			break;
5515 		default:
5516 			break;
5517 		};
5518 		break;
5519 	/* fhopen */
5520 	case 298:
5521 		switch(ndx) {
5522 		case 0:
5523 			p = "userland const struct fhandle *";
5524 			break;
5525 		case 1:
5526 			p = "int";
5527 			break;
5528 		default:
5529 			break;
5530 		};
5531 		break;
5532 	/* modnext */
5533 	case 300:
5534 		switch(ndx) {
5535 		case 0:
5536 			p = "int";
5537 			break;
5538 		default:
5539 			break;
5540 		};
5541 		break;
5542 	/* modstat */
5543 	case 301:
5544 		switch(ndx) {
5545 		case 0:
5546 			p = "int";
5547 			break;
5548 		case 1:
5549 			p = "userland struct module_stat *";
5550 			break;
5551 		default:
5552 			break;
5553 		};
5554 		break;
5555 	/* modfnext */
5556 	case 302:
5557 		switch(ndx) {
5558 		case 0:
5559 			p = "int";
5560 			break;
5561 		default:
5562 			break;
5563 		};
5564 		break;
5565 	/* modfind */
5566 	case 303:
5567 		switch(ndx) {
5568 		case 0:
5569 			p = "userland const char *";
5570 			break;
5571 		default:
5572 			break;
5573 		};
5574 		break;
5575 	/* kldload */
5576 	case 304:
5577 		switch(ndx) {
5578 		case 0:
5579 			p = "userland const char *";
5580 			break;
5581 		default:
5582 			break;
5583 		};
5584 		break;
5585 	/* kldunload */
5586 	case 305:
5587 		switch(ndx) {
5588 		case 0:
5589 			p = "int";
5590 			break;
5591 		default:
5592 			break;
5593 		};
5594 		break;
5595 	/* kldfind */
5596 	case 306:
5597 		switch(ndx) {
5598 		case 0:
5599 			p = "userland const char *";
5600 			break;
5601 		default:
5602 			break;
5603 		};
5604 		break;
5605 	/* kldnext */
5606 	case 307:
5607 		switch(ndx) {
5608 		case 0:
5609 			p = "int";
5610 			break;
5611 		default:
5612 			break;
5613 		};
5614 		break;
5615 	/* kldstat */
5616 	case 308:
5617 		switch(ndx) {
5618 		case 0:
5619 			p = "int";
5620 			break;
5621 		case 1:
5622 			p = "userland struct kld_file_stat *";
5623 			break;
5624 		default:
5625 			break;
5626 		};
5627 		break;
5628 	/* kldfirstmod */
5629 	case 309:
5630 		switch(ndx) {
5631 		case 0:
5632 			p = "int";
5633 			break;
5634 		default:
5635 			break;
5636 		};
5637 		break;
5638 	/* getsid */
5639 	case 310:
5640 		switch(ndx) {
5641 		case 0:
5642 			p = "pid_t";
5643 			break;
5644 		default:
5645 			break;
5646 		};
5647 		break;
5648 	/* setresuid */
5649 	case 311:
5650 		switch(ndx) {
5651 		case 0:
5652 			p = "uid_t";
5653 			break;
5654 		case 1:
5655 			p = "uid_t";
5656 			break;
5657 		case 2:
5658 			p = "uid_t";
5659 			break;
5660 		default:
5661 			break;
5662 		};
5663 		break;
5664 	/* setresgid */
5665 	case 312:
5666 		switch(ndx) {
5667 		case 0:
5668 			p = "gid_t";
5669 			break;
5670 		case 1:
5671 			p = "gid_t";
5672 			break;
5673 		case 2:
5674 			p = "gid_t";
5675 			break;
5676 		default:
5677 			break;
5678 		};
5679 		break;
5680 	/* aio_return */
5681 	case 314:
5682 		switch(ndx) {
5683 		case 0:
5684 			p = "userland struct aiocb *";
5685 			break;
5686 		default:
5687 			break;
5688 		};
5689 		break;
5690 	/* aio_suspend */
5691 	case 315:
5692 		switch(ndx) {
5693 		case 0:
5694 			p = "userland struct aiocb * const *";
5695 			break;
5696 		case 1:
5697 			p = "int";
5698 			break;
5699 		case 2:
5700 			p = "userland const struct timespec *";
5701 			break;
5702 		default:
5703 			break;
5704 		};
5705 		break;
5706 	/* aio_cancel */
5707 	case 316:
5708 		switch(ndx) {
5709 		case 0:
5710 			p = "int";
5711 			break;
5712 		case 1:
5713 			p = "userland struct aiocb *";
5714 			break;
5715 		default:
5716 			break;
5717 		};
5718 		break;
5719 	/* aio_error */
5720 	case 317:
5721 		switch(ndx) {
5722 		case 0:
5723 			p = "userland struct aiocb *";
5724 			break;
5725 		default:
5726 			break;
5727 		};
5728 		break;
5729 	/* yield */
5730 	case 321:
5731 		break;
5732 	/* mlockall */
5733 	case 324:
5734 		switch(ndx) {
5735 		case 0:
5736 			p = "int";
5737 			break;
5738 		default:
5739 			break;
5740 		};
5741 		break;
5742 	/* munlockall */
5743 	case 325:
5744 		break;
5745 	/* __getcwd */
5746 	case 326:
5747 		switch(ndx) {
5748 		case 0:
5749 			p = "userland char *";
5750 			break;
5751 		case 1:
5752 			p = "size_t";
5753 			break;
5754 		default:
5755 			break;
5756 		};
5757 		break;
5758 	/* sched_setparam */
5759 	case 327:
5760 		switch(ndx) {
5761 		case 0:
5762 			p = "pid_t";
5763 			break;
5764 		case 1:
5765 			p = "userland const struct sched_param *";
5766 			break;
5767 		default:
5768 			break;
5769 		};
5770 		break;
5771 	/* sched_getparam */
5772 	case 328:
5773 		switch(ndx) {
5774 		case 0:
5775 			p = "pid_t";
5776 			break;
5777 		case 1:
5778 			p = "userland struct sched_param *";
5779 			break;
5780 		default:
5781 			break;
5782 		};
5783 		break;
5784 	/* sched_setscheduler */
5785 	case 329:
5786 		switch(ndx) {
5787 		case 0:
5788 			p = "pid_t";
5789 			break;
5790 		case 1:
5791 			p = "int";
5792 			break;
5793 		case 2:
5794 			p = "userland const struct sched_param *";
5795 			break;
5796 		default:
5797 			break;
5798 		};
5799 		break;
5800 	/* sched_getscheduler */
5801 	case 330:
5802 		switch(ndx) {
5803 		case 0:
5804 			p = "pid_t";
5805 			break;
5806 		default:
5807 			break;
5808 		};
5809 		break;
5810 	/* sched_yield */
5811 	case 331:
5812 		break;
5813 	/* sched_get_priority_max */
5814 	case 332:
5815 		switch(ndx) {
5816 		case 0:
5817 			p = "int";
5818 			break;
5819 		default:
5820 			break;
5821 		};
5822 		break;
5823 	/* sched_get_priority_min */
5824 	case 333:
5825 		switch(ndx) {
5826 		case 0:
5827 			p = "int";
5828 			break;
5829 		default:
5830 			break;
5831 		};
5832 		break;
5833 	/* sched_rr_get_interval */
5834 	case 334:
5835 		switch(ndx) {
5836 		case 0:
5837 			p = "pid_t";
5838 			break;
5839 		case 1:
5840 			p = "userland struct timespec *";
5841 			break;
5842 		default:
5843 			break;
5844 		};
5845 		break;
5846 	/* utrace */
5847 	case 335:
5848 		switch(ndx) {
5849 		case 0:
5850 			p = "userland const void *";
5851 			break;
5852 		case 1:
5853 			p = "size_t";
5854 			break;
5855 		default:
5856 			break;
5857 		};
5858 		break;
5859 	/* kldsym */
5860 	case 337:
5861 		switch(ndx) {
5862 		case 0:
5863 			p = "int";
5864 			break;
5865 		case 1:
5866 			p = "int";
5867 			break;
5868 		case 2:
5869 			p = "userland void *";
5870 			break;
5871 		default:
5872 			break;
5873 		};
5874 		break;
5875 	/* jail */
5876 	case 338:
5877 		switch(ndx) {
5878 		case 0:
5879 			p = "userland struct jail *";
5880 			break;
5881 		default:
5882 			break;
5883 		};
5884 		break;
5885 	/* nnpfs_syscall */
5886 	case 339:
5887 		switch(ndx) {
5888 		case 0:
5889 			p = "int";
5890 			break;
5891 		case 1:
5892 			p = "userland char *";
5893 			break;
5894 		case 2:
5895 			p = "int";
5896 			break;
5897 		case 3:
5898 			p = "userland void *";
5899 			break;
5900 		case 4:
5901 			p = "int";
5902 			break;
5903 		default:
5904 			break;
5905 		};
5906 		break;
5907 	/* sigprocmask */
5908 	case 340:
5909 		switch(ndx) {
5910 		case 0:
5911 			p = "int";
5912 			break;
5913 		case 1:
5914 			p = "userland const sigset_t *";
5915 			break;
5916 		case 2:
5917 			p = "userland sigset_t *";
5918 			break;
5919 		default:
5920 			break;
5921 		};
5922 		break;
5923 	/* sigsuspend */
5924 	case 341:
5925 		switch(ndx) {
5926 		case 0:
5927 			p = "userland const sigset_t *";
5928 			break;
5929 		default:
5930 			break;
5931 		};
5932 		break;
5933 	/* sigpending */
5934 	case 343:
5935 		switch(ndx) {
5936 		case 0:
5937 			p = "userland sigset_t *";
5938 			break;
5939 		default:
5940 			break;
5941 		};
5942 		break;
5943 	/* sigtimedwait */
5944 	case 345:
5945 		switch(ndx) {
5946 		case 0:
5947 			p = "userland const sigset_t *";
5948 			break;
5949 		case 1:
5950 			p = "userland siginfo_t *";
5951 			break;
5952 		case 2:
5953 			p = "userland const struct timespec *";
5954 			break;
5955 		default:
5956 			break;
5957 		};
5958 		break;
5959 	/* sigwaitinfo */
5960 	case 346:
5961 		switch(ndx) {
5962 		case 0:
5963 			p = "userland const sigset_t *";
5964 			break;
5965 		case 1:
5966 			p = "userland siginfo_t *";
5967 			break;
5968 		default:
5969 			break;
5970 		};
5971 		break;
5972 	/* __acl_get_file */
5973 	case 347:
5974 		switch(ndx) {
5975 		case 0:
5976 			p = "userland const char *";
5977 			break;
5978 		case 1:
5979 			p = "acl_type_t";
5980 			break;
5981 		case 2:
5982 			p = "userland struct acl *";
5983 			break;
5984 		default:
5985 			break;
5986 		};
5987 		break;
5988 	/* __acl_set_file */
5989 	case 348:
5990 		switch(ndx) {
5991 		case 0:
5992 			p = "userland const char *";
5993 			break;
5994 		case 1:
5995 			p = "acl_type_t";
5996 			break;
5997 		case 2:
5998 			p = "userland struct acl *";
5999 			break;
6000 		default:
6001 			break;
6002 		};
6003 		break;
6004 	/* __acl_get_fd */
6005 	case 349:
6006 		switch(ndx) {
6007 		case 0:
6008 			p = "int";
6009 			break;
6010 		case 1:
6011 			p = "acl_type_t";
6012 			break;
6013 		case 2:
6014 			p = "userland struct acl *";
6015 			break;
6016 		default:
6017 			break;
6018 		};
6019 		break;
6020 	/* __acl_set_fd */
6021 	case 350:
6022 		switch(ndx) {
6023 		case 0:
6024 			p = "int";
6025 			break;
6026 		case 1:
6027 			p = "acl_type_t";
6028 			break;
6029 		case 2:
6030 			p = "userland struct acl *";
6031 			break;
6032 		default:
6033 			break;
6034 		};
6035 		break;
6036 	/* __acl_delete_file */
6037 	case 351:
6038 		switch(ndx) {
6039 		case 0:
6040 			p = "userland const char *";
6041 			break;
6042 		case 1:
6043 			p = "acl_type_t";
6044 			break;
6045 		default:
6046 			break;
6047 		};
6048 		break;
6049 	/* __acl_delete_fd */
6050 	case 352:
6051 		switch(ndx) {
6052 		case 0:
6053 			p = "int";
6054 			break;
6055 		case 1:
6056 			p = "acl_type_t";
6057 			break;
6058 		default:
6059 			break;
6060 		};
6061 		break;
6062 	/* __acl_aclcheck_file */
6063 	case 353:
6064 		switch(ndx) {
6065 		case 0:
6066 			p = "userland const char *";
6067 			break;
6068 		case 1:
6069 			p = "acl_type_t";
6070 			break;
6071 		case 2:
6072 			p = "userland struct acl *";
6073 			break;
6074 		default:
6075 			break;
6076 		};
6077 		break;
6078 	/* __acl_aclcheck_fd */
6079 	case 354:
6080 		switch(ndx) {
6081 		case 0:
6082 			p = "int";
6083 			break;
6084 		case 1:
6085 			p = "acl_type_t";
6086 			break;
6087 		case 2:
6088 			p = "userland struct acl *";
6089 			break;
6090 		default:
6091 			break;
6092 		};
6093 		break;
6094 	/* extattrctl */
6095 	case 355:
6096 		switch(ndx) {
6097 		case 0:
6098 			p = "userland const char *";
6099 			break;
6100 		case 1:
6101 			p = "int";
6102 			break;
6103 		case 2:
6104 			p = "userland const char *";
6105 			break;
6106 		case 3:
6107 			p = "int";
6108 			break;
6109 		case 4:
6110 			p = "userland const char *";
6111 			break;
6112 		default:
6113 			break;
6114 		};
6115 		break;
6116 	/* extattr_set_file */
6117 	case 356:
6118 		switch(ndx) {
6119 		case 0:
6120 			p = "userland const char *";
6121 			break;
6122 		case 1:
6123 			p = "int";
6124 			break;
6125 		case 2:
6126 			p = "userland const char *";
6127 			break;
6128 		case 3:
6129 			p = "userland void *";
6130 			break;
6131 		case 4:
6132 			p = "size_t";
6133 			break;
6134 		default:
6135 			break;
6136 		};
6137 		break;
6138 	/* extattr_get_file */
6139 	case 357:
6140 		switch(ndx) {
6141 		case 0:
6142 			p = "userland const char *";
6143 			break;
6144 		case 1:
6145 			p = "int";
6146 			break;
6147 		case 2:
6148 			p = "userland const char *";
6149 			break;
6150 		case 3:
6151 			p = "userland void *";
6152 			break;
6153 		case 4:
6154 			p = "size_t";
6155 			break;
6156 		default:
6157 			break;
6158 		};
6159 		break;
6160 	/* extattr_delete_file */
6161 	case 358:
6162 		switch(ndx) {
6163 		case 0:
6164 			p = "userland const char *";
6165 			break;
6166 		case 1:
6167 			p = "int";
6168 			break;
6169 		case 2:
6170 			p = "userland const char *";
6171 			break;
6172 		default:
6173 			break;
6174 		};
6175 		break;
6176 	/* aio_waitcomplete */
6177 	case 359:
6178 		switch(ndx) {
6179 		case 0:
6180 			p = "userland struct aiocb **";
6181 			break;
6182 		case 1:
6183 			p = "userland struct timespec *";
6184 			break;
6185 		default:
6186 			break;
6187 		};
6188 		break;
6189 	/* getresuid */
6190 	case 360:
6191 		switch(ndx) {
6192 		case 0:
6193 			p = "userland uid_t *";
6194 			break;
6195 		case 1:
6196 			p = "userland uid_t *";
6197 			break;
6198 		case 2:
6199 			p = "userland uid_t *";
6200 			break;
6201 		default:
6202 			break;
6203 		};
6204 		break;
6205 	/* getresgid */
6206 	case 361:
6207 		switch(ndx) {
6208 		case 0:
6209 			p = "userland gid_t *";
6210 			break;
6211 		case 1:
6212 			p = "userland gid_t *";
6213 			break;
6214 		case 2:
6215 			p = "userland gid_t *";
6216 			break;
6217 		default:
6218 			break;
6219 		};
6220 		break;
6221 	/* kqueue */
6222 	case 362:
6223 		break;
6224 	/* extattr_set_fd */
6225 	case 371:
6226 		switch(ndx) {
6227 		case 0:
6228 			p = "int";
6229 			break;
6230 		case 1:
6231 			p = "int";
6232 			break;
6233 		case 2:
6234 			p = "userland const char *";
6235 			break;
6236 		case 3:
6237 			p = "userland void *";
6238 			break;
6239 		case 4:
6240 			p = "size_t";
6241 			break;
6242 		default:
6243 			break;
6244 		};
6245 		break;
6246 	/* extattr_get_fd */
6247 	case 372:
6248 		switch(ndx) {
6249 		case 0:
6250 			p = "int";
6251 			break;
6252 		case 1:
6253 			p = "int";
6254 			break;
6255 		case 2:
6256 			p = "userland const char *";
6257 			break;
6258 		case 3:
6259 			p = "userland void *";
6260 			break;
6261 		case 4:
6262 			p = "size_t";
6263 			break;
6264 		default:
6265 			break;
6266 		};
6267 		break;
6268 	/* extattr_delete_fd */
6269 	case 373:
6270 		switch(ndx) {
6271 		case 0:
6272 			p = "int";
6273 			break;
6274 		case 1:
6275 			p = "int";
6276 			break;
6277 		case 2:
6278 			p = "userland const char *";
6279 			break;
6280 		default:
6281 			break;
6282 		};
6283 		break;
6284 	/* __setugid */
6285 	case 374:
6286 		switch(ndx) {
6287 		case 0:
6288 			p = "int";
6289 			break;
6290 		default:
6291 			break;
6292 		};
6293 		break;
6294 	/* eaccess */
6295 	case 376:
6296 		switch(ndx) {
6297 		case 0:
6298 			p = "userland const char *";
6299 			break;
6300 		case 1:
6301 			p = "int";
6302 			break;
6303 		default:
6304 			break;
6305 		};
6306 		break;
6307 	/* afs3_syscall */
6308 	case 377:
6309 		switch(ndx) {
6310 		case 0:
6311 			p = "long";
6312 			break;
6313 		case 1:
6314 			p = "long";
6315 			break;
6316 		case 2:
6317 			p = "long";
6318 			break;
6319 		case 3:
6320 			p = "long";
6321 			break;
6322 		case 4:
6323 			p = "long";
6324 			break;
6325 		case 5:
6326 			p = "long";
6327 			break;
6328 		case 6:
6329 			p = "long";
6330 			break;
6331 		default:
6332 			break;
6333 		};
6334 		break;
6335 	/* nmount */
6336 	case 378:
6337 		switch(ndx) {
6338 		case 0:
6339 			p = "userland struct iovec *";
6340 			break;
6341 		case 1:
6342 			p = "unsigned int";
6343 			break;
6344 		case 2:
6345 			p = "int";
6346 			break;
6347 		default:
6348 			break;
6349 		};
6350 		break;
6351 	/* __mac_get_proc */
6352 	case 384:
6353 		switch(ndx) {
6354 		case 0:
6355 			p = "userland struct mac *";
6356 			break;
6357 		default:
6358 			break;
6359 		};
6360 		break;
6361 	/* __mac_set_proc */
6362 	case 385:
6363 		switch(ndx) {
6364 		case 0:
6365 			p = "userland struct mac *";
6366 			break;
6367 		default:
6368 			break;
6369 		};
6370 		break;
6371 	/* __mac_get_fd */
6372 	case 386:
6373 		switch(ndx) {
6374 		case 0:
6375 			p = "int";
6376 			break;
6377 		case 1:
6378 			p = "userland struct mac *";
6379 			break;
6380 		default:
6381 			break;
6382 		};
6383 		break;
6384 	/* __mac_get_file */
6385 	case 387:
6386 		switch(ndx) {
6387 		case 0:
6388 			p = "userland const char *";
6389 			break;
6390 		case 1:
6391 			p = "userland struct mac *";
6392 			break;
6393 		default:
6394 			break;
6395 		};
6396 		break;
6397 	/* __mac_set_fd */
6398 	case 388:
6399 		switch(ndx) {
6400 		case 0:
6401 			p = "int";
6402 			break;
6403 		case 1:
6404 			p = "userland struct mac *";
6405 			break;
6406 		default:
6407 			break;
6408 		};
6409 		break;
6410 	/* __mac_set_file */
6411 	case 389:
6412 		switch(ndx) {
6413 		case 0:
6414 			p = "userland const char *";
6415 			break;
6416 		case 1:
6417 			p = "userland struct mac *";
6418 			break;
6419 		default:
6420 			break;
6421 		};
6422 		break;
6423 	/* kenv */
6424 	case 390:
6425 		switch(ndx) {
6426 		case 0:
6427 			p = "int";
6428 			break;
6429 		case 1:
6430 			p = "userland const char *";
6431 			break;
6432 		case 2:
6433 			p = "userland char *";
6434 			break;
6435 		case 3:
6436 			p = "int";
6437 			break;
6438 		default:
6439 			break;
6440 		};
6441 		break;
6442 	/* lchflags */
6443 	case 391:
6444 		switch(ndx) {
6445 		case 0:
6446 			p = "userland const char *";
6447 			break;
6448 		case 1:
6449 			p = "u_long";
6450 			break;
6451 		default:
6452 			break;
6453 		};
6454 		break;
6455 	/* uuidgen */
6456 	case 392:
6457 		switch(ndx) {
6458 		case 0:
6459 			p = "userland struct uuid *";
6460 			break;
6461 		case 1:
6462 			p = "int";
6463 			break;
6464 		default:
6465 			break;
6466 		};
6467 		break;
6468 	/* sendfile */
6469 	case 393:
6470 		switch(ndx) {
6471 		case 0:
6472 			p = "int";
6473 			break;
6474 		case 1:
6475 			p = "int";
6476 			break;
6477 		case 2:
6478 			p = "off_t";
6479 			break;
6480 		case 3:
6481 			p = "size_t";
6482 			break;
6483 		case 4:
6484 			p = "userland struct sf_hdtr *";
6485 			break;
6486 		case 5:
6487 			p = "userland off_t *";
6488 			break;
6489 		case 6:
6490 			p = "int";
6491 			break;
6492 		default:
6493 			break;
6494 		};
6495 		break;
6496 	/* mac_syscall */
6497 	case 394:
6498 		switch(ndx) {
6499 		case 0:
6500 			p = "userland const char *";
6501 			break;
6502 		case 1:
6503 			p = "int";
6504 			break;
6505 		case 2:
6506 			p = "userland void *";
6507 			break;
6508 		default:
6509 			break;
6510 		};
6511 		break;
6512 	/* ksem_close */
6513 	case 400:
6514 		switch(ndx) {
6515 		case 0:
6516 			p = "semid_t";
6517 			break;
6518 		default:
6519 			break;
6520 		};
6521 		break;
6522 	/* ksem_post */
6523 	case 401:
6524 		switch(ndx) {
6525 		case 0:
6526 			p = "semid_t";
6527 			break;
6528 		default:
6529 			break;
6530 		};
6531 		break;
6532 	/* ksem_wait */
6533 	case 402:
6534 		switch(ndx) {
6535 		case 0:
6536 			p = "semid_t";
6537 			break;
6538 		default:
6539 			break;
6540 		};
6541 		break;
6542 	/* ksem_trywait */
6543 	case 403:
6544 		switch(ndx) {
6545 		case 0:
6546 			p = "semid_t";
6547 			break;
6548 		default:
6549 			break;
6550 		};
6551 		break;
6552 	/* ksem_init */
6553 	case 404:
6554 		switch(ndx) {
6555 		case 0:
6556 			p = "userland semid_t *";
6557 			break;
6558 		case 1:
6559 			p = "unsigned int";
6560 			break;
6561 		default:
6562 			break;
6563 		};
6564 		break;
6565 	/* ksem_open */
6566 	case 405:
6567 		switch(ndx) {
6568 		case 0:
6569 			p = "userland semid_t *";
6570 			break;
6571 		case 1:
6572 			p = "userland const char *";
6573 			break;
6574 		case 2:
6575 			p = "int";
6576 			break;
6577 		case 3:
6578 			p = "mode_t";
6579 			break;
6580 		case 4:
6581 			p = "unsigned int";
6582 			break;
6583 		default:
6584 			break;
6585 		};
6586 		break;
6587 	/* ksem_unlink */
6588 	case 406:
6589 		switch(ndx) {
6590 		case 0:
6591 			p = "userland const char *";
6592 			break;
6593 		default:
6594 			break;
6595 		};
6596 		break;
6597 	/* ksem_getvalue */
6598 	case 407:
6599 		switch(ndx) {
6600 		case 0:
6601 			p = "semid_t";
6602 			break;
6603 		case 1:
6604 			p = "userland int *";
6605 			break;
6606 		default:
6607 			break;
6608 		};
6609 		break;
6610 	/* ksem_destroy */
6611 	case 408:
6612 		switch(ndx) {
6613 		case 0:
6614 			p = "semid_t";
6615 			break;
6616 		default:
6617 			break;
6618 		};
6619 		break;
6620 	/* __mac_get_pid */
6621 	case 409:
6622 		switch(ndx) {
6623 		case 0:
6624 			p = "pid_t";
6625 			break;
6626 		case 1:
6627 			p = "userland struct mac *";
6628 			break;
6629 		default:
6630 			break;
6631 		};
6632 		break;
6633 	/* __mac_get_link */
6634 	case 410:
6635 		switch(ndx) {
6636 		case 0:
6637 			p = "userland const char *";
6638 			break;
6639 		case 1:
6640 			p = "userland struct mac *";
6641 			break;
6642 		default:
6643 			break;
6644 		};
6645 		break;
6646 	/* __mac_set_link */
6647 	case 411:
6648 		switch(ndx) {
6649 		case 0:
6650 			p = "userland const char *";
6651 			break;
6652 		case 1:
6653 			p = "userland struct mac *";
6654 			break;
6655 		default:
6656 			break;
6657 		};
6658 		break;
6659 	/* extattr_set_link */
6660 	case 412:
6661 		switch(ndx) {
6662 		case 0:
6663 			p = "userland const char *";
6664 			break;
6665 		case 1:
6666 			p = "int";
6667 			break;
6668 		case 2:
6669 			p = "userland const char *";
6670 			break;
6671 		case 3:
6672 			p = "userland void *";
6673 			break;
6674 		case 4:
6675 			p = "size_t";
6676 			break;
6677 		default:
6678 			break;
6679 		};
6680 		break;
6681 	/* extattr_get_link */
6682 	case 413:
6683 		switch(ndx) {
6684 		case 0:
6685 			p = "userland const char *";
6686 			break;
6687 		case 1:
6688 			p = "int";
6689 			break;
6690 		case 2:
6691 			p = "userland const char *";
6692 			break;
6693 		case 3:
6694 			p = "userland void *";
6695 			break;
6696 		case 4:
6697 			p = "size_t";
6698 			break;
6699 		default:
6700 			break;
6701 		};
6702 		break;
6703 	/* extattr_delete_link */
6704 	case 414:
6705 		switch(ndx) {
6706 		case 0:
6707 			p = "userland const char *";
6708 			break;
6709 		case 1:
6710 			p = "int";
6711 			break;
6712 		case 2:
6713 			p = "userland const char *";
6714 			break;
6715 		default:
6716 			break;
6717 		};
6718 		break;
6719 	/* __mac_execve */
6720 	case 415:
6721 		switch(ndx) {
6722 		case 0:
6723 			p = "userland const char *";
6724 			break;
6725 		case 1:
6726 			p = "userland char **";
6727 			break;
6728 		case 2:
6729 			p = "userland char **";
6730 			break;
6731 		case 3:
6732 			p = "userland struct mac *";
6733 			break;
6734 		default:
6735 			break;
6736 		};
6737 		break;
6738 	/* sigaction */
6739 	case 416:
6740 		switch(ndx) {
6741 		case 0:
6742 			p = "int";
6743 			break;
6744 		case 1:
6745 			p = "userland const struct sigaction *";
6746 			break;
6747 		case 2:
6748 			p = "userland struct sigaction *";
6749 			break;
6750 		default:
6751 			break;
6752 		};
6753 		break;
6754 	/* sigreturn */
6755 	case 417:
6756 		switch(ndx) {
6757 		case 0:
6758 			p = "userland const struct __ucontext *";
6759 			break;
6760 		default:
6761 			break;
6762 		};
6763 		break;
6764 	/* getcontext */
6765 	case 421:
6766 		switch(ndx) {
6767 		case 0:
6768 			p = "userland struct __ucontext *";
6769 			break;
6770 		default:
6771 			break;
6772 		};
6773 		break;
6774 	/* setcontext */
6775 	case 422:
6776 		switch(ndx) {
6777 		case 0:
6778 			p = "userland const struct __ucontext *";
6779 			break;
6780 		default:
6781 			break;
6782 		};
6783 		break;
6784 	/* swapcontext */
6785 	case 423:
6786 		switch(ndx) {
6787 		case 0:
6788 			p = "userland struct __ucontext *";
6789 			break;
6790 		case 1:
6791 			p = "userland const struct __ucontext *";
6792 			break;
6793 		default:
6794 			break;
6795 		};
6796 		break;
6797 	/* swapoff */
6798 	case 424:
6799 		switch(ndx) {
6800 		case 0:
6801 			p = "userland const char *";
6802 			break;
6803 		default:
6804 			break;
6805 		};
6806 		break;
6807 	/* __acl_get_link */
6808 	case 425:
6809 		switch(ndx) {
6810 		case 0:
6811 			p = "userland const char *";
6812 			break;
6813 		case 1:
6814 			p = "acl_type_t";
6815 			break;
6816 		case 2:
6817 			p = "userland struct acl *";
6818 			break;
6819 		default:
6820 			break;
6821 		};
6822 		break;
6823 	/* __acl_set_link */
6824 	case 426:
6825 		switch(ndx) {
6826 		case 0:
6827 			p = "userland const char *";
6828 			break;
6829 		case 1:
6830 			p = "acl_type_t";
6831 			break;
6832 		case 2:
6833 			p = "userland struct acl *";
6834 			break;
6835 		default:
6836 			break;
6837 		};
6838 		break;
6839 	/* __acl_delete_link */
6840 	case 427:
6841 		switch(ndx) {
6842 		case 0:
6843 			p = "userland const char *";
6844 			break;
6845 		case 1:
6846 			p = "acl_type_t";
6847 			break;
6848 		default:
6849 			break;
6850 		};
6851 		break;
6852 	/* __acl_aclcheck_link */
6853 	case 428:
6854 		switch(ndx) {
6855 		case 0:
6856 			p = "userland const char *";
6857 			break;
6858 		case 1:
6859 			p = "acl_type_t";
6860 			break;
6861 		case 2:
6862 			p = "userland struct acl *";
6863 			break;
6864 		default:
6865 			break;
6866 		};
6867 		break;
6868 	/* sigwait */
6869 	case 429:
6870 		switch(ndx) {
6871 		case 0:
6872 			p = "userland const sigset_t *";
6873 			break;
6874 		case 1:
6875 			p = "userland int *";
6876 			break;
6877 		default:
6878 			break;
6879 		};
6880 		break;
6881 	/* thr_create */
6882 	case 430:
6883 		switch(ndx) {
6884 		case 0:
6885 			p = "userland ucontext_t *";
6886 			break;
6887 		case 1:
6888 			p = "userland long *";
6889 			break;
6890 		case 2:
6891 			p = "int";
6892 			break;
6893 		default:
6894 			break;
6895 		};
6896 		break;
6897 	/* thr_exit */
6898 	case 431:
6899 		switch(ndx) {
6900 		case 0:
6901 			p = "userland long *";
6902 			break;
6903 		default:
6904 			break;
6905 		};
6906 		break;
6907 	/* thr_self */
6908 	case 432:
6909 		switch(ndx) {
6910 		case 0:
6911 			p = "userland long *";
6912 			break;
6913 		default:
6914 			break;
6915 		};
6916 		break;
6917 	/* thr_kill */
6918 	case 433:
6919 		switch(ndx) {
6920 		case 0:
6921 			p = "long";
6922 			break;
6923 		case 1:
6924 			p = "int";
6925 			break;
6926 		default:
6927 			break;
6928 		};
6929 		break;
6930 	/* jail_attach */
6931 	case 436:
6932 		switch(ndx) {
6933 		case 0:
6934 			p = "int";
6935 			break;
6936 		default:
6937 			break;
6938 		};
6939 		break;
6940 	/* extattr_list_fd */
6941 	case 437:
6942 		switch(ndx) {
6943 		case 0:
6944 			p = "int";
6945 			break;
6946 		case 1:
6947 			p = "int";
6948 			break;
6949 		case 2:
6950 			p = "userland void *";
6951 			break;
6952 		case 3:
6953 			p = "size_t";
6954 			break;
6955 		default:
6956 			break;
6957 		};
6958 		break;
6959 	/* extattr_list_file */
6960 	case 438:
6961 		switch(ndx) {
6962 		case 0:
6963 			p = "userland const char *";
6964 			break;
6965 		case 1:
6966 			p = "int";
6967 			break;
6968 		case 2:
6969 			p = "userland void *";
6970 			break;
6971 		case 3:
6972 			p = "size_t";
6973 			break;
6974 		default:
6975 			break;
6976 		};
6977 		break;
6978 	/* extattr_list_link */
6979 	case 439:
6980 		switch(ndx) {
6981 		case 0:
6982 			p = "userland const char *";
6983 			break;
6984 		case 1:
6985 			p = "int";
6986 			break;
6987 		case 2:
6988 			p = "userland void *";
6989 			break;
6990 		case 3:
6991 			p = "size_t";
6992 			break;
6993 		default:
6994 			break;
6995 		};
6996 		break;
6997 	/* ksem_timedwait */
6998 	case 441:
6999 		switch(ndx) {
7000 		case 0:
7001 			p = "semid_t";
7002 			break;
7003 		case 1:
7004 			p = "userland const struct timespec *";
7005 			break;
7006 		default:
7007 			break;
7008 		};
7009 		break;
7010 	/* thr_suspend */
7011 	case 442:
7012 		switch(ndx) {
7013 		case 0:
7014 			p = "userland const struct timespec *";
7015 			break;
7016 		default:
7017 			break;
7018 		};
7019 		break;
7020 	/* thr_wake */
7021 	case 443:
7022 		switch(ndx) {
7023 		case 0:
7024 			p = "long";
7025 			break;
7026 		default:
7027 			break;
7028 		};
7029 		break;
7030 	/* kldunloadf */
7031 	case 444:
7032 		switch(ndx) {
7033 		case 0:
7034 			p = "int";
7035 			break;
7036 		case 1:
7037 			p = "int";
7038 			break;
7039 		default:
7040 			break;
7041 		};
7042 		break;
7043 	/* audit */
7044 	case 445:
7045 		switch(ndx) {
7046 		case 0:
7047 			p = "userland const void *";
7048 			break;
7049 		case 1:
7050 			p = "u_int";
7051 			break;
7052 		default:
7053 			break;
7054 		};
7055 		break;
7056 	/* auditon */
7057 	case 446:
7058 		switch(ndx) {
7059 		case 0:
7060 			p = "int";
7061 			break;
7062 		case 1:
7063 			p = "userland void *";
7064 			break;
7065 		case 2:
7066 			p = "u_int";
7067 			break;
7068 		default:
7069 			break;
7070 		};
7071 		break;
7072 	/* getauid */
7073 	case 447:
7074 		switch(ndx) {
7075 		case 0:
7076 			p = "userland uid_t *";
7077 			break;
7078 		default:
7079 			break;
7080 		};
7081 		break;
7082 	/* setauid */
7083 	case 448:
7084 		switch(ndx) {
7085 		case 0:
7086 			p = "userland uid_t *";
7087 			break;
7088 		default:
7089 			break;
7090 		};
7091 		break;
7092 	/* getaudit */
7093 	case 449:
7094 		switch(ndx) {
7095 		case 0:
7096 			p = "userland struct auditinfo *";
7097 			break;
7098 		default:
7099 			break;
7100 		};
7101 		break;
7102 	/* setaudit */
7103 	case 450:
7104 		switch(ndx) {
7105 		case 0:
7106 			p = "userland struct auditinfo *";
7107 			break;
7108 		default:
7109 			break;
7110 		};
7111 		break;
7112 	/* getaudit_addr */
7113 	case 451:
7114 		switch(ndx) {
7115 		case 0:
7116 			p = "userland struct auditinfo_addr *";
7117 			break;
7118 		case 1:
7119 			p = "u_int";
7120 			break;
7121 		default:
7122 			break;
7123 		};
7124 		break;
7125 	/* setaudit_addr */
7126 	case 452:
7127 		switch(ndx) {
7128 		case 0:
7129 			p = "userland struct auditinfo_addr *";
7130 			break;
7131 		case 1:
7132 			p = "u_int";
7133 			break;
7134 		default:
7135 			break;
7136 		};
7137 		break;
7138 	/* auditctl */
7139 	case 453:
7140 		switch(ndx) {
7141 		case 0:
7142 			p = "userland const char *";
7143 			break;
7144 		default:
7145 			break;
7146 		};
7147 		break;
7148 	/* _umtx_op */
7149 	case 454:
7150 		switch(ndx) {
7151 		case 0:
7152 			p = "userland void *";
7153 			break;
7154 		case 1:
7155 			p = "int";
7156 			break;
7157 		case 2:
7158 			p = "u_long";
7159 			break;
7160 		case 3:
7161 			p = "userland void *";
7162 			break;
7163 		case 4:
7164 			p = "userland void *";
7165 			break;
7166 		default:
7167 			break;
7168 		};
7169 		break;
7170 	/* thr_new */
7171 	case 455:
7172 		switch(ndx) {
7173 		case 0:
7174 			p = "userland struct thr_param *";
7175 			break;
7176 		case 1:
7177 			p = "int";
7178 			break;
7179 		default:
7180 			break;
7181 		};
7182 		break;
7183 	/* sigqueue */
7184 	case 456:
7185 		switch(ndx) {
7186 		case 0:
7187 			p = "pid_t";
7188 			break;
7189 		case 1:
7190 			p = "int";
7191 			break;
7192 		case 2:
7193 			p = "userland void *";
7194 			break;
7195 		default:
7196 			break;
7197 		};
7198 		break;
7199 	/* kmq_open */
7200 	case 457:
7201 		switch(ndx) {
7202 		case 0:
7203 			p = "userland const char *";
7204 			break;
7205 		case 1:
7206 			p = "int";
7207 			break;
7208 		case 2:
7209 			p = "mode_t";
7210 			break;
7211 		case 3:
7212 			p = "userland const struct mq_attr *";
7213 			break;
7214 		default:
7215 			break;
7216 		};
7217 		break;
7218 	/* kmq_setattr */
7219 	case 458:
7220 		switch(ndx) {
7221 		case 0:
7222 			p = "int";
7223 			break;
7224 		case 1:
7225 			p = "userland const struct mq_attr *";
7226 			break;
7227 		case 2:
7228 			p = "userland struct mq_attr *";
7229 			break;
7230 		default:
7231 			break;
7232 		};
7233 		break;
7234 	/* kmq_timedreceive */
7235 	case 459:
7236 		switch(ndx) {
7237 		case 0:
7238 			p = "int";
7239 			break;
7240 		case 1:
7241 			p = "userland char *";
7242 			break;
7243 		case 2:
7244 			p = "size_t";
7245 			break;
7246 		case 3:
7247 			p = "userland unsigned *";
7248 			break;
7249 		case 4:
7250 			p = "userland const struct timespec *";
7251 			break;
7252 		default:
7253 			break;
7254 		};
7255 		break;
7256 	/* kmq_timedsend */
7257 	case 460:
7258 		switch(ndx) {
7259 		case 0:
7260 			p = "int";
7261 			break;
7262 		case 1:
7263 			p = "userland const char *";
7264 			break;
7265 		case 2:
7266 			p = "size_t";
7267 			break;
7268 		case 3:
7269 			p = "unsigned";
7270 			break;
7271 		case 4:
7272 			p = "userland const struct timespec *";
7273 			break;
7274 		default:
7275 			break;
7276 		};
7277 		break;
7278 	/* kmq_notify */
7279 	case 461:
7280 		switch(ndx) {
7281 		case 0:
7282 			p = "int";
7283 			break;
7284 		case 1:
7285 			p = "userland const struct sigevent *";
7286 			break;
7287 		default:
7288 			break;
7289 		};
7290 		break;
7291 	/* kmq_unlink */
7292 	case 462:
7293 		switch(ndx) {
7294 		case 0:
7295 			p = "userland const char *";
7296 			break;
7297 		default:
7298 			break;
7299 		};
7300 		break;
7301 	/* abort2 */
7302 	case 463:
7303 		switch(ndx) {
7304 		case 0:
7305 			p = "userland const char *";
7306 			break;
7307 		case 1:
7308 			p = "int";
7309 			break;
7310 		case 2:
7311 			p = "userland void **";
7312 			break;
7313 		default:
7314 			break;
7315 		};
7316 		break;
7317 	/* thr_set_name */
7318 	case 464:
7319 		switch(ndx) {
7320 		case 0:
7321 			p = "long";
7322 			break;
7323 		case 1:
7324 			p = "userland const char *";
7325 			break;
7326 		default:
7327 			break;
7328 		};
7329 		break;
7330 	/* aio_fsync */
7331 	case 465:
7332 		switch(ndx) {
7333 		case 0:
7334 			p = "int";
7335 			break;
7336 		case 1:
7337 			p = "userland struct aiocb *";
7338 			break;
7339 		default:
7340 			break;
7341 		};
7342 		break;
7343 	/* rtprio_thread */
7344 	case 466:
7345 		switch(ndx) {
7346 		case 0:
7347 			p = "int";
7348 			break;
7349 		case 1:
7350 			p = "lwpid_t";
7351 			break;
7352 		case 2:
7353 			p = "userland struct rtprio *";
7354 			break;
7355 		default:
7356 			break;
7357 		};
7358 		break;
7359 	/* sctp_peeloff */
7360 	case 471:
7361 		switch(ndx) {
7362 		case 0:
7363 			p = "int";
7364 			break;
7365 		case 1:
7366 			p = "uint32_t";
7367 			break;
7368 		default:
7369 			break;
7370 		};
7371 		break;
7372 	/* sctp_generic_sendmsg */
7373 	case 472:
7374 		switch(ndx) {
7375 		case 0:
7376 			p = "int";
7377 			break;
7378 		case 1:
7379 			p = "userland void *";
7380 			break;
7381 		case 2:
7382 			p = "int";
7383 			break;
7384 		case 3:
7385 			p = "userland struct sockaddr *";
7386 			break;
7387 		case 4:
7388 			p = "__socklen_t";
7389 			break;
7390 		case 5:
7391 			p = "userland struct sctp_sndrcvinfo *";
7392 			break;
7393 		case 6:
7394 			p = "int";
7395 			break;
7396 		default:
7397 			break;
7398 		};
7399 		break;
7400 	/* sctp_generic_sendmsg_iov */
7401 	case 473:
7402 		switch(ndx) {
7403 		case 0:
7404 			p = "int";
7405 			break;
7406 		case 1:
7407 			p = "userland struct iovec *";
7408 			break;
7409 		case 2:
7410 			p = "int";
7411 			break;
7412 		case 3:
7413 			p = "userland struct sockaddr *";
7414 			break;
7415 		case 4:
7416 			p = "__socklen_t";
7417 			break;
7418 		case 5:
7419 			p = "userland struct sctp_sndrcvinfo *";
7420 			break;
7421 		case 6:
7422 			p = "int";
7423 			break;
7424 		default:
7425 			break;
7426 		};
7427 		break;
7428 	/* sctp_generic_recvmsg */
7429 	case 474:
7430 		switch(ndx) {
7431 		case 0:
7432 			p = "int";
7433 			break;
7434 		case 1:
7435 			p = "userland struct iovec *";
7436 			break;
7437 		case 2:
7438 			p = "int";
7439 			break;
7440 		case 3:
7441 			p = "userland struct sockaddr *";
7442 			break;
7443 		case 4:
7444 			p = "userland __socklen_t *";
7445 			break;
7446 		case 5:
7447 			p = "userland struct sctp_sndrcvinfo *";
7448 			break;
7449 		case 6:
7450 			p = "userland int *";
7451 			break;
7452 		default:
7453 			break;
7454 		};
7455 		break;
7456 	/* pread */
7457 	case 475:
7458 		switch(ndx) {
7459 		case 0:
7460 			p = "int";
7461 			break;
7462 		case 1:
7463 			p = "userland void *";
7464 			break;
7465 		case 2:
7466 			p = "size_t";
7467 			break;
7468 		case 3:
7469 			p = "off_t";
7470 			break;
7471 		default:
7472 			break;
7473 		};
7474 		break;
7475 	/* pwrite */
7476 	case 476:
7477 		switch(ndx) {
7478 		case 0:
7479 			p = "int";
7480 			break;
7481 		case 1:
7482 			p = "userland const void *";
7483 			break;
7484 		case 2:
7485 			p = "size_t";
7486 			break;
7487 		case 3:
7488 			p = "off_t";
7489 			break;
7490 		default:
7491 			break;
7492 		};
7493 		break;
7494 	/* mmap */
7495 	case 477:
7496 		switch(ndx) {
7497 		case 0:
7498 			p = "userland void *";
7499 			break;
7500 		case 1:
7501 			p = "size_t";
7502 			break;
7503 		case 2:
7504 			p = "int";
7505 			break;
7506 		case 3:
7507 			p = "int";
7508 			break;
7509 		case 4:
7510 			p = "int";
7511 			break;
7512 		case 5:
7513 			p = "off_t";
7514 			break;
7515 		default:
7516 			break;
7517 		};
7518 		break;
7519 	/* lseek */
7520 	case 478:
7521 		switch(ndx) {
7522 		case 0:
7523 			p = "int";
7524 			break;
7525 		case 1:
7526 			p = "off_t";
7527 			break;
7528 		case 2:
7529 			p = "int";
7530 			break;
7531 		default:
7532 			break;
7533 		};
7534 		break;
7535 	/* truncate */
7536 	case 479:
7537 		switch(ndx) {
7538 		case 0:
7539 			p = "userland const char *";
7540 			break;
7541 		case 1:
7542 			p = "off_t";
7543 			break;
7544 		default:
7545 			break;
7546 		};
7547 		break;
7548 	/* ftruncate */
7549 	case 480:
7550 		switch(ndx) {
7551 		case 0:
7552 			p = "int";
7553 			break;
7554 		case 1:
7555 			p = "off_t";
7556 			break;
7557 		default:
7558 			break;
7559 		};
7560 		break;
7561 	/* thr_kill2 */
7562 	case 481:
7563 		switch(ndx) {
7564 		case 0:
7565 			p = "pid_t";
7566 			break;
7567 		case 1:
7568 			p = "long";
7569 			break;
7570 		case 2:
7571 			p = "int";
7572 			break;
7573 		default:
7574 			break;
7575 		};
7576 		break;
7577 	/* shm_unlink */
7578 	case 483:
7579 		switch(ndx) {
7580 		case 0:
7581 			p = "userland const char *";
7582 			break;
7583 		default:
7584 			break;
7585 		};
7586 		break;
7587 	/* cpuset */
7588 	case 484:
7589 		switch(ndx) {
7590 		case 0:
7591 			p = "userland cpusetid_t *";
7592 			break;
7593 		default:
7594 			break;
7595 		};
7596 		break;
7597 	/* cpuset_setid */
7598 	case 485:
7599 		switch(ndx) {
7600 		case 0:
7601 			p = "cpuwhich_t";
7602 			break;
7603 		case 1:
7604 			p = "id_t";
7605 			break;
7606 		case 2:
7607 			p = "cpusetid_t";
7608 			break;
7609 		default:
7610 			break;
7611 		};
7612 		break;
7613 	/* cpuset_getid */
7614 	case 486:
7615 		switch(ndx) {
7616 		case 0:
7617 			p = "cpulevel_t";
7618 			break;
7619 		case 1:
7620 			p = "cpuwhich_t";
7621 			break;
7622 		case 2:
7623 			p = "id_t";
7624 			break;
7625 		case 3:
7626 			p = "userland cpusetid_t *";
7627 			break;
7628 		default:
7629 			break;
7630 		};
7631 		break;
7632 	/* cpuset_getaffinity */
7633 	case 487:
7634 		switch(ndx) {
7635 		case 0:
7636 			p = "cpulevel_t";
7637 			break;
7638 		case 1:
7639 			p = "cpuwhich_t";
7640 			break;
7641 		case 2:
7642 			p = "id_t";
7643 			break;
7644 		case 3:
7645 			p = "size_t";
7646 			break;
7647 		case 4:
7648 			p = "userland cpuset_t *";
7649 			break;
7650 		default:
7651 			break;
7652 		};
7653 		break;
7654 	/* cpuset_setaffinity */
7655 	case 488:
7656 		switch(ndx) {
7657 		case 0:
7658 			p = "cpulevel_t";
7659 			break;
7660 		case 1:
7661 			p = "cpuwhich_t";
7662 			break;
7663 		case 2:
7664 			p = "id_t";
7665 			break;
7666 		case 3:
7667 			p = "size_t";
7668 			break;
7669 		case 4:
7670 			p = "userland const cpuset_t *";
7671 			break;
7672 		default:
7673 			break;
7674 		};
7675 		break;
7676 	/* faccessat */
7677 	case 489:
7678 		switch(ndx) {
7679 		case 0:
7680 			p = "int";
7681 			break;
7682 		case 1:
7683 			p = "userland const char *";
7684 			break;
7685 		case 2:
7686 			p = "int";
7687 			break;
7688 		case 3:
7689 			p = "int";
7690 			break;
7691 		default:
7692 			break;
7693 		};
7694 		break;
7695 	/* fchmodat */
7696 	case 490:
7697 		switch(ndx) {
7698 		case 0:
7699 			p = "int";
7700 			break;
7701 		case 1:
7702 			p = "userland const char *";
7703 			break;
7704 		case 2:
7705 			p = "mode_t";
7706 			break;
7707 		case 3:
7708 			p = "int";
7709 			break;
7710 		default:
7711 			break;
7712 		};
7713 		break;
7714 	/* fchownat */
7715 	case 491:
7716 		switch(ndx) {
7717 		case 0:
7718 			p = "int";
7719 			break;
7720 		case 1:
7721 			p = "userland const char *";
7722 			break;
7723 		case 2:
7724 			p = "uid_t";
7725 			break;
7726 		case 3:
7727 			p = "gid_t";
7728 			break;
7729 		case 4:
7730 			p = "int";
7731 			break;
7732 		default:
7733 			break;
7734 		};
7735 		break;
7736 	/* fexecve */
7737 	case 492:
7738 		switch(ndx) {
7739 		case 0:
7740 			p = "int";
7741 			break;
7742 		case 1:
7743 			p = "userland char **";
7744 			break;
7745 		case 2:
7746 			p = "userland char **";
7747 			break;
7748 		default:
7749 			break;
7750 		};
7751 		break;
7752 	/* futimesat */
7753 	case 494:
7754 		switch(ndx) {
7755 		case 0:
7756 			p = "int";
7757 			break;
7758 		case 1:
7759 			p = "userland const char *";
7760 			break;
7761 		case 2:
7762 			p = "userland struct timeval *";
7763 			break;
7764 		default:
7765 			break;
7766 		};
7767 		break;
7768 	/* linkat */
7769 	case 495:
7770 		switch(ndx) {
7771 		case 0:
7772 			p = "int";
7773 			break;
7774 		case 1:
7775 			p = "userland const char *";
7776 			break;
7777 		case 2:
7778 			p = "int";
7779 			break;
7780 		case 3:
7781 			p = "userland const char *";
7782 			break;
7783 		case 4:
7784 			p = "int";
7785 			break;
7786 		default:
7787 			break;
7788 		};
7789 		break;
7790 	/* mkdirat */
7791 	case 496:
7792 		switch(ndx) {
7793 		case 0:
7794 			p = "int";
7795 			break;
7796 		case 1:
7797 			p = "userland const char *";
7798 			break;
7799 		case 2:
7800 			p = "mode_t";
7801 			break;
7802 		default:
7803 			break;
7804 		};
7805 		break;
7806 	/* mkfifoat */
7807 	case 497:
7808 		switch(ndx) {
7809 		case 0:
7810 			p = "int";
7811 			break;
7812 		case 1:
7813 			p = "userland const char *";
7814 			break;
7815 		case 2:
7816 			p = "mode_t";
7817 			break;
7818 		default:
7819 			break;
7820 		};
7821 		break;
7822 	/* openat */
7823 	case 499:
7824 		switch(ndx) {
7825 		case 0:
7826 			p = "int";
7827 			break;
7828 		case 1:
7829 			p = "userland const char *";
7830 			break;
7831 		case 2:
7832 			p = "int";
7833 			break;
7834 		case 3:
7835 			p = "mode_t";
7836 			break;
7837 		default:
7838 			break;
7839 		};
7840 		break;
7841 	/* readlinkat */
7842 	case 500:
7843 		switch(ndx) {
7844 		case 0:
7845 			p = "int";
7846 			break;
7847 		case 1:
7848 			p = "userland const char *";
7849 			break;
7850 		case 2:
7851 			p = "userland char *";
7852 			break;
7853 		case 3:
7854 			p = "size_t";
7855 			break;
7856 		default:
7857 			break;
7858 		};
7859 		break;
7860 	/* renameat */
7861 	case 501:
7862 		switch(ndx) {
7863 		case 0:
7864 			p = "int";
7865 			break;
7866 		case 1:
7867 			p = "userland const char *";
7868 			break;
7869 		case 2:
7870 			p = "int";
7871 			break;
7872 		case 3:
7873 			p = "userland const char *";
7874 			break;
7875 		default:
7876 			break;
7877 		};
7878 		break;
7879 	/* symlinkat */
7880 	case 502:
7881 		switch(ndx) {
7882 		case 0:
7883 			p = "userland const char *";
7884 			break;
7885 		case 1:
7886 			p = "int";
7887 			break;
7888 		case 2:
7889 			p = "userland const char *";
7890 			break;
7891 		default:
7892 			break;
7893 		};
7894 		break;
7895 	/* unlinkat */
7896 	case 503:
7897 		switch(ndx) {
7898 		case 0:
7899 			p = "int";
7900 			break;
7901 		case 1:
7902 			p = "userland const char *";
7903 			break;
7904 		case 2:
7905 			p = "int";
7906 			break;
7907 		default:
7908 			break;
7909 		};
7910 		break;
7911 	/* posix_openpt */
7912 	case 504:
7913 		switch(ndx) {
7914 		case 0:
7915 			p = "int";
7916 			break;
7917 		default:
7918 			break;
7919 		};
7920 		break;
7921 	/* gssd_syscall */
7922 	case 505:
7923 		switch(ndx) {
7924 		case 0:
7925 			p = "userland const char *";
7926 			break;
7927 		default:
7928 			break;
7929 		};
7930 		break;
7931 	/* jail_get */
7932 	case 506:
7933 		switch(ndx) {
7934 		case 0:
7935 			p = "userland struct iovec *";
7936 			break;
7937 		case 1:
7938 			p = "unsigned int";
7939 			break;
7940 		case 2:
7941 			p = "int";
7942 			break;
7943 		default:
7944 			break;
7945 		};
7946 		break;
7947 	/* jail_set */
7948 	case 507:
7949 		switch(ndx) {
7950 		case 0:
7951 			p = "userland struct iovec *";
7952 			break;
7953 		case 1:
7954 			p = "unsigned int";
7955 			break;
7956 		case 2:
7957 			p = "int";
7958 			break;
7959 		default:
7960 			break;
7961 		};
7962 		break;
7963 	/* jail_remove */
7964 	case 508:
7965 		switch(ndx) {
7966 		case 0:
7967 			p = "int";
7968 			break;
7969 		default:
7970 			break;
7971 		};
7972 		break;
7973 	/* closefrom */
7974 	case 509:
7975 		switch(ndx) {
7976 		case 0:
7977 			p = "int";
7978 			break;
7979 		default:
7980 			break;
7981 		};
7982 		break;
7983 	/* __semctl */
7984 	case 510:
7985 		switch(ndx) {
7986 		case 0:
7987 			p = "int";
7988 			break;
7989 		case 1:
7990 			p = "int";
7991 			break;
7992 		case 2:
7993 			p = "int";
7994 			break;
7995 		case 3:
7996 			p = "userland union semun *";
7997 			break;
7998 		default:
7999 			break;
8000 		};
8001 		break;
8002 	/* msgctl */
8003 	case 511:
8004 		switch(ndx) {
8005 		case 0:
8006 			p = "int";
8007 			break;
8008 		case 1:
8009 			p = "int";
8010 			break;
8011 		case 2:
8012 			p = "userland struct msqid_ds *";
8013 			break;
8014 		default:
8015 			break;
8016 		};
8017 		break;
8018 	/* shmctl */
8019 	case 512:
8020 		switch(ndx) {
8021 		case 0:
8022 			p = "int";
8023 			break;
8024 		case 1:
8025 			p = "int";
8026 			break;
8027 		case 2:
8028 			p = "userland struct shmid_ds *";
8029 			break;
8030 		default:
8031 			break;
8032 		};
8033 		break;
8034 	/* lpathconf */
8035 	case 513:
8036 		switch(ndx) {
8037 		case 0:
8038 			p = "userland const char *";
8039 			break;
8040 		case 1:
8041 			p = "int";
8042 			break;
8043 		default:
8044 			break;
8045 		};
8046 		break;
8047 	/* __cap_rights_get */
8048 	case 515:
8049 		switch(ndx) {
8050 		case 0:
8051 			p = "int";
8052 			break;
8053 		case 1:
8054 			p = "int";
8055 			break;
8056 		case 2:
8057 			p = "userland cap_rights_t *";
8058 			break;
8059 		default:
8060 			break;
8061 		};
8062 		break;
8063 	/* cap_enter */
8064 	case 516:
8065 		break;
8066 	/* cap_getmode */
8067 	case 517:
8068 		switch(ndx) {
8069 		case 0:
8070 			p = "userland u_int *";
8071 			break;
8072 		default:
8073 			break;
8074 		};
8075 		break;
8076 	/* pdfork */
8077 	case 518:
8078 		switch(ndx) {
8079 		case 0:
8080 			p = "userland int *";
8081 			break;
8082 		case 1:
8083 			p = "int";
8084 			break;
8085 		default:
8086 			break;
8087 		};
8088 		break;
8089 	/* pdkill */
8090 	case 519:
8091 		switch(ndx) {
8092 		case 0:
8093 			p = "int";
8094 			break;
8095 		case 1:
8096 			p = "int";
8097 			break;
8098 		default:
8099 			break;
8100 		};
8101 		break;
8102 	/* pdgetpid */
8103 	case 520:
8104 		switch(ndx) {
8105 		case 0:
8106 			p = "int";
8107 			break;
8108 		case 1:
8109 			p = "userland pid_t *";
8110 			break;
8111 		default:
8112 			break;
8113 		};
8114 		break;
8115 	/* pselect */
8116 	case 522:
8117 		switch(ndx) {
8118 		case 0:
8119 			p = "int";
8120 			break;
8121 		case 1:
8122 			p = "userland fd_set *";
8123 			break;
8124 		case 2:
8125 			p = "userland fd_set *";
8126 			break;
8127 		case 3:
8128 			p = "userland fd_set *";
8129 			break;
8130 		case 4:
8131 			p = "userland const struct timespec *";
8132 			break;
8133 		case 5:
8134 			p = "userland const sigset_t *";
8135 			break;
8136 		default:
8137 			break;
8138 		};
8139 		break;
8140 	/* getloginclass */
8141 	case 523:
8142 		switch(ndx) {
8143 		case 0:
8144 			p = "userland char *";
8145 			break;
8146 		case 1:
8147 			p = "size_t";
8148 			break;
8149 		default:
8150 			break;
8151 		};
8152 		break;
8153 	/* setloginclass */
8154 	case 524:
8155 		switch(ndx) {
8156 		case 0:
8157 			p = "userland const char *";
8158 			break;
8159 		default:
8160 			break;
8161 		};
8162 		break;
8163 	/* rctl_get_racct */
8164 	case 525:
8165 		switch(ndx) {
8166 		case 0:
8167 			p = "userland const void *";
8168 			break;
8169 		case 1:
8170 			p = "size_t";
8171 			break;
8172 		case 2:
8173 			p = "userland void *";
8174 			break;
8175 		case 3:
8176 			p = "size_t";
8177 			break;
8178 		default:
8179 			break;
8180 		};
8181 		break;
8182 	/* rctl_get_rules */
8183 	case 526:
8184 		switch(ndx) {
8185 		case 0:
8186 			p = "userland const void *";
8187 			break;
8188 		case 1:
8189 			p = "size_t";
8190 			break;
8191 		case 2:
8192 			p = "userland void *";
8193 			break;
8194 		case 3:
8195 			p = "size_t";
8196 			break;
8197 		default:
8198 			break;
8199 		};
8200 		break;
8201 	/* rctl_get_limits */
8202 	case 527:
8203 		switch(ndx) {
8204 		case 0:
8205 			p = "userland const void *";
8206 			break;
8207 		case 1:
8208 			p = "size_t";
8209 			break;
8210 		case 2:
8211 			p = "userland void *";
8212 			break;
8213 		case 3:
8214 			p = "size_t";
8215 			break;
8216 		default:
8217 			break;
8218 		};
8219 		break;
8220 	/* rctl_add_rule */
8221 	case 528:
8222 		switch(ndx) {
8223 		case 0:
8224 			p = "userland const void *";
8225 			break;
8226 		case 1:
8227 			p = "size_t";
8228 			break;
8229 		case 2:
8230 			p = "userland void *";
8231 			break;
8232 		case 3:
8233 			p = "size_t";
8234 			break;
8235 		default:
8236 			break;
8237 		};
8238 		break;
8239 	/* rctl_remove_rule */
8240 	case 529:
8241 		switch(ndx) {
8242 		case 0:
8243 			p = "userland const void *";
8244 			break;
8245 		case 1:
8246 			p = "size_t";
8247 			break;
8248 		case 2:
8249 			p = "userland void *";
8250 			break;
8251 		case 3:
8252 			p = "size_t";
8253 			break;
8254 		default:
8255 			break;
8256 		};
8257 		break;
8258 	/* posix_fallocate */
8259 	case 530:
8260 		switch(ndx) {
8261 		case 0:
8262 			p = "int";
8263 			break;
8264 		case 1:
8265 			p = "off_t";
8266 			break;
8267 		case 2:
8268 			p = "off_t";
8269 			break;
8270 		default:
8271 			break;
8272 		};
8273 		break;
8274 	/* posix_fadvise */
8275 	case 531:
8276 		switch(ndx) {
8277 		case 0:
8278 			p = "int";
8279 			break;
8280 		case 1:
8281 			p = "off_t";
8282 			break;
8283 		case 2:
8284 			p = "off_t";
8285 			break;
8286 		case 3:
8287 			p = "int";
8288 			break;
8289 		default:
8290 			break;
8291 		};
8292 		break;
8293 	/* wait6 */
8294 	case 532:
8295 		switch(ndx) {
8296 		case 0:
8297 			p = "idtype_t";
8298 			break;
8299 		case 1:
8300 			p = "id_t";
8301 			break;
8302 		case 2:
8303 			p = "userland int *";
8304 			break;
8305 		case 3:
8306 			p = "int";
8307 			break;
8308 		case 4:
8309 			p = "userland struct __wrusage *";
8310 			break;
8311 		case 5:
8312 			p = "userland siginfo_t *";
8313 			break;
8314 		default:
8315 			break;
8316 		};
8317 		break;
8318 	/* cap_rights_limit */
8319 	case 533:
8320 		switch(ndx) {
8321 		case 0:
8322 			p = "int";
8323 			break;
8324 		case 1:
8325 			p = "userland cap_rights_t *";
8326 			break;
8327 		default:
8328 			break;
8329 		};
8330 		break;
8331 	/* cap_ioctls_limit */
8332 	case 534:
8333 		switch(ndx) {
8334 		case 0:
8335 			p = "int";
8336 			break;
8337 		case 1:
8338 			p = "userland const u_long *";
8339 			break;
8340 		case 2:
8341 			p = "size_t";
8342 			break;
8343 		default:
8344 			break;
8345 		};
8346 		break;
8347 	/* cap_ioctls_get */
8348 	case 535:
8349 		switch(ndx) {
8350 		case 0:
8351 			p = "int";
8352 			break;
8353 		case 1:
8354 			p = "userland u_long *";
8355 			break;
8356 		case 2:
8357 			p = "size_t";
8358 			break;
8359 		default:
8360 			break;
8361 		};
8362 		break;
8363 	/* cap_fcntls_limit */
8364 	case 536:
8365 		switch(ndx) {
8366 		case 0:
8367 			p = "int";
8368 			break;
8369 		case 1:
8370 			p = "uint32_t";
8371 			break;
8372 		default:
8373 			break;
8374 		};
8375 		break;
8376 	/* cap_fcntls_get */
8377 	case 537:
8378 		switch(ndx) {
8379 		case 0:
8380 			p = "int";
8381 			break;
8382 		case 1:
8383 			p = "userland uint32_t *";
8384 			break;
8385 		default:
8386 			break;
8387 		};
8388 		break;
8389 	/* bindat */
8390 	case 538:
8391 		switch(ndx) {
8392 		case 0:
8393 			p = "int";
8394 			break;
8395 		case 1:
8396 			p = "int";
8397 			break;
8398 		case 2:
8399 			p = "userland const struct sockaddr *";
8400 			break;
8401 		case 3:
8402 			p = "int";
8403 			break;
8404 		default:
8405 			break;
8406 		};
8407 		break;
8408 	/* connectat */
8409 	case 539:
8410 		switch(ndx) {
8411 		case 0:
8412 			p = "int";
8413 			break;
8414 		case 1:
8415 			p = "int";
8416 			break;
8417 		case 2:
8418 			p = "userland const struct sockaddr *";
8419 			break;
8420 		case 3:
8421 			p = "int";
8422 			break;
8423 		default:
8424 			break;
8425 		};
8426 		break;
8427 	/* chflagsat */
8428 	case 540:
8429 		switch(ndx) {
8430 		case 0:
8431 			p = "int";
8432 			break;
8433 		case 1:
8434 			p = "userland const char *";
8435 			break;
8436 		case 2:
8437 			p = "u_long";
8438 			break;
8439 		case 3:
8440 			p = "int";
8441 			break;
8442 		default:
8443 			break;
8444 		};
8445 		break;
8446 	/* accept4 */
8447 	case 541:
8448 		switch(ndx) {
8449 		case 0:
8450 			p = "int";
8451 			break;
8452 		case 1:
8453 			p = "userland struct sockaddr *";
8454 			break;
8455 		case 2:
8456 			p = "userland __socklen_t *";
8457 			break;
8458 		case 3:
8459 			p = "int";
8460 			break;
8461 		default:
8462 			break;
8463 		};
8464 		break;
8465 	/* pipe2 */
8466 	case 542:
8467 		switch(ndx) {
8468 		case 0:
8469 			p = "userland int *";
8470 			break;
8471 		case 1:
8472 			p = "int";
8473 			break;
8474 		default:
8475 			break;
8476 		};
8477 		break;
8478 	/* aio_mlock */
8479 	case 543:
8480 		switch(ndx) {
8481 		case 0:
8482 			p = "userland struct aiocb *";
8483 			break;
8484 		default:
8485 			break;
8486 		};
8487 		break;
8488 	/* procctl */
8489 	case 544:
8490 		switch(ndx) {
8491 		case 0:
8492 			p = "idtype_t";
8493 			break;
8494 		case 1:
8495 			p = "id_t";
8496 			break;
8497 		case 2:
8498 			p = "int";
8499 			break;
8500 		case 3:
8501 			p = "userland void *";
8502 			break;
8503 		default:
8504 			break;
8505 		};
8506 		break;
8507 	/* ppoll */
8508 	case 545:
8509 		switch(ndx) {
8510 		case 0:
8511 			p = "userland struct pollfd *";
8512 			break;
8513 		case 1:
8514 			p = "u_int";
8515 			break;
8516 		case 2:
8517 			p = "userland const struct timespec *";
8518 			break;
8519 		case 3:
8520 			p = "userland const sigset_t *";
8521 			break;
8522 		default:
8523 			break;
8524 		};
8525 		break;
8526 	/* futimens */
8527 	case 546:
8528 		switch(ndx) {
8529 		case 0:
8530 			p = "int";
8531 			break;
8532 		case 1:
8533 			p = "userland struct timespec *";
8534 			break;
8535 		default:
8536 			break;
8537 		};
8538 		break;
8539 	/* utimensat */
8540 	case 547:
8541 		switch(ndx) {
8542 		case 0:
8543 			p = "int";
8544 			break;
8545 		case 1:
8546 			p = "userland const char *";
8547 			break;
8548 		case 2:
8549 			p = "userland struct timespec *";
8550 			break;
8551 		case 3:
8552 			p = "int";
8553 			break;
8554 		default:
8555 			break;
8556 		};
8557 		break;
8558 	/* fdatasync */
8559 	case 550:
8560 		switch(ndx) {
8561 		case 0:
8562 			p = "int";
8563 			break;
8564 		default:
8565 			break;
8566 		};
8567 		break;
8568 	/* fstat */
8569 	case 551:
8570 		switch(ndx) {
8571 		case 0:
8572 			p = "int";
8573 			break;
8574 		case 1:
8575 			p = "userland struct stat *";
8576 			break;
8577 		default:
8578 			break;
8579 		};
8580 		break;
8581 	/* fstatat */
8582 	case 552:
8583 		switch(ndx) {
8584 		case 0:
8585 			p = "int";
8586 			break;
8587 		case 1:
8588 			p = "userland const char *";
8589 			break;
8590 		case 2:
8591 			p = "userland struct stat *";
8592 			break;
8593 		case 3:
8594 			p = "int";
8595 			break;
8596 		default:
8597 			break;
8598 		};
8599 		break;
8600 	/* fhstat */
8601 	case 553:
8602 		switch(ndx) {
8603 		case 0:
8604 			p = "userland const struct fhandle *";
8605 			break;
8606 		case 1:
8607 			p = "userland struct stat *";
8608 			break;
8609 		default:
8610 			break;
8611 		};
8612 		break;
8613 	/* getdirentries */
8614 	case 554:
8615 		switch(ndx) {
8616 		case 0:
8617 			p = "int";
8618 			break;
8619 		case 1:
8620 			p = "userland char *";
8621 			break;
8622 		case 2:
8623 			p = "size_t";
8624 			break;
8625 		case 3:
8626 			p = "userland off_t *";
8627 			break;
8628 		default:
8629 			break;
8630 		};
8631 		break;
8632 	/* statfs */
8633 	case 555:
8634 		switch(ndx) {
8635 		case 0:
8636 			p = "userland const char *";
8637 			break;
8638 		case 1:
8639 			p = "userland struct statfs *";
8640 			break;
8641 		default:
8642 			break;
8643 		};
8644 		break;
8645 	/* fstatfs */
8646 	case 556:
8647 		switch(ndx) {
8648 		case 0:
8649 			p = "int";
8650 			break;
8651 		case 1:
8652 			p = "userland struct statfs *";
8653 			break;
8654 		default:
8655 			break;
8656 		};
8657 		break;
8658 	/* getfsstat */
8659 	case 557:
8660 		switch(ndx) {
8661 		case 0:
8662 			p = "userland struct statfs *";
8663 			break;
8664 		case 1:
8665 			p = "long";
8666 			break;
8667 		case 2:
8668 			p = "int";
8669 			break;
8670 		default:
8671 			break;
8672 		};
8673 		break;
8674 	/* fhstatfs */
8675 	case 558:
8676 		switch(ndx) {
8677 		case 0:
8678 			p = "userland const struct fhandle *";
8679 			break;
8680 		case 1:
8681 			p = "userland struct statfs *";
8682 			break;
8683 		default:
8684 			break;
8685 		};
8686 		break;
8687 	/* mknodat */
8688 	case 559:
8689 		switch(ndx) {
8690 		case 0:
8691 			p = "int";
8692 			break;
8693 		case 1:
8694 			p = "userland const char *";
8695 			break;
8696 		case 2:
8697 			p = "mode_t";
8698 			break;
8699 		case 3:
8700 			p = "dev_t";
8701 			break;
8702 		default:
8703 			break;
8704 		};
8705 		break;
8706 	/* kevent */
8707 	case 560:
8708 		switch(ndx) {
8709 		case 0:
8710 			p = "int";
8711 			break;
8712 		case 1:
8713 			p = "userland struct kevent *";
8714 			break;
8715 		case 2:
8716 			p = "int";
8717 			break;
8718 		case 3:
8719 			p = "userland struct kevent *";
8720 			break;
8721 		case 4:
8722 			p = "int";
8723 			break;
8724 		case 5:
8725 			p = "userland const struct timespec *";
8726 			break;
8727 		default:
8728 			break;
8729 		};
8730 		break;
8731 	/* cpuset_getdomain */
8732 	case 561:
8733 		switch(ndx) {
8734 		case 0:
8735 			p = "cpulevel_t";
8736 			break;
8737 		case 1:
8738 			p = "cpuwhich_t";
8739 			break;
8740 		case 2:
8741 			p = "id_t";
8742 			break;
8743 		case 3:
8744 			p = "size_t";
8745 			break;
8746 		case 4:
8747 			p = "userland domainset_t *";
8748 			break;
8749 		case 5:
8750 			p = "userland int *";
8751 			break;
8752 		default:
8753 			break;
8754 		};
8755 		break;
8756 	/* cpuset_setdomain */
8757 	case 562:
8758 		switch(ndx) {
8759 		case 0:
8760 			p = "cpulevel_t";
8761 			break;
8762 		case 1:
8763 			p = "cpuwhich_t";
8764 			break;
8765 		case 2:
8766 			p = "id_t";
8767 			break;
8768 		case 3:
8769 			p = "size_t";
8770 			break;
8771 		case 4:
8772 			p = "userland domainset_t *";
8773 			break;
8774 		case 5:
8775 			p = "int";
8776 			break;
8777 		default:
8778 			break;
8779 		};
8780 		break;
8781 	/* getrandom */
8782 	case 563:
8783 		switch(ndx) {
8784 		case 0:
8785 			p = "userland void *";
8786 			break;
8787 		case 1:
8788 			p = "size_t";
8789 			break;
8790 		case 2:
8791 			p = "unsigned int";
8792 			break;
8793 		default:
8794 			break;
8795 		};
8796 		break;
8797 	/* getfhat */
8798 	case 564:
8799 		switch(ndx) {
8800 		case 0:
8801 			p = "int";
8802 			break;
8803 		case 1:
8804 			p = "userland char *";
8805 			break;
8806 		case 2:
8807 			p = "userland struct fhandle *";
8808 			break;
8809 		case 3:
8810 			p = "int";
8811 			break;
8812 		default:
8813 			break;
8814 		};
8815 		break;
8816 	/* fhlink */
8817 	case 565:
8818 		switch(ndx) {
8819 		case 0:
8820 			p = "userland struct fhandle *";
8821 			break;
8822 		case 1:
8823 			p = "userland const char *";
8824 			break;
8825 		default:
8826 			break;
8827 		};
8828 		break;
8829 	/* fhlinkat */
8830 	case 566:
8831 		switch(ndx) {
8832 		case 0:
8833 			p = "userland struct fhandle *";
8834 			break;
8835 		case 1:
8836 			p = "int";
8837 			break;
8838 		case 2:
8839 			p = "userland const char *";
8840 			break;
8841 		default:
8842 			break;
8843 		};
8844 		break;
8845 	/* fhreadlink */
8846 	case 567:
8847 		switch(ndx) {
8848 		case 0:
8849 			p = "userland struct fhandle *";
8850 			break;
8851 		case 1:
8852 			p = "userland char *";
8853 			break;
8854 		case 2:
8855 			p = "size_t";
8856 			break;
8857 		default:
8858 			break;
8859 		};
8860 		break;
8861 	/* funlinkat */
8862 	case 568:
8863 		switch(ndx) {
8864 		case 0:
8865 			p = "int";
8866 			break;
8867 		case 1:
8868 			p = "userland const char *";
8869 			break;
8870 		case 2:
8871 			p = "int";
8872 			break;
8873 		case 3:
8874 			p = "int";
8875 			break;
8876 		default:
8877 			break;
8878 		};
8879 		break;
8880 	/* copy_file_range */
8881 	case 569:
8882 		switch(ndx) {
8883 		case 0:
8884 			p = "int";
8885 			break;
8886 		case 1:
8887 			p = "userland off_t *";
8888 			break;
8889 		case 2:
8890 			p = "int";
8891 			break;
8892 		case 3:
8893 			p = "userland off_t *";
8894 			break;
8895 		case 4:
8896 			p = "size_t";
8897 			break;
8898 		case 5:
8899 			p = "unsigned int";
8900 			break;
8901 		default:
8902 			break;
8903 		};
8904 		break;
8905 	/* __sysctlbyname */
8906 	case 570:
8907 		switch(ndx) {
8908 		case 0:
8909 			p = "userland const char *";
8910 			break;
8911 		case 1:
8912 			p = "size_t";
8913 			break;
8914 		case 2:
8915 			p = "userland void *";
8916 			break;
8917 		case 3:
8918 			p = "userland size_t *";
8919 			break;
8920 		case 4:
8921 			p = "userland void *";
8922 			break;
8923 		case 5:
8924 			p = "size_t";
8925 			break;
8926 		default:
8927 			break;
8928 		};
8929 		break;
8930 	/* shm_open2 */
8931 	case 571:
8932 		switch(ndx) {
8933 		case 0:
8934 			p = "userland const char *";
8935 			break;
8936 		case 1:
8937 			p = "int";
8938 			break;
8939 		case 2:
8940 			p = "mode_t";
8941 			break;
8942 		case 3:
8943 			p = "int";
8944 			break;
8945 		case 4:
8946 			p = "userland const char *";
8947 			break;
8948 		default:
8949 			break;
8950 		};
8951 		break;
8952 	/* shm_rename */
8953 	case 572:
8954 		switch(ndx) {
8955 		case 0:
8956 			p = "userland const char *";
8957 			break;
8958 		case 1:
8959 			p = "userland const char *";
8960 			break;
8961 		case 2:
8962 			p = "int";
8963 			break;
8964 		default:
8965 			break;
8966 		};
8967 		break;
8968 	/* sigfastblock */
8969 	case 573:
8970 		switch(ndx) {
8971 		case 0:
8972 			p = "int";
8973 			break;
8974 		case 1:
8975 			p = "userland uint32_t *";
8976 			break;
8977 		default:
8978 			break;
8979 		};
8980 		break;
8981 	/* __realpathat */
8982 	case 574:
8983 		switch(ndx) {
8984 		case 0:
8985 			p = "int";
8986 			break;
8987 		case 1:
8988 			p = "userland const char *";
8989 			break;
8990 		case 2:
8991 			p = "userland char *";
8992 			break;
8993 		case 3:
8994 			p = "size_t";
8995 			break;
8996 		case 4:
8997 			p = "int";
8998 			break;
8999 		default:
9000 			break;
9001 		};
9002 		break;
9003 	default:
9004 		break;
9005 	};
9006 	if (p != NULL)
9007 		strlcpy(desc, p, descsz);
9008 }
9009 static void
9010 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9011 {
9012 	const char *p = NULL;
9013 	switch (sysnum) {
9014 	/* nosys */
9015 	case 0:
9016 	/* sys_exit */
9017 	case 1:
9018 		if (ndx == 0 || ndx == 1)
9019 			p = "void";
9020 		break;
9021 	/* fork */
9022 	case 2:
9023 	/* read */
9024 	case 3:
9025 		if (ndx == 0 || ndx == 1)
9026 			p = "ssize_t";
9027 		break;
9028 	/* write */
9029 	case 4:
9030 		if (ndx == 0 || ndx == 1)
9031 			p = "ssize_t";
9032 		break;
9033 	/* open */
9034 	case 5:
9035 		if (ndx == 0 || ndx == 1)
9036 			p = "int";
9037 		break;
9038 	/* close */
9039 	case 6:
9040 		if (ndx == 0 || ndx == 1)
9041 			p = "int";
9042 		break;
9043 	/* wait4 */
9044 	case 7:
9045 		if (ndx == 0 || ndx == 1)
9046 			p = "int";
9047 		break;
9048 	/* link */
9049 	case 9:
9050 		if (ndx == 0 || ndx == 1)
9051 			p = "int";
9052 		break;
9053 	/* unlink */
9054 	case 10:
9055 		if (ndx == 0 || ndx == 1)
9056 			p = "int";
9057 		break;
9058 	/* chdir */
9059 	case 12:
9060 		if (ndx == 0 || ndx == 1)
9061 			p = "int";
9062 		break;
9063 	/* fchdir */
9064 	case 13:
9065 		if (ndx == 0 || ndx == 1)
9066 			p = "int";
9067 		break;
9068 	/* chmod */
9069 	case 15:
9070 		if (ndx == 0 || ndx == 1)
9071 			p = "int";
9072 		break;
9073 	/* chown */
9074 	case 16:
9075 		if (ndx == 0 || ndx == 1)
9076 			p = "int";
9077 		break;
9078 	/* break */
9079 	case 17:
9080 		if (ndx == 0 || ndx == 1)
9081 			p = "void *";
9082 		break;
9083 	/* getpid */
9084 	case 20:
9085 	/* mount */
9086 	case 21:
9087 		if (ndx == 0 || ndx == 1)
9088 			p = "int";
9089 		break;
9090 	/* unmount */
9091 	case 22:
9092 		if (ndx == 0 || ndx == 1)
9093 			p = "int";
9094 		break;
9095 	/* setuid */
9096 	case 23:
9097 		if (ndx == 0 || ndx == 1)
9098 			p = "int";
9099 		break;
9100 	/* getuid */
9101 	case 24:
9102 	/* geteuid */
9103 	case 25:
9104 	/* ptrace */
9105 	case 26:
9106 		if (ndx == 0 || ndx == 1)
9107 			p = "int";
9108 		break;
9109 	/* recvmsg */
9110 	case 27:
9111 		if (ndx == 0 || ndx == 1)
9112 			p = "int";
9113 		break;
9114 	/* sendmsg */
9115 	case 28:
9116 		if (ndx == 0 || ndx == 1)
9117 			p = "int";
9118 		break;
9119 	/* recvfrom */
9120 	case 29:
9121 		if (ndx == 0 || ndx == 1)
9122 			p = "int";
9123 		break;
9124 	/* accept */
9125 	case 30:
9126 		if (ndx == 0 || ndx == 1)
9127 			p = "int";
9128 		break;
9129 	/* getpeername */
9130 	case 31:
9131 		if (ndx == 0 || ndx == 1)
9132 			p = "int";
9133 		break;
9134 	/* getsockname */
9135 	case 32:
9136 		if (ndx == 0 || ndx == 1)
9137 			p = "int";
9138 		break;
9139 	/* access */
9140 	case 33:
9141 		if (ndx == 0 || ndx == 1)
9142 			p = "int";
9143 		break;
9144 	/* chflags */
9145 	case 34:
9146 		if (ndx == 0 || ndx == 1)
9147 			p = "int";
9148 		break;
9149 	/* fchflags */
9150 	case 35:
9151 		if (ndx == 0 || ndx == 1)
9152 			p = "int";
9153 		break;
9154 	/* sync */
9155 	case 36:
9156 	/* kill */
9157 	case 37:
9158 		if (ndx == 0 || ndx == 1)
9159 			p = "int";
9160 		break;
9161 	/* getppid */
9162 	case 39:
9163 	/* dup */
9164 	case 41:
9165 		if (ndx == 0 || ndx == 1)
9166 			p = "int";
9167 		break;
9168 	/* getegid */
9169 	case 43:
9170 	/* profil */
9171 	case 44:
9172 		if (ndx == 0 || ndx == 1)
9173 			p = "int";
9174 		break;
9175 	/* ktrace */
9176 	case 45:
9177 		if (ndx == 0 || ndx == 1)
9178 			p = "int";
9179 		break;
9180 	/* getgid */
9181 	case 47:
9182 	/* getlogin */
9183 	case 49:
9184 		if (ndx == 0 || ndx == 1)
9185 			p = "int";
9186 		break;
9187 	/* setlogin */
9188 	case 50:
9189 		if (ndx == 0 || ndx == 1)
9190 			p = "int";
9191 		break;
9192 	/* acct */
9193 	case 51:
9194 		if (ndx == 0 || ndx == 1)
9195 			p = "int";
9196 		break;
9197 	/* sigaltstack */
9198 	case 53:
9199 		if (ndx == 0 || ndx == 1)
9200 			p = "int";
9201 		break;
9202 	/* ioctl */
9203 	case 54:
9204 		if (ndx == 0 || ndx == 1)
9205 			p = "int";
9206 		break;
9207 	/* reboot */
9208 	case 55:
9209 		if (ndx == 0 || ndx == 1)
9210 			p = "int";
9211 		break;
9212 	/* revoke */
9213 	case 56:
9214 		if (ndx == 0 || ndx == 1)
9215 			p = "int";
9216 		break;
9217 	/* symlink */
9218 	case 57:
9219 		if (ndx == 0 || ndx == 1)
9220 			p = "int";
9221 		break;
9222 	/* readlink */
9223 	case 58:
9224 		if (ndx == 0 || ndx == 1)
9225 			p = "ssize_t";
9226 		break;
9227 	/* execve */
9228 	case 59:
9229 		if (ndx == 0 || ndx == 1)
9230 			p = "int";
9231 		break;
9232 	/* umask */
9233 	case 60:
9234 		if (ndx == 0 || ndx == 1)
9235 			p = "int";
9236 		break;
9237 	/* chroot */
9238 	case 61:
9239 		if (ndx == 0 || ndx == 1)
9240 			p = "int";
9241 		break;
9242 	/* msync */
9243 	case 65:
9244 		if (ndx == 0 || ndx == 1)
9245 			p = "int";
9246 		break;
9247 	/* vfork */
9248 	case 66:
9249 	/* sbrk */
9250 	case 69:
9251 		if (ndx == 0 || ndx == 1)
9252 			p = "int";
9253 		break;
9254 	/* sstk */
9255 	case 70:
9256 		if (ndx == 0 || ndx == 1)
9257 			p = "int";
9258 		break;
9259 	/* munmap */
9260 	case 73:
9261 		if (ndx == 0 || ndx == 1)
9262 			p = "int";
9263 		break;
9264 	/* mprotect */
9265 	case 74:
9266 		if (ndx == 0 || ndx == 1)
9267 			p = "int";
9268 		break;
9269 	/* madvise */
9270 	case 75:
9271 		if (ndx == 0 || ndx == 1)
9272 			p = "int";
9273 		break;
9274 	/* mincore */
9275 	case 78:
9276 		if (ndx == 0 || ndx == 1)
9277 			p = "int";
9278 		break;
9279 	/* getgroups */
9280 	case 79:
9281 		if (ndx == 0 || ndx == 1)
9282 			p = "int";
9283 		break;
9284 	/* setgroups */
9285 	case 80:
9286 		if (ndx == 0 || ndx == 1)
9287 			p = "int";
9288 		break;
9289 	/* getpgrp */
9290 	case 81:
9291 	/* setpgid */
9292 	case 82:
9293 		if (ndx == 0 || ndx == 1)
9294 			p = "int";
9295 		break;
9296 	/* setitimer */
9297 	case 83:
9298 		if (ndx == 0 || ndx == 1)
9299 			p = "int";
9300 		break;
9301 	/* swapon */
9302 	case 85:
9303 		if (ndx == 0 || ndx == 1)
9304 			p = "int";
9305 		break;
9306 	/* getitimer */
9307 	case 86:
9308 		if (ndx == 0 || ndx == 1)
9309 			p = "int";
9310 		break;
9311 	/* getdtablesize */
9312 	case 89:
9313 	/* dup2 */
9314 	case 90:
9315 		if (ndx == 0 || ndx == 1)
9316 			p = "int";
9317 		break;
9318 	/* fcntl */
9319 	case 92:
9320 		if (ndx == 0 || ndx == 1)
9321 			p = "int";
9322 		break;
9323 	/* select */
9324 	case 93:
9325 		if (ndx == 0 || ndx == 1)
9326 			p = "int";
9327 		break;
9328 	/* fsync */
9329 	case 95:
9330 		if (ndx == 0 || ndx == 1)
9331 			p = "int";
9332 		break;
9333 	/* setpriority */
9334 	case 96:
9335 		if (ndx == 0 || ndx == 1)
9336 			p = "int";
9337 		break;
9338 	/* socket */
9339 	case 97:
9340 		if (ndx == 0 || ndx == 1)
9341 			p = "int";
9342 		break;
9343 	/* connect */
9344 	case 98:
9345 		if (ndx == 0 || ndx == 1)
9346 			p = "int";
9347 		break;
9348 	/* getpriority */
9349 	case 100:
9350 		if (ndx == 0 || ndx == 1)
9351 			p = "int";
9352 		break;
9353 	/* bind */
9354 	case 104:
9355 		if (ndx == 0 || ndx == 1)
9356 			p = "int";
9357 		break;
9358 	/* setsockopt */
9359 	case 105:
9360 		if (ndx == 0 || ndx == 1)
9361 			p = "int";
9362 		break;
9363 	/* listen */
9364 	case 106:
9365 		if (ndx == 0 || ndx == 1)
9366 			p = "int";
9367 		break;
9368 	/* gettimeofday */
9369 	case 116:
9370 		if (ndx == 0 || ndx == 1)
9371 			p = "int";
9372 		break;
9373 	/* getrusage */
9374 	case 117:
9375 		if (ndx == 0 || ndx == 1)
9376 			p = "int";
9377 		break;
9378 	/* getsockopt */
9379 	case 118:
9380 		if (ndx == 0 || ndx == 1)
9381 			p = "int";
9382 		break;
9383 	/* readv */
9384 	case 120:
9385 		if (ndx == 0 || ndx == 1)
9386 			p = "int";
9387 		break;
9388 	/* writev */
9389 	case 121:
9390 		if (ndx == 0 || ndx == 1)
9391 			p = "int";
9392 		break;
9393 	/* settimeofday */
9394 	case 122:
9395 		if (ndx == 0 || ndx == 1)
9396 			p = "int";
9397 		break;
9398 	/* fchown */
9399 	case 123:
9400 		if (ndx == 0 || ndx == 1)
9401 			p = "int";
9402 		break;
9403 	/* fchmod */
9404 	case 124:
9405 		if (ndx == 0 || ndx == 1)
9406 			p = "int";
9407 		break;
9408 	/* setreuid */
9409 	case 126:
9410 		if (ndx == 0 || ndx == 1)
9411 			p = "int";
9412 		break;
9413 	/* setregid */
9414 	case 127:
9415 		if (ndx == 0 || ndx == 1)
9416 			p = "int";
9417 		break;
9418 	/* rename */
9419 	case 128:
9420 		if (ndx == 0 || ndx == 1)
9421 			p = "int";
9422 		break;
9423 	/* flock */
9424 	case 131:
9425 		if (ndx == 0 || ndx == 1)
9426 			p = "int";
9427 		break;
9428 	/* mkfifo */
9429 	case 132:
9430 		if (ndx == 0 || ndx == 1)
9431 			p = "int";
9432 		break;
9433 	/* sendto */
9434 	case 133:
9435 		if (ndx == 0 || ndx == 1)
9436 			p = "int";
9437 		break;
9438 	/* shutdown */
9439 	case 134:
9440 		if (ndx == 0 || ndx == 1)
9441 			p = "int";
9442 		break;
9443 	/* socketpair */
9444 	case 135:
9445 		if (ndx == 0 || ndx == 1)
9446 			p = "int";
9447 		break;
9448 	/* mkdir */
9449 	case 136:
9450 		if (ndx == 0 || ndx == 1)
9451 			p = "int";
9452 		break;
9453 	/* rmdir */
9454 	case 137:
9455 		if (ndx == 0 || ndx == 1)
9456 			p = "int";
9457 		break;
9458 	/* utimes */
9459 	case 138:
9460 		if (ndx == 0 || ndx == 1)
9461 			p = "int";
9462 		break;
9463 	/* adjtime */
9464 	case 140:
9465 		if (ndx == 0 || ndx == 1)
9466 			p = "int";
9467 		break;
9468 	/* setsid */
9469 	case 147:
9470 	/* quotactl */
9471 	case 148:
9472 		if (ndx == 0 || ndx == 1)
9473 			p = "int";
9474 		break;
9475 	/* nlm_syscall */
9476 	case 154:
9477 		if (ndx == 0 || ndx == 1)
9478 			p = "int";
9479 		break;
9480 	/* nfssvc */
9481 	case 155:
9482 		if (ndx == 0 || ndx == 1)
9483 			p = "int";
9484 		break;
9485 	/* lgetfh */
9486 	case 160:
9487 		if (ndx == 0 || ndx == 1)
9488 			p = "int";
9489 		break;
9490 	/* getfh */
9491 	case 161:
9492 		if (ndx == 0 || ndx == 1)
9493 			p = "int";
9494 		break;
9495 	/* sysarch */
9496 	case 165:
9497 		if (ndx == 0 || ndx == 1)
9498 			p = "int";
9499 		break;
9500 	/* rtprio */
9501 	case 166:
9502 		if (ndx == 0 || ndx == 1)
9503 			p = "int";
9504 		break;
9505 	/* semsys */
9506 	case 169:
9507 		if (ndx == 0 || ndx == 1)
9508 			p = "int";
9509 		break;
9510 	/* msgsys */
9511 	case 170:
9512 		if (ndx == 0 || ndx == 1)
9513 			p = "int";
9514 		break;
9515 	/* shmsys */
9516 	case 171:
9517 		if (ndx == 0 || ndx == 1)
9518 			p = "int";
9519 		break;
9520 	/* setfib */
9521 	case 175:
9522 		if (ndx == 0 || ndx == 1)
9523 			p = "int";
9524 		break;
9525 	/* ntp_adjtime */
9526 	case 176:
9527 		if (ndx == 0 || ndx == 1)
9528 			p = "int";
9529 		break;
9530 	/* setgid */
9531 	case 181:
9532 		if (ndx == 0 || ndx == 1)
9533 			p = "int";
9534 		break;
9535 	/* setegid */
9536 	case 182:
9537 		if (ndx == 0 || ndx == 1)
9538 			p = "int";
9539 		break;
9540 	/* seteuid */
9541 	case 183:
9542 		if (ndx == 0 || ndx == 1)
9543 			p = "int";
9544 		break;
9545 	/* pathconf */
9546 	case 191:
9547 		if (ndx == 0 || ndx == 1)
9548 			p = "int";
9549 		break;
9550 	/* fpathconf */
9551 	case 192:
9552 		if (ndx == 0 || ndx == 1)
9553 			p = "int";
9554 		break;
9555 	/* getrlimit */
9556 	case 194:
9557 		if (ndx == 0 || ndx == 1)
9558 			p = "int";
9559 		break;
9560 	/* setrlimit */
9561 	case 195:
9562 		if (ndx == 0 || ndx == 1)
9563 			p = "int";
9564 		break;
9565 	/* nosys */
9566 	case 198:
9567 	/* __sysctl */
9568 	case 202:
9569 		if (ndx == 0 || ndx == 1)
9570 			p = "int";
9571 		break;
9572 	/* mlock */
9573 	case 203:
9574 		if (ndx == 0 || ndx == 1)
9575 			p = "int";
9576 		break;
9577 	/* munlock */
9578 	case 204:
9579 		if (ndx == 0 || ndx == 1)
9580 			p = "int";
9581 		break;
9582 	/* undelete */
9583 	case 205:
9584 		if (ndx == 0 || ndx == 1)
9585 			p = "int";
9586 		break;
9587 	/* futimes */
9588 	case 206:
9589 		if (ndx == 0 || ndx == 1)
9590 			p = "int";
9591 		break;
9592 	/* getpgid */
9593 	case 207:
9594 		if (ndx == 0 || ndx == 1)
9595 			p = "int";
9596 		break;
9597 	/* poll */
9598 	case 209:
9599 		if (ndx == 0 || ndx == 1)
9600 			p = "int";
9601 		break;
9602 	/* lkmnosys */
9603 	case 210:
9604 	/* lkmnosys */
9605 	case 211:
9606 	/* lkmnosys */
9607 	case 212:
9608 	/* lkmnosys */
9609 	case 213:
9610 	/* lkmnosys */
9611 	case 214:
9612 	/* lkmnosys */
9613 	case 215:
9614 	/* lkmnosys */
9615 	case 216:
9616 	/* lkmnosys */
9617 	case 217:
9618 	/* lkmnosys */
9619 	case 218:
9620 	/* lkmnosys */
9621 	case 219:
9622 	/* semget */
9623 	case 221:
9624 		if (ndx == 0 || ndx == 1)
9625 			p = "int";
9626 		break;
9627 	/* semop */
9628 	case 222:
9629 		if (ndx == 0 || ndx == 1)
9630 			p = "int";
9631 		break;
9632 	/* msgget */
9633 	case 225:
9634 		if (ndx == 0 || ndx == 1)
9635 			p = "int";
9636 		break;
9637 	/* msgsnd */
9638 	case 226:
9639 		if (ndx == 0 || ndx == 1)
9640 			p = "int";
9641 		break;
9642 	/* msgrcv */
9643 	case 227:
9644 		if (ndx == 0 || ndx == 1)
9645 			p = "ssize_t";
9646 		break;
9647 	/* shmat */
9648 	case 228:
9649 		if (ndx == 0 || ndx == 1)
9650 			p = "void *";
9651 		break;
9652 	/* shmdt */
9653 	case 230:
9654 		if (ndx == 0 || ndx == 1)
9655 			p = "int";
9656 		break;
9657 	/* shmget */
9658 	case 231:
9659 		if (ndx == 0 || ndx == 1)
9660 			p = "int";
9661 		break;
9662 	/* clock_gettime */
9663 	case 232:
9664 		if (ndx == 0 || ndx == 1)
9665 			p = "int";
9666 		break;
9667 	/* clock_settime */
9668 	case 233:
9669 		if (ndx == 0 || ndx == 1)
9670 			p = "int";
9671 		break;
9672 	/* clock_getres */
9673 	case 234:
9674 		if (ndx == 0 || ndx == 1)
9675 			p = "int";
9676 		break;
9677 	/* ktimer_create */
9678 	case 235:
9679 		if (ndx == 0 || ndx == 1)
9680 			p = "int";
9681 		break;
9682 	/* ktimer_delete */
9683 	case 236:
9684 		if (ndx == 0 || ndx == 1)
9685 			p = "int";
9686 		break;
9687 	/* ktimer_settime */
9688 	case 237:
9689 		if (ndx == 0 || ndx == 1)
9690 			p = "int";
9691 		break;
9692 	/* ktimer_gettime */
9693 	case 238:
9694 		if (ndx == 0 || ndx == 1)
9695 			p = "int";
9696 		break;
9697 	/* ktimer_getoverrun */
9698 	case 239:
9699 		if (ndx == 0 || ndx == 1)
9700 			p = "int";
9701 		break;
9702 	/* nanosleep */
9703 	case 240:
9704 		if (ndx == 0 || ndx == 1)
9705 			p = "int";
9706 		break;
9707 	/* ffclock_getcounter */
9708 	case 241:
9709 		if (ndx == 0 || ndx == 1)
9710 			p = "int";
9711 		break;
9712 	/* ffclock_setestimate */
9713 	case 242:
9714 		if (ndx == 0 || ndx == 1)
9715 			p = "int";
9716 		break;
9717 	/* ffclock_getestimate */
9718 	case 243:
9719 		if (ndx == 0 || ndx == 1)
9720 			p = "int";
9721 		break;
9722 	/* clock_nanosleep */
9723 	case 244:
9724 		if (ndx == 0 || ndx == 1)
9725 			p = "int";
9726 		break;
9727 	/* clock_getcpuclockid2 */
9728 	case 247:
9729 		if (ndx == 0 || ndx == 1)
9730 			p = "int";
9731 		break;
9732 	/* ntp_gettime */
9733 	case 248:
9734 		if (ndx == 0 || ndx == 1)
9735 			p = "int";
9736 		break;
9737 	/* minherit */
9738 	case 250:
9739 		if (ndx == 0 || ndx == 1)
9740 			p = "int";
9741 		break;
9742 	/* rfork */
9743 	case 251:
9744 		if (ndx == 0 || ndx == 1)
9745 			p = "int";
9746 		break;
9747 	/* issetugid */
9748 	case 253:
9749 	/* lchown */
9750 	case 254:
9751 		if (ndx == 0 || ndx == 1)
9752 			p = "int";
9753 		break;
9754 	/* aio_read */
9755 	case 255:
9756 		if (ndx == 0 || ndx == 1)
9757 			p = "int";
9758 		break;
9759 	/* aio_write */
9760 	case 256:
9761 		if (ndx == 0 || ndx == 1)
9762 			p = "int";
9763 		break;
9764 	/* lio_listio */
9765 	case 257:
9766 		if (ndx == 0 || ndx == 1)
9767 			p = "int";
9768 		break;
9769 	/* lchmod */
9770 	case 274:
9771 		if (ndx == 0 || ndx == 1)
9772 			p = "int";
9773 		break;
9774 	/* lutimes */
9775 	case 276:
9776 		if (ndx == 0 || ndx == 1)
9777 			p = "int";
9778 		break;
9779 	/* preadv */
9780 	case 289:
9781 		if (ndx == 0 || ndx == 1)
9782 			p = "ssize_t";
9783 		break;
9784 	/* pwritev */
9785 	case 290:
9786 		if (ndx == 0 || ndx == 1)
9787 			p = "ssize_t";
9788 		break;
9789 	/* fhopen */
9790 	case 298:
9791 		if (ndx == 0 || ndx == 1)
9792 			p = "int";
9793 		break;
9794 	/* modnext */
9795 	case 300:
9796 		if (ndx == 0 || ndx == 1)
9797 			p = "int";
9798 		break;
9799 	/* modstat */
9800 	case 301:
9801 		if (ndx == 0 || ndx == 1)
9802 			p = "int";
9803 		break;
9804 	/* modfnext */
9805 	case 302:
9806 		if (ndx == 0 || ndx == 1)
9807 			p = "int";
9808 		break;
9809 	/* modfind */
9810 	case 303:
9811 		if (ndx == 0 || ndx == 1)
9812 			p = "int";
9813 		break;
9814 	/* kldload */
9815 	case 304:
9816 		if (ndx == 0 || ndx == 1)
9817 			p = "int";
9818 		break;
9819 	/* kldunload */
9820 	case 305:
9821 		if (ndx == 0 || ndx == 1)
9822 			p = "int";
9823 		break;
9824 	/* kldfind */
9825 	case 306:
9826 		if (ndx == 0 || ndx == 1)
9827 			p = "int";
9828 		break;
9829 	/* kldnext */
9830 	case 307:
9831 		if (ndx == 0 || ndx == 1)
9832 			p = "int";
9833 		break;
9834 	/* kldstat */
9835 	case 308:
9836 		if (ndx == 0 || ndx == 1)
9837 			p = "int";
9838 		break;
9839 	/* kldfirstmod */
9840 	case 309:
9841 		if (ndx == 0 || ndx == 1)
9842 			p = "int";
9843 		break;
9844 	/* getsid */
9845 	case 310:
9846 		if (ndx == 0 || ndx == 1)
9847 			p = "int";
9848 		break;
9849 	/* setresuid */
9850 	case 311:
9851 		if (ndx == 0 || ndx == 1)
9852 			p = "int";
9853 		break;
9854 	/* setresgid */
9855 	case 312:
9856 		if (ndx == 0 || ndx == 1)
9857 			p = "int";
9858 		break;
9859 	/* aio_return */
9860 	case 314:
9861 		if (ndx == 0 || ndx == 1)
9862 			p = "ssize_t";
9863 		break;
9864 	/* aio_suspend */
9865 	case 315:
9866 		if (ndx == 0 || ndx == 1)
9867 			p = "int";
9868 		break;
9869 	/* aio_cancel */
9870 	case 316:
9871 		if (ndx == 0 || ndx == 1)
9872 			p = "int";
9873 		break;
9874 	/* aio_error */
9875 	case 317:
9876 		if (ndx == 0 || ndx == 1)
9877 			p = "int";
9878 		break;
9879 	/* yield */
9880 	case 321:
9881 	/* mlockall */
9882 	case 324:
9883 		if (ndx == 0 || ndx == 1)
9884 			p = "int";
9885 		break;
9886 	/* munlockall */
9887 	case 325:
9888 	/* __getcwd */
9889 	case 326:
9890 		if (ndx == 0 || ndx == 1)
9891 			p = "int";
9892 		break;
9893 	/* sched_setparam */
9894 	case 327:
9895 		if (ndx == 0 || ndx == 1)
9896 			p = "int";
9897 		break;
9898 	/* sched_getparam */
9899 	case 328:
9900 		if (ndx == 0 || ndx == 1)
9901 			p = "int";
9902 		break;
9903 	/* sched_setscheduler */
9904 	case 329:
9905 		if (ndx == 0 || ndx == 1)
9906 			p = "int";
9907 		break;
9908 	/* sched_getscheduler */
9909 	case 330:
9910 		if (ndx == 0 || ndx == 1)
9911 			p = "int";
9912 		break;
9913 	/* sched_yield */
9914 	case 331:
9915 	/* sched_get_priority_max */
9916 	case 332:
9917 		if (ndx == 0 || ndx == 1)
9918 			p = "int";
9919 		break;
9920 	/* sched_get_priority_min */
9921 	case 333:
9922 		if (ndx == 0 || ndx == 1)
9923 			p = "int";
9924 		break;
9925 	/* sched_rr_get_interval */
9926 	case 334:
9927 		if (ndx == 0 || ndx == 1)
9928 			p = "int";
9929 		break;
9930 	/* utrace */
9931 	case 335:
9932 		if (ndx == 0 || ndx == 1)
9933 			p = "int";
9934 		break;
9935 	/* kldsym */
9936 	case 337:
9937 		if (ndx == 0 || ndx == 1)
9938 			p = "int";
9939 		break;
9940 	/* jail */
9941 	case 338:
9942 		if (ndx == 0 || ndx == 1)
9943 			p = "int";
9944 		break;
9945 	/* nnpfs_syscall */
9946 	case 339:
9947 		if (ndx == 0 || ndx == 1)
9948 			p = "int";
9949 		break;
9950 	/* sigprocmask */
9951 	case 340:
9952 		if (ndx == 0 || ndx == 1)
9953 			p = "int";
9954 		break;
9955 	/* sigsuspend */
9956 	case 341:
9957 		if (ndx == 0 || ndx == 1)
9958 			p = "int";
9959 		break;
9960 	/* sigpending */
9961 	case 343:
9962 		if (ndx == 0 || ndx == 1)
9963 			p = "int";
9964 		break;
9965 	/* sigtimedwait */
9966 	case 345:
9967 		if (ndx == 0 || ndx == 1)
9968 			p = "int";
9969 		break;
9970 	/* sigwaitinfo */
9971 	case 346:
9972 		if (ndx == 0 || ndx == 1)
9973 			p = "int";
9974 		break;
9975 	/* __acl_get_file */
9976 	case 347:
9977 		if (ndx == 0 || ndx == 1)
9978 			p = "int";
9979 		break;
9980 	/* __acl_set_file */
9981 	case 348:
9982 		if (ndx == 0 || ndx == 1)
9983 			p = "int";
9984 		break;
9985 	/* __acl_get_fd */
9986 	case 349:
9987 		if (ndx == 0 || ndx == 1)
9988 			p = "int";
9989 		break;
9990 	/* __acl_set_fd */
9991 	case 350:
9992 		if (ndx == 0 || ndx == 1)
9993 			p = "int";
9994 		break;
9995 	/* __acl_delete_file */
9996 	case 351:
9997 		if (ndx == 0 || ndx == 1)
9998 			p = "int";
9999 		break;
10000 	/* __acl_delete_fd */
10001 	case 352:
10002 		if (ndx == 0 || ndx == 1)
10003 			p = "int";
10004 		break;
10005 	/* __acl_aclcheck_file */
10006 	case 353:
10007 		if (ndx == 0 || ndx == 1)
10008 			p = "int";
10009 		break;
10010 	/* __acl_aclcheck_fd */
10011 	case 354:
10012 		if (ndx == 0 || ndx == 1)
10013 			p = "int";
10014 		break;
10015 	/* extattrctl */
10016 	case 355:
10017 		if (ndx == 0 || ndx == 1)
10018 			p = "int";
10019 		break;
10020 	/* extattr_set_file */
10021 	case 356:
10022 		if (ndx == 0 || ndx == 1)
10023 			p = "ssize_t";
10024 		break;
10025 	/* extattr_get_file */
10026 	case 357:
10027 		if (ndx == 0 || ndx == 1)
10028 			p = "ssize_t";
10029 		break;
10030 	/* extattr_delete_file */
10031 	case 358:
10032 		if (ndx == 0 || ndx == 1)
10033 			p = "int";
10034 		break;
10035 	/* aio_waitcomplete */
10036 	case 359:
10037 		if (ndx == 0 || ndx == 1)
10038 			p = "ssize_t";
10039 		break;
10040 	/* getresuid */
10041 	case 360:
10042 		if (ndx == 0 || ndx == 1)
10043 			p = "int";
10044 		break;
10045 	/* getresgid */
10046 	case 361:
10047 		if (ndx == 0 || ndx == 1)
10048 			p = "int";
10049 		break;
10050 	/* kqueue */
10051 	case 362:
10052 	/* extattr_set_fd */
10053 	case 371:
10054 		if (ndx == 0 || ndx == 1)
10055 			p = "ssize_t";
10056 		break;
10057 	/* extattr_get_fd */
10058 	case 372:
10059 		if (ndx == 0 || ndx == 1)
10060 			p = "ssize_t";
10061 		break;
10062 	/* extattr_delete_fd */
10063 	case 373:
10064 		if (ndx == 0 || ndx == 1)
10065 			p = "int";
10066 		break;
10067 	/* __setugid */
10068 	case 374:
10069 		if (ndx == 0 || ndx == 1)
10070 			p = "int";
10071 		break;
10072 	/* eaccess */
10073 	case 376:
10074 		if (ndx == 0 || ndx == 1)
10075 			p = "int";
10076 		break;
10077 	/* afs3_syscall */
10078 	case 377:
10079 		if (ndx == 0 || ndx == 1)
10080 			p = "int";
10081 		break;
10082 	/* nmount */
10083 	case 378:
10084 		if (ndx == 0 || ndx == 1)
10085 			p = "int";
10086 		break;
10087 	/* __mac_get_proc */
10088 	case 384:
10089 		if (ndx == 0 || ndx == 1)
10090 			p = "int";
10091 		break;
10092 	/* __mac_set_proc */
10093 	case 385:
10094 		if (ndx == 0 || ndx == 1)
10095 			p = "int";
10096 		break;
10097 	/* __mac_get_fd */
10098 	case 386:
10099 		if (ndx == 0 || ndx == 1)
10100 			p = "int";
10101 		break;
10102 	/* __mac_get_file */
10103 	case 387:
10104 		if (ndx == 0 || ndx == 1)
10105 			p = "int";
10106 		break;
10107 	/* __mac_set_fd */
10108 	case 388:
10109 		if (ndx == 0 || ndx == 1)
10110 			p = "int";
10111 		break;
10112 	/* __mac_set_file */
10113 	case 389:
10114 		if (ndx == 0 || ndx == 1)
10115 			p = "int";
10116 		break;
10117 	/* kenv */
10118 	case 390:
10119 		if (ndx == 0 || ndx == 1)
10120 			p = "int";
10121 		break;
10122 	/* lchflags */
10123 	case 391:
10124 		if (ndx == 0 || ndx == 1)
10125 			p = "int";
10126 		break;
10127 	/* uuidgen */
10128 	case 392:
10129 		if (ndx == 0 || ndx == 1)
10130 			p = "int";
10131 		break;
10132 	/* sendfile */
10133 	case 393:
10134 		if (ndx == 0 || ndx == 1)
10135 			p = "int";
10136 		break;
10137 	/* mac_syscall */
10138 	case 394:
10139 		if (ndx == 0 || ndx == 1)
10140 			p = "int";
10141 		break;
10142 	/* ksem_close */
10143 	case 400:
10144 		if (ndx == 0 || ndx == 1)
10145 			p = "int";
10146 		break;
10147 	/* ksem_post */
10148 	case 401:
10149 		if (ndx == 0 || ndx == 1)
10150 			p = "int";
10151 		break;
10152 	/* ksem_wait */
10153 	case 402:
10154 		if (ndx == 0 || ndx == 1)
10155 			p = "int";
10156 		break;
10157 	/* ksem_trywait */
10158 	case 403:
10159 		if (ndx == 0 || ndx == 1)
10160 			p = "int";
10161 		break;
10162 	/* ksem_init */
10163 	case 404:
10164 		if (ndx == 0 || ndx == 1)
10165 			p = "int";
10166 		break;
10167 	/* ksem_open */
10168 	case 405:
10169 		if (ndx == 0 || ndx == 1)
10170 			p = "int";
10171 		break;
10172 	/* ksem_unlink */
10173 	case 406:
10174 		if (ndx == 0 || ndx == 1)
10175 			p = "int";
10176 		break;
10177 	/* ksem_getvalue */
10178 	case 407:
10179 		if (ndx == 0 || ndx == 1)
10180 			p = "int";
10181 		break;
10182 	/* ksem_destroy */
10183 	case 408:
10184 		if (ndx == 0 || ndx == 1)
10185 			p = "int";
10186 		break;
10187 	/* __mac_get_pid */
10188 	case 409:
10189 		if (ndx == 0 || ndx == 1)
10190 			p = "int";
10191 		break;
10192 	/* __mac_get_link */
10193 	case 410:
10194 		if (ndx == 0 || ndx == 1)
10195 			p = "int";
10196 		break;
10197 	/* __mac_set_link */
10198 	case 411:
10199 		if (ndx == 0 || ndx == 1)
10200 			p = "int";
10201 		break;
10202 	/* extattr_set_link */
10203 	case 412:
10204 		if (ndx == 0 || ndx == 1)
10205 			p = "ssize_t";
10206 		break;
10207 	/* extattr_get_link */
10208 	case 413:
10209 		if (ndx == 0 || ndx == 1)
10210 			p = "ssize_t";
10211 		break;
10212 	/* extattr_delete_link */
10213 	case 414:
10214 		if (ndx == 0 || ndx == 1)
10215 			p = "int";
10216 		break;
10217 	/* __mac_execve */
10218 	case 415:
10219 		if (ndx == 0 || ndx == 1)
10220 			p = "int";
10221 		break;
10222 	/* sigaction */
10223 	case 416:
10224 		if (ndx == 0 || ndx == 1)
10225 			p = "int";
10226 		break;
10227 	/* sigreturn */
10228 	case 417:
10229 		if (ndx == 0 || ndx == 1)
10230 			p = "int";
10231 		break;
10232 	/* getcontext */
10233 	case 421:
10234 		if (ndx == 0 || ndx == 1)
10235 			p = "int";
10236 		break;
10237 	/* setcontext */
10238 	case 422:
10239 		if (ndx == 0 || ndx == 1)
10240 			p = "int";
10241 		break;
10242 	/* swapcontext */
10243 	case 423:
10244 		if (ndx == 0 || ndx == 1)
10245 			p = "int";
10246 		break;
10247 	/* swapoff */
10248 	case 424:
10249 		if (ndx == 0 || ndx == 1)
10250 			p = "int";
10251 		break;
10252 	/* __acl_get_link */
10253 	case 425:
10254 		if (ndx == 0 || ndx == 1)
10255 			p = "int";
10256 		break;
10257 	/* __acl_set_link */
10258 	case 426:
10259 		if (ndx == 0 || ndx == 1)
10260 			p = "int";
10261 		break;
10262 	/* __acl_delete_link */
10263 	case 427:
10264 		if (ndx == 0 || ndx == 1)
10265 			p = "int";
10266 		break;
10267 	/* __acl_aclcheck_link */
10268 	case 428:
10269 		if (ndx == 0 || ndx == 1)
10270 			p = "int";
10271 		break;
10272 	/* sigwait */
10273 	case 429:
10274 		if (ndx == 0 || ndx == 1)
10275 			p = "int";
10276 		break;
10277 	/* thr_create */
10278 	case 430:
10279 		if (ndx == 0 || ndx == 1)
10280 			p = "int";
10281 		break;
10282 	/* thr_exit */
10283 	case 431:
10284 		if (ndx == 0 || ndx == 1)
10285 			p = "void";
10286 		break;
10287 	/* thr_self */
10288 	case 432:
10289 		if (ndx == 0 || ndx == 1)
10290 			p = "int";
10291 		break;
10292 	/* thr_kill */
10293 	case 433:
10294 		if (ndx == 0 || ndx == 1)
10295 			p = "int";
10296 		break;
10297 	/* jail_attach */
10298 	case 436:
10299 		if (ndx == 0 || ndx == 1)
10300 			p = "int";
10301 		break;
10302 	/* extattr_list_fd */
10303 	case 437:
10304 		if (ndx == 0 || ndx == 1)
10305 			p = "ssize_t";
10306 		break;
10307 	/* extattr_list_file */
10308 	case 438:
10309 		if (ndx == 0 || ndx == 1)
10310 			p = "ssize_t";
10311 		break;
10312 	/* extattr_list_link */
10313 	case 439:
10314 		if (ndx == 0 || ndx == 1)
10315 			p = "ssize_t";
10316 		break;
10317 	/* ksem_timedwait */
10318 	case 441:
10319 		if (ndx == 0 || ndx == 1)
10320 			p = "int";
10321 		break;
10322 	/* thr_suspend */
10323 	case 442:
10324 		if (ndx == 0 || ndx == 1)
10325 			p = "int";
10326 		break;
10327 	/* thr_wake */
10328 	case 443:
10329 		if (ndx == 0 || ndx == 1)
10330 			p = "int";
10331 		break;
10332 	/* kldunloadf */
10333 	case 444:
10334 		if (ndx == 0 || ndx == 1)
10335 			p = "int";
10336 		break;
10337 	/* audit */
10338 	case 445:
10339 		if (ndx == 0 || ndx == 1)
10340 			p = "int";
10341 		break;
10342 	/* auditon */
10343 	case 446:
10344 		if (ndx == 0 || ndx == 1)
10345 			p = "int";
10346 		break;
10347 	/* getauid */
10348 	case 447:
10349 		if (ndx == 0 || ndx == 1)
10350 			p = "int";
10351 		break;
10352 	/* setauid */
10353 	case 448:
10354 		if (ndx == 0 || ndx == 1)
10355 			p = "int";
10356 		break;
10357 	/* getaudit */
10358 	case 449:
10359 		if (ndx == 0 || ndx == 1)
10360 			p = "int";
10361 		break;
10362 	/* setaudit */
10363 	case 450:
10364 		if (ndx == 0 || ndx == 1)
10365 			p = "int";
10366 		break;
10367 	/* getaudit_addr */
10368 	case 451:
10369 		if (ndx == 0 || ndx == 1)
10370 			p = "int";
10371 		break;
10372 	/* setaudit_addr */
10373 	case 452:
10374 		if (ndx == 0 || ndx == 1)
10375 			p = "int";
10376 		break;
10377 	/* auditctl */
10378 	case 453:
10379 		if (ndx == 0 || ndx == 1)
10380 			p = "int";
10381 		break;
10382 	/* _umtx_op */
10383 	case 454:
10384 		if (ndx == 0 || ndx == 1)
10385 			p = "int";
10386 		break;
10387 	/* thr_new */
10388 	case 455:
10389 		if (ndx == 0 || ndx == 1)
10390 			p = "int";
10391 		break;
10392 	/* sigqueue */
10393 	case 456:
10394 		if (ndx == 0 || ndx == 1)
10395 			p = "int";
10396 		break;
10397 	/* kmq_open */
10398 	case 457:
10399 		if (ndx == 0 || ndx == 1)
10400 			p = "int";
10401 		break;
10402 	/* kmq_setattr */
10403 	case 458:
10404 		if (ndx == 0 || ndx == 1)
10405 			p = "int";
10406 		break;
10407 	/* kmq_timedreceive */
10408 	case 459:
10409 		if (ndx == 0 || ndx == 1)
10410 			p = "int";
10411 		break;
10412 	/* kmq_timedsend */
10413 	case 460:
10414 		if (ndx == 0 || ndx == 1)
10415 			p = "int";
10416 		break;
10417 	/* kmq_notify */
10418 	case 461:
10419 		if (ndx == 0 || ndx == 1)
10420 			p = "int";
10421 		break;
10422 	/* kmq_unlink */
10423 	case 462:
10424 		if (ndx == 0 || ndx == 1)
10425 			p = "int";
10426 		break;
10427 	/* abort2 */
10428 	case 463:
10429 		if (ndx == 0 || ndx == 1)
10430 			p = "int";
10431 		break;
10432 	/* thr_set_name */
10433 	case 464:
10434 		if (ndx == 0 || ndx == 1)
10435 			p = "int";
10436 		break;
10437 	/* aio_fsync */
10438 	case 465:
10439 		if (ndx == 0 || ndx == 1)
10440 			p = "int";
10441 		break;
10442 	/* rtprio_thread */
10443 	case 466:
10444 		if (ndx == 0 || ndx == 1)
10445 			p = "int";
10446 		break;
10447 	/* sctp_peeloff */
10448 	case 471:
10449 		if (ndx == 0 || ndx == 1)
10450 			p = "int";
10451 		break;
10452 	/* sctp_generic_sendmsg */
10453 	case 472:
10454 		if (ndx == 0 || ndx == 1)
10455 			p = "int";
10456 		break;
10457 	/* sctp_generic_sendmsg_iov */
10458 	case 473:
10459 		if (ndx == 0 || ndx == 1)
10460 			p = "int";
10461 		break;
10462 	/* sctp_generic_recvmsg */
10463 	case 474:
10464 		if (ndx == 0 || ndx == 1)
10465 			p = "int";
10466 		break;
10467 	/* pread */
10468 	case 475:
10469 		if (ndx == 0 || ndx == 1)
10470 			p = "ssize_t";
10471 		break;
10472 	/* pwrite */
10473 	case 476:
10474 		if (ndx == 0 || ndx == 1)
10475 			p = "ssize_t";
10476 		break;
10477 	/* mmap */
10478 	case 477:
10479 		if (ndx == 0 || ndx == 1)
10480 			p = "void *";
10481 		break;
10482 	/* lseek */
10483 	case 478:
10484 		if (ndx == 0 || ndx == 1)
10485 			p = "off_t";
10486 		break;
10487 	/* truncate */
10488 	case 479:
10489 		if (ndx == 0 || ndx == 1)
10490 			p = "int";
10491 		break;
10492 	/* ftruncate */
10493 	case 480:
10494 		if (ndx == 0 || ndx == 1)
10495 			p = "int";
10496 		break;
10497 	/* thr_kill2 */
10498 	case 481:
10499 		if (ndx == 0 || ndx == 1)
10500 			p = "int";
10501 		break;
10502 	/* shm_unlink */
10503 	case 483:
10504 		if (ndx == 0 || ndx == 1)
10505 			p = "int";
10506 		break;
10507 	/* cpuset */
10508 	case 484:
10509 		if (ndx == 0 || ndx == 1)
10510 			p = "int";
10511 		break;
10512 	/* cpuset_setid */
10513 	case 485:
10514 		if (ndx == 0 || ndx == 1)
10515 			p = "int";
10516 		break;
10517 	/* cpuset_getid */
10518 	case 486:
10519 		if (ndx == 0 || ndx == 1)
10520 			p = "int";
10521 		break;
10522 	/* cpuset_getaffinity */
10523 	case 487:
10524 		if (ndx == 0 || ndx == 1)
10525 			p = "int";
10526 		break;
10527 	/* cpuset_setaffinity */
10528 	case 488:
10529 		if (ndx == 0 || ndx == 1)
10530 			p = "int";
10531 		break;
10532 	/* faccessat */
10533 	case 489:
10534 		if (ndx == 0 || ndx == 1)
10535 			p = "int";
10536 		break;
10537 	/* fchmodat */
10538 	case 490:
10539 		if (ndx == 0 || ndx == 1)
10540 			p = "int";
10541 		break;
10542 	/* fchownat */
10543 	case 491:
10544 		if (ndx == 0 || ndx == 1)
10545 			p = "int";
10546 		break;
10547 	/* fexecve */
10548 	case 492:
10549 		if (ndx == 0 || ndx == 1)
10550 			p = "int";
10551 		break;
10552 	/* futimesat */
10553 	case 494:
10554 		if (ndx == 0 || ndx == 1)
10555 			p = "int";
10556 		break;
10557 	/* linkat */
10558 	case 495:
10559 		if (ndx == 0 || ndx == 1)
10560 			p = "int";
10561 		break;
10562 	/* mkdirat */
10563 	case 496:
10564 		if (ndx == 0 || ndx == 1)
10565 			p = "int";
10566 		break;
10567 	/* mkfifoat */
10568 	case 497:
10569 		if (ndx == 0 || ndx == 1)
10570 			p = "int";
10571 		break;
10572 	/* openat */
10573 	case 499:
10574 		if (ndx == 0 || ndx == 1)
10575 			p = "int";
10576 		break;
10577 	/* readlinkat */
10578 	case 500:
10579 		if (ndx == 0 || ndx == 1)
10580 			p = "ssize_t";
10581 		break;
10582 	/* renameat */
10583 	case 501:
10584 		if (ndx == 0 || ndx == 1)
10585 			p = "int";
10586 		break;
10587 	/* symlinkat */
10588 	case 502:
10589 		if (ndx == 0 || ndx == 1)
10590 			p = "int";
10591 		break;
10592 	/* unlinkat */
10593 	case 503:
10594 		if (ndx == 0 || ndx == 1)
10595 			p = "int";
10596 		break;
10597 	/* posix_openpt */
10598 	case 504:
10599 		if (ndx == 0 || ndx == 1)
10600 			p = "int";
10601 		break;
10602 	/* gssd_syscall */
10603 	case 505:
10604 		if (ndx == 0 || ndx == 1)
10605 			p = "int";
10606 		break;
10607 	/* jail_get */
10608 	case 506:
10609 		if (ndx == 0 || ndx == 1)
10610 			p = "int";
10611 		break;
10612 	/* jail_set */
10613 	case 507:
10614 		if (ndx == 0 || ndx == 1)
10615 			p = "int";
10616 		break;
10617 	/* jail_remove */
10618 	case 508:
10619 		if (ndx == 0 || ndx == 1)
10620 			p = "int";
10621 		break;
10622 	/* closefrom */
10623 	case 509:
10624 		if (ndx == 0 || ndx == 1)
10625 			p = "int";
10626 		break;
10627 	/* __semctl */
10628 	case 510:
10629 		if (ndx == 0 || ndx == 1)
10630 			p = "int";
10631 		break;
10632 	/* msgctl */
10633 	case 511:
10634 		if (ndx == 0 || ndx == 1)
10635 			p = "int";
10636 		break;
10637 	/* shmctl */
10638 	case 512:
10639 		if (ndx == 0 || ndx == 1)
10640 			p = "int";
10641 		break;
10642 	/* lpathconf */
10643 	case 513:
10644 		if (ndx == 0 || ndx == 1)
10645 			p = "int";
10646 		break;
10647 	/* __cap_rights_get */
10648 	case 515:
10649 		if (ndx == 0 || ndx == 1)
10650 			p = "int";
10651 		break;
10652 	/* cap_enter */
10653 	case 516:
10654 	/* cap_getmode */
10655 	case 517:
10656 		if (ndx == 0 || ndx == 1)
10657 			p = "int";
10658 		break;
10659 	/* pdfork */
10660 	case 518:
10661 		if (ndx == 0 || ndx == 1)
10662 			p = "int";
10663 		break;
10664 	/* pdkill */
10665 	case 519:
10666 		if (ndx == 0 || ndx == 1)
10667 			p = "int";
10668 		break;
10669 	/* pdgetpid */
10670 	case 520:
10671 		if (ndx == 0 || ndx == 1)
10672 			p = "int";
10673 		break;
10674 	/* pselect */
10675 	case 522:
10676 		if (ndx == 0 || ndx == 1)
10677 			p = "int";
10678 		break;
10679 	/* getloginclass */
10680 	case 523:
10681 		if (ndx == 0 || ndx == 1)
10682 			p = "int";
10683 		break;
10684 	/* setloginclass */
10685 	case 524:
10686 		if (ndx == 0 || ndx == 1)
10687 			p = "int";
10688 		break;
10689 	/* rctl_get_racct */
10690 	case 525:
10691 		if (ndx == 0 || ndx == 1)
10692 			p = "int";
10693 		break;
10694 	/* rctl_get_rules */
10695 	case 526:
10696 		if (ndx == 0 || ndx == 1)
10697 			p = "int";
10698 		break;
10699 	/* rctl_get_limits */
10700 	case 527:
10701 		if (ndx == 0 || ndx == 1)
10702 			p = "int";
10703 		break;
10704 	/* rctl_add_rule */
10705 	case 528:
10706 		if (ndx == 0 || ndx == 1)
10707 			p = "int";
10708 		break;
10709 	/* rctl_remove_rule */
10710 	case 529:
10711 		if (ndx == 0 || ndx == 1)
10712 			p = "int";
10713 		break;
10714 	/* posix_fallocate */
10715 	case 530:
10716 		if (ndx == 0 || ndx == 1)
10717 			p = "int";
10718 		break;
10719 	/* posix_fadvise */
10720 	case 531:
10721 		if (ndx == 0 || ndx == 1)
10722 			p = "int";
10723 		break;
10724 	/* wait6 */
10725 	case 532:
10726 		if (ndx == 0 || ndx == 1)
10727 			p = "int";
10728 		break;
10729 	/* cap_rights_limit */
10730 	case 533:
10731 		if (ndx == 0 || ndx == 1)
10732 			p = "int";
10733 		break;
10734 	/* cap_ioctls_limit */
10735 	case 534:
10736 		if (ndx == 0 || ndx == 1)
10737 			p = "int";
10738 		break;
10739 	/* cap_ioctls_get */
10740 	case 535:
10741 		if (ndx == 0 || ndx == 1)
10742 			p = "ssize_t";
10743 		break;
10744 	/* cap_fcntls_limit */
10745 	case 536:
10746 		if (ndx == 0 || ndx == 1)
10747 			p = "int";
10748 		break;
10749 	/* cap_fcntls_get */
10750 	case 537:
10751 		if (ndx == 0 || ndx == 1)
10752 			p = "int";
10753 		break;
10754 	/* bindat */
10755 	case 538:
10756 		if (ndx == 0 || ndx == 1)
10757 			p = "int";
10758 		break;
10759 	/* connectat */
10760 	case 539:
10761 		if (ndx == 0 || ndx == 1)
10762 			p = "int";
10763 		break;
10764 	/* chflagsat */
10765 	case 540:
10766 		if (ndx == 0 || ndx == 1)
10767 			p = "int";
10768 		break;
10769 	/* accept4 */
10770 	case 541:
10771 		if (ndx == 0 || ndx == 1)
10772 			p = "int";
10773 		break;
10774 	/* pipe2 */
10775 	case 542:
10776 		if (ndx == 0 || ndx == 1)
10777 			p = "int";
10778 		break;
10779 	/* aio_mlock */
10780 	case 543:
10781 		if (ndx == 0 || ndx == 1)
10782 			p = "int";
10783 		break;
10784 	/* procctl */
10785 	case 544:
10786 		if (ndx == 0 || ndx == 1)
10787 			p = "int";
10788 		break;
10789 	/* ppoll */
10790 	case 545:
10791 		if (ndx == 0 || ndx == 1)
10792 			p = "int";
10793 		break;
10794 	/* futimens */
10795 	case 546:
10796 		if (ndx == 0 || ndx == 1)
10797 			p = "int";
10798 		break;
10799 	/* utimensat */
10800 	case 547:
10801 		if (ndx == 0 || ndx == 1)
10802 			p = "int";
10803 		break;
10804 	/* fdatasync */
10805 	case 550:
10806 		if (ndx == 0 || ndx == 1)
10807 			p = "int";
10808 		break;
10809 	/* fstat */
10810 	case 551:
10811 		if (ndx == 0 || ndx == 1)
10812 			p = "int";
10813 		break;
10814 	/* fstatat */
10815 	case 552:
10816 		if (ndx == 0 || ndx == 1)
10817 			p = "int";
10818 		break;
10819 	/* fhstat */
10820 	case 553:
10821 		if (ndx == 0 || ndx == 1)
10822 			p = "int";
10823 		break;
10824 	/* getdirentries */
10825 	case 554:
10826 		if (ndx == 0 || ndx == 1)
10827 			p = "ssize_t";
10828 		break;
10829 	/* statfs */
10830 	case 555:
10831 		if (ndx == 0 || ndx == 1)
10832 			p = "int";
10833 		break;
10834 	/* fstatfs */
10835 	case 556:
10836 		if (ndx == 0 || ndx == 1)
10837 			p = "int";
10838 		break;
10839 	/* getfsstat */
10840 	case 557:
10841 		if (ndx == 0 || ndx == 1)
10842 			p = "int";
10843 		break;
10844 	/* fhstatfs */
10845 	case 558:
10846 		if (ndx == 0 || ndx == 1)
10847 			p = "int";
10848 		break;
10849 	/* mknodat */
10850 	case 559:
10851 		if (ndx == 0 || ndx == 1)
10852 			p = "int";
10853 		break;
10854 	/* kevent */
10855 	case 560:
10856 		if (ndx == 0 || ndx == 1)
10857 			p = "int";
10858 		break;
10859 	/* cpuset_getdomain */
10860 	case 561:
10861 		if (ndx == 0 || ndx == 1)
10862 			p = "int";
10863 		break;
10864 	/* cpuset_setdomain */
10865 	case 562:
10866 		if (ndx == 0 || ndx == 1)
10867 			p = "int";
10868 		break;
10869 	/* getrandom */
10870 	case 563:
10871 		if (ndx == 0 || ndx == 1)
10872 			p = "int";
10873 		break;
10874 	/* getfhat */
10875 	case 564:
10876 		if (ndx == 0 || ndx == 1)
10877 			p = "int";
10878 		break;
10879 	/* fhlink */
10880 	case 565:
10881 		if (ndx == 0 || ndx == 1)
10882 			p = "int";
10883 		break;
10884 	/* fhlinkat */
10885 	case 566:
10886 		if (ndx == 0 || ndx == 1)
10887 			p = "int";
10888 		break;
10889 	/* fhreadlink */
10890 	case 567:
10891 		if (ndx == 0 || ndx == 1)
10892 			p = "int";
10893 		break;
10894 	/* funlinkat */
10895 	case 568:
10896 		if (ndx == 0 || ndx == 1)
10897 			p = "int";
10898 		break;
10899 	/* copy_file_range */
10900 	case 569:
10901 		if (ndx == 0 || ndx == 1)
10902 			p = "ssize_t";
10903 		break;
10904 	/* __sysctlbyname */
10905 	case 570:
10906 		if (ndx == 0 || ndx == 1)
10907 			p = "int";
10908 		break;
10909 	/* shm_open2 */
10910 	case 571:
10911 		if (ndx == 0 || ndx == 1)
10912 			p = "int";
10913 		break;
10914 	/* shm_rename */
10915 	case 572:
10916 		if (ndx == 0 || ndx == 1)
10917 			p = "int";
10918 		break;
10919 	/* sigfastblock */
10920 	case 573:
10921 		if (ndx == 0 || ndx == 1)
10922 			p = "int";
10923 		break;
10924 	/* __realpathat */
10925 	case 574:
10926 		if (ndx == 0 || ndx == 1)
10927 			p = "int";
10928 		break;
10929 	default:
10930 		break;
10931 	};
10932 	if (p != NULL)
10933 		strlcpy(desc, p, descsz);
10934 }
10935