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