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