xref: /freebsd/sys/kern/systrace_args.c (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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 	/* aio_writev */
3389 	case 578: {
3390 		struct aio_writev_args *p = params;
3391 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3392 		*n_args = 1;
3393 		break;
3394 	}
3395 	/* aio_readv */
3396 	case 579: {
3397 		struct aio_readv_args *p = params;
3398 		uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3399 		*n_args = 1;
3400 		break;
3401 	}
3402 	default:
3403 		*n_args = 0;
3404 		break;
3405 	};
3406 }
3407 static void
3408 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3409 {
3410 	const char *p = NULL;
3411 	switch (sysnum) {
3412 	/* nosys */
3413 	case 0:
3414 		break;
3415 	/* sys_exit */
3416 	case 1:
3417 		switch(ndx) {
3418 		case 0:
3419 			p = "int";
3420 			break;
3421 		default:
3422 			break;
3423 		};
3424 		break;
3425 	/* fork */
3426 	case 2:
3427 		break;
3428 	/* read */
3429 	case 3:
3430 		switch(ndx) {
3431 		case 0:
3432 			p = "int";
3433 			break;
3434 		case 1:
3435 			p = "userland void *";
3436 			break;
3437 		case 2:
3438 			p = "size_t";
3439 			break;
3440 		default:
3441 			break;
3442 		};
3443 		break;
3444 	/* write */
3445 	case 4:
3446 		switch(ndx) {
3447 		case 0:
3448 			p = "int";
3449 			break;
3450 		case 1:
3451 			p = "userland const void *";
3452 			break;
3453 		case 2:
3454 			p = "size_t";
3455 			break;
3456 		default:
3457 			break;
3458 		};
3459 		break;
3460 	/* open */
3461 	case 5:
3462 		switch(ndx) {
3463 		case 0:
3464 			p = "userland const char *";
3465 			break;
3466 		case 1:
3467 			p = "int";
3468 			break;
3469 		case 2:
3470 			p = "mode_t";
3471 			break;
3472 		default:
3473 			break;
3474 		};
3475 		break;
3476 	/* close */
3477 	case 6:
3478 		switch(ndx) {
3479 		case 0:
3480 			p = "int";
3481 			break;
3482 		default:
3483 			break;
3484 		};
3485 		break;
3486 	/* wait4 */
3487 	case 7:
3488 		switch(ndx) {
3489 		case 0:
3490 			p = "int";
3491 			break;
3492 		case 1:
3493 			p = "userland int *";
3494 			break;
3495 		case 2:
3496 			p = "int";
3497 			break;
3498 		case 3:
3499 			p = "userland struct rusage *";
3500 			break;
3501 		default:
3502 			break;
3503 		};
3504 		break;
3505 	/* link */
3506 	case 9:
3507 		switch(ndx) {
3508 		case 0:
3509 			p = "userland const char *";
3510 			break;
3511 		case 1:
3512 			p = "userland const char *";
3513 			break;
3514 		default:
3515 			break;
3516 		};
3517 		break;
3518 	/* unlink */
3519 	case 10:
3520 		switch(ndx) {
3521 		case 0:
3522 			p = "userland const char *";
3523 			break;
3524 		default:
3525 			break;
3526 		};
3527 		break;
3528 	/* chdir */
3529 	case 12:
3530 		switch(ndx) {
3531 		case 0:
3532 			p = "userland const char *";
3533 			break;
3534 		default:
3535 			break;
3536 		};
3537 		break;
3538 	/* fchdir */
3539 	case 13:
3540 		switch(ndx) {
3541 		case 0:
3542 			p = "int";
3543 			break;
3544 		default:
3545 			break;
3546 		};
3547 		break;
3548 	/* chmod */
3549 	case 15:
3550 		switch(ndx) {
3551 		case 0:
3552 			p = "userland const char *";
3553 			break;
3554 		case 1:
3555 			p = "mode_t";
3556 			break;
3557 		default:
3558 			break;
3559 		};
3560 		break;
3561 	/* chown */
3562 	case 16:
3563 		switch(ndx) {
3564 		case 0:
3565 			p = "userland const char *";
3566 			break;
3567 		case 1:
3568 			p = "int";
3569 			break;
3570 		case 2:
3571 			p = "int";
3572 			break;
3573 		default:
3574 			break;
3575 		};
3576 		break;
3577 	/* break */
3578 	case 17:
3579 		switch(ndx) {
3580 		case 0:
3581 			p = "userland char *";
3582 			break;
3583 		default:
3584 			break;
3585 		};
3586 		break;
3587 	/* getpid */
3588 	case 20:
3589 		break;
3590 	/* mount */
3591 	case 21:
3592 		switch(ndx) {
3593 		case 0:
3594 			p = "userland const char *";
3595 			break;
3596 		case 1:
3597 			p = "userland const char *";
3598 			break;
3599 		case 2:
3600 			p = "int";
3601 			break;
3602 		case 3:
3603 			p = "userland void *";
3604 			break;
3605 		default:
3606 			break;
3607 		};
3608 		break;
3609 	/* unmount */
3610 	case 22:
3611 		switch(ndx) {
3612 		case 0:
3613 			p = "userland const char *";
3614 			break;
3615 		case 1:
3616 			p = "int";
3617 			break;
3618 		default:
3619 			break;
3620 		};
3621 		break;
3622 	/* setuid */
3623 	case 23:
3624 		switch(ndx) {
3625 		case 0:
3626 			p = "uid_t";
3627 			break;
3628 		default:
3629 			break;
3630 		};
3631 		break;
3632 	/* getuid */
3633 	case 24:
3634 		break;
3635 	/* geteuid */
3636 	case 25:
3637 		break;
3638 	/* ptrace */
3639 	case 26:
3640 		switch(ndx) {
3641 		case 0:
3642 			p = "int";
3643 			break;
3644 		case 1:
3645 			p = "pid_t";
3646 			break;
3647 		case 2:
3648 			p = "caddr_t";
3649 			break;
3650 		case 3:
3651 			p = "int";
3652 			break;
3653 		default:
3654 			break;
3655 		};
3656 		break;
3657 	/* recvmsg */
3658 	case 27:
3659 		switch(ndx) {
3660 		case 0:
3661 			p = "int";
3662 			break;
3663 		case 1:
3664 			p = "userland struct msghdr *";
3665 			break;
3666 		case 2:
3667 			p = "int";
3668 			break;
3669 		default:
3670 			break;
3671 		};
3672 		break;
3673 	/* sendmsg */
3674 	case 28:
3675 		switch(ndx) {
3676 		case 0:
3677 			p = "int";
3678 			break;
3679 		case 1:
3680 			p = "userland struct msghdr *";
3681 			break;
3682 		case 2:
3683 			p = "int";
3684 			break;
3685 		default:
3686 			break;
3687 		};
3688 		break;
3689 	/* recvfrom */
3690 	case 29:
3691 		switch(ndx) {
3692 		case 0:
3693 			p = "int";
3694 			break;
3695 		case 1:
3696 			p = "userland void *";
3697 			break;
3698 		case 2:
3699 			p = "size_t";
3700 			break;
3701 		case 3:
3702 			p = "int";
3703 			break;
3704 		case 4:
3705 			p = "userland struct sockaddr *";
3706 			break;
3707 		case 5:
3708 			p = "userland __socklen_t *";
3709 			break;
3710 		default:
3711 			break;
3712 		};
3713 		break;
3714 	/* accept */
3715 	case 30:
3716 		switch(ndx) {
3717 		case 0:
3718 			p = "int";
3719 			break;
3720 		case 1:
3721 			p = "userland struct sockaddr *";
3722 			break;
3723 		case 2:
3724 			p = "userland __socklen_t *";
3725 			break;
3726 		default:
3727 			break;
3728 		};
3729 		break;
3730 	/* getpeername */
3731 	case 31:
3732 		switch(ndx) {
3733 		case 0:
3734 			p = "int";
3735 			break;
3736 		case 1:
3737 			p = "userland struct sockaddr *";
3738 			break;
3739 		case 2:
3740 			p = "userland __socklen_t *";
3741 			break;
3742 		default:
3743 			break;
3744 		};
3745 		break;
3746 	/* getsockname */
3747 	case 32:
3748 		switch(ndx) {
3749 		case 0:
3750 			p = "int";
3751 			break;
3752 		case 1:
3753 			p = "userland struct sockaddr *";
3754 			break;
3755 		case 2:
3756 			p = "userland __socklen_t *";
3757 			break;
3758 		default:
3759 			break;
3760 		};
3761 		break;
3762 	/* access */
3763 	case 33:
3764 		switch(ndx) {
3765 		case 0:
3766 			p = "userland const char *";
3767 			break;
3768 		case 1:
3769 			p = "int";
3770 			break;
3771 		default:
3772 			break;
3773 		};
3774 		break;
3775 	/* chflags */
3776 	case 34:
3777 		switch(ndx) {
3778 		case 0:
3779 			p = "userland const char *";
3780 			break;
3781 		case 1:
3782 			p = "u_long";
3783 			break;
3784 		default:
3785 			break;
3786 		};
3787 		break;
3788 	/* fchflags */
3789 	case 35:
3790 		switch(ndx) {
3791 		case 0:
3792 			p = "int";
3793 			break;
3794 		case 1:
3795 			p = "u_long";
3796 			break;
3797 		default:
3798 			break;
3799 		};
3800 		break;
3801 	/* sync */
3802 	case 36:
3803 		break;
3804 	/* kill */
3805 	case 37:
3806 		switch(ndx) {
3807 		case 0:
3808 			p = "int";
3809 			break;
3810 		case 1:
3811 			p = "int";
3812 			break;
3813 		default:
3814 			break;
3815 		};
3816 		break;
3817 	/* getppid */
3818 	case 39:
3819 		break;
3820 	/* dup */
3821 	case 41:
3822 		switch(ndx) {
3823 		case 0:
3824 			p = "u_int";
3825 			break;
3826 		default:
3827 			break;
3828 		};
3829 		break;
3830 	/* getegid */
3831 	case 43:
3832 		break;
3833 	/* profil */
3834 	case 44:
3835 		switch(ndx) {
3836 		case 0:
3837 			p = "userland char *";
3838 			break;
3839 		case 1:
3840 			p = "size_t";
3841 			break;
3842 		case 2:
3843 			p = "size_t";
3844 			break;
3845 		case 3:
3846 			p = "u_int";
3847 			break;
3848 		default:
3849 			break;
3850 		};
3851 		break;
3852 	/* ktrace */
3853 	case 45:
3854 		switch(ndx) {
3855 		case 0:
3856 			p = "userland const char *";
3857 			break;
3858 		case 1:
3859 			p = "int";
3860 			break;
3861 		case 2:
3862 			p = "int";
3863 			break;
3864 		case 3:
3865 			p = "int";
3866 			break;
3867 		default:
3868 			break;
3869 		};
3870 		break;
3871 	/* getgid */
3872 	case 47:
3873 		break;
3874 	/* getlogin */
3875 	case 49:
3876 		switch(ndx) {
3877 		case 0:
3878 			p = "userland char *";
3879 			break;
3880 		case 1:
3881 			p = "u_int";
3882 			break;
3883 		default:
3884 			break;
3885 		};
3886 		break;
3887 	/* setlogin */
3888 	case 50:
3889 		switch(ndx) {
3890 		case 0:
3891 			p = "userland const char *";
3892 			break;
3893 		default:
3894 			break;
3895 		};
3896 		break;
3897 	/* acct */
3898 	case 51:
3899 		switch(ndx) {
3900 		case 0:
3901 			p = "userland const char *";
3902 			break;
3903 		default:
3904 			break;
3905 		};
3906 		break;
3907 	/* sigaltstack */
3908 	case 53:
3909 		switch(ndx) {
3910 		case 0:
3911 			p = "userland stack_t *";
3912 			break;
3913 		case 1:
3914 			p = "userland stack_t *";
3915 			break;
3916 		default:
3917 			break;
3918 		};
3919 		break;
3920 	/* ioctl */
3921 	case 54:
3922 		switch(ndx) {
3923 		case 0:
3924 			p = "int";
3925 			break;
3926 		case 1:
3927 			p = "u_long";
3928 			break;
3929 		case 2:
3930 			p = "userland char *";
3931 			break;
3932 		default:
3933 			break;
3934 		};
3935 		break;
3936 	/* reboot */
3937 	case 55:
3938 		switch(ndx) {
3939 		case 0:
3940 			p = "int";
3941 			break;
3942 		default:
3943 			break;
3944 		};
3945 		break;
3946 	/* revoke */
3947 	case 56:
3948 		switch(ndx) {
3949 		case 0:
3950 			p = "userland const char *";
3951 			break;
3952 		default:
3953 			break;
3954 		};
3955 		break;
3956 	/* symlink */
3957 	case 57:
3958 		switch(ndx) {
3959 		case 0:
3960 			p = "userland const char *";
3961 			break;
3962 		case 1:
3963 			p = "userland const char *";
3964 			break;
3965 		default:
3966 			break;
3967 		};
3968 		break;
3969 	/* readlink */
3970 	case 58:
3971 		switch(ndx) {
3972 		case 0:
3973 			p = "userland const char *";
3974 			break;
3975 		case 1:
3976 			p = "userland char *";
3977 			break;
3978 		case 2:
3979 			p = "size_t";
3980 			break;
3981 		default:
3982 			break;
3983 		};
3984 		break;
3985 	/* execve */
3986 	case 59:
3987 		switch(ndx) {
3988 		case 0:
3989 			p = "userland const char *";
3990 			break;
3991 		case 1:
3992 			p = "userland char **";
3993 			break;
3994 		case 2:
3995 			p = "userland char **";
3996 			break;
3997 		default:
3998 			break;
3999 		};
4000 		break;
4001 	/* umask */
4002 	case 60:
4003 		switch(ndx) {
4004 		case 0:
4005 			p = "mode_t";
4006 			break;
4007 		default:
4008 			break;
4009 		};
4010 		break;
4011 	/* chroot */
4012 	case 61:
4013 		switch(ndx) {
4014 		case 0:
4015 			p = "userland const char *";
4016 			break;
4017 		default:
4018 			break;
4019 		};
4020 		break;
4021 	/* msync */
4022 	case 65:
4023 		switch(ndx) {
4024 		case 0:
4025 			p = "userland void *";
4026 			break;
4027 		case 1:
4028 			p = "size_t";
4029 			break;
4030 		case 2:
4031 			p = "int";
4032 			break;
4033 		default:
4034 			break;
4035 		};
4036 		break;
4037 	/* vfork */
4038 	case 66:
4039 		break;
4040 	/* sbrk */
4041 	case 69:
4042 		switch(ndx) {
4043 		case 0:
4044 			p = "int";
4045 			break;
4046 		default:
4047 			break;
4048 		};
4049 		break;
4050 	/* sstk */
4051 	case 70:
4052 		switch(ndx) {
4053 		case 0:
4054 			p = "int";
4055 			break;
4056 		default:
4057 			break;
4058 		};
4059 		break;
4060 	/* munmap */
4061 	case 73:
4062 		switch(ndx) {
4063 		case 0:
4064 			p = "userland void *";
4065 			break;
4066 		case 1:
4067 			p = "size_t";
4068 			break;
4069 		default:
4070 			break;
4071 		};
4072 		break;
4073 	/* mprotect */
4074 	case 74:
4075 		switch(ndx) {
4076 		case 0:
4077 			p = "userland void *";
4078 			break;
4079 		case 1:
4080 			p = "size_t";
4081 			break;
4082 		case 2:
4083 			p = "int";
4084 			break;
4085 		default:
4086 			break;
4087 		};
4088 		break;
4089 	/* madvise */
4090 	case 75:
4091 		switch(ndx) {
4092 		case 0:
4093 			p = "userland void *";
4094 			break;
4095 		case 1:
4096 			p = "size_t";
4097 			break;
4098 		case 2:
4099 			p = "int";
4100 			break;
4101 		default:
4102 			break;
4103 		};
4104 		break;
4105 	/* mincore */
4106 	case 78:
4107 		switch(ndx) {
4108 		case 0:
4109 			p = "userland const void *";
4110 			break;
4111 		case 1:
4112 			p = "size_t";
4113 			break;
4114 		case 2:
4115 			p = "userland char *";
4116 			break;
4117 		default:
4118 			break;
4119 		};
4120 		break;
4121 	/* getgroups */
4122 	case 79:
4123 		switch(ndx) {
4124 		case 0:
4125 			p = "u_int";
4126 			break;
4127 		case 1:
4128 			p = "userland gid_t *";
4129 			break;
4130 		default:
4131 			break;
4132 		};
4133 		break;
4134 	/* setgroups */
4135 	case 80:
4136 		switch(ndx) {
4137 		case 0:
4138 			p = "u_int";
4139 			break;
4140 		case 1:
4141 			p = "userland gid_t *";
4142 			break;
4143 		default:
4144 			break;
4145 		};
4146 		break;
4147 	/* getpgrp */
4148 	case 81:
4149 		break;
4150 	/* setpgid */
4151 	case 82:
4152 		switch(ndx) {
4153 		case 0:
4154 			p = "int";
4155 			break;
4156 		case 1:
4157 			p = "int";
4158 			break;
4159 		default:
4160 			break;
4161 		};
4162 		break;
4163 	/* setitimer */
4164 	case 83:
4165 		switch(ndx) {
4166 		case 0:
4167 			p = "u_int";
4168 			break;
4169 		case 1:
4170 			p = "userland struct itimerval *";
4171 			break;
4172 		case 2:
4173 			p = "userland struct itimerval *";
4174 			break;
4175 		default:
4176 			break;
4177 		};
4178 		break;
4179 	/* swapon */
4180 	case 85:
4181 		switch(ndx) {
4182 		case 0:
4183 			p = "userland const char *";
4184 			break;
4185 		default:
4186 			break;
4187 		};
4188 		break;
4189 	/* getitimer */
4190 	case 86:
4191 		switch(ndx) {
4192 		case 0:
4193 			p = "u_int";
4194 			break;
4195 		case 1:
4196 			p = "userland struct itimerval *";
4197 			break;
4198 		default:
4199 			break;
4200 		};
4201 		break;
4202 	/* getdtablesize */
4203 	case 89:
4204 		break;
4205 	/* dup2 */
4206 	case 90:
4207 		switch(ndx) {
4208 		case 0:
4209 			p = "u_int";
4210 			break;
4211 		case 1:
4212 			p = "u_int";
4213 			break;
4214 		default:
4215 			break;
4216 		};
4217 		break;
4218 	/* fcntl */
4219 	case 92:
4220 		switch(ndx) {
4221 		case 0:
4222 			p = "int";
4223 			break;
4224 		case 1:
4225 			p = "int";
4226 			break;
4227 		case 2:
4228 			p = "long";
4229 			break;
4230 		default:
4231 			break;
4232 		};
4233 		break;
4234 	/* select */
4235 	case 93:
4236 		switch(ndx) {
4237 		case 0:
4238 			p = "int";
4239 			break;
4240 		case 1:
4241 			p = "userland fd_set *";
4242 			break;
4243 		case 2:
4244 			p = "userland fd_set *";
4245 			break;
4246 		case 3:
4247 			p = "userland fd_set *";
4248 			break;
4249 		case 4:
4250 			p = "userland struct timeval *";
4251 			break;
4252 		default:
4253 			break;
4254 		};
4255 		break;
4256 	/* fsync */
4257 	case 95:
4258 		switch(ndx) {
4259 		case 0:
4260 			p = "int";
4261 			break;
4262 		default:
4263 			break;
4264 		};
4265 		break;
4266 	/* setpriority */
4267 	case 96:
4268 		switch(ndx) {
4269 		case 0:
4270 			p = "int";
4271 			break;
4272 		case 1:
4273 			p = "int";
4274 			break;
4275 		case 2:
4276 			p = "int";
4277 			break;
4278 		default:
4279 			break;
4280 		};
4281 		break;
4282 	/* socket */
4283 	case 97:
4284 		switch(ndx) {
4285 		case 0:
4286 			p = "int";
4287 			break;
4288 		case 1:
4289 			p = "int";
4290 			break;
4291 		case 2:
4292 			p = "int";
4293 			break;
4294 		default:
4295 			break;
4296 		};
4297 		break;
4298 	/* connect */
4299 	case 98:
4300 		switch(ndx) {
4301 		case 0:
4302 			p = "int";
4303 			break;
4304 		case 1:
4305 			p = "userland const struct sockaddr *";
4306 			break;
4307 		case 2:
4308 			p = "int";
4309 			break;
4310 		default:
4311 			break;
4312 		};
4313 		break;
4314 	/* getpriority */
4315 	case 100:
4316 		switch(ndx) {
4317 		case 0:
4318 			p = "int";
4319 			break;
4320 		case 1:
4321 			p = "int";
4322 			break;
4323 		default:
4324 			break;
4325 		};
4326 		break;
4327 	/* bind */
4328 	case 104:
4329 		switch(ndx) {
4330 		case 0:
4331 			p = "int";
4332 			break;
4333 		case 1:
4334 			p = "userland const struct sockaddr *";
4335 			break;
4336 		case 2:
4337 			p = "int";
4338 			break;
4339 		default:
4340 			break;
4341 		};
4342 		break;
4343 	/* setsockopt */
4344 	case 105:
4345 		switch(ndx) {
4346 		case 0:
4347 			p = "int";
4348 			break;
4349 		case 1:
4350 			p = "int";
4351 			break;
4352 		case 2:
4353 			p = "int";
4354 			break;
4355 		case 3:
4356 			p = "userland const void *";
4357 			break;
4358 		case 4:
4359 			p = "int";
4360 			break;
4361 		default:
4362 			break;
4363 		};
4364 		break;
4365 	/* listen */
4366 	case 106:
4367 		switch(ndx) {
4368 		case 0:
4369 			p = "int";
4370 			break;
4371 		case 1:
4372 			p = "int";
4373 			break;
4374 		default:
4375 			break;
4376 		};
4377 		break;
4378 	/* gettimeofday */
4379 	case 116:
4380 		switch(ndx) {
4381 		case 0:
4382 			p = "userland struct timeval *";
4383 			break;
4384 		case 1:
4385 			p = "userland struct timezone *";
4386 			break;
4387 		default:
4388 			break;
4389 		};
4390 		break;
4391 	/* getrusage */
4392 	case 117:
4393 		switch(ndx) {
4394 		case 0:
4395 			p = "int";
4396 			break;
4397 		case 1:
4398 			p = "userland struct rusage *";
4399 			break;
4400 		default:
4401 			break;
4402 		};
4403 		break;
4404 	/* getsockopt */
4405 	case 118:
4406 		switch(ndx) {
4407 		case 0:
4408 			p = "int";
4409 			break;
4410 		case 1:
4411 			p = "int";
4412 			break;
4413 		case 2:
4414 			p = "int";
4415 			break;
4416 		case 3:
4417 			p = "userland void *";
4418 			break;
4419 		case 4:
4420 			p = "userland int *";
4421 			break;
4422 		default:
4423 			break;
4424 		};
4425 		break;
4426 	/* readv */
4427 	case 120:
4428 		switch(ndx) {
4429 		case 0:
4430 			p = "int";
4431 			break;
4432 		case 1:
4433 			p = "userland struct iovec *";
4434 			break;
4435 		case 2:
4436 			p = "u_int";
4437 			break;
4438 		default:
4439 			break;
4440 		};
4441 		break;
4442 	/* writev */
4443 	case 121:
4444 		switch(ndx) {
4445 		case 0:
4446 			p = "int";
4447 			break;
4448 		case 1:
4449 			p = "userland struct iovec *";
4450 			break;
4451 		case 2:
4452 			p = "u_int";
4453 			break;
4454 		default:
4455 			break;
4456 		};
4457 		break;
4458 	/* settimeofday */
4459 	case 122:
4460 		switch(ndx) {
4461 		case 0:
4462 			p = "userland struct timeval *";
4463 			break;
4464 		case 1:
4465 			p = "userland struct timezone *";
4466 			break;
4467 		default:
4468 			break;
4469 		};
4470 		break;
4471 	/* fchown */
4472 	case 123:
4473 		switch(ndx) {
4474 		case 0:
4475 			p = "int";
4476 			break;
4477 		case 1:
4478 			p = "int";
4479 			break;
4480 		case 2:
4481 			p = "int";
4482 			break;
4483 		default:
4484 			break;
4485 		};
4486 		break;
4487 	/* fchmod */
4488 	case 124:
4489 		switch(ndx) {
4490 		case 0:
4491 			p = "int";
4492 			break;
4493 		case 1:
4494 			p = "mode_t";
4495 			break;
4496 		default:
4497 			break;
4498 		};
4499 		break;
4500 	/* setreuid */
4501 	case 126:
4502 		switch(ndx) {
4503 		case 0:
4504 			p = "int";
4505 			break;
4506 		case 1:
4507 			p = "int";
4508 			break;
4509 		default:
4510 			break;
4511 		};
4512 		break;
4513 	/* setregid */
4514 	case 127:
4515 		switch(ndx) {
4516 		case 0:
4517 			p = "int";
4518 			break;
4519 		case 1:
4520 			p = "int";
4521 			break;
4522 		default:
4523 			break;
4524 		};
4525 		break;
4526 	/* rename */
4527 	case 128:
4528 		switch(ndx) {
4529 		case 0:
4530 			p = "userland const char *";
4531 			break;
4532 		case 1:
4533 			p = "userland const char *";
4534 			break;
4535 		default:
4536 			break;
4537 		};
4538 		break;
4539 	/* flock */
4540 	case 131:
4541 		switch(ndx) {
4542 		case 0:
4543 			p = "int";
4544 			break;
4545 		case 1:
4546 			p = "int";
4547 			break;
4548 		default:
4549 			break;
4550 		};
4551 		break;
4552 	/* mkfifo */
4553 	case 132:
4554 		switch(ndx) {
4555 		case 0:
4556 			p = "userland const char *";
4557 			break;
4558 		case 1:
4559 			p = "mode_t";
4560 			break;
4561 		default:
4562 			break;
4563 		};
4564 		break;
4565 	/* sendto */
4566 	case 133:
4567 		switch(ndx) {
4568 		case 0:
4569 			p = "int";
4570 			break;
4571 		case 1:
4572 			p = "userland const void *";
4573 			break;
4574 		case 2:
4575 			p = "size_t";
4576 			break;
4577 		case 3:
4578 			p = "int";
4579 			break;
4580 		case 4:
4581 			p = "userland const struct sockaddr *";
4582 			break;
4583 		case 5:
4584 			p = "int";
4585 			break;
4586 		default:
4587 			break;
4588 		};
4589 		break;
4590 	/* shutdown */
4591 	case 134:
4592 		switch(ndx) {
4593 		case 0:
4594 			p = "int";
4595 			break;
4596 		case 1:
4597 			p = "int";
4598 			break;
4599 		default:
4600 			break;
4601 		};
4602 		break;
4603 	/* socketpair */
4604 	case 135:
4605 		switch(ndx) {
4606 		case 0:
4607 			p = "int";
4608 			break;
4609 		case 1:
4610 			p = "int";
4611 			break;
4612 		case 2:
4613 			p = "int";
4614 			break;
4615 		case 3:
4616 			p = "userland int *";
4617 			break;
4618 		default:
4619 			break;
4620 		};
4621 		break;
4622 	/* mkdir */
4623 	case 136:
4624 		switch(ndx) {
4625 		case 0:
4626 			p = "userland const char *";
4627 			break;
4628 		case 1:
4629 			p = "mode_t";
4630 			break;
4631 		default:
4632 			break;
4633 		};
4634 		break;
4635 	/* rmdir */
4636 	case 137:
4637 		switch(ndx) {
4638 		case 0:
4639 			p = "userland const char *";
4640 			break;
4641 		default:
4642 			break;
4643 		};
4644 		break;
4645 	/* utimes */
4646 	case 138:
4647 		switch(ndx) {
4648 		case 0:
4649 			p = "userland const char *";
4650 			break;
4651 		case 1:
4652 			p = "userland struct timeval *";
4653 			break;
4654 		default:
4655 			break;
4656 		};
4657 		break;
4658 	/* adjtime */
4659 	case 140:
4660 		switch(ndx) {
4661 		case 0:
4662 			p = "userland struct timeval *";
4663 			break;
4664 		case 1:
4665 			p = "userland struct timeval *";
4666 			break;
4667 		default:
4668 			break;
4669 		};
4670 		break;
4671 	/* setsid */
4672 	case 147:
4673 		break;
4674 	/* quotactl */
4675 	case 148:
4676 		switch(ndx) {
4677 		case 0:
4678 			p = "userland const char *";
4679 			break;
4680 		case 1:
4681 			p = "int";
4682 			break;
4683 		case 2:
4684 			p = "int";
4685 			break;
4686 		case 3:
4687 			p = "userland void *";
4688 			break;
4689 		default:
4690 			break;
4691 		};
4692 		break;
4693 	/* nlm_syscall */
4694 	case 154:
4695 		switch(ndx) {
4696 		case 0:
4697 			p = "int";
4698 			break;
4699 		case 1:
4700 			p = "int";
4701 			break;
4702 		case 2:
4703 			p = "int";
4704 			break;
4705 		case 3:
4706 			p = "userland char **";
4707 			break;
4708 		default:
4709 			break;
4710 		};
4711 		break;
4712 	/* nfssvc */
4713 	case 155:
4714 		switch(ndx) {
4715 		case 0:
4716 			p = "int";
4717 			break;
4718 		case 1:
4719 			p = "userland void *";
4720 			break;
4721 		default:
4722 			break;
4723 		};
4724 		break;
4725 	/* lgetfh */
4726 	case 160:
4727 		switch(ndx) {
4728 		case 0:
4729 			p = "userland const char *";
4730 			break;
4731 		case 1:
4732 			p = "userland struct fhandle *";
4733 			break;
4734 		default:
4735 			break;
4736 		};
4737 		break;
4738 	/* getfh */
4739 	case 161:
4740 		switch(ndx) {
4741 		case 0:
4742 			p = "userland const char *";
4743 			break;
4744 		case 1:
4745 			p = "userland struct fhandle *";
4746 			break;
4747 		default:
4748 			break;
4749 		};
4750 		break;
4751 	/* sysarch */
4752 	case 165:
4753 		switch(ndx) {
4754 		case 0:
4755 			p = "int";
4756 			break;
4757 		case 1:
4758 			p = "userland char *";
4759 			break;
4760 		default:
4761 			break;
4762 		};
4763 		break;
4764 	/* rtprio */
4765 	case 166:
4766 		switch(ndx) {
4767 		case 0:
4768 			p = "int";
4769 			break;
4770 		case 1:
4771 			p = "pid_t";
4772 			break;
4773 		case 2:
4774 			p = "userland struct rtprio *";
4775 			break;
4776 		default:
4777 			break;
4778 		};
4779 		break;
4780 	/* semsys */
4781 	case 169:
4782 		switch(ndx) {
4783 		case 0:
4784 			p = "int";
4785 			break;
4786 		case 1:
4787 			p = "int";
4788 			break;
4789 		case 2:
4790 			p = "int";
4791 			break;
4792 		case 3:
4793 			p = "int";
4794 			break;
4795 		case 4:
4796 			p = "int";
4797 			break;
4798 		default:
4799 			break;
4800 		};
4801 		break;
4802 	/* msgsys */
4803 	case 170:
4804 		switch(ndx) {
4805 		case 0:
4806 			p = "int";
4807 			break;
4808 		case 1:
4809 			p = "int";
4810 			break;
4811 		case 2:
4812 			p = "int";
4813 			break;
4814 		case 3:
4815 			p = "int";
4816 			break;
4817 		case 4:
4818 			p = "int";
4819 			break;
4820 		case 5:
4821 			p = "int";
4822 			break;
4823 		default:
4824 			break;
4825 		};
4826 		break;
4827 	/* shmsys */
4828 	case 171:
4829 		switch(ndx) {
4830 		case 0:
4831 			p = "int";
4832 			break;
4833 		case 1:
4834 			p = "int";
4835 			break;
4836 		case 2:
4837 			p = "int";
4838 			break;
4839 		case 3:
4840 			p = "int";
4841 			break;
4842 		default:
4843 			break;
4844 		};
4845 		break;
4846 	/* setfib */
4847 	case 175:
4848 		switch(ndx) {
4849 		case 0:
4850 			p = "int";
4851 			break;
4852 		default:
4853 			break;
4854 		};
4855 		break;
4856 	/* ntp_adjtime */
4857 	case 176:
4858 		switch(ndx) {
4859 		case 0:
4860 			p = "userland struct timex *";
4861 			break;
4862 		default:
4863 			break;
4864 		};
4865 		break;
4866 	/* setgid */
4867 	case 181:
4868 		switch(ndx) {
4869 		case 0:
4870 			p = "gid_t";
4871 			break;
4872 		default:
4873 			break;
4874 		};
4875 		break;
4876 	/* setegid */
4877 	case 182:
4878 		switch(ndx) {
4879 		case 0:
4880 			p = "gid_t";
4881 			break;
4882 		default:
4883 			break;
4884 		};
4885 		break;
4886 	/* seteuid */
4887 	case 183:
4888 		switch(ndx) {
4889 		case 0:
4890 			p = "uid_t";
4891 			break;
4892 		default:
4893 			break;
4894 		};
4895 		break;
4896 	/* pathconf */
4897 	case 191:
4898 		switch(ndx) {
4899 		case 0:
4900 			p = "userland const char *";
4901 			break;
4902 		case 1:
4903 			p = "int";
4904 			break;
4905 		default:
4906 			break;
4907 		};
4908 		break;
4909 	/* fpathconf */
4910 	case 192:
4911 		switch(ndx) {
4912 		case 0:
4913 			p = "int";
4914 			break;
4915 		case 1:
4916 			p = "int";
4917 			break;
4918 		default:
4919 			break;
4920 		};
4921 		break;
4922 	/* getrlimit */
4923 	case 194:
4924 		switch(ndx) {
4925 		case 0:
4926 			p = "u_int";
4927 			break;
4928 		case 1:
4929 			p = "userland struct rlimit *";
4930 			break;
4931 		default:
4932 			break;
4933 		};
4934 		break;
4935 	/* setrlimit */
4936 	case 195:
4937 		switch(ndx) {
4938 		case 0:
4939 			p = "u_int";
4940 			break;
4941 		case 1:
4942 			p = "userland struct rlimit *";
4943 			break;
4944 		default:
4945 			break;
4946 		};
4947 		break;
4948 	/* nosys */
4949 	case 198:
4950 		break;
4951 	/* __sysctl */
4952 	case 202:
4953 		switch(ndx) {
4954 		case 0:
4955 			p = "userland int *";
4956 			break;
4957 		case 1:
4958 			p = "u_int";
4959 			break;
4960 		case 2:
4961 			p = "userland void *";
4962 			break;
4963 		case 3:
4964 			p = "userland size_t *";
4965 			break;
4966 		case 4:
4967 			p = "userland const void *";
4968 			break;
4969 		case 5:
4970 			p = "size_t";
4971 			break;
4972 		default:
4973 			break;
4974 		};
4975 		break;
4976 	/* mlock */
4977 	case 203:
4978 		switch(ndx) {
4979 		case 0:
4980 			p = "userland const void *";
4981 			break;
4982 		case 1:
4983 			p = "size_t";
4984 			break;
4985 		default:
4986 			break;
4987 		};
4988 		break;
4989 	/* munlock */
4990 	case 204:
4991 		switch(ndx) {
4992 		case 0:
4993 			p = "userland const void *";
4994 			break;
4995 		case 1:
4996 			p = "size_t";
4997 			break;
4998 		default:
4999 			break;
5000 		};
5001 		break;
5002 	/* undelete */
5003 	case 205:
5004 		switch(ndx) {
5005 		case 0:
5006 			p = "userland const char *";
5007 			break;
5008 		default:
5009 			break;
5010 		};
5011 		break;
5012 	/* futimes */
5013 	case 206:
5014 		switch(ndx) {
5015 		case 0:
5016 			p = "int";
5017 			break;
5018 		case 1:
5019 			p = "userland struct timeval *";
5020 			break;
5021 		default:
5022 			break;
5023 		};
5024 		break;
5025 	/* getpgid */
5026 	case 207:
5027 		switch(ndx) {
5028 		case 0:
5029 			p = "pid_t";
5030 			break;
5031 		default:
5032 			break;
5033 		};
5034 		break;
5035 	/* poll */
5036 	case 209:
5037 		switch(ndx) {
5038 		case 0:
5039 			p = "userland struct pollfd *";
5040 			break;
5041 		case 1:
5042 			p = "u_int";
5043 			break;
5044 		case 2:
5045 			p = "int";
5046 			break;
5047 		default:
5048 			break;
5049 		};
5050 		break;
5051 	/* lkmnosys */
5052 	case 210:
5053 		break;
5054 	/* lkmnosys */
5055 	case 211:
5056 		break;
5057 	/* lkmnosys */
5058 	case 212:
5059 		break;
5060 	/* lkmnosys */
5061 	case 213:
5062 		break;
5063 	/* lkmnosys */
5064 	case 214:
5065 		break;
5066 	/* lkmnosys */
5067 	case 215:
5068 		break;
5069 	/* lkmnosys */
5070 	case 216:
5071 		break;
5072 	/* lkmnosys */
5073 	case 217:
5074 		break;
5075 	/* lkmnosys */
5076 	case 218:
5077 		break;
5078 	/* lkmnosys */
5079 	case 219:
5080 		break;
5081 	/* semget */
5082 	case 221:
5083 		switch(ndx) {
5084 		case 0:
5085 			p = "key_t";
5086 			break;
5087 		case 1:
5088 			p = "int";
5089 			break;
5090 		case 2:
5091 			p = "int";
5092 			break;
5093 		default:
5094 			break;
5095 		};
5096 		break;
5097 	/* semop */
5098 	case 222:
5099 		switch(ndx) {
5100 		case 0:
5101 			p = "int";
5102 			break;
5103 		case 1:
5104 			p = "userland struct sembuf *";
5105 			break;
5106 		case 2:
5107 			p = "size_t";
5108 			break;
5109 		default:
5110 			break;
5111 		};
5112 		break;
5113 	/* msgget */
5114 	case 225:
5115 		switch(ndx) {
5116 		case 0:
5117 			p = "key_t";
5118 			break;
5119 		case 1:
5120 			p = "int";
5121 			break;
5122 		default:
5123 			break;
5124 		};
5125 		break;
5126 	/* msgsnd */
5127 	case 226:
5128 		switch(ndx) {
5129 		case 0:
5130 			p = "int";
5131 			break;
5132 		case 1:
5133 			p = "userland const void *";
5134 			break;
5135 		case 2:
5136 			p = "size_t";
5137 			break;
5138 		case 3:
5139 			p = "int";
5140 			break;
5141 		default:
5142 			break;
5143 		};
5144 		break;
5145 	/* msgrcv */
5146 	case 227:
5147 		switch(ndx) {
5148 		case 0:
5149 			p = "int";
5150 			break;
5151 		case 1:
5152 			p = "userland void *";
5153 			break;
5154 		case 2:
5155 			p = "size_t";
5156 			break;
5157 		case 3:
5158 			p = "long";
5159 			break;
5160 		case 4:
5161 			p = "int";
5162 			break;
5163 		default:
5164 			break;
5165 		};
5166 		break;
5167 	/* shmat */
5168 	case 228:
5169 		switch(ndx) {
5170 		case 0:
5171 			p = "int";
5172 			break;
5173 		case 1:
5174 			p = "userland const void *";
5175 			break;
5176 		case 2:
5177 			p = "int";
5178 			break;
5179 		default:
5180 			break;
5181 		};
5182 		break;
5183 	/* shmdt */
5184 	case 230:
5185 		switch(ndx) {
5186 		case 0:
5187 			p = "userland const void *";
5188 			break;
5189 		default:
5190 			break;
5191 		};
5192 		break;
5193 	/* shmget */
5194 	case 231:
5195 		switch(ndx) {
5196 		case 0:
5197 			p = "key_t";
5198 			break;
5199 		case 1:
5200 			p = "size_t";
5201 			break;
5202 		case 2:
5203 			p = "int";
5204 			break;
5205 		default:
5206 			break;
5207 		};
5208 		break;
5209 	/* clock_gettime */
5210 	case 232:
5211 		switch(ndx) {
5212 		case 0:
5213 			p = "clockid_t";
5214 			break;
5215 		case 1:
5216 			p = "userland struct timespec *";
5217 			break;
5218 		default:
5219 			break;
5220 		};
5221 		break;
5222 	/* clock_settime */
5223 	case 233:
5224 		switch(ndx) {
5225 		case 0:
5226 			p = "clockid_t";
5227 			break;
5228 		case 1:
5229 			p = "userland const struct timespec *";
5230 			break;
5231 		default:
5232 			break;
5233 		};
5234 		break;
5235 	/* clock_getres */
5236 	case 234:
5237 		switch(ndx) {
5238 		case 0:
5239 			p = "clockid_t";
5240 			break;
5241 		case 1:
5242 			p = "userland struct timespec *";
5243 			break;
5244 		default:
5245 			break;
5246 		};
5247 		break;
5248 	/* ktimer_create */
5249 	case 235:
5250 		switch(ndx) {
5251 		case 0:
5252 			p = "clockid_t";
5253 			break;
5254 		case 1:
5255 			p = "userland struct sigevent *";
5256 			break;
5257 		case 2:
5258 			p = "userland int *";
5259 			break;
5260 		default:
5261 			break;
5262 		};
5263 		break;
5264 	/* ktimer_delete */
5265 	case 236:
5266 		switch(ndx) {
5267 		case 0:
5268 			p = "int";
5269 			break;
5270 		default:
5271 			break;
5272 		};
5273 		break;
5274 	/* ktimer_settime */
5275 	case 237:
5276 		switch(ndx) {
5277 		case 0:
5278 			p = "int";
5279 			break;
5280 		case 1:
5281 			p = "int";
5282 			break;
5283 		case 2:
5284 			p = "userland const struct itimerspec *";
5285 			break;
5286 		case 3:
5287 			p = "userland struct itimerspec *";
5288 			break;
5289 		default:
5290 			break;
5291 		};
5292 		break;
5293 	/* ktimer_gettime */
5294 	case 238:
5295 		switch(ndx) {
5296 		case 0:
5297 			p = "int";
5298 			break;
5299 		case 1:
5300 			p = "userland struct itimerspec *";
5301 			break;
5302 		default:
5303 			break;
5304 		};
5305 		break;
5306 	/* ktimer_getoverrun */
5307 	case 239:
5308 		switch(ndx) {
5309 		case 0:
5310 			p = "int";
5311 			break;
5312 		default:
5313 			break;
5314 		};
5315 		break;
5316 	/* nanosleep */
5317 	case 240:
5318 		switch(ndx) {
5319 		case 0:
5320 			p = "userland const struct timespec *";
5321 			break;
5322 		case 1:
5323 			p = "userland struct timespec *";
5324 			break;
5325 		default:
5326 			break;
5327 		};
5328 		break;
5329 	/* ffclock_getcounter */
5330 	case 241:
5331 		switch(ndx) {
5332 		case 0:
5333 			p = "userland ffcounter *";
5334 			break;
5335 		default:
5336 			break;
5337 		};
5338 		break;
5339 	/* ffclock_setestimate */
5340 	case 242:
5341 		switch(ndx) {
5342 		case 0:
5343 			p = "userland struct ffclock_estimate *";
5344 			break;
5345 		default:
5346 			break;
5347 		};
5348 		break;
5349 	/* ffclock_getestimate */
5350 	case 243:
5351 		switch(ndx) {
5352 		case 0:
5353 			p = "userland struct ffclock_estimate *";
5354 			break;
5355 		default:
5356 			break;
5357 		};
5358 		break;
5359 	/* clock_nanosleep */
5360 	case 244:
5361 		switch(ndx) {
5362 		case 0:
5363 			p = "clockid_t";
5364 			break;
5365 		case 1:
5366 			p = "int";
5367 			break;
5368 		case 2:
5369 			p = "userland const struct timespec *";
5370 			break;
5371 		case 3:
5372 			p = "userland struct timespec *";
5373 			break;
5374 		default:
5375 			break;
5376 		};
5377 		break;
5378 	/* clock_getcpuclockid2 */
5379 	case 247:
5380 		switch(ndx) {
5381 		case 0:
5382 			p = "id_t";
5383 			break;
5384 		case 1:
5385 			p = "int";
5386 			break;
5387 		case 2:
5388 			p = "userland clockid_t *";
5389 			break;
5390 		default:
5391 			break;
5392 		};
5393 		break;
5394 	/* ntp_gettime */
5395 	case 248:
5396 		switch(ndx) {
5397 		case 0:
5398 			p = "userland struct ntptimeval *";
5399 			break;
5400 		default:
5401 			break;
5402 		};
5403 		break;
5404 	/* minherit */
5405 	case 250:
5406 		switch(ndx) {
5407 		case 0:
5408 			p = "userland void *";
5409 			break;
5410 		case 1:
5411 			p = "size_t";
5412 			break;
5413 		case 2:
5414 			p = "int";
5415 			break;
5416 		default:
5417 			break;
5418 		};
5419 		break;
5420 	/* rfork */
5421 	case 251:
5422 		switch(ndx) {
5423 		case 0:
5424 			p = "int";
5425 			break;
5426 		default:
5427 			break;
5428 		};
5429 		break;
5430 	/* issetugid */
5431 	case 253:
5432 		break;
5433 	/* lchown */
5434 	case 254:
5435 		switch(ndx) {
5436 		case 0:
5437 			p = "userland const char *";
5438 			break;
5439 		case 1:
5440 			p = "int";
5441 			break;
5442 		case 2:
5443 			p = "int";
5444 			break;
5445 		default:
5446 			break;
5447 		};
5448 		break;
5449 	/* aio_read */
5450 	case 255:
5451 		switch(ndx) {
5452 		case 0:
5453 			p = "userland struct aiocb *";
5454 			break;
5455 		default:
5456 			break;
5457 		};
5458 		break;
5459 	/* aio_write */
5460 	case 256:
5461 		switch(ndx) {
5462 		case 0:
5463 			p = "userland struct aiocb *";
5464 			break;
5465 		default:
5466 			break;
5467 		};
5468 		break;
5469 	/* lio_listio */
5470 	case 257:
5471 		switch(ndx) {
5472 		case 0:
5473 			p = "int";
5474 			break;
5475 		case 1:
5476 			p = "userland struct aiocb * const *";
5477 			break;
5478 		case 2:
5479 			p = "int";
5480 			break;
5481 		case 3:
5482 			p = "userland struct sigevent *";
5483 			break;
5484 		default:
5485 			break;
5486 		};
5487 		break;
5488 	/* lchmod */
5489 	case 274:
5490 		switch(ndx) {
5491 		case 0:
5492 			p = "userland const char *";
5493 			break;
5494 		case 1:
5495 			p = "mode_t";
5496 			break;
5497 		default:
5498 			break;
5499 		};
5500 		break;
5501 	/* lutimes */
5502 	case 276:
5503 		switch(ndx) {
5504 		case 0:
5505 			p = "userland const char *";
5506 			break;
5507 		case 1:
5508 			p = "userland struct timeval *";
5509 			break;
5510 		default:
5511 			break;
5512 		};
5513 		break;
5514 	/* preadv */
5515 	case 289:
5516 		switch(ndx) {
5517 		case 0:
5518 			p = "int";
5519 			break;
5520 		case 1:
5521 			p = "userland struct iovec *";
5522 			break;
5523 		case 2:
5524 			p = "u_int";
5525 			break;
5526 		case 3:
5527 			p = "off_t";
5528 			break;
5529 		default:
5530 			break;
5531 		};
5532 		break;
5533 	/* pwritev */
5534 	case 290:
5535 		switch(ndx) {
5536 		case 0:
5537 			p = "int";
5538 			break;
5539 		case 1:
5540 			p = "userland struct iovec *";
5541 			break;
5542 		case 2:
5543 			p = "u_int";
5544 			break;
5545 		case 3:
5546 			p = "off_t";
5547 			break;
5548 		default:
5549 			break;
5550 		};
5551 		break;
5552 	/* fhopen */
5553 	case 298:
5554 		switch(ndx) {
5555 		case 0:
5556 			p = "userland const struct fhandle *";
5557 			break;
5558 		case 1:
5559 			p = "int";
5560 			break;
5561 		default:
5562 			break;
5563 		};
5564 		break;
5565 	/* modnext */
5566 	case 300:
5567 		switch(ndx) {
5568 		case 0:
5569 			p = "int";
5570 			break;
5571 		default:
5572 			break;
5573 		};
5574 		break;
5575 	/* modstat */
5576 	case 301:
5577 		switch(ndx) {
5578 		case 0:
5579 			p = "int";
5580 			break;
5581 		case 1:
5582 			p = "userland struct module_stat *";
5583 			break;
5584 		default:
5585 			break;
5586 		};
5587 		break;
5588 	/* modfnext */
5589 	case 302:
5590 		switch(ndx) {
5591 		case 0:
5592 			p = "int";
5593 			break;
5594 		default:
5595 			break;
5596 		};
5597 		break;
5598 	/* modfind */
5599 	case 303:
5600 		switch(ndx) {
5601 		case 0:
5602 			p = "userland const char *";
5603 			break;
5604 		default:
5605 			break;
5606 		};
5607 		break;
5608 	/* kldload */
5609 	case 304:
5610 		switch(ndx) {
5611 		case 0:
5612 			p = "userland const char *";
5613 			break;
5614 		default:
5615 			break;
5616 		};
5617 		break;
5618 	/* kldunload */
5619 	case 305:
5620 		switch(ndx) {
5621 		case 0:
5622 			p = "int";
5623 			break;
5624 		default:
5625 			break;
5626 		};
5627 		break;
5628 	/* kldfind */
5629 	case 306:
5630 		switch(ndx) {
5631 		case 0:
5632 			p = "userland const char *";
5633 			break;
5634 		default:
5635 			break;
5636 		};
5637 		break;
5638 	/* kldnext */
5639 	case 307:
5640 		switch(ndx) {
5641 		case 0:
5642 			p = "int";
5643 			break;
5644 		default:
5645 			break;
5646 		};
5647 		break;
5648 	/* kldstat */
5649 	case 308:
5650 		switch(ndx) {
5651 		case 0:
5652 			p = "int";
5653 			break;
5654 		case 1:
5655 			p = "userland struct kld_file_stat *";
5656 			break;
5657 		default:
5658 			break;
5659 		};
5660 		break;
5661 	/* kldfirstmod */
5662 	case 309:
5663 		switch(ndx) {
5664 		case 0:
5665 			p = "int";
5666 			break;
5667 		default:
5668 			break;
5669 		};
5670 		break;
5671 	/* getsid */
5672 	case 310:
5673 		switch(ndx) {
5674 		case 0:
5675 			p = "pid_t";
5676 			break;
5677 		default:
5678 			break;
5679 		};
5680 		break;
5681 	/* setresuid */
5682 	case 311:
5683 		switch(ndx) {
5684 		case 0:
5685 			p = "uid_t";
5686 			break;
5687 		case 1:
5688 			p = "uid_t";
5689 			break;
5690 		case 2:
5691 			p = "uid_t";
5692 			break;
5693 		default:
5694 			break;
5695 		};
5696 		break;
5697 	/* setresgid */
5698 	case 312:
5699 		switch(ndx) {
5700 		case 0:
5701 			p = "gid_t";
5702 			break;
5703 		case 1:
5704 			p = "gid_t";
5705 			break;
5706 		case 2:
5707 			p = "gid_t";
5708 			break;
5709 		default:
5710 			break;
5711 		};
5712 		break;
5713 	/* aio_return */
5714 	case 314:
5715 		switch(ndx) {
5716 		case 0:
5717 			p = "userland struct aiocb *";
5718 			break;
5719 		default:
5720 			break;
5721 		};
5722 		break;
5723 	/* aio_suspend */
5724 	case 315:
5725 		switch(ndx) {
5726 		case 0:
5727 			p = "userland struct aiocb * const *";
5728 			break;
5729 		case 1:
5730 			p = "int";
5731 			break;
5732 		case 2:
5733 			p = "userland const struct timespec *";
5734 			break;
5735 		default:
5736 			break;
5737 		};
5738 		break;
5739 	/* aio_cancel */
5740 	case 316:
5741 		switch(ndx) {
5742 		case 0:
5743 			p = "int";
5744 			break;
5745 		case 1:
5746 			p = "userland struct aiocb *";
5747 			break;
5748 		default:
5749 			break;
5750 		};
5751 		break;
5752 	/* aio_error */
5753 	case 317:
5754 		switch(ndx) {
5755 		case 0:
5756 			p = "userland struct aiocb *";
5757 			break;
5758 		default:
5759 			break;
5760 		};
5761 		break;
5762 	/* yield */
5763 	case 321:
5764 		break;
5765 	/* mlockall */
5766 	case 324:
5767 		switch(ndx) {
5768 		case 0:
5769 			p = "int";
5770 			break;
5771 		default:
5772 			break;
5773 		};
5774 		break;
5775 	/* munlockall */
5776 	case 325:
5777 		break;
5778 	/* __getcwd */
5779 	case 326:
5780 		switch(ndx) {
5781 		case 0:
5782 			p = "userland char *";
5783 			break;
5784 		case 1:
5785 			p = "size_t";
5786 			break;
5787 		default:
5788 			break;
5789 		};
5790 		break;
5791 	/* sched_setparam */
5792 	case 327:
5793 		switch(ndx) {
5794 		case 0:
5795 			p = "pid_t";
5796 			break;
5797 		case 1:
5798 			p = "userland const struct sched_param *";
5799 			break;
5800 		default:
5801 			break;
5802 		};
5803 		break;
5804 	/* sched_getparam */
5805 	case 328:
5806 		switch(ndx) {
5807 		case 0:
5808 			p = "pid_t";
5809 			break;
5810 		case 1:
5811 			p = "userland struct sched_param *";
5812 			break;
5813 		default:
5814 			break;
5815 		};
5816 		break;
5817 	/* sched_setscheduler */
5818 	case 329:
5819 		switch(ndx) {
5820 		case 0:
5821 			p = "pid_t";
5822 			break;
5823 		case 1:
5824 			p = "int";
5825 			break;
5826 		case 2:
5827 			p = "userland const struct sched_param *";
5828 			break;
5829 		default:
5830 			break;
5831 		};
5832 		break;
5833 	/* sched_getscheduler */
5834 	case 330:
5835 		switch(ndx) {
5836 		case 0:
5837 			p = "pid_t";
5838 			break;
5839 		default:
5840 			break;
5841 		};
5842 		break;
5843 	/* sched_yield */
5844 	case 331:
5845 		break;
5846 	/* sched_get_priority_max */
5847 	case 332:
5848 		switch(ndx) {
5849 		case 0:
5850 			p = "int";
5851 			break;
5852 		default:
5853 			break;
5854 		};
5855 		break;
5856 	/* sched_get_priority_min */
5857 	case 333:
5858 		switch(ndx) {
5859 		case 0:
5860 			p = "int";
5861 			break;
5862 		default:
5863 			break;
5864 		};
5865 		break;
5866 	/* sched_rr_get_interval */
5867 	case 334:
5868 		switch(ndx) {
5869 		case 0:
5870 			p = "pid_t";
5871 			break;
5872 		case 1:
5873 			p = "userland struct timespec *";
5874 			break;
5875 		default:
5876 			break;
5877 		};
5878 		break;
5879 	/* utrace */
5880 	case 335:
5881 		switch(ndx) {
5882 		case 0:
5883 			p = "userland const void *";
5884 			break;
5885 		case 1:
5886 			p = "size_t";
5887 			break;
5888 		default:
5889 			break;
5890 		};
5891 		break;
5892 	/* kldsym */
5893 	case 337:
5894 		switch(ndx) {
5895 		case 0:
5896 			p = "int";
5897 			break;
5898 		case 1:
5899 			p = "int";
5900 			break;
5901 		case 2:
5902 			p = "userland void *";
5903 			break;
5904 		default:
5905 			break;
5906 		};
5907 		break;
5908 	/* jail */
5909 	case 338:
5910 		switch(ndx) {
5911 		case 0:
5912 			p = "userland struct jail *";
5913 			break;
5914 		default:
5915 			break;
5916 		};
5917 		break;
5918 	/* nnpfs_syscall */
5919 	case 339:
5920 		switch(ndx) {
5921 		case 0:
5922 			p = "int";
5923 			break;
5924 		case 1:
5925 			p = "userland char *";
5926 			break;
5927 		case 2:
5928 			p = "int";
5929 			break;
5930 		case 3:
5931 			p = "userland void *";
5932 			break;
5933 		case 4:
5934 			p = "int";
5935 			break;
5936 		default:
5937 			break;
5938 		};
5939 		break;
5940 	/* sigprocmask */
5941 	case 340:
5942 		switch(ndx) {
5943 		case 0:
5944 			p = "int";
5945 			break;
5946 		case 1:
5947 			p = "userland const sigset_t *";
5948 			break;
5949 		case 2:
5950 			p = "userland sigset_t *";
5951 			break;
5952 		default:
5953 			break;
5954 		};
5955 		break;
5956 	/* sigsuspend */
5957 	case 341:
5958 		switch(ndx) {
5959 		case 0:
5960 			p = "userland const sigset_t *";
5961 			break;
5962 		default:
5963 			break;
5964 		};
5965 		break;
5966 	/* sigpending */
5967 	case 343:
5968 		switch(ndx) {
5969 		case 0:
5970 			p = "userland sigset_t *";
5971 			break;
5972 		default:
5973 			break;
5974 		};
5975 		break;
5976 	/* sigtimedwait */
5977 	case 345:
5978 		switch(ndx) {
5979 		case 0:
5980 			p = "userland const sigset_t *";
5981 			break;
5982 		case 1:
5983 			p = "userland siginfo_t *";
5984 			break;
5985 		case 2:
5986 			p = "userland const struct timespec *";
5987 			break;
5988 		default:
5989 			break;
5990 		};
5991 		break;
5992 	/* sigwaitinfo */
5993 	case 346:
5994 		switch(ndx) {
5995 		case 0:
5996 			p = "userland const sigset_t *";
5997 			break;
5998 		case 1:
5999 			p = "userland siginfo_t *";
6000 			break;
6001 		default:
6002 			break;
6003 		};
6004 		break;
6005 	/* __acl_get_file */
6006 	case 347:
6007 		switch(ndx) {
6008 		case 0:
6009 			p = "userland const char *";
6010 			break;
6011 		case 1:
6012 			p = "acl_type_t";
6013 			break;
6014 		case 2:
6015 			p = "userland struct acl *";
6016 			break;
6017 		default:
6018 			break;
6019 		};
6020 		break;
6021 	/* __acl_set_file */
6022 	case 348:
6023 		switch(ndx) {
6024 		case 0:
6025 			p = "userland const char *";
6026 			break;
6027 		case 1:
6028 			p = "acl_type_t";
6029 			break;
6030 		case 2:
6031 			p = "userland struct acl *";
6032 			break;
6033 		default:
6034 			break;
6035 		};
6036 		break;
6037 	/* __acl_get_fd */
6038 	case 349:
6039 		switch(ndx) {
6040 		case 0:
6041 			p = "int";
6042 			break;
6043 		case 1:
6044 			p = "acl_type_t";
6045 			break;
6046 		case 2:
6047 			p = "userland struct acl *";
6048 			break;
6049 		default:
6050 			break;
6051 		};
6052 		break;
6053 	/* __acl_set_fd */
6054 	case 350:
6055 		switch(ndx) {
6056 		case 0:
6057 			p = "int";
6058 			break;
6059 		case 1:
6060 			p = "acl_type_t";
6061 			break;
6062 		case 2:
6063 			p = "userland struct acl *";
6064 			break;
6065 		default:
6066 			break;
6067 		};
6068 		break;
6069 	/* __acl_delete_file */
6070 	case 351:
6071 		switch(ndx) {
6072 		case 0:
6073 			p = "userland const char *";
6074 			break;
6075 		case 1:
6076 			p = "acl_type_t";
6077 			break;
6078 		default:
6079 			break;
6080 		};
6081 		break;
6082 	/* __acl_delete_fd */
6083 	case 352:
6084 		switch(ndx) {
6085 		case 0:
6086 			p = "int";
6087 			break;
6088 		case 1:
6089 			p = "acl_type_t";
6090 			break;
6091 		default:
6092 			break;
6093 		};
6094 		break;
6095 	/* __acl_aclcheck_file */
6096 	case 353:
6097 		switch(ndx) {
6098 		case 0:
6099 			p = "userland const char *";
6100 			break;
6101 		case 1:
6102 			p = "acl_type_t";
6103 			break;
6104 		case 2:
6105 			p = "userland struct acl *";
6106 			break;
6107 		default:
6108 			break;
6109 		};
6110 		break;
6111 	/* __acl_aclcheck_fd */
6112 	case 354:
6113 		switch(ndx) {
6114 		case 0:
6115 			p = "int";
6116 			break;
6117 		case 1:
6118 			p = "acl_type_t";
6119 			break;
6120 		case 2:
6121 			p = "userland struct acl *";
6122 			break;
6123 		default:
6124 			break;
6125 		};
6126 		break;
6127 	/* extattrctl */
6128 	case 355:
6129 		switch(ndx) {
6130 		case 0:
6131 			p = "userland const char *";
6132 			break;
6133 		case 1:
6134 			p = "int";
6135 			break;
6136 		case 2:
6137 			p = "userland const char *";
6138 			break;
6139 		case 3:
6140 			p = "int";
6141 			break;
6142 		case 4:
6143 			p = "userland const char *";
6144 			break;
6145 		default:
6146 			break;
6147 		};
6148 		break;
6149 	/* extattr_set_file */
6150 	case 356:
6151 		switch(ndx) {
6152 		case 0:
6153 			p = "userland const char *";
6154 			break;
6155 		case 1:
6156 			p = "int";
6157 			break;
6158 		case 2:
6159 			p = "userland const char *";
6160 			break;
6161 		case 3:
6162 			p = "userland void *";
6163 			break;
6164 		case 4:
6165 			p = "size_t";
6166 			break;
6167 		default:
6168 			break;
6169 		};
6170 		break;
6171 	/* extattr_get_file */
6172 	case 357:
6173 		switch(ndx) {
6174 		case 0:
6175 			p = "userland const char *";
6176 			break;
6177 		case 1:
6178 			p = "int";
6179 			break;
6180 		case 2:
6181 			p = "userland const char *";
6182 			break;
6183 		case 3:
6184 			p = "userland void *";
6185 			break;
6186 		case 4:
6187 			p = "size_t";
6188 			break;
6189 		default:
6190 			break;
6191 		};
6192 		break;
6193 	/* extattr_delete_file */
6194 	case 358:
6195 		switch(ndx) {
6196 		case 0:
6197 			p = "userland const char *";
6198 			break;
6199 		case 1:
6200 			p = "int";
6201 			break;
6202 		case 2:
6203 			p = "userland const char *";
6204 			break;
6205 		default:
6206 			break;
6207 		};
6208 		break;
6209 	/* aio_waitcomplete */
6210 	case 359:
6211 		switch(ndx) {
6212 		case 0:
6213 			p = "userland struct aiocb **";
6214 			break;
6215 		case 1:
6216 			p = "userland struct timespec *";
6217 			break;
6218 		default:
6219 			break;
6220 		};
6221 		break;
6222 	/* getresuid */
6223 	case 360:
6224 		switch(ndx) {
6225 		case 0:
6226 			p = "userland uid_t *";
6227 			break;
6228 		case 1:
6229 			p = "userland uid_t *";
6230 			break;
6231 		case 2:
6232 			p = "userland uid_t *";
6233 			break;
6234 		default:
6235 			break;
6236 		};
6237 		break;
6238 	/* getresgid */
6239 	case 361:
6240 		switch(ndx) {
6241 		case 0:
6242 			p = "userland gid_t *";
6243 			break;
6244 		case 1:
6245 			p = "userland gid_t *";
6246 			break;
6247 		case 2:
6248 			p = "userland gid_t *";
6249 			break;
6250 		default:
6251 			break;
6252 		};
6253 		break;
6254 	/* kqueue */
6255 	case 362:
6256 		break;
6257 	/* extattr_set_fd */
6258 	case 371:
6259 		switch(ndx) {
6260 		case 0:
6261 			p = "int";
6262 			break;
6263 		case 1:
6264 			p = "int";
6265 			break;
6266 		case 2:
6267 			p = "userland const char *";
6268 			break;
6269 		case 3:
6270 			p = "userland void *";
6271 			break;
6272 		case 4:
6273 			p = "size_t";
6274 			break;
6275 		default:
6276 			break;
6277 		};
6278 		break;
6279 	/* extattr_get_fd */
6280 	case 372:
6281 		switch(ndx) {
6282 		case 0:
6283 			p = "int";
6284 			break;
6285 		case 1:
6286 			p = "int";
6287 			break;
6288 		case 2:
6289 			p = "userland const char *";
6290 			break;
6291 		case 3:
6292 			p = "userland void *";
6293 			break;
6294 		case 4:
6295 			p = "size_t";
6296 			break;
6297 		default:
6298 			break;
6299 		};
6300 		break;
6301 	/* extattr_delete_fd */
6302 	case 373:
6303 		switch(ndx) {
6304 		case 0:
6305 			p = "int";
6306 			break;
6307 		case 1:
6308 			p = "int";
6309 			break;
6310 		case 2:
6311 			p = "userland const char *";
6312 			break;
6313 		default:
6314 			break;
6315 		};
6316 		break;
6317 	/* __setugid */
6318 	case 374:
6319 		switch(ndx) {
6320 		case 0:
6321 			p = "int";
6322 			break;
6323 		default:
6324 			break;
6325 		};
6326 		break;
6327 	/* eaccess */
6328 	case 376:
6329 		switch(ndx) {
6330 		case 0:
6331 			p = "userland const char *";
6332 			break;
6333 		case 1:
6334 			p = "int";
6335 			break;
6336 		default:
6337 			break;
6338 		};
6339 		break;
6340 	/* afs3_syscall */
6341 	case 377:
6342 		switch(ndx) {
6343 		case 0:
6344 			p = "long";
6345 			break;
6346 		case 1:
6347 			p = "long";
6348 			break;
6349 		case 2:
6350 			p = "long";
6351 			break;
6352 		case 3:
6353 			p = "long";
6354 			break;
6355 		case 4:
6356 			p = "long";
6357 			break;
6358 		case 5:
6359 			p = "long";
6360 			break;
6361 		case 6:
6362 			p = "long";
6363 			break;
6364 		default:
6365 			break;
6366 		};
6367 		break;
6368 	/* nmount */
6369 	case 378:
6370 		switch(ndx) {
6371 		case 0:
6372 			p = "userland struct iovec *";
6373 			break;
6374 		case 1:
6375 			p = "unsigned int";
6376 			break;
6377 		case 2:
6378 			p = "int";
6379 			break;
6380 		default:
6381 			break;
6382 		};
6383 		break;
6384 	/* __mac_get_proc */
6385 	case 384:
6386 		switch(ndx) {
6387 		case 0:
6388 			p = "userland struct mac *";
6389 			break;
6390 		default:
6391 			break;
6392 		};
6393 		break;
6394 	/* __mac_set_proc */
6395 	case 385:
6396 		switch(ndx) {
6397 		case 0:
6398 			p = "userland struct mac *";
6399 			break;
6400 		default:
6401 			break;
6402 		};
6403 		break;
6404 	/* __mac_get_fd */
6405 	case 386:
6406 		switch(ndx) {
6407 		case 0:
6408 			p = "int";
6409 			break;
6410 		case 1:
6411 			p = "userland struct mac *";
6412 			break;
6413 		default:
6414 			break;
6415 		};
6416 		break;
6417 	/* __mac_get_file */
6418 	case 387:
6419 		switch(ndx) {
6420 		case 0:
6421 			p = "userland const char *";
6422 			break;
6423 		case 1:
6424 			p = "userland struct mac *";
6425 			break;
6426 		default:
6427 			break;
6428 		};
6429 		break;
6430 	/* __mac_set_fd */
6431 	case 388:
6432 		switch(ndx) {
6433 		case 0:
6434 			p = "int";
6435 			break;
6436 		case 1:
6437 			p = "userland struct mac *";
6438 			break;
6439 		default:
6440 			break;
6441 		};
6442 		break;
6443 	/* __mac_set_file */
6444 	case 389:
6445 		switch(ndx) {
6446 		case 0:
6447 			p = "userland const char *";
6448 			break;
6449 		case 1:
6450 			p = "userland struct mac *";
6451 			break;
6452 		default:
6453 			break;
6454 		};
6455 		break;
6456 	/* kenv */
6457 	case 390:
6458 		switch(ndx) {
6459 		case 0:
6460 			p = "int";
6461 			break;
6462 		case 1:
6463 			p = "userland const char *";
6464 			break;
6465 		case 2:
6466 			p = "userland char *";
6467 			break;
6468 		case 3:
6469 			p = "int";
6470 			break;
6471 		default:
6472 			break;
6473 		};
6474 		break;
6475 	/* lchflags */
6476 	case 391:
6477 		switch(ndx) {
6478 		case 0:
6479 			p = "userland const char *";
6480 			break;
6481 		case 1:
6482 			p = "u_long";
6483 			break;
6484 		default:
6485 			break;
6486 		};
6487 		break;
6488 	/* uuidgen */
6489 	case 392:
6490 		switch(ndx) {
6491 		case 0:
6492 			p = "userland struct uuid *";
6493 			break;
6494 		case 1:
6495 			p = "int";
6496 			break;
6497 		default:
6498 			break;
6499 		};
6500 		break;
6501 	/* sendfile */
6502 	case 393:
6503 		switch(ndx) {
6504 		case 0:
6505 			p = "int";
6506 			break;
6507 		case 1:
6508 			p = "int";
6509 			break;
6510 		case 2:
6511 			p = "off_t";
6512 			break;
6513 		case 3:
6514 			p = "size_t";
6515 			break;
6516 		case 4:
6517 			p = "userland struct sf_hdtr *";
6518 			break;
6519 		case 5:
6520 			p = "userland off_t *";
6521 			break;
6522 		case 6:
6523 			p = "int";
6524 			break;
6525 		default:
6526 			break;
6527 		};
6528 		break;
6529 	/* mac_syscall */
6530 	case 394:
6531 		switch(ndx) {
6532 		case 0:
6533 			p = "userland const char *";
6534 			break;
6535 		case 1:
6536 			p = "int";
6537 			break;
6538 		case 2:
6539 			p = "userland void *";
6540 			break;
6541 		default:
6542 			break;
6543 		};
6544 		break;
6545 	/* ksem_close */
6546 	case 400:
6547 		switch(ndx) {
6548 		case 0:
6549 			p = "semid_t";
6550 			break;
6551 		default:
6552 			break;
6553 		};
6554 		break;
6555 	/* ksem_post */
6556 	case 401:
6557 		switch(ndx) {
6558 		case 0:
6559 			p = "semid_t";
6560 			break;
6561 		default:
6562 			break;
6563 		};
6564 		break;
6565 	/* ksem_wait */
6566 	case 402:
6567 		switch(ndx) {
6568 		case 0:
6569 			p = "semid_t";
6570 			break;
6571 		default:
6572 			break;
6573 		};
6574 		break;
6575 	/* ksem_trywait */
6576 	case 403:
6577 		switch(ndx) {
6578 		case 0:
6579 			p = "semid_t";
6580 			break;
6581 		default:
6582 			break;
6583 		};
6584 		break;
6585 	/* ksem_init */
6586 	case 404:
6587 		switch(ndx) {
6588 		case 0:
6589 			p = "userland semid_t *";
6590 			break;
6591 		case 1:
6592 			p = "unsigned int";
6593 			break;
6594 		default:
6595 			break;
6596 		};
6597 		break;
6598 	/* ksem_open */
6599 	case 405:
6600 		switch(ndx) {
6601 		case 0:
6602 			p = "userland semid_t *";
6603 			break;
6604 		case 1:
6605 			p = "userland const char *";
6606 			break;
6607 		case 2:
6608 			p = "int";
6609 			break;
6610 		case 3:
6611 			p = "mode_t";
6612 			break;
6613 		case 4:
6614 			p = "unsigned int";
6615 			break;
6616 		default:
6617 			break;
6618 		};
6619 		break;
6620 	/* ksem_unlink */
6621 	case 406:
6622 		switch(ndx) {
6623 		case 0:
6624 			p = "userland const char *";
6625 			break;
6626 		default:
6627 			break;
6628 		};
6629 		break;
6630 	/* ksem_getvalue */
6631 	case 407:
6632 		switch(ndx) {
6633 		case 0:
6634 			p = "semid_t";
6635 			break;
6636 		case 1:
6637 			p = "userland int *";
6638 			break;
6639 		default:
6640 			break;
6641 		};
6642 		break;
6643 	/* ksem_destroy */
6644 	case 408:
6645 		switch(ndx) {
6646 		case 0:
6647 			p = "semid_t";
6648 			break;
6649 		default:
6650 			break;
6651 		};
6652 		break;
6653 	/* __mac_get_pid */
6654 	case 409:
6655 		switch(ndx) {
6656 		case 0:
6657 			p = "pid_t";
6658 			break;
6659 		case 1:
6660 			p = "userland struct mac *";
6661 			break;
6662 		default:
6663 			break;
6664 		};
6665 		break;
6666 	/* __mac_get_link */
6667 	case 410:
6668 		switch(ndx) {
6669 		case 0:
6670 			p = "userland const char *";
6671 			break;
6672 		case 1:
6673 			p = "userland struct mac *";
6674 			break;
6675 		default:
6676 			break;
6677 		};
6678 		break;
6679 	/* __mac_set_link */
6680 	case 411:
6681 		switch(ndx) {
6682 		case 0:
6683 			p = "userland const char *";
6684 			break;
6685 		case 1:
6686 			p = "userland struct mac *";
6687 			break;
6688 		default:
6689 			break;
6690 		};
6691 		break;
6692 	/* extattr_set_link */
6693 	case 412:
6694 		switch(ndx) {
6695 		case 0:
6696 			p = "userland const char *";
6697 			break;
6698 		case 1:
6699 			p = "int";
6700 			break;
6701 		case 2:
6702 			p = "userland const char *";
6703 			break;
6704 		case 3:
6705 			p = "userland void *";
6706 			break;
6707 		case 4:
6708 			p = "size_t";
6709 			break;
6710 		default:
6711 			break;
6712 		};
6713 		break;
6714 	/* extattr_get_link */
6715 	case 413:
6716 		switch(ndx) {
6717 		case 0:
6718 			p = "userland const char *";
6719 			break;
6720 		case 1:
6721 			p = "int";
6722 			break;
6723 		case 2:
6724 			p = "userland const char *";
6725 			break;
6726 		case 3:
6727 			p = "userland void *";
6728 			break;
6729 		case 4:
6730 			p = "size_t";
6731 			break;
6732 		default:
6733 			break;
6734 		};
6735 		break;
6736 	/* extattr_delete_link */
6737 	case 414:
6738 		switch(ndx) {
6739 		case 0:
6740 			p = "userland const char *";
6741 			break;
6742 		case 1:
6743 			p = "int";
6744 			break;
6745 		case 2:
6746 			p = "userland const char *";
6747 			break;
6748 		default:
6749 			break;
6750 		};
6751 		break;
6752 	/* __mac_execve */
6753 	case 415:
6754 		switch(ndx) {
6755 		case 0:
6756 			p = "userland const char *";
6757 			break;
6758 		case 1:
6759 			p = "userland char **";
6760 			break;
6761 		case 2:
6762 			p = "userland char **";
6763 			break;
6764 		case 3:
6765 			p = "userland struct mac *";
6766 			break;
6767 		default:
6768 			break;
6769 		};
6770 		break;
6771 	/* sigaction */
6772 	case 416:
6773 		switch(ndx) {
6774 		case 0:
6775 			p = "int";
6776 			break;
6777 		case 1:
6778 			p = "userland const struct sigaction *";
6779 			break;
6780 		case 2:
6781 			p = "userland struct sigaction *";
6782 			break;
6783 		default:
6784 			break;
6785 		};
6786 		break;
6787 	/* sigreturn */
6788 	case 417:
6789 		switch(ndx) {
6790 		case 0:
6791 			p = "userland const struct __ucontext *";
6792 			break;
6793 		default:
6794 			break;
6795 		};
6796 		break;
6797 	/* getcontext */
6798 	case 421:
6799 		switch(ndx) {
6800 		case 0:
6801 			p = "userland struct __ucontext *";
6802 			break;
6803 		default:
6804 			break;
6805 		};
6806 		break;
6807 	/* setcontext */
6808 	case 422:
6809 		switch(ndx) {
6810 		case 0:
6811 			p = "userland const struct __ucontext *";
6812 			break;
6813 		default:
6814 			break;
6815 		};
6816 		break;
6817 	/* swapcontext */
6818 	case 423:
6819 		switch(ndx) {
6820 		case 0:
6821 			p = "userland struct __ucontext *";
6822 			break;
6823 		case 1:
6824 			p = "userland const struct __ucontext *";
6825 			break;
6826 		default:
6827 			break;
6828 		};
6829 		break;
6830 	/* swapoff */
6831 	case 424:
6832 		switch(ndx) {
6833 		case 0:
6834 			p = "userland const char *";
6835 			break;
6836 		default:
6837 			break;
6838 		};
6839 		break;
6840 	/* __acl_get_link */
6841 	case 425:
6842 		switch(ndx) {
6843 		case 0:
6844 			p = "userland const char *";
6845 			break;
6846 		case 1:
6847 			p = "acl_type_t";
6848 			break;
6849 		case 2:
6850 			p = "userland struct acl *";
6851 			break;
6852 		default:
6853 			break;
6854 		};
6855 		break;
6856 	/* __acl_set_link */
6857 	case 426:
6858 		switch(ndx) {
6859 		case 0:
6860 			p = "userland const char *";
6861 			break;
6862 		case 1:
6863 			p = "acl_type_t";
6864 			break;
6865 		case 2:
6866 			p = "userland struct acl *";
6867 			break;
6868 		default:
6869 			break;
6870 		};
6871 		break;
6872 	/* __acl_delete_link */
6873 	case 427:
6874 		switch(ndx) {
6875 		case 0:
6876 			p = "userland const char *";
6877 			break;
6878 		case 1:
6879 			p = "acl_type_t";
6880 			break;
6881 		default:
6882 			break;
6883 		};
6884 		break;
6885 	/* __acl_aclcheck_link */
6886 	case 428:
6887 		switch(ndx) {
6888 		case 0:
6889 			p = "userland const char *";
6890 			break;
6891 		case 1:
6892 			p = "acl_type_t";
6893 			break;
6894 		case 2:
6895 			p = "userland struct acl *";
6896 			break;
6897 		default:
6898 			break;
6899 		};
6900 		break;
6901 	/* sigwait */
6902 	case 429:
6903 		switch(ndx) {
6904 		case 0:
6905 			p = "userland const sigset_t *";
6906 			break;
6907 		case 1:
6908 			p = "userland int *";
6909 			break;
6910 		default:
6911 			break;
6912 		};
6913 		break;
6914 	/* thr_create */
6915 	case 430:
6916 		switch(ndx) {
6917 		case 0:
6918 			p = "userland ucontext_t *";
6919 			break;
6920 		case 1:
6921 			p = "userland long *";
6922 			break;
6923 		case 2:
6924 			p = "int";
6925 			break;
6926 		default:
6927 			break;
6928 		};
6929 		break;
6930 	/* thr_exit */
6931 	case 431:
6932 		switch(ndx) {
6933 		case 0:
6934 			p = "userland long *";
6935 			break;
6936 		default:
6937 			break;
6938 		};
6939 		break;
6940 	/* thr_self */
6941 	case 432:
6942 		switch(ndx) {
6943 		case 0:
6944 			p = "userland long *";
6945 			break;
6946 		default:
6947 			break;
6948 		};
6949 		break;
6950 	/* thr_kill */
6951 	case 433:
6952 		switch(ndx) {
6953 		case 0:
6954 			p = "long";
6955 			break;
6956 		case 1:
6957 			p = "int";
6958 			break;
6959 		default:
6960 			break;
6961 		};
6962 		break;
6963 	/* jail_attach */
6964 	case 436:
6965 		switch(ndx) {
6966 		case 0:
6967 			p = "int";
6968 			break;
6969 		default:
6970 			break;
6971 		};
6972 		break;
6973 	/* extattr_list_fd */
6974 	case 437:
6975 		switch(ndx) {
6976 		case 0:
6977 			p = "int";
6978 			break;
6979 		case 1:
6980 			p = "int";
6981 			break;
6982 		case 2:
6983 			p = "userland void *";
6984 			break;
6985 		case 3:
6986 			p = "size_t";
6987 			break;
6988 		default:
6989 			break;
6990 		};
6991 		break;
6992 	/* extattr_list_file */
6993 	case 438:
6994 		switch(ndx) {
6995 		case 0:
6996 			p = "userland const char *";
6997 			break;
6998 		case 1:
6999 			p = "int";
7000 			break;
7001 		case 2:
7002 			p = "userland void *";
7003 			break;
7004 		case 3:
7005 			p = "size_t";
7006 			break;
7007 		default:
7008 			break;
7009 		};
7010 		break;
7011 	/* extattr_list_link */
7012 	case 439:
7013 		switch(ndx) {
7014 		case 0:
7015 			p = "userland const char *";
7016 			break;
7017 		case 1:
7018 			p = "int";
7019 			break;
7020 		case 2:
7021 			p = "userland void *";
7022 			break;
7023 		case 3:
7024 			p = "size_t";
7025 			break;
7026 		default:
7027 			break;
7028 		};
7029 		break;
7030 	/* ksem_timedwait */
7031 	case 441:
7032 		switch(ndx) {
7033 		case 0:
7034 			p = "semid_t";
7035 			break;
7036 		case 1:
7037 			p = "userland const struct timespec *";
7038 			break;
7039 		default:
7040 			break;
7041 		};
7042 		break;
7043 	/* thr_suspend */
7044 	case 442:
7045 		switch(ndx) {
7046 		case 0:
7047 			p = "userland const struct timespec *";
7048 			break;
7049 		default:
7050 			break;
7051 		};
7052 		break;
7053 	/* thr_wake */
7054 	case 443:
7055 		switch(ndx) {
7056 		case 0:
7057 			p = "long";
7058 			break;
7059 		default:
7060 			break;
7061 		};
7062 		break;
7063 	/* kldunloadf */
7064 	case 444:
7065 		switch(ndx) {
7066 		case 0:
7067 			p = "int";
7068 			break;
7069 		case 1:
7070 			p = "int";
7071 			break;
7072 		default:
7073 			break;
7074 		};
7075 		break;
7076 	/* audit */
7077 	case 445:
7078 		switch(ndx) {
7079 		case 0:
7080 			p = "userland const void *";
7081 			break;
7082 		case 1:
7083 			p = "u_int";
7084 			break;
7085 		default:
7086 			break;
7087 		};
7088 		break;
7089 	/* auditon */
7090 	case 446:
7091 		switch(ndx) {
7092 		case 0:
7093 			p = "int";
7094 			break;
7095 		case 1:
7096 			p = "userland void *";
7097 			break;
7098 		case 2:
7099 			p = "u_int";
7100 			break;
7101 		default:
7102 			break;
7103 		};
7104 		break;
7105 	/* getauid */
7106 	case 447:
7107 		switch(ndx) {
7108 		case 0:
7109 			p = "userland uid_t *";
7110 			break;
7111 		default:
7112 			break;
7113 		};
7114 		break;
7115 	/* setauid */
7116 	case 448:
7117 		switch(ndx) {
7118 		case 0:
7119 			p = "userland uid_t *";
7120 			break;
7121 		default:
7122 			break;
7123 		};
7124 		break;
7125 	/* getaudit */
7126 	case 449:
7127 		switch(ndx) {
7128 		case 0:
7129 			p = "userland struct auditinfo *";
7130 			break;
7131 		default:
7132 			break;
7133 		};
7134 		break;
7135 	/* setaudit */
7136 	case 450:
7137 		switch(ndx) {
7138 		case 0:
7139 			p = "userland struct auditinfo *";
7140 			break;
7141 		default:
7142 			break;
7143 		};
7144 		break;
7145 	/* getaudit_addr */
7146 	case 451:
7147 		switch(ndx) {
7148 		case 0:
7149 			p = "userland struct auditinfo_addr *";
7150 			break;
7151 		case 1:
7152 			p = "u_int";
7153 			break;
7154 		default:
7155 			break;
7156 		};
7157 		break;
7158 	/* setaudit_addr */
7159 	case 452:
7160 		switch(ndx) {
7161 		case 0:
7162 			p = "userland struct auditinfo_addr *";
7163 			break;
7164 		case 1:
7165 			p = "u_int";
7166 			break;
7167 		default:
7168 			break;
7169 		};
7170 		break;
7171 	/* auditctl */
7172 	case 453:
7173 		switch(ndx) {
7174 		case 0:
7175 			p = "userland const char *";
7176 			break;
7177 		default:
7178 			break;
7179 		};
7180 		break;
7181 	/* _umtx_op */
7182 	case 454:
7183 		switch(ndx) {
7184 		case 0:
7185 			p = "userland void *";
7186 			break;
7187 		case 1:
7188 			p = "int";
7189 			break;
7190 		case 2:
7191 			p = "u_long";
7192 			break;
7193 		case 3:
7194 			p = "userland void *";
7195 			break;
7196 		case 4:
7197 			p = "userland void *";
7198 			break;
7199 		default:
7200 			break;
7201 		};
7202 		break;
7203 	/* thr_new */
7204 	case 455:
7205 		switch(ndx) {
7206 		case 0:
7207 			p = "userland struct thr_param *";
7208 			break;
7209 		case 1:
7210 			p = "int";
7211 			break;
7212 		default:
7213 			break;
7214 		};
7215 		break;
7216 	/* sigqueue */
7217 	case 456:
7218 		switch(ndx) {
7219 		case 0:
7220 			p = "pid_t";
7221 			break;
7222 		case 1:
7223 			p = "int";
7224 			break;
7225 		case 2:
7226 			p = "userland void *";
7227 			break;
7228 		default:
7229 			break;
7230 		};
7231 		break;
7232 	/* kmq_open */
7233 	case 457:
7234 		switch(ndx) {
7235 		case 0:
7236 			p = "userland const char *";
7237 			break;
7238 		case 1:
7239 			p = "int";
7240 			break;
7241 		case 2:
7242 			p = "mode_t";
7243 			break;
7244 		case 3:
7245 			p = "userland const struct mq_attr *";
7246 			break;
7247 		default:
7248 			break;
7249 		};
7250 		break;
7251 	/* kmq_setattr */
7252 	case 458:
7253 		switch(ndx) {
7254 		case 0:
7255 			p = "int";
7256 			break;
7257 		case 1:
7258 			p = "userland const struct mq_attr *";
7259 			break;
7260 		case 2:
7261 			p = "userland struct mq_attr *";
7262 			break;
7263 		default:
7264 			break;
7265 		};
7266 		break;
7267 	/* kmq_timedreceive */
7268 	case 459:
7269 		switch(ndx) {
7270 		case 0:
7271 			p = "int";
7272 			break;
7273 		case 1:
7274 			p = "userland char *";
7275 			break;
7276 		case 2:
7277 			p = "size_t";
7278 			break;
7279 		case 3:
7280 			p = "userland unsigned *";
7281 			break;
7282 		case 4:
7283 			p = "userland const struct timespec *";
7284 			break;
7285 		default:
7286 			break;
7287 		};
7288 		break;
7289 	/* kmq_timedsend */
7290 	case 460:
7291 		switch(ndx) {
7292 		case 0:
7293 			p = "int";
7294 			break;
7295 		case 1:
7296 			p = "userland const char *";
7297 			break;
7298 		case 2:
7299 			p = "size_t";
7300 			break;
7301 		case 3:
7302 			p = "unsigned";
7303 			break;
7304 		case 4:
7305 			p = "userland const struct timespec *";
7306 			break;
7307 		default:
7308 			break;
7309 		};
7310 		break;
7311 	/* kmq_notify */
7312 	case 461:
7313 		switch(ndx) {
7314 		case 0:
7315 			p = "int";
7316 			break;
7317 		case 1:
7318 			p = "userland const struct sigevent *";
7319 			break;
7320 		default:
7321 			break;
7322 		};
7323 		break;
7324 	/* kmq_unlink */
7325 	case 462:
7326 		switch(ndx) {
7327 		case 0:
7328 			p = "userland const char *";
7329 			break;
7330 		default:
7331 			break;
7332 		};
7333 		break;
7334 	/* abort2 */
7335 	case 463:
7336 		switch(ndx) {
7337 		case 0:
7338 			p = "userland const char *";
7339 			break;
7340 		case 1:
7341 			p = "int";
7342 			break;
7343 		case 2:
7344 			p = "userland void **";
7345 			break;
7346 		default:
7347 			break;
7348 		};
7349 		break;
7350 	/* thr_set_name */
7351 	case 464:
7352 		switch(ndx) {
7353 		case 0:
7354 			p = "long";
7355 			break;
7356 		case 1:
7357 			p = "userland const char *";
7358 			break;
7359 		default:
7360 			break;
7361 		};
7362 		break;
7363 	/* aio_fsync */
7364 	case 465:
7365 		switch(ndx) {
7366 		case 0:
7367 			p = "int";
7368 			break;
7369 		case 1:
7370 			p = "userland struct aiocb *";
7371 			break;
7372 		default:
7373 			break;
7374 		};
7375 		break;
7376 	/* rtprio_thread */
7377 	case 466:
7378 		switch(ndx) {
7379 		case 0:
7380 			p = "int";
7381 			break;
7382 		case 1:
7383 			p = "lwpid_t";
7384 			break;
7385 		case 2:
7386 			p = "userland struct rtprio *";
7387 			break;
7388 		default:
7389 			break;
7390 		};
7391 		break;
7392 	/* sctp_peeloff */
7393 	case 471:
7394 		switch(ndx) {
7395 		case 0:
7396 			p = "int";
7397 			break;
7398 		case 1:
7399 			p = "uint32_t";
7400 			break;
7401 		default:
7402 			break;
7403 		};
7404 		break;
7405 	/* sctp_generic_sendmsg */
7406 	case 472:
7407 		switch(ndx) {
7408 		case 0:
7409 			p = "int";
7410 			break;
7411 		case 1:
7412 			p = "userland void *";
7413 			break;
7414 		case 2:
7415 			p = "int";
7416 			break;
7417 		case 3:
7418 			p = "userland struct sockaddr *";
7419 			break;
7420 		case 4:
7421 			p = "__socklen_t";
7422 			break;
7423 		case 5:
7424 			p = "userland struct sctp_sndrcvinfo *";
7425 			break;
7426 		case 6:
7427 			p = "int";
7428 			break;
7429 		default:
7430 			break;
7431 		};
7432 		break;
7433 	/* sctp_generic_sendmsg_iov */
7434 	case 473:
7435 		switch(ndx) {
7436 		case 0:
7437 			p = "int";
7438 			break;
7439 		case 1:
7440 			p = "userland struct iovec *";
7441 			break;
7442 		case 2:
7443 			p = "int";
7444 			break;
7445 		case 3:
7446 			p = "userland struct sockaddr *";
7447 			break;
7448 		case 4:
7449 			p = "__socklen_t";
7450 			break;
7451 		case 5:
7452 			p = "userland struct sctp_sndrcvinfo *";
7453 			break;
7454 		case 6:
7455 			p = "int";
7456 			break;
7457 		default:
7458 			break;
7459 		};
7460 		break;
7461 	/* sctp_generic_recvmsg */
7462 	case 474:
7463 		switch(ndx) {
7464 		case 0:
7465 			p = "int";
7466 			break;
7467 		case 1:
7468 			p = "userland struct iovec *";
7469 			break;
7470 		case 2:
7471 			p = "int";
7472 			break;
7473 		case 3:
7474 			p = "userland struct sockaddr *";
7475 			break;
7476 		case 4:
7477 			p = "userland __socklen_t *";
7478 			break;
7479 		case 5:
7480 			p = "userland struct sctp_sndrcvinfo *";
7481 			break;
7482 		case 6:
7483 			p = "userland int *";
7484 			break;
7485 		default:
7486 			break;
7487 		};
7488 		break;
7489 	/* pread */
7490 	case 475:
7491 		switch(ndx) {
7492 		case 0:
7493 			p = "int";
7494 			break;
7495 		case 1:
7496 			p = "userland void *";
7497 			break;
7498 		case 2:
7499 			p = "size_t";
7500 			break;
7501 		case 3:
7502 			p = "off_t";
7503 			break;
7504 		default:
7505 			break;
7506 		};
7507 		break;
7508 	/* pwrite */
7509 	case 476:
7510 		switch(ndx) {
7511 		case 0:
7512 			p = "int";
7513 			break;
7514 		case 1:
7515 			p = "userland const void *";
7516 			break;
7517 		case 2:
7518 			p = "size_t";
7519 			break;
7520 		case 3:
7521 			p = "off_t";
7522 			break;
7523 		default:
7524 			break;
7525 		};
7526 		break;
7527 	/* mmap */
7528 	case 477:
7529 		switch(ndx) {
7530 		case 0:
7531 			p = "userland void *";
7532 			break;
7533 		case 1:
7534 			p = "size_t";
7535 			break;
7536 		case 2:
7537 			p = "int";
7538 			break;
7539 		case 3:
7540 			p = "int";
7541 			break;
7542 		case 4:
7543 			p = "int";
7544 			break;
7545 		case 5:
7546 			p = "off_t";
7547 			break;
7548 		default:
7549 			break;
7550 		};
7551 		break;
7552 	/* lseek */
7553 	case 478:
7554 		switch(ndx) {
7555 		case 0:
7556 			p = "int";
7557 			break;
7558 		case 1:
7559 			p = "off_t";
7560 			break;
7561 		case 2:
7562 			p = "int";
7563 			break;
7564 		default:
7565 			break;
7566 		};
7567 		break;
7568 	/* truncate */
7569 	case 479:
7570 		switch(ndx) {
7571 		case 0:
7572 			p = "userland const char *";
7573 			break;
7574 		case 1:
7575 			p = "off_t";
7576 			break;
7577 		default:
7578 			break;
7579 		};
7580 		break;
7581 	/* ftruncate */
7582 	case 480:
7583 		switch(ndx) {
7584 		case 0:
7585 			p = "int";
7586 			break;
7587 		case 1:
7588 			p = "off_t";
7589 			break;
7590 		default:
7591 			break;
7592 		};
7593 		break;
7594 	/* thr_kill2 */
7595 	case 481:
7596 		switch(ndx) {
7597 		case 0:
7598 			p = "pid_t";
7599 			break;
7600 		case 1:
7601 			p = "long";
7602 			break;
7603 		case 2:
7604 			p = "int";
7605 			break;
7606 		default:
7607 			break;
7608 		};
7609 		break;
7610 	/* shm_unlink */
7611 	case 483:
7612 		switch(ndx) {
7613 		case 0:
7614 			p = "userland const char *";
7615 			break;
7616 		default:
7617 			break;
7618 		};
7619 		break;
7620 	/* cpuset */
7621 	case 484:
7622 		switch(ndx) {
7623 		case 0:
7624 			p = "userland cpusetid_t *";
7625 			break;
7626 		default:
7627 			break;
7628 		};
7629 		break;
7630 	/* cpuset_setid */
7631 	case 485:
7632 		switch(ndx) {
7633 		case 0:
7634 			p = "cpuwhich_t";
7635 			break;
7636 		case 1:
7637 			p = "id_t";
7638 			break;
7639 		case 2:
7640 			p = "cpusetid_t";
7641 			break;
7642 		default:
7643 			break;
7644 		};
7645 		break;
7646 	/* cpuset_getid */
7647 	case 486:
7648 		switch(ndx) {
7649 		case 0:
7650 			p = "cpulevel_t";
7651 			break;
7652 		case 1:
7653 			p = "cpuwhich_t";
7654 			break;
7655 		case 2:
7656 			p = "id_t";
7657 			break;
7658 		case 3:
7659 			p = "userland cpusetid_t *";
7660 			break;
7661 		default:
7662 			break;
7663 		};
7664 		break;
7665 	/* cpuset_getaffinity */
7666 	case 487:
7667 		switch(ndx) {
7668 		case 0:
7669 			p = "cpulevel_t";
7670 			break;
7671 		case 1:
7672 			p = "cpuwhich_t";
7673 			break;
7674 		case 2:
7675 			p = "id_t";
7676 			break;
7677 		case 3:
7678 			p = "size_t";
7679 			break;
7680 		case 4:
7681 			p = "userland cpuset_t *";
7682 			break;
7683 		default:
7684 			break;
7685 		};
7686 		break;
7687 	/* cpuset_setaffinity */
7688 	case 488:
7689 		switch(ndx) {
7690 		case 0:
7691 			p = "cpulevel_t";
7692 			break;
7693 		case 1:
7694 			p = "cpuwhich_t";
7695 			break;
7696 		case 2:
7697 			p = "id_t";
7698 			break;
7699 		case 3:
7700 			p = "size_t";
7701 			break;
7702 		case 4:
7703 			p = "userland const cpuset_t *";
7704 			break;
7705 		default:
7706 			break;
7707 		};
7708 		break;
7709 	/* faccessat */
7710 	case 489:
7711 		switch(ndx) {
7712 		case 0:
7713 			p = "int";
7714 			break;
7715 		case 1:
7716 			p = "userland const char *";
7717 			break;
7718 		case 2:
7719 			p = "int";
7720 			break;
7721 		case 3:
7722 			p = "int";
7723 			break;
7724 		default:
7725 			break;
7726 		};
7727 		break;
7728 	/* fchmodat */
7729 	case 490:
7730 		switch(ndx) {
7731 		case 0:
7732 			p = "int";
7733 			break;
7734 		case 1:
7735 			p = "userland const char *";
7736 			break;
7737 		case 2:
7738 			p = "mode_t";
7739 			break;
7740 		case 3:
7741 			p = "int";
7742 			break;
7743 		default:
7744 			break;
7745 		};
7746 		break;
7747 	/* fchownat */
7748 	case 491:
7749 		switch(ndx) {
7750 		case 0:
7751 			p = "int";
7752 			break;
7753 		case 1:
7754 			p = "userland const char *";
7755 			break;
7756 		case 2:
7757 			p = "uid_t";
7758 			break;
7759 		case 3:
7760 			p = "gid_t";
7761 			break;
7762 		case 4:
7763 			p = "int";
7764 			break;
7765 		default:
7766 			break;
7767 		};
7768 		break;
7769 	/* fexecve */
7770 	case 492:
7771 		switch(ndx) {
7772 		case 0:
7773 			p = "int";
7774 			break;
7775 		case 1:
7776 			p = "userland char **";
7777 			break;
7778 		case 2:
7779 			p = "userland char **";
7780 			break;
7781 		default:
7782 			break;
7783 		};
7784 		break;
7785 	/* futimesat */
7786 	case 494:
7787 		switch(ndx) {
7788 		case 0:
7789 			p = "int";
7790 			break;
7791 		case 1:
7792 			p = "userland const char *";
7793 			break;
7794 		case 2:
7795 			p = "userland struct timeval *";
7796 			break;
7797 		default:
7798 			break;
7799 		};
7800 		break;
7801 	/* linkat */
7802 	case 495:
7803 		switch(ndx) {
7804 		case 0:
7805 			p = "int";
7806 			break;
7807 		case 1:
7808 			p = "userland const char *";
7809 			break;
7810 		case 2:
7811 			p = "int";
7812 			break;
7813 		case 3:
7814 			p = "userland const char *";
7815 			break;
7816 		case 4:
7817 			p = "int";
7818 			break;
7819 		default:
7820 			break;
7821 		};
7822 		break;
7823 	/* mkdirat */
7824 	case 496:
7825 		switch(ndx) {
7826 		case 0:
7827 			p = "int";
7828 			break;
7829 		case 1:
7830 			p = "userland const char *";
7831 			break;
7832 		case 2:
7833 			p = "mode_t";
7834 			break;
7835 		default:
7836 			break;
7837 		};
7838 		break;
7839 	/* mkfifoat */
7840 	case 497:
7841 		switch(ndx) {
7842 		case 0:
7843 			p = "int";
7844 			break;
7845 		case 1:
7846 			p = "userland const char *";
7847 			break;
7848 		case 2:
7849 			p = "mode_t";
7850 			break;
7851 		default:
7852 			break;
7853 		};
7854 		break;
7855 	/* openat */
7856 	case 499:
7857 		switch(ndx) {
7858 		case 0:
7859 			p = "int";
7860 			break;
7861 		case 1:
7862 			p = "userland const char *";
7863 			break;
7864 		case 2:
7865 			p = "int";
7866 			break;
7867 		case 3:
7868 			p = "mode_t";
7869 			break;
7870 		default:
7871 			break;
7872 		};
7873 		break;
7874 	/* readlinkat */
7875 	case 500:
7876 		switch(ndx) {
7877 		case 0:
7878 			p = "int";
7879 			break;
7880 		case 1:
7881 			p = "userland const char *";
7882 			break;
7883 		case 2:
7884 			p = "userland char *";
7885 			break;
7886 		case 3:
7887 			p = "size_t";
7888 			break;
7889 		default:
7890 			break;
7891 		};
7892 		break;
7893 	/* renameat */
7894 	case 501:
7895 		switch(ndx) {
7896 		case 0:
7897 			p = "int";
7898 			break;
7899 		case 1:
7900 			p = "userland const char *";
7901 			break;
7902 		case 2:
7903 			p = "int";
7904 			break;
7905 		case 3:
7906 			p = "userland const char *";
7907 			break;
7908 		default:
7909 			break;
7910 		};
7911 		break;
7912 	/* symlinkat */
7913 	case 502:
7914 		switch(ndx) {
7915 		case 0:
7916 			p = "userland const char *";
7917 			break;
7918 		case 1:
7919 			p = "int";
7920 			break;
7921 		case 2:
7922 			p = "userland const char *";
7923 			break;
7924 		default:
7925 			break;
7926 		};
7927 		break;
7928 	/* unlinkat */
7929 	case 503:
7930 		switch(ndx) {
7931 		case 0:
7932 			p = "int";
7933 			break;
7934 		case 1:
7935 			p = "userland const char *";
7936 			break;
7937 		case 2:
7938 			p = "int";
7939 			break;
7940 		default:
7941 			break;
7942 		};
7943 		break;
7944 	/* posix_openpt */
7945 	case 504:
7946 		switch(ndx) {
7947 		case 0:
7948 			p = "int";
7949 			break;
7950 		default:
7951 			break;
7952 		};
7953 		break;
7954 	/* gssd_syscall */
7955 	case 505:
7956 		switch(ndx) {
7957 		case 0:
7958 			p = "userland const char *";
7959 			break;
7960 		default:
7961 			break;
7962 		};
7963 		break;
7964 	/* jail_get */
7965 	case 506:
7966 		switch(ndx) {
7967 		case 0:
7968 			p = "userland struct iovec *";
7969 			break;
7970 		case 1:
7971 			p = "unsigned int";
7972 			break;
7973 		case 2:
7974 			p = "int";
7975 			break;
7976 		default:
7977 			break;
7978 		};
7979 		break;
7980 	/* jail_set */
7981 	case 507:
7982 		switch(ndx) {
7983 		case 0:
7984 			p = "userland struct iovec *";
7985 			break;
7986 		case 1:
7987 			p = "unsigned int";
7988 			break;
7989 		case 2:
7990 			p = "int";
7991 			break;
7992 		default:
7993 			break;
7994 		};
7995 		break;
7996 	/* jail_remove */
7997 	case 508:
7998 		switch(ndx) {
7999 		case 0:
8000 			p = "int";
8001 			break;
8002 		default:
8003 			break;
8004 		};
8005 		break;
8006 	/* __semctl */
8007 	case 510:
8008 		switch(ndx) {
8009 		case 0:
8010 			p = "int";
8011 			break;
8012 		case 1:
8013 			p = "int";
8014 			break;
8015 		case 2:
8016 			p = "int";
8017 			break;
8018 		case 3:
8019 			p = "userland union semun *";
8020 			break;
8021 		default:
8022 			break;
8023 		};
8024 		break;
8025 	/* msgctl */
8026 	case 511:
8027 		switch(ndx) {
8028 		case 0:
8029 			p = "int";
8030 			break;
8031 		case 1:
8032 			p = "int";
8033 			break;
8034 		case 2:
8035 			p = "userland struct msqid_ds *";
8036 			break;
8037 		default:
8038 			break;
8039 		};
8040 		break;
8041 	/* shmctl */
8042 	case 512:
8043 		switch(ndx) {
8044 		case 0:
8045 			p = "int";
8046 			break;
8047 		case 1:
8048 			p = "int";
8049 			break;
8050 		case 2:
8051 			p = "userland struct shmid_ds *";
8052 			break;
8053 		default:
8054 			break;
8055 		};
8056 		break;
8057 	/* lpathconf */
8058 	case 513:
8059 		switch(ndx) {
8060 		case 0:
8061 			p = "userland const char *";
8062 			break;
8063 		case 1:
8064 			p = "int";
8065 			break;
8066 		default:
8067 			break;
8068 		};
8069 		break;
8070 	/* __cap_rights_get */
8071 	case 515:
8072 		switch(ndx) {
8073 		case 0:
8074 			p = "int";
8075 			break;
8076 		case 1:
8077 			p = "int";
8078 			break;
8079 		case 2:
8080 			p = "userland cap_rights_t *";
8081 			break;
8082 		default:
8083 			break;
8084 		};
8085 		break;
8086 	/* cap_enter */
8087 	case 516:
8088 		break;
8089 	/* cap_getmode */
8090 	case 517:
8091 		switch(ndx) {
8092 		case 0:
8093 			p = "userland u_int *";
8094 			break;
8095 		default:
8096 			break;
8097 		};
8098 		break;
8099 	/* pdfork */
8100 	case 518:
8101 		switch(ndx) {
8102 		case 0:
8103 			p = "userland int *";
8104 			break;
8105 		case 1:
8106 			p = "int";
8107 			break;
8108 		default:
8109 			break;
8110 		};
8111 		break;
8112 	/* pdkill */
8113 	case 519:
8114 		switch(ndx) {
8115 		case 0:
8116 			p = "int";
8117 			break;
8118 		case 1:
8119 			p = "int";
8120 			break;
8121 		default:
8122 			break;
8123 		};
8124 		break;
8125 	/* pdgetpid */
8126 	case 520:
8127 		switch(ndx) {
8128 		case 0:
8129 			p = "int";
8130 			break;
8131 		case 1:
8132 			p = "userland pid_t *";
8133 			break;
8134 		default:
8135 			break;
8136 		};
8137 		break;
8138 	/* pselect */
8139 	case 522:
8140 		switch(ndx) {
8141 		case 0:
8142 			p = "int";
8143 			break;
8144 		case 1:
8145 			p = "userland fd_set *";
8146 			break;
8147 		case 2:
8148 			p = "userland fd_set *";
8149 			break;
8150 		case 3:
8151 			p = "userland fd_set *";
8152 			break;
8153 		case 4:
8154 			p = "userland const struct timespec *";
8155 			break;
8156 		case 5:
8157 			p = "userland const sigset_t *";
8158 			break;
8159 		default:
8160 			break;
8161 		};
8162 		break;
8163 	/* getloginclass */
8164 	case 523:
8165 		switch(ndx) {
8166 		case 0:
8167 			p = "userland char *";
8168 			break;
8169 		case 1:
8170 			p = "size_t";
8171 			break;
8172 		default:
8173 			break;
8174 		};
8175 		break;
8176 	/* setloginclass */
8177 	case 524:
8178 		switch(ndx) {
8179 		case 0:
8180 			p = "userland const char *";
8181 			break;
8182 		default:
8183 			break;
8184 		};
8185 		break;
8186 	/* rctl_get_racct */
8187 	case 525:
8188 		switch(ndx) {
8189 		case 0:
8190 			p = "userland const void *";
8191 			break;
8192 		case 1:
8193 			p = "size_t";
8194 			break;
8195 		case 2:
8196 			p = "userland void *";
8197 			break;
8198 		case 3:
8199 			p = "size_t";
8200 			break;
8201 		default:
8202 			break;
8203 		};
8204 		break;
8205 	/* rctl_get_rules */
8206 	case 526:
8207 		switch(ndx) {
8208 		case 0:
8209 			p = "userland const void *";
8210 			break;
8211 		case 1:
8212 			p = "size_t";
8213 			break;
8214 		case 2:
8215 			p = "userland void *";
8216 			break;
8217 		case 3:
8218 			p = "size_t";
8219 			break;
8220 		default:
8221 			break;
8222 		};
8223 		break;
8224 	/* rctl_get_limits */
8225 	case 527:
8226 		switch(ndx) {
8227 		case 0:
8228 			p = "userland const void *";
8229 			break;
8230 		case 1:
8231 			p = "size_t";
8232 			break;
8233 		case 2:
8234 			p = "userland void *";
8235 			break;
8236 		case 3:
8237 			p = "size_t";
8238 			break;
8239 		default:
8240 			break;
8241 		};
8242 		break;
8243 	/* rctl_add_rule */
8244 	case 528:
8245 		switch(ndx) {
8246 		case 0:
8247 			p = "userland const void *";
8248 			break;
8249 		case 1:
8250 			p = "size_t";
8251 			break;
8252 		case 2:
8253 			p = "userland void *";
8254 			break;
8255 		case 3:
8256 			p = "size_t";
8257 			break;
8258 		default:
8259 			break;
8260 		};
8261 		break;
8262 	/* rctl_remove_rule */
8263 	case 529:
8264 		switch(ndx) {
8265 		case 0:
8266 			p = "userland const void *";
8267 			break;
8268 		case 1:
8269 			p = "size_t";
8270 			break;
8271 		case 2:
8272 			p = "userland void *";
8273 			break;
8274 		case 3:
8275 			p = "size_t";
8276 			break;
8277 		default:
8278 			break;
8279 		};
8280 		break;
8281 	/* posix_fallocate */
8282 	case 530:
8283 		switch(ndx) {
8284 		case 0:
8285 			p = "int";
8286 			break;
8287 		case 1:
8288 			p = "off_t";
8289 			break;
8290 		case 2:
8291 			p = "off_t";
8292 			break;
8293 		default:
8294 			break;
8295 		};
8296 		break;
8297 	/* posix_fadvise */
8298 	case 531:
8299 		switch(ndx) {
8300 		case 0:
8301 			p = "int";
8302 			break;
8303 		case 1:
8304 			p = "off_t";
8305 			break;
8306 		case 2:
8307 			p = "off_t";
8308 			break;
8309 		case 3:
8310 			p = "int";
8311 			break;
8312 		default:
8313 			break;
8314 		};
8315 		break;
8316 	/* wait6 */
8317 	case 532:
8318 		switch(ndx) {
8319 		case 0:
8320 			p = "idtype_t";
8321 			break;
8322 		case 1:
8323 			p = "id_t";
8324 			break;
8325 		case 2:
8326 			p = "userland int *";
8327 			break;
8328 		case 3:
8329 			p = "int";
8330 			break;
8331 		case 4:
8332 			p = "userland struct __wrusage *";
8333 			break;
8334 		case 5:
8335 			p = "userland siginfo_t *";
8336 			break;
8337 		default:
8338 			break;
8339 		};
8340 		break;
8341 	/* cap_rights_limit */
8342 	case 533:
8343 		switch(ndx) {
8344 		case 0:
8345 			p = "int";
8346 			break;
8347 		case 1:
8348 			p = "userland cap_rights_t *";
8349 			break;
8350 		default:
8351 			break;
8352 		};
8353 		break;
8354 	/* cap_ioctls_limit */
8355 	case 534:
8356 		switch(ndx) {
8357 		case 0:
8358 			p = "int";
8359 			break;
8360 		case 1:
8361 			p = "userland const u_long *";
8362 			break;
8363 		case 2:
8364 			p = "size_t";
8365 			break;
8366 		default:
8367 			break;
8368 		};
8369 		break;
8370 	/* cap_ioctls_get */
8371 	case 535:
8372 		switch(ndx) {
8373 		case 0:
8374 			p = "int";
8375 			break;
8376 		case 1:
8377 			p = "userland u_long *";
8378 			break;
8379 		case 2:
8380 			p = "size_t";
8381 			break;
8382 		default:
8383 			break;
8384 		};
8385 		break;
8386 	/* cap_fcntls_limit */
8387 	case 536:
8388 		switch(ndx) {
8389 		case 0:
8390 			p = "int";
8391 			break;
8392 		case 1:
8393 			p = "uint32_t";
8394 			break;
8395 		default:
8396 			break;
8397 		};
8398 		break;
8399 	/* cap_fcntls_get */
8400 	case 537:
8401 		switch(ndx) {
8402 		case 0:
8403 			p = "int";
8404 			break;
8405 		case 1:
8406 			p = "userland uint32_t *";
8407 			break;
8408 		default:
8409 			break;
8410 		};
8411 		break;
8412 	/* bindat */
8413 	case 538:
8414 		switch(ndx) {
8415 		case 0:
8416 			p = "int";
8417 			break;
8418 		case 1:
8419 			p = "int";
8420 			break;
8421 		case 2:
8422 			p = "userland const struct sockaddr *";
8423 			break;
8424 		case 3:
8425 			p = "int";
8426 			break;
8427 		default:
8428 			break;
8429 		};
8430 		break;
8431 	/* connectat */
8432 	case 539:
8433 		switch(ndx) {
8434 		case 0:
8435 			p = "int";
8436 			break;
8437 		case 1:
8438 			p = "int";
8439 			break;
8440 		case 2:
8441 			p = "userland const struct sockaddr *";
8442 			break;
8443 		case 3:
8444 			p = "int";
8445 			break;
8446 		default:
8447 			break;
8448 		};
8449 		break;
8450 	/* chflagsat */
8451 	case 540:
8452 		switch(ndx) {
8453 		case 0:
8454 			p = "int";
8455 			break;
8456 		case 1:
8457 			p = "userland const char *";
8458 			break;
8459 		case 2:
8460 			p = "u_long";
8461 			break;
8462 		case 3:
8463 			p = "int";
8464 			break;
8465 		default:
8466 			break;
8467 		};
8468 		break;
8469 	/* accept4 */
8470 	case 541:
8471 		switch(ndx) {
8472 		case 0:
8473 			p = "int";
8474 			break;
8475 		case 1:
8476 			p = "userland struct sockaddr *";
8477 			break;
8478 		case 2:
8479 			p = "userland __socklen_t *";
8480 			break;
8481 		case 3:
8482 			p = "int";
8483 			break;
8484 		default:
8485 			break;
8486 		};
8487 		break;
8488 	/* pipe2 */
8489 	case 542:
8490 		switch(ndx) {
8491 		case 0:
8492 			p = "userland int *";
8493 			break;
8494 		case 1:
8495 			p = "int";
8496 			break;
8497 		default:
8498 			break;
8499 		};
8500 		break;
8501 	/* aio_mlock */
8502 	case 543:
8503 		switch(ndx) {
8504 		case 0:
8505 			p = "userland struct aiocb *";
8506 			break;
8507 		default:
8508 			break;
8509 		};
8510 		break;
8511 	/* procctl */
8512 	case 544:
8513 		switch(ndx) {
8514 		case 0:
8515 			p = "idtype_t";
8516 			break;
8517 		case 1:
8518 			p = "id_t";
8519 			break;
8520 		case 2:
8521 			p = "int";
8522 			break;
8523 		case 3:
8524 			p = "userland void *";
8525 			break;
8526 		default:
8527 			break;
8528 		};
8529 		break;
8530 	/* ppoll */
8531 	case 545:
8532 		switch(ndx) {
8533 		case 0:
8534 			p = "userland struct pollfd *";
8535 			break;
8536 		case 1:
8537 			p = "u_int";
8538 			break;
8539 		case 2:
8540 			p = "userland const struct timespec *";
8541 			break;
8542 		case 3:
8543 			p = "userland const sigset_t *";
8544 			break;
8545 		default:
8546 			break;
8547 		};
8548 		break;
8549 	/* futimens */
8550 	case 546:
8551 		switch(ndx) {
8552 		case 0:
8553 			p = "int";
8554 			break;
8555 		case 1:
8556 			p = "userland struct timespec *";
8557 			break;
8558 		default:
8559 			break;
8560 		};
8561 		break;
8562 	/* utimensat */
8563 	case 547:
8564 		switch(ndx) {
8565 		case 0:
8566 			p = "int";
8567 			break;
8568 		case 1:
8569 			p = "userland const char *";
8570 			break;
8571 		case 2:
8572 			p = "userland struct timespec *";
8573 			break;
8574 		case 3:
8575 			p = "int";
8576 			break;
8577 		default:
8578 			break;
8579 		};
8580 		break;
8581 	/* fdatasync */
8582 	case 550:
8583 		switch(ndx) {
8584 		case 0:
8585 			p = "int";
8586 			break;
8587 		default:
8588 			break;
8589 		};
8590 		break;
8591 	/* fstat */
8592 	case 551:
8593 		switch(ndx) {
8594 		case 0:
8595 			p = "int";
8596 			break;
8597 		case 1:
8598 			p = "userland struct stat *";
8599 			break;
8600 		default:
8601 			break;
8602 		};
8603 		break;
8604 	/* fstatat */
8605 	case 552:
8606 		switch(ndx) {
8607 		case 0:
8608 			p = "int";
8609 			break;
8610 		case 1:
8611 			p = "userland const char *";
8612 			break;
8613 		case 2:
8614 			p = "userland struct stat *";
8615 			break;
8616 		case 3:
8617 			p = "int";
8618 			break;
8619 		default:
8620 			break;
8621 		};
8622 		break;
8623 	/* fhstat */
8624 	case 553:
8625 		switch(ndx) {
8626 		case 0:
8627 			p = "userland const struct fhandle *";
8628 			break;
8629 		case 1:
8630 			p = "userland struct stat *";
8631 			break;
8632 		default:
8633 			break;
8634 		};
8635 		break;
8636 	/* getdirentries */
8637 	case 554:
8638 		switch(ndx) {
8639 		case 0:
8640 			p = "int";
8641 			break;
8642 		case 1:
8643 			p = "userland char *";
8644 			break;
8645 		case 2:
8646 			p = "size_t";
8647 			break;
8648 		case 3:
8649 			p = "userland off_t *";
8650 			break;
8651 		default:
8652 			break;
8653 		};
8654 		break;
8655 	/* statfs */
8656 	case 555:
8657 		switch(ndx) {
8658 		case 0:
8659 			p = "userland const char *";
8660 			break;
8661 		case 1:
8662 			p = "userland struct statfs *";
8663 			break;
8664 		default:
8665 			break;
8666 		};
8667 		break;
8668 	/* fstatfs */
8669 	case 556:
8670 		switch(ndx) {
8671 		case 0:
8672 			p = "int";
8673 			break;
8674 		case 1:
8675 			p = "userland struct statfs *";
8676 			break;
8677 		default:
8678 			break;
8679 		};
8680 		break;
8681 	/* getfsstat */
8682 	case 557:
8683 		switch(ndx) {
8684 		case 0:
8685 			p = "userland struct statfs *";
8686 			break;
8687 		case 1:
8688 			p = "long";
8689 			break;
8690 		case 2:
8691 			p = "int";
8692 			break;
8693 		default:
8694 			break;
8695 		};
8696 		break;
8697 	/* fhstatfs */
8698 	case 558:
8699 		switch(ndx) {
8700 		case 0:
8701 			p = "userland const struct fhandle *";
8702 			break;
8703 		case 1:
8704 			p = "userland struct statfs *";
8705 			break;
8706 		default:
8707 			break;
8708 		};
8709 		break;
8710 	/* mknodat */
8711 	case 559:
8712 		switch(ndx) {
8713 		case 0:
8714 			p = "int";
8715 			break;
8716 		case 1:
8717 			p = "userland const char *";
8718 			break;
8719 		case 2:
8720 			p = "mode_t";
8721 			break;
8722 		case 3:
8723 			p = "dev_t";
8724 			break;
8725 		default:
8726 			break;
8727 		};
8728 		break;
8729 	/* kevent */
8730 	case 560:
8731 		switch(ndx) {
8732 		case 0:
8733 			p = "int";
8734 			break;
8735 		case 1:
8736 			p = "userland struct kevent *";
8737 			break;
8738 		case 2:
8739 			p = "int";
8740 			break;
8741 		case 3:
8742 			p = "userland struct kevent *";
8743 			break;
8744 		case 4:
8745 			p = "int";
8746 			break;
8747 		case 5:
8748 			p = "userland const struct timespec *";
8749 			break;
8750 		default:
8751 			break;
8752 		};
8753 		break;
8754 	/* cpuset_getdomain */
8755 	case 561:
8756 		switch(ndx) {
8757 		case 0:
8758 			p = "cpulevel_t";
8759 			break;
8760 		case 1:
8761 			p = "cpuwhich_t";
8762 			break;
8763 		case 2:
8764 			p = "id_t";
8765 			break;
8766 		case 3:
8767 			p = "size_t";
8768 			break;
8769 		case 4:
8770 			p = "userland domainset_t *";
8771 			break;
8772 		case 5:
8773 			p = "userland int *";
8774 			break;
8775 		default:
8776 			break;
8777 		};
8778 		break;
8779 	/* cpuset_setdomain */
8780 	case 562:
8781 		switch(ndx) {
8782 		case 0:
8783 			p = "cpulevel_t";
8784 			break;
8785 		case 1:
8786 			p = "cpuwhich_t";
8787 			break;
8788 		case 2:
8789 			p = "id_t";
8790 			break;
8791 		case 3:
8792 			p = "size_t";
8793 			break;
8794 		case 4:
8795 			p = "userland domainset_t *";
8796 			break;
8797 		case 5:
8798 			p = "int";
8799 			break;
8800 		default:
8801 			break;
8802 		};
8803 		break;
8804 	/* getrandom */
8805 	case 563:
8806 		switch(ndx) {
8807 		case 0:
8808 			p = "userland void *";
8809 			break;
8810 		case 1:
8811 			p = "size_t";
8812 			break;
8813 		case 2:
8814 			p = "unsigned int";
8815 			break;
8816 		default:
8817 			break;
8818 		};
8819 		break;
8820 	/* getfhat */
8821 	case 564:
8822 		switch(ndx) {
8823 		case 0:
8824 			p = "int";
8825 			break;
8826 		case 1:
8827 			p = "userland char *";
8828 			break;
8829 		case 2:
8830 			p = "userland struct fhandle *";
8831 			break;
8832 		case 3:
8833 			p = "int";
8834 			break;
8835 		default:
8836 			break;
8837 		};
8838 		break;
8839 	/* fhlink */
8840 	case 565:
8841 		switch(ndx) {
8842 		case 0:
8843 			p = "userland struct fhandle *";
8844 			break;
8845 		case 1:
8846 			p = "userland const char *";
8847 			break;
8848 		default:
8849 			break;
8850 		};
8851 		break;
8852 	/* fhlinkat */
8853 	case 566:
8854 		switch(ndx) {
8855 		case 0:
8856 			p = "userland struct fhandle *";
8857 			break;
8858 		case 1:
8859 			p = "int";
8860 			break;
8861 		case 2:
8862 			p = "userland const char *";
8863 			break;
8864 		default:
8865 			break;
8866 		};
8867 		break;
8868 	/* fhreadlink */
8869 	case 567:
8870 		switch(ndx) {
8871 		case 0:
8872 			p = "userland struct fhandle *";
8873 			break;
8874 		case 1:
8875 			p = "userland char *";
8876 			break;
8877 		case 2:
8878 			p = "size_t";
8879 			break;
8880 		default:
8881 			break;
8882 		};
8883 		break;
8884 	/* funlinkat */
8885 	case 568:
8886 		switch(ndx) {
8887 		case 0:
8888 			p = "int";
8889 			break;
8890 		case 1:
8891 			p = "userland const char *";
8892 			break;
8893 		case 2:
8894 			p = "int";
8895 			break;
8896 		case 3:
8897 			p = "int";
8898 			break;
8899 		default:
8900 			break;
8901 		};
8902 		break;
8903 	/* copy_file_range */
8904 	case 569:
8905 		switch(ndx) {
8906 		case 0:
8907 			p = "int";
8908 			break;
8909 		case 1:
8910 			p = "userland off_t *";
8911 			break;
8912 		case 2:
8913 			p = "int";
8914 			break;
8915 		case 3:
8916 			p = "userland off_t *";
8917 			break;
8918 		case 4:
8919 			p = "size_t";
8920 			break;
8921 		case 5:
8922 			p = "unsigned int";
8923 			break;
8924 		default:
8925 			break;
8926 		};
8927 		break;
8928 	/* __sysctlbyname */
8929 	case 570:
8930 		switch(ndx) {
8931 		case 0:
8932 			p = "userland const char *";
8933 			break;
8934 		case 1:
8935 			p = "size_t";
8936 			break;
8937 		case 2:
8938 			p = "userland void *";
8939 			break;
8940 		case 3:
8941 			p = "userland size_t *";
8942 			break;
8943 		case 4:
8944 			p = "userland void *";
8945 			break;
8946 		case 5:
8947 			p = "size_t";
8948 			break;
8949 		default:
8950 			break;
8951 		};
8952 		break;
8953 	/* shm_open2 */
8954 	case 571:
8955 		switch(ndx) {
8956 		case 0:
8957 			p = "userland const char *";
8958 			break;
8959 		case 1:
8960 			p = "int";
8961 			break;
8962 		case 2:
8963 			p = "mode_t";
8964 			break;
8965 		case 3:
8966 			p = "int";
8967 			break;
8968 		case 4:
8969 			p = "userland const char *";
8970 			break;
8971 		default:
8972 			break;
8973 		};
8974 		break;
8975 	/* shm_rename */
8976 	case 572:
8977 		switch(ndx) {
8978 		case 0:
8979 			p = "userland const char *";
8980 			break;
8981 		case 1:
8982 			p = "userland const char *";
8983 			break;
8984 		case 2:
8985 			p = "int";
8986 			break;
8987 		default:
8988 			break;
8989 		};
8990 		break;
8991 	/* sigfastblock */
8992 	case 573:
8993 		switch(ndx) {
8994 		case 0:
8995 			p = "int";
8996 			break;
8997 		case 1:
8998 			p = "userland uint32_t *";
8999 			break;
9000 		default:
9001 			break;
9002 		};
9003 		break;
9004 	/* __realpathat */
9005 	case 574:
9006 		switch(ndx) {
9007 		case 0:
9008 			p = "int";
9009 			break;
9010 		case 1:
9011 			p = "userland const char *";
9012 			break;
9013 		case 2:
9014 			p = "userland char *";
9015 			break;
9016 		case 3:
9017 			p = "size_t";
9018 			break;
9019 		case 4:
9020 			p = "int";
9021 			break;
9022 		default:
9023 			break;
9024 		};
9025 		break;
9026 	/* close_range */
9027 	case 575:
9028 		switch(ndx) {
9029 		case 0:
9030 			p = "u_int";
9031 			break;
9032 		case 1:
9033 			p = "u_int";
9034 			break;
9035 		case 2:
9036 			p = "int";
9037 			break;
9038 		default:
9039 			break;
9040 		};
9041 		break;
9042 	/* rpctls_syscall */
9043 	case 576:
9044 		switch(ndx) {
9045 		case 0:
9046 			p = "int";
9047 			break;
9048 		case 1:
9049 			p = "userland const char *";
9050 			break;
9051 		default:
9052 			break;
9053 		};
9054 		break;
9055 	/* __specialfd */
9056 	case 577:
9057 		switch(ndx) {
9058 		case 0:
9059 			p = "int";
9060 			break;
9061 		case 1:
9062 			p = "userland const void *";
9063 			break;
9064 		case 2:
9065 			p = "size_t";
9066 			break;
9067 		default:
9068 			break;
9069 		};
9070 		break;
9071 	/* aio_writev */
9072 	case 578:
9073 		switch(ndx) {
9074 		case 0:
9075 			p = "userland struct aiocb *";
9076 			break;
9077 		default:
9078 			break;
9079 		};
9080 		break;
9081 	/* aio_readv */
9082 	case 579:
9083 		switch(ndx) {
9084 		case 0:
9085 			p = "userland struct aiocb *";
9086 			break;
9087 		default:
9088 			break;
9089 		};
9090 		break;
9091 	default:
9092 		break;
9093 	};
9094 	if (p != NULL)
9095 		strlcpy(desc, p, descsz);
9096 }
9097 static void
9098 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9099 {
9100 	const char *p = NULL;
9101 	switch (sysnum) {
9102 	/* nosys */
9103 	case 0:
9104 	/* sys_exit */
9105 	case 1:
9106 		if (ndx == 0 || ndx == 1)
9107 			p = "void";
9108 		break;
9109 	/* fork */
9110 	case 2:
9111 	/* read */
9112 	case 3:
9113 		if (ndx == 0 || ndx == 1)
9114 			p = "ssize_t";
9115 		break;
9116 	/* write */
9117 	case 4:
9118 		if (ndx == 0 || ndx == 1)
9119 			p = "ssize_t";
9120 		break;
9121 	/* open */
9122 	case 5:
9123 		if (ndx == 0 || ndx == 1)
9124 			p = "int";
9125 		break;
9126 	/* close */
9127 	case 6:
9128 		if (ndx == 0 || ndx == 1)
9129 			p = "int";
9130 		break;
9131 	/* wait4 */
9132 	case 7:
9133 		if (ndx == 0 || ndx == 1)
9134 			p = "int";
9135 		break;
9136 	/* link */
9137 	case 9:
9138 		if (ndx == 0 || ndx == 1)
9139 			p = "int";
9140 		break;
9141 	/* unlink */
9142 	case 10:
9143 		if (ndx == 0 || ndx == 1)
9144 			p = "int";
9145 		break;
9146 	/* chdir */
9147 	case 12:
9148 		if (ndx == 0 || ndx == 1)
9149 			p = "int";
9150 		break;
9151 	/* fchdir */
9152 	case 13:
9153 		if (ndx == 0 || ndx == 1)
9154 			p = "int";
9155 		break;
9156 	/* chmod */
9157 	case 15:
9158 		if (ndx == 0 || ndx == 1)
9159 			p = "int";
9160 		break;
9161 	/* chown */
9162 	case 16:
9163 		if (ndx == 0 || ndx == 1)
9164 			p = "int";
9165 		break;
9166 	/* break */
9167 	case 17:
9168 		if (ndx == 0 || ndx == 1)
9169 			p = "void *";
9170 		break;
9171 	/* getpid */
9172 	case 20:
9173 	/* mount */
9174 	case 21:
9175 		if (ndx == 0 || ndx == 1)
9176 			p = "int";
9177 		break;
9178 	/* unmount */
9179 	case 22:
9180 		if (ndx == 0 || ndx == 1)
9181 			p = "int";
9182 		break;
9183 	/* setuid */
9184 	case 23:
9185 		if (ndx == 0 || ndx == 1)
9186 			p = "int";
9187 		break;
9188 	/* getuid */
9189 	case 24:
9190 	/* geteuid */
9191 	case 25:
9192 	/* ptrace */
9193 	case 26:
9194 		if (ndx == 0 || ndx == 1)
9195 			p = "int";
9196 		break;
9197 	/* recvmsg */
9198 	case 27:
9199 		if (ndx == 0 || ndx == 1)
9200 			p = "int";
9201 		break;
9202 	/* sendmsg */
9203 	case 28:
9204 		if (ndx == 0 || ndx == 1)
9205 			p = "int";
9206 		break;
9207 	/* recvfrom */
9208 	case 29:
9209 		if (ndx == 0 || ndx == 1)
9210 			p = "int";
9211 		break;
9212 	/* accept */
9213 	case 30:
9214 		if (ndx == 0 || ndx == 1)
9215 			p = "int";
9216 		break;
9217 	/* getpeername */
9218 	case 31:
9219 		if (ndx == 0 || ndx == 1)
9220 			p = "int";
9221 		break;
9222 	/* getsockname */
9223 	case 32:
9224 		if (ndx == 0 || ndx == 1)
9225 			p = "int";
9226 		break;
9227 	/* access */
9228 	case 33:
9229 		if (ndx == 0 || ndx == 1)
9230 			p = "int";
9231 		break;
9232 	/* chflags */
9233 	case 34:
9234 		if (ndx == 0 || ndx == 1)
9235 			p = "int";
9236 		break;
9237 	/* fchflags */
9238 	case 35:
9239 		if (ndx == 0 || ndx == 1)
9240 			p = "int";
9241 		break;
9242 	/* sync */
9243 	case 36:
9244 	/* kill */
9245 	case 37:
9246 		if (ndx == 0 || ndx == 1)
9247 			p = "int";
9248 		break;
9249 	/* getppid */
9250 	case 39:
9251 	/* dup */
9252 	case 41:
9253 		if (ndx == 0 || ndx == 1)
9254 			p = "int";
9255 		break;
9256 	/* getegid */
9257 	case 43:
9258 	/* profil */
9259 	case 44:
9260 		if (ndx == 0 || ndx == 1)
9261 			p = "int";
9262 		break;
9263 	/* ktrace */
9264 	case 45:
9265 		if (ndx == 0 || ndx == 1)
9266 			p = "int";
9267 		break;
9268 	/* getgid */
9269 	case 47:
9270 	/* getlogin */
9271 	case 49:
9272 		if (ndx == 0 || ndx == 1)
9273 			p = "int";
9274 		break;
9275 	/* setlogin */
9276 	case 50:
9277 		if (ndx == 0 || ndx == 1)
9278 			p = "int";
9279 		break;
9280 	/* acct */
9281 	case 51:
9282 		if (ndx == 0 || ndx == 1)
9283 			p = "int";
9284 		break;
9285 	/* sigaltstack */
9286 	case 53:
9287 		if (ndx == 0 || ndx == 1)
9288 			p = "int";
9289 		break;
9290 	/* ioctl */
9291 	case 54:
9292 		if (ndx == 0 || ndx == 1)
9293 			p = "int";
9294 		break;
9295 	/* reboot */
9296 	case 55:
9297 		if (ndx == 0 || ndx == 1)
9298 			p = "int";
9299 		break;
9300 	/* revoke */
9301 	case 56:
9302 		if (ndx == 0 || ndx == 1)
9303 			p = "int";
9304 		break;
9305 	/* symlink */
9306 	case 57:
9307 		if (ndx == 0 || ndx == 1)
9308 			p = "int";
9309 		break;
9310 	/* readlink */
9311 	case 58:
9312 		if (ndx == 0 || ndx == 1)
9313 			p = "ssize_t";
9314 		break;
9315 	/* execve */
9316 	case 59:
9317 		if (ndx == 0 || ndx == 1)
9318 			p = "int";
9319 		break;
9320 	/* umask */
9321 	case 60:
9322 		if (ndx == 0 || ndx == 1)
9323 			p = "int";
9324 		break;
9325 	/* chroot */
9326 	case 61:
9327 		if (ndx == 0 || ndx == 1)
9328 			p = "int";
9329 		break;
9330 	/* msync */
9331 	case 65:
9332 		if (ndx == 0 || ndx == 1)
9333 			p = "int";
9334 		break;
9335 	/* vfork */
9336 	case 66:
9337 	/* sbrk */
9338 	case 69:
9339 		if (ndx == 0 || ndx == 1)
9340 			p = "int";
9341 		break;
9342 	/* sstk */
9343 	case 70:
9344 		if (ndx == 0 || ndx == 1)
9345 			p = "int";
9346 		break;
9347 	/* munmap */
9348 	case 73:
9349 		if (ndx == 0 || ndx == 1)
9350 			p = "int";
9351 		break;
9352 	/* mprotect */
9353 	case 74:
9354 		if (ndx == 0 || ndx == 1)
9355 			p = "int";
9356 		break;
9357 	/* madvise */
9358 	case 75:
9359 		if (ndx == 0 || ndx == 1)
9360 			p = "int";
9361 		break;
9362 	/* mincore */
9363 	case 78:
9364 		if (ndx == 0 || ndx == 1)
9365 			p = "int";
9366 		break;
9367 	/* getgroups */
9368 	case 79:
9369 		if (ndx == 0 || ndx == 1)
9370 			p = "int";
9371 		break;
9372 	/* setgroups */
9373 	case 80:
9374 		if (ndx == 0 || ndx == 1)
9375 			p = "int";
9376 		break;
9377 	/* getpgrp */
9378 	case 81:
9379 	/* setpgid */
9380 	case 82:
9381 		if (ndx == 0 || ndx == 1)
9382 			p = "int";
9383 		break;
9384 	/* setitimer */
9385 	case 83:
9386 		if (ndx == 0 || ndx == 1)
9387 			p = "int";
9388 		break;
9389 	/* swapon */
9390 	case 85:
9391 		if (ndx == 0 || ndx == 1)
9392 			p = "int";
9393 		break;
9394 	/* getitimer */
9395 	case 86:
9396 		if (ndx == 0 || ndx == 1)
9397 			p = "int";
9398 		break;
9399 	/* getdtablesize */
9400 	case 89:
9401 	/* dup2 */
9402 	case 90:
9403 		if (ndx == 0 || ndx == 1)
9404 			p = "int";
9405 		break;
9406 	/* fcntl */
9407 	case 92:
9408 		if (ndx == 0 || ndx == 1)
9409 			p = "int";
9410 		break;
9411 	/* select */
9412 	case 93:
9413 		if (ndx == 0 || ndx == 1)
9414 			p = "int";
9415 		break;
9416 	/* fsync */
9417 	case 95:
9418 		if (ndx == 0 || ndx == 1)
9419 			p = "int";
9420 		break;
9421 	/* setpriority */
9422 	case 96:
9423 		if (ndx == 0 || ndx == 1)
9424 			p = "int";
9425 		break;
9426 	/* socket */
9427 	case 97:
9428 		if (ndx == 0 || ndx == 1)
9429 			p = "int";
9430 		break;
9431 	/* connect */
9432 	case 98:
9433 		if (ndx == 0 || ndx == 1)
9434 			p = "int";
9435 		break;
9436 	/* getpriority */
9437 	case 100:
9438 		if (ndx == 0 || ndx == 1)
9439 			p = "int";
9440 		break;
9441 	/* bind */
9442 	case 104:
9443 		if (ndx == 0 || ndx == 1)
9444 			p = "int";
9445 		break;
9446 	/* setsockopt */
9447 	case 105:
9448 		if (ndx == 0 || ndx == 1)
9449 			p = "int";
9450 		break;
9451 	/* listen */
9452 	case 106:
9453 		if (ndx == 0 || ndx == 1)
9454 			p = "int";
9455 		break;
9456 	/* gettimeofday */
9457 	case 116:
9458 		if (ndx == 0 || ndx == 1)
9459 			p = "int";
9460 		break;
9461 	/* getrusage */
9462 	case 117:
9463 		if (ndx == 0 || ndx == 1)
9464 			p = "int";
9465 		break;
9466 	/* getsockopt */
9467 	case 118:
9468 		if (ndx == 0 || ndx == 1)
9469 			p = "int";
9470 		break;
9471 	/* readv */
9472 	case 120:
9473 		if (ndx == 0 || ndx == 1)
9474 			p = "int";
9475 		break;
9476 	/* writev */
9477 	case 121:
9478 		if (ndx == 0 || ndx == 1)
9479 			p = "int";
9480 		break;
9481 	/* settimeofday */
9482 	case 122:
9483 		if (ndx == 0 || ndx == 1)
9484 			p = "int";
9485 		break;
9486 	/* fchown */
9487 	case 123:
9488 		if (ndx == 0 || ndx == 1)
9489 			p = "int";
9490 		break;
9491 	/* fchmod */
9492 	case 124:
9493 		if (ndx == 0 || ndx == 1)
9494 			p = "int";
9495 		break;
9496 	/* setreuid */
9497 	case 126:
9498 		if (ndx == 0 || ndx == 1)
9499 			p = "int";
9500 		break;
9501 	/* setregid */
9502 	case 127:
9503 		if (ndx == 0 || ndx == 1)
9504 			p = "int";
9505 		break;
9506 	/* rename */
9507 	case 128:
9508 		if (ndx == 0 || ndx == 1)
9509 			p = "int";
9510 		break;
9511 	/* flock */
9512 	case 131:
9513 		if (ndx == 0 || ndx == 1)
9514 			p = "int";
9515 		break;
9516 	/* mkfifo */
9517 	case 132:
9518 		if (ndx == 0 || ndx == 1)
9519 			p = "int";
9520 		break;
9521 	/* sendto */
9522 	case 133:
9523 		if (ndx == 0 || ndx == 1)
9524 			p = "int";
9525 		break;
9526 	/* shutdown */
9527 	case 134:
9528 		if (ndx == 0 || ndx == 1)
9529 			p = "int";
9530 		break;
9531 	/* socketpair */
9532 	case 135:
9533 		if (ndx == 0 || ndx == 1)
9534 			p = "int";
9535 		break;
9536 	/* mkdir */
9537 	case 136:
9538 		if (ndx == 0 || ndx == 1)
9539 			p = "int";
9540 		break;
9541 	/* rmdir */
9542 	case 137:
9543 		if (ndx == 0 || ndx == 1)
9544 			p = "int";
9545 		break;
9546 	/* utimes */
9547 	case 138:
9548 		if (ndx == 0 || ndx == 1)
9549 			p = "int";
9550 		break;
9551 	/* adjtime */
9552 	case 140:
9553 		if (ndx == 0 || ndx == 1)
9554 			p = "int";
9555 		break;
9556 	/* setsid */
9557 	case 147:
9558 	/* quotactl */
9559 	case 148:
9560 		if (ndx == 0 || ndx == 1)
9561 			p = "int";
9562 		break;
9563 	/* nlm_syscall */
9564 	case 154:
9565 		if (ndx == 0 || ndx == 1)
9566 			p = "int";
9567 		break;
9568 	/* nfssvc */
9569 	case 155:
9570 		if (ndx == 0 || ndx == 1)
9571 			p = "int";
9572 		break;
9573 	/* lgetfh */
9574 	case 160:
9575 		if (ndx == 0 || ndx == 1)
9576 			p = "int";
9577 		break;
9578 	/* getfh */
9579 	case 161:
9580 		if (ndx == 0 || ndx == 1)
9581 			p = "int";
9582 		break;
9583 	/* sysarch */
9584 	case 165:
9585 		if (ndx == 0 || ndx == 1)
9586 			p = "int";
9587 		break;
9588 	/* rtprio */
9589 	case 166:
9590 		if (ndx == 0 || ndx == 1)
9591 			p = "int";
9592 		break;
9593 	/* semsys */
9594 	case 169:
9595 		if (ndx == 0 || ndx == 1)
9596 			p = "int";
9597 		break;
9598 	/* msgsys */
9599 	case 170:
9600 		if (ndx == 0 || ndx == 1)
9601 			p = "int";
9602 		break;
9603 	/* shmsys */
9604 	case 171:
9605 		if (ndx == 0 || ndx == 1)
9606 			p = "int";
9607 		break;
9608 	/* setfib */
9609 	case 175:
9610 		if (ndx == 0 || ndx == 1)
9611 			p = "int";
9612 		break;
9613 	/* ntp_adjtime */
9614 	case 176:
9615 		if (ndx == 0 || ndx == 1)
9616 			p = "int";
9617 		break;
9618 	/* setgid */
9619 	case 181:
9620 		if (ndx == 0 || ndx == 1)
9621 			p = "int";
9622 		break;
9623 	/* setegid */
9624 	case 182:
9625 		if (ndx == 0 || ndx == 1)
9626 			p = "int";
9627 		break;
9628 	/* seteuid */
9629 	case 183:
9630 		if (ndx == 0 || ndx == 1)
9631 			p = "int";
9632 		break;
9633 	/* pathconf */
9634 	case 191:
9635 		if (ndx == 0 || ndx == 1)
9636 			p = "int";
9637 		break;
9638 	/* fpathconf */
9639 	case 192:
9640 		if (ndx == 0 || ndx == 1)
9641 			p = "int";
9642 		break;
9643 	/* getrlimit */
9644 	case 194:
9645 		if (ndx == 0 || ndx == 1)
9646 			p = "int";
9647 		break;
9648 	/* setrlimit */
9649 	case 195:
9650 		if (ndx == 0 || ndx == 1)
9651 			p = "int";
9652 		break;
9653 	/* nosys */
9654 	case 198:
9655 	/* __sysctl */
9656 	case 202:
9657 		if (ndx == 0 || ndx == 1)
9658 			p = "int";
9659 		break;
9660 	/* mlock */
9661 	case 203:
9662 		if (ndx == 0 || ndx == 1)
9663 			p = "int";
9664 		break;
9665 	/* munlock */
9666 	case 204:
9667 		if (ndx == 0 || ndx == 1)
9668 			p = "int";
9669 		break;
9670 	/* undelete */
9671 	case 205:
9672 		if (ndx == 0 || ndx == 1)
9673 			p = "int";
9674 		break;
9675 	/* futimes */
9676 	case 206:
9677 		if (ndx == 0 || ndx == 1)
9678 			p = "int";
9679 		break;
9680 	/* getpgid */
9681 	case 207:
9682 		if (ndx == 0 || ndx == 1)
9683 			p = "int";
9684 		break;
9685 	/* poll */
9686 	case 209:
9687 		if (ndx == 0 || ndx == 1)
9688 			p = "int";
9689 		break;
9690 	/* lkmnosys */
9691 	case 210:
9692 	/* lkmnosys */
9693 	case 211:
9694 	/* lkmnosys */
9695 	case 212:
9696 	/* lkmnosys */
9697 	case 213:
9698 	/* lkmnosys */
9699 	case 214:
9700 	/* lkmnosys */
9701 	case 215:
9702 	/* lkmnosys */
9703 	case 216:
9704 	/* lkmnosys */
9705 	case 217:
9706 	/* lkmnosys */
9707 	case 218:
9708 	/* lkmnosys */
9709 	case 219:
9710 	/* semget */
9711 	case 221:
9712 		if (ndx == 0 || ndx == 1)
9713 			p = "int";
9714 		break;
9715 	/* semop */
9716 	case 222:
9717 		if (ndx == 0 || ndx == 1)
9718 			p = "int";
9719 		break;
9720 	/* msgget */
9721 	case 225:
9722 		if (ndx == 0 || ndx == 1)
9723 			p = "int";
9724 		break;
9725 	/* msgsnd */
9726 	case 226:
9727 		if (ndx == 0 || ndx == 1)
9728 			p = "int";
9729 		break;
9730 	/* msgrcv */
9731 	case 227:
9732 		if (ndx == 0 || ndx == 1)
9733 			p = "ssize_t";
9734 		break;
9735 	/* shmat */
9736 	case 228:
9737 		if (ndx == 0 || ndx == 1)
9738 			p = "void *";
9739 		break;
9740 	/* shmdt */
9741 	case 230:
9742 		if (ndx == 0 || ndx == 1)
9743 			p = "int";
9744 		break;
9745 	/* shmget */
9746 	case 231:
9747 		if (ndx == 0 || ndx == 1)
9748 			p = "int";
9749 		break;
9750 	/* clock_gettime */
9751 	case 232:
9752 		if (ndx == 0 || ndx == 1)
9753 			p = "int";
9754 		break;
9755 	/* clock_settime */
9756 	case 233:
9757 		if (ndx == 0 || ndx == 1)
9758 			p = "int";
9759 		break;
9760 	/* clock_getres */
9761 	case 234:
9762 		if (ndx == 0 || ndx == 1)
9763 			p = "int";
9764 		break;
9765 	/* ktimer_create */
9766 	case 235:
9767 		if (ndx == 0 || ndx == 1)
9768 			p = "int";
9769 		break;
9770 	/* ktimer_delete */
9771 	case 236:
9772 		if (ndx == 0 || ndx == 1)
9773 			p = "int";
9774 		break;
9775 	/* ktimer_settime */
9776 	case 237:
9777 		if (ndx == 0 || ndx == 1)
9778 			p = "int";
9779 		break;
9780 	/* ktimer_gettime */
9781 	case 238:
9782 		if (ndx == 0 || ndx == 1)
9783 			p = "int";
9784 		break;
9785 	/* ktimer_getoverrun */
9786 	case 239:
9787 		if (ndx == 0 || ndx == 1)
9788 			p = "int";
9789 		break;
9790 	/* nanosleep */
9791 	case 240:
9792 		if (ndx == 0 || ndx == 1)
9793 			p = "int";
9794 		break;
9795 	/* ffclock_getcounter */
9796 	case 241:
9797 		if (ndx == 0 || ndx == 1)
9798 			p = "int";
9799 		break;
9800 	/* ffclock_setestimate */
9801 	case 242:
9802 		if (ndx == 0 || ndx == 1)
9803 			p = "int";
9804 		break;
9805 	/* ffclock_getestimate */
9806 	case 243:
9807 		if (ndx == 0 || ndx == 1)
9808 			p = "int";
9809 		break;
9810 	/* clock_nanosleep */
9811 	case 244:
9812 		if (ndx == 0 || ndx == 1)
9813 			p = "int";
9814 		break;
9815 	/* clock_getcpuclockid2 */
9816 	case 247:
9817 		if (ndx == 0 || ndx == 1)
9818 			p = "int";
9819 		break;
9820 	/* ntp_gettime */
9821 	case 248:
9822 		if (ndx == 0 || ndx == 1)
9823 			p = "int";
9824 		break;
9825 	/* minherit */
9826 	case 250:
9827 		if (ndx == 0 || ndx == 1)
9828 			p = "int";
9829 		break;
9830 	/* rfork */
9831 	case 251:
9832 		if (ndx == 0 || ndx == 1)
9833 			p = "int";
9834 		break;
9835 	/* issetugid */
9836 	case 253:
9837 	/* lchown */
9838 	case 254:
9839 		if (ndx == 0 || ndx == 1)
9840 			p = "int";
9841 		break;
9842 	/* aio_read */
9843 	case 255:
9844 		if (ndx == 0 || ndx == 1)
9845 			p = "int";
9846 		break;
9847 	/* aio_write */
9848 	case 256:
9849 		if (ndx == 0 || ndx == 1)
9850 			p = "int";
9851 		break;
9852 	/* lio_listio */
9853 	case 257:
9854 		if (ndx == 0 || ndx == 1)
9855 			p = "int";
9856 		break;
9857 	/* lchmod */
9858 	case 274:
9859 		if (ndx == 0 || ndx == 1)
9860 			p = "int";
9861 		break;
9862 	/* lutimes */
9863 	case 276:
9864 		if (ndx == 0 || ndx == 1)
9865 			p = "int";
9866 		break;
9867 	/* preadv */
9868 	case 289:
9869 		if (ndx == 0 || ndx == 1)
9870 			p = "ssize_t";
9871 		break;
9872 	/* pwritev */
9873 	case 290:
9874 		if (ndx == 0 || ndx == 1)
9875 			p = "ssize_t";
9876 		break;
9877 	/* fhopen */
9878 	case 298:
9879 		if (ndx == 0 || ndx == 1)
9880 			p = "int";
9881 		break;
9882 	/* modnext */
9883 	case 300:
9884 		if (ndx == 0 || ndx == 1)
9885 			p = "int";
9886 		break;
9887 	/* modstat */
9888 	case 301:
9889 		if (ndx == 0 || ndx == 1)
9890 			p = "int";
9891 		break;
9892 	/* modfnext */
9893 	case 302:
9894 		if (ndx == 0 || ndx == 1)
9895 			p = "int";
9896 		break;
9897 	/* modfind */
9898 	case 303:
9899 		if (ndx == 0 || ndx == 1)
9900 			p = "int";
9901 		break;
9902 	/* kldload */
9903 	case 304:
9904 		if (ndx == 0 || ndx == 1)
9905 			p = "int";
9906 		break;
9907 	/* kldunload */
9908 	case 305:
9909 		if (ndx == 0 || ndx == 1)
9910 			p = "int";
9911 		break;
9912 	/* kldfind */
9913 	case 306:
9914 		if (ndx == 0 || ndx == 1)
9915 			p = "int";
9916 		break;
9917 	/* kldnext */
9918 	case 307:
9919 		if (ndx == 0 || ndx == 1)
9920 			p = "int";
9921 		break;
9922 	/* kldstat */
9923 	case 308:
9924 		if (ndx == 0 || ndx == 1)
9925 			p = "int";
9926 		break;
9927 	/* kldfirstmod */
9928 	case 309:
9929 		if (ndx == 0 || ndx == 1)
9930 			p = "int";
9931 		break;
9932 	/* getsid */
9933 	case 310:
9934 		if (ndx == 0 || ndx == 1)
9935 			p = "int";
9936 		break;
9937 	/* setresuid */
9938 	case 311:
9939 		if (ndx == 0 || ndx == 1)
9940 			p = "int";
9941 		break;
9942 	/* setresgid */
9943 	case 312:
9944 		if (ndx == 0 || ndx == 1)
9945 			p = "int";
9946 		break;
9947 	/* aio_return */
9948 	case 314:
9949 		if (ndx == 0 || ndx == 1)
9950 			p = "ssize_t";
9951 		break;
9952 	/* aio_suspend */
9953 	case 315:
9954 		if (ndx == 0 || ndx == 1)
9955 			p = "int";
9956 		break;
9957 	/* aio_cancel */
9958 	case 316:
9959 		if (ndx == 0 || ndx == 1)
9960 			p = "int";
9961 		break;
9962 	/* aio_error */
9963 	case 317:
9964 		if (ndx == 0 || ndx == 1)
9965 			p = "int";
9966 		break;
9967 	/* yield */
9968 	case 321:
9969 	/* mlockall */
9970 	case 324:
9971 		if (ndx == 0 || ndx == 1)
9972 			p = "int";
9973 		break;
9974 	/* munlockall */
9975 	case 325:
9976 	/* __getcwd */
9977 	case 326:
9978 		if (ndx == 0 || ndx == 1)
9979 			p = "int";
9980 		break;
9981 	/* sched_setparam */
9982 	case 327:
9983 		if (ndx == 0 || ndx == 1)
9984 			p = "int";
9985 		break;
9986 	/* sched_getparam */
9987 	case 328:
9988 		if (ndx == 0 || ndx == 1)
9989 			p = "int";
9990 		break;
9991 	/* sched_setscheduler */
9992 	case 329:
9993 		if (ndx == 0 || ndx == 1)
9994 			p = "int";
9995 		break;
9996 	/* sched_getscheduler */
9997 	case 330:
9998 		if (ndx == 0 || ndx == 1)
9999 			p = "int";
10000 		break;
10001 	/* sched_yield */
10002 	case 331:
10003 	/* sched_get_priority_max */
10004 	case 332:
10005 		if (ndx == 0 || ndx == 1)
10006 			p = "int";
10007 		break;
10008 	/* sched_get_priority_min */
10009 	case 333:
10010 		if (ndx == 0 || ndx == 1)
10011 			p = "int";
10012 		break;
10013 	/* sched_rr_get_interval */
10014 	case 334:
10015 		if (ndx == 0 || ndx == 1)
10016 			p = "int";
10017 		break;
10018 	/* utrace */
10019 	case 335:
10020 		if (ndx == 0 || ndx == 1)
10021 			p = "int";
10022 		break;
10023 	/* kldsym */
10024 	case 337:
10025 		if (ndx == 0 || ndx == 1)
10026 			p = "int";
10027 		break;
10028 	/* jail */
10029 	case 338:
10030 		if (ndx == 0 || ndx == 1)
10031 			p = "int";
10032 		break;
10033 	/* nnpfs_syscall */
10034 	case 339:
10035 		if (ndx == 0 || ndx == 1)
10036 			p = "int";
10037 		break;
10038 	/* sigprocmask */
10039 	case 340:
10040 		if (ndx == 0 || ndx == 1)
10041 			p = "int";
10042 		break;
10043 	/* sigsuspend */
10044 	case 341:
10045 		if (ndx == 0 || ndx == 1)
10046 			p = "int";
10047 		break;
10048 	/* sigpending */
10049 	case 343:
10050 		if (ndx == 0 || ndx == 1)
10051 			p = "int";
10052 		break;
10053 	/* sigtimedwait */
10054 	case 345:
10055 		if (ndx == 0 || ndx == 1)
10056 			p = "int";
10057 		break;
10058 	/* sigwaitinfo */
10059 	case 346:
10060 		if (ndx == 0 || ndx == 1)
10061 			p = "int";
10062 		break;
10063 	/* __acl_get_file */
10064 	case 347:
10065 		if (ndx == 0 || ndx == 1)
10066 			p = "int";
10067 		break;
10068 	/* __acl_set_file */
10069 	case 348:
10070 		if (ndx == 0 || ndx == 1)
10071 			p = "int";
10072 		break;
10073 	/* __acl_get_fd */
10074 	case 349:
10075 		if (ndx == 0 || ndx == 1)
10076 			p = "int";
10077 		break;
10078 	/* __acl_set_fd */
10079 	case 350:
10080 		if (ndx == 0 || ndx == 1)
10081 			p = "int";
10082 		break;
10083 	/* __acl_delete_file */
10084 	case 351:
10085 		if (ndx == 0 || ndx == 1)
10086 			p = "int";
10087 		break;
10088 	/* __acl_delete_fd */
10089 	case 352:
10090 		if (ndx == 0 || ndx == 1)
10091 			p = "int";
10092 		break;
10093 	/* __acl_aclcheck_file */
10094 	case 353:
10095 		if (ndx == 0 || ndx == 1)
10096 			p = "int";
10097 		break;
10098 	/* __acl_aclcheck_fd */
10099 	case 354:
10100 		if (ndx == 0 || ndx == 1)
10101 			p = "int";
10102 		break;
10103 	/* extattrctl */
10104 	case 355:
10105 		if (ndx == 0 || ndx == 1)
10106 			p = "int";
10107 		break;
10108 	/* extattr_set_file */
10109 	case 356:
10110 		if (ndx == 0 || ndx == 1)
10111 			p = "ssize_t";
10112 		break;
10113 	/* extattr_get_file */
10114 	case 357:
10115 		if (ndx == 0 || ndx == 1)
10116 			p = "ssize_t";
10117 		break;
10118 	/* extattr_delete_file */
10119 	case 358:
10120 		if (ndx == 0 || ndx == 1)
10121 			p = "int";
10122 		break;
10123 	/* aio_waitcomplete */
10124 	case 359:
10125 		if (ndx == 0 || ndx == 1)
10126 			p = "ssize_t";
10127 		break;
10128 	/* getresuid */
10129 	case 360:
10130 		if (ndx == 0 || ndx == 1)
10131 			p = "int";
10132 		break;
10133 	/* getresgid */
10134 	case 361:
10135 		if (ndx == 0 || ndx == 1)
10136 			p = "int";
10137 		break;
10138 	/* kqueue */
10139 	case 362:
10140 	/* extattr_set_fd */
10141 	case 371:
10142 		if (ndx == 0 || ndx == 1)
10143 			p = "ssize_t";
10144 		break;
10145 	/* extattr_get_fd */
10146 	case 372:
10147 		if (ndx == 0 || ndx == 1)
10148 			p = "ssize_t";
10149 		break;
10150 	/* extattr_delete_fd */
10151 	case 373:
10152 		if (ndx == 0 || ndx == 1)
10153 			p = "int";
10154 		break;
10155 	/* __setugid */
10156 	case 374:
10157 		if (ndx == 0 || ndx == 1)
10158 			p = "int";
10159 		break;
10160 	/* eaccess */
10161 	case 376:
10162 		if (ndx == 0 || ndx == 1)
10163 			p = "int";
10164 		break;
10165 	/* afs3_syscall */
10166 	case 377:
10167 		if (ndx == 0 || ndx == 1)
10168 			p = "int";
10169 		break;
10170 	/* nmount */
10171 	case 378:
10172 		if (ndx == 0 || ndx == 1)
10173 			p = "int";
10174 		break;
10175 	/* __mac_get_proc */
10176 	case 384:
10177 		if (ndx == 0 || ndx == 1)
10178 			p = "int";
10179 		break;
10180 	/* __mac_set_proc */
10181 	case 385:
10182 		if (ndx == 0 || ndx == 1)
10183 			p = "int";
10184 		break;
10185 	/* __mac_get_fd */
10186 	case 386:
10187 		if (ndx == 0 || ndx == 1)
10188 			p = "int";
10189 		break;
10190 	/* __mac_get_file */
10191 	case 387:
10192 		if (ndx == 0 || ndx == 1)
10193 			p = "int";
10194 		break;
10195 	/* __mac_set_fd */
10196 	case 388:
10197 		if (ndx == 0 || ndx == 1)
10198 			p = "int";
10199 		break;
10200 	/* __mac_set_file */
10201 	case 389:
10202 		if (ndx == 0 || ndx == 1)
10203 			p = "int";
10204 		break;
10205 	/* kenv */
10206 	case 390:
10207 		if (ndx == 0 || ndx == 1)
10208 			p = "int";
10209 		break;
10210 	/* lchflags */
10211 	case 391:
10212 		if (ndx == 0 || ndx == 1)
10213 			p = "int";
10214 		break;
10215 	/* uuidgen */
10216 	case 392:
10217 		if (ndx == 0 || ndx == 1)
10218 			p = "int";
10219 		break;
10220 	/* sendfile */
10221 	case 393:
10222 		if (ndx == 0 || ndx == 1)
10223 			p = "int";
10224 		break;
10225 	/* mac_syscall */
10226 	case 394:
10227 		if (ndx == 0 || ndx == 1)
10228 			p = "int";
10229 		break;
10230 	/* ksem_close */
10231 	case 400:
10232 		if (ndx == 0 || ndx == 1)
10233 			p = "int";
10234 		break;
10235 	/* ksem_post */
10236 	case 401:
10237 		if (ndx == 0 || ndx == 1)
10238 			p = "int";
10239 		break;
10240 	/* ksem_wait */
10241 	case 402:
10242 		if (ndx == 0 || ndx == 1)
10243 			p = "int";
10244 		break;
10245 	/* ksem_trywait */
10246 	case 403:
10247 		if (ndx == 0 || ndx == 1)
10248 			p = "int";
10249 		break;
10250 	/* ksem_init */
10251 	case 404:
10252 		if (ndx == 0 || ndx == 1)
10253 			p = "int";
10254 		break;
10255 	/* ksem_open */
10256 	case 405:
10257 		if (ndx == 0 || ndx == 1)
10258 			p = "int";
10259 		break;
10260 	/* ksem_unlink */
10261 	case 406:
10262 		if (ndx == 0 || ndx == 1)
10263 			p = "int";
10264 		break;
10265 	/* ksem_getvalue */
10266 	case 407:
10267 		if (ndx == 0 || ndx == 1)
10268 			p = "int";
10269 		break;
10270 	/* ksem_destroy */
10271 	case 408:
10272 		if (ndx == 0 || ndx == 1)
10273 			p = "int";
10274 		break;
10275 	/* __mac_get_pid */
10276 	case 409:
10277 		if (ndx == 0 || ndx == 1)
10278 			p = "int";
10279 		break;
10280 	/* __mac_get_link */
10281 	case 410:
10282 		if (ndx == 0 || ndx == 1)
10283 			p = "int";
10284 		break;
10285 	/* __mac_set_link */
10286 	case 411:
10287 		if (ndx == 0 || ndx == 1)
10288 			p = "int";
10289 		break;
10290 	/* extattr_set_link */
10291 	case 412:
10292 		if (ndx == 0 || ndx == 1)
10293 			p = "ssize_t";
10294 		break;
10295 	/* extattr_get_link */
10296 	case 413:
10297 		if (ndx == 0 || ndx == 1)
10298 			p = "ssize_t";
10299 		break;
10300 	/* extattr_delete_link */
10301 	case 414:
10302 		if (ndx == 0 || ndx == 1)
10303 			p = "int";
10304 		break;
10305 	/* __mac_execve */
10306 	case 415:
10307 		if (ndx == 0 || ndx == 1)
10308 			p = "int";
10309 		break;
10310 	/* sigaction */
10311 	case 416:
10312 		if (ndx == 0 || ndx == 1)
10313 			p = "int";
10314 		break;
10315 	/* sigreturn */
10316 	case 417:
10317 		if (ndx == 0 || ndx == 1)
10318 			p = "int";
10319 		break;
10320 	/* getcontext */
10321 	case 421:
10322 		if (ndx == 0 || ndx == 1)
10323 			p = "int";
10324 		break;
10325 	/* setcontext */
10326 	case 422:
10327 		if (ndx == 0 || ndx == 1)
10328 			p = "int";
10329 		break;
10330 	/* swapcontext */
10331 	case 423:
10332 		if (ndx == 0 || ndx == 1)
10333 			p = "int";
10334 		break;
10335 	/* swapoff */
10336 	case 424:
10337 		if (ndx == 0 || ndx == 1)
10338 			p = "int";
10339 		break;
10340 	/* __acl_get_link */
10341 	case 425:
10342 		if (ndx == 0 || ndx == 1)
10343 			p = "int";
10344 		break;
10345 	/* __acl_set_link */
10346 	case 426:
10347 		if (ndx == 0 || ndx == 1)
10348 			p = "int";
10349 		break;
10350 	/* __acl_delete_link */
10351 	case 427:
10352 		if (ndx == 0 || ndx == 1)
10353 			p = "int";
10354 		break;
10355 	/* __acl_aclcheck_link */
10356 	case 428:
10357 		if (ndx == 0 || ndx == 1)
10358 			p = "int";
10359 		break;
10360 	/* sigwait */
10361 	case 429:
10362 		if (ndx == 0 || ndx == 1)
10363 			p = "int";
10364 		break;
10365 	/* thr_create */
10366 	case 430:
10367 		if (ndx == 0 || ndx == 1)
10368 			p = "int";
10369 		break;
10370 	/* thr_exit */
10371 	case 431:
10372 		if (ndx == 0 || ndx == 1)
10373 			p = "void";
10374 		break;
10375 	/* thr_self */
10376 	case 432:
10377 		if (ndx == 0 || ndx == 1)
10378 			p = "int";
10379 		break;
10380 	/* thr_kill */
10381 	case 433:
10382 		if (ndx == 0 || ndx == 1)
10383 			p = "int";
10384 		break;
10385 	/* jail_attach */
10386 	case 436:
10387 		if (ndx == 0 || ndx == 1)
10388 			p = "int";
10389 		break;
10390 	/* extattr_list_fd */
10391 	case 437:
10392 		if (ndx == 0 || ndx == 1)
10393 			p = "ssize_t";
10394 		break;
10395 	/* extattr_list_file */
10396 	case 438:
10397 		if (ndx == 0 || ndx == 1)
10398 			p = "ssize_t";
10399 		break;
10400 	/* extattr_list_link */
10401 	case 439:
10402 		if (ndx == 0 || ndx == 1)
10403 			p = "ssize_t";
10404 		break;
10405 	/* ksem_timedwait */
10406 	case 441:
10407 		if (ndx == 0 || ndx == 1)
10408 			p = "int";
10409 		break;
10410 	/* thr_suspend */
10411 	case 442:
10412 		if (ndx == 0 || ndx == 1)
10413 			p = "int";
10414 		break;
10415 	/* thr_wake */
10416 	case 443:
10417 		if (ndx == 0 || ndx == 1)
10418 			p = "int";
10419 		break;
10420 	/* kldunloadf */
10421 	case 444:
10422 		if (ndx == 0 || ndx == 1)
10423 			p = "int";
10424 		break;
10425 	/* audit */
10426 	case 445:
10427 		if (ndx == 0 || ndx == 1)
10428 			p = "int";
10429 		break;
10430 	/* auditon */
10431 	case 446:
10432 		if (ndx == 0 || ndx == 1)
10433 			p = "int";
10434 		break;
10435 	/* getauid */
10436 	case 447:
10437 		if (ndx == 0 || ndx == 1)
10438 			p = "int";
10439 		break;
10440 	/* setauid */
10441 	case 448:
10442 		if (ndx == 0 || ndx == 1)
10443 			p = "int";
10444 		break;
10445 	/* getaudit */
10446 	case 449:
10447 		if (ndx == 0 || ndx == 1)
10448 			p = "int";
10449 		break;
10450 	/* setaudit */
10451 	case 450:
10452 		if (ndx == 0 || ndx == 1)
10453 			p = "int";
10454 		break;
10455 	/* getaudit_addr */
10456 	case 451:
10457 		if (ndx == 0 || ndx == 1)
10458 			p = "int";
10459 		break;
10460 	/* setaudit_addr */
10461 	case 452:
10462 		if (ndx == 0 || ndx == 1)
10463 			p = "int";
10464 		break;
10465 	/* auditctl */
10466 	case 453:
10467 		if (ndx == 0 || ndx == 1)
10468 			p = "int";
10469 		break;
10470 	/* _umtx_op */
10471 	case 454:
10472 		if (ndx == 0 || ndx == 1)
10473 			p = "int";
10474 		break;
10475 	/* thr_new */
10476 	case 455:
10477 		if (ndx == 0 || ndx == 1)
10478 			p = "int";
10479 		break;
10480 	/* sigqueue */
10481 	case 456:
10482 		if (ndx == 0 || ndx == 1)
10483 			p = "int";
10484 		break;
10485 	/* kmq_open */
10486 	case 457:
10487 		if (ndx == 0 || ndx == 1)
10488 			p = "int";
10489 		break;
10490 	/* kmq_setattr */
10491 	case 458:
10492 		if (ndx == 0 || ndx == 1)
10493 			p = "int";
10494 		break;
10495 	/* kmq_timedreceive */
10496 	case 459:
10497 		if (ndx == 0 || ndx == 1)
10498 			p = "int";
10499 		break;
10500 	/* kmq_timedsend */
10501 	case 460:
10502 		if (ndx == 0 || ndx == 1)
10503 			p = "int";
10504 		break;
10505 	/* kmq_notify */
10506 	case 461:
10507 		if (ndx == 0 || ndx == 1)
10508 			p = "int";
10509 		break;
10510 	/* kmq_unlink */
10511 	case 462:
10512 		if (ndx == 0 || ndx == 1)
10513 			p = "int";
10514 		break;
10515 	/* abort2 */
10516 	case 463:
10517 		if (ndx == 0 || ndx == 1)
10518 			p = "int";
10519 		break;
10520 	/* thr_set_name */
10521 	case 464:
10522 		if (ndx == 0 || ndx == 1)
10523 			p = "int";
10524 		break;
10525 	/* aio_fsync */
10526 	case 465:
10527 		if (ndx == 0 || ndx == 1)
10528 			p = "int";
10529 		break;
10530 	/* rtprio_thread */
10531 	case 466:
10532 		if (ndx == 0 || ndx == 1)
10533 			p = "int";
10534 		break;
10535 	/* sctp_peeloff */
10536 	case 471:
10537 		if (ndx == 0 || ndx == 1)
10538 			p = "int";
10539 		break;
10540 	/* sctp_generic_sendmsg */
10541 	case 472:
10542 		if (ndx == 0 || ndx == 1)
10543 			p = "int";
10544 		break;
10545 	/* sctp_generic_sendmsg_iov */
10546 	case 473:
10547 		if (ndx == 0 || ndx == 1)
10548 			p = "int";
10549 		break;
10550 	/* sctp_generic_recvmsg */
10551 	case 474:
10552 		if (ndx == 0 || ndx == 1)
10553 			p = "int";
10554 		break;
10555 	/* pread */
10556 	case 475:
10557 		if (ndx == 0 || ndx == 1)
10558 			p = "ssize_t";
10559 		break;
10560 	/* pwrite */
10561 	case 476:
10562 		if (ndx == 0 || ndx == 1)
10563 			p = "ssize_t";
10564 		break;
10565 	/* mmap */
10566 	case 477:
10567 		if (ndx == 0 || ndx == 1)
10568 			p = "void *";
10569 		break;
10570 	/* lseek */
10571 	case 478:
10572 		if (ndx == 0 || ndx == 1)
10573 			p = "off_t";
10574 		break;
10575 	/* truncate */
10576 	case 479:
10577 		if (ndx == 0 || ndx == 1)
10578 			p = "int";
10579 		break;
10580 	/* ftruncate */
10581 	case 480:
10582 		if (ndx == 0 || ndx == 1)
10583 			p = "int";
10584 		break;
10585 	/* thr_kill2 */
10586 	case 481:
10587 		if (ndx == 0 || ndx == 1)
10588 			p = "int";
10589 		break;
10590 	/* shm_unlink */
10591 	case 483:
10592 		if (ndx == 0 || ndx == 1)
10593 			p = "int";
10594 		break;
10595 	/* cpuset */
10596 	case 484:
10597 		if (ndx == 0 || ndx == 1)
10598 			p = "int";
10599 		break;
10600 	/* cpuset_setid */
10601 	case 485:
10602 		if (ndx == 0 || ndx == 1)
10603 			p = "int";
10604 		break;
10605 	/* cpuset_getid */
10606 	case 486:
10607 		if (ndx == 0 || ndx == 1)
10608 			p = "int";
10609 		break;
10610 	/* cpuset_getaffinity */
10611 	case 487:
10612 		if (ndx == 0 || ndx == 1)
10613 			p = "int";
10614 		break;
10615 	/* cpuset_setaffinity */
10616 	case 488:
10617 		if (ndx == 0 || ndx == 1)
10618 			p = "int";
10619 		break;
10620 	/* faccessat */
10621 	case 489:
10622 		if (ndx == 0 || ndx == 1)
10623 			p = "int";
10624 		break;
10625 	/* fchmodat */
10626 	case 490:
10627 		if (ndx == 0 || ndx == 1)
10628 			p = "int";
10629 		break;
10630 	/* fchownat */
10631 	case 491:
10632 		if (ndx == 0 || ndx == 1)
10633 			p = "int";
10634 		break;
10635 	/* fexecve */
10636 	case 492:
10637 		if (ndx == 0 || ndx == 1)
10638 			p = "int";
10639 		break;
10640 	/* futimesat */
10641 	case 494:
10642 		if (ndx == 0 || ndx == 1)
10643 			p = "int";
10644 		break;
10645 	/* linkat */
10646 	case 495:
10647 		if (ndx == 0 || ndx == 1)
10648 			p = "int";
10649 		break;
10650 	/* mkdirat */
10651 	case 496:
10652 		if (ndx == 0 || ndx == 1)
10653 			p = "int";
10654 		break;
10655 	/* mkfifoat */
10656 	case 497:
10657 		if (ndx == 0 || ndx == 1)
10658 			p = "int";
10659 		break;
10660 	/* openat */
10661 	case 499:
10662 		if (ndx == 0 || ndx == 1)
10663 			p = "int";
10664 		break;
10665 	/* readlinkat */
10666 	case 500:
10667 		if (ndx == 0 || ndx == 1)
10668 			p = "ssize_t";
10669 		break;
10670 	/* renameat */
10671 	case 501:
10672 		if (ndx == 0 || ndx == 1)
10673 			p = "int";
10674 		break;
10675 	/* symlinkat */
10676 	case 502:
10677 		if (ndx == 0 || ndx == 1)
10678 			p = "int";
10679 		break;
10680 	/* unlinkat */
10681 	case 503:
10682 		if (ndx == 0 || ndx == 1)
10683 			p = "int";
10684 		break;
10685 	/* posix_openpt */
10686 	case 504:
10687 		if (ndx == 0 || ndx == 1)
10688 			p = "int";
10689 		break;
10690 	/* gssd_syscall */
10691 	case 505:
10692 		if (ndx == 0 || ndx == 1)
10693 			p = "int";
10694 		break;
10695 	/* jail_get */
10696 	case 506:
10697 		if (ndx == 0 || ndx == 1)
10698 			p = "int";
10699 		break;
10700 	/* jail_set */
10701 	case 507:
10702 		if (ndx == 0 || ndx == 1)
10703 			p = "int";
10704 		break;
10705 	/* jail_remove */
10706 	case 508:
10707 		if (ndx == 0 || ndx == 1)
10708 			p = "int";
10709 		break;
10710 	/* __semctl */
10711 	case 510:
10712 		if (ndx == 0 || ndx == 1)
10713 			p = "int";
10714 		break;
10715 	/* msgctl */
10716 	case 511:
10717 		if (ndx == 0 || ndx == 1)
10718 			p = "int";
10719 		break;
10720 	/* shmctl */
10721 	case 512:
10722 		if (ndx == 0 || ndx == 1)
10723 			p = "int";
10724 		break;
10725 	/* lpathconf */
10726 	case 513:
10727 		if (ndx == 0 || ndx == 1)
10728 			p = "int";
10729 		break;
10730 	/* __cap_rights_get */
10731 	case 515:
10732 		if (ndx == 0 || ndx == 1)
10733 			p = "int";
10734 		break;
10735 	/* cap_enter */
10736 	case 516:
10737 	/* cap_getmode */
10738 	case 517:
10739 		if (ndx == 0 || ndx == 1)
10740 			p = "int";
10741 		break;
10742 	/* pdfork */
10743 	case 518:
10744 		if (ndx == 0 || ndx == 1)
10745 			p = "int";
10746 		break;
10747 	/* pdkill */
10748 	case 519:
10749 		if (ndx == 0 || ndx == 1)
10750 			p = "int";
10751 		break;
10752 	/* pdgetpid */
10753 	case 520:
10754 		if (ndx == 0 || ndx == 1)
10755 			p = "int";
10756 		break;
10757 	/* pselect */
10758 	case 522:
10759 		if (ndx == 0 || ndx == 1)
10760 			p = "int";
10761 		break;
10762 	/* getloginclass */
10763 	case 523:
10764 		if (ndx == 0 || ndx == 1)
10765 			p = "int";
10766 		break;
10767 	/* setloginclass */
10768 	case 524:
10769 		if (ndx == 0 || ndx == 1)
10770 			p = "int";
10771 		break;
10772 	/* rctl_get_racct */
10773 	case 525:
10774 		if (ndx == 0 || ndx == 1)
10775 			p = "int";
10776 		break;
10777 	/* rctl_get_rules */
10778 	case 526:
10779 		if (ndx == 0 || ndx == 1)
10780 			p = "int";
10781 		break;
10782 	/* rctl_get_limits */
10783 	case 527:
10784 		if (ndx == 0 || ndx == 1)
10785 			p = "int";
10786 		break;
10787 	/* rctl_add_rule */
10788 	case 528:
10789 		if (ndx == 0 || ndx == 1)
10790 			p = "int";
10791 		break;
10792 	/* rctl_remove_rule */
10793 	case 529:
10794 		if (ndx == 0 || ndx == 1)
10795 			p = "int";
10796 		break;
10797 	/* posix_fallocate */
10798 	case 530:
10799 		if (ndx == 0 || ndx == 1)
10800 			p = "int";
10801 		break;
10802 	/* posix_fadvise */
10803 	case 531:
10804 		if (ndx == 0 || ndx == 1)
10805 			p = "int";
10806 		break;
10807 	/* wait6 */
10808 	case 532:
10809 		if (ndx == 0 || ndx == 1)
10810 			p = "int";
10811 		break;
10812 	/* cap_rights_limit */
10813 	case 533:
10814 		if (ndx == 0 || ndx == 1)
10815 			p = "int";
10816 		break;
10817 	/* cap_ioctls_limit */
10818 	case 534:
10819 		if (ndx == 0 || ndx == 1)
10820 			p = "int";
10821 		break;
10822 	/* cap_ioctls_get */
10823 	case 535:
10824 		if (ndx == 0 || ndx == 1)
10825 			p = "ssize_t";
10826 		break;
10827 	/* cap_fcntls_limit */
10828 	case 536:
10829 		if (ndx == 0 || ndx == 1)
10830 			p = "int";
10831 		break;
10832 	/* cap_fcntls_get */
10833 	case 537:
10834 		if (ndx == 0 || ndx == 1)
10835 			p = "int";
10836 		break;
10837 	/* bindat */
10838 	case 538:
10839 		if (ndx == 0 || ndx == 1)
10840 			p = "int";
10841 		break;
10842 	/* connectat */
10843 	case 539:
10844 		if (ndx == 0 || ndx == 1)
10845 			p = "int";
10846 		break;
10847 	/* chflagsat */
10848 	case 540:
10849 		if (ndx == 0 || ndx == 1)
10850 			p = "int";
10851 		break;
10852 	/* accept4 */
10853 	case 541:
10854 		if (ndx == 0 || ndx == 1)
10855 			p = "int";
10856 		break;
10857 	/* pipe2 */
10858 	case 542:
10859 		if (ndx == 0 || ndx == 1)
10860 			p = "int";
10861 		break;
10862 	/* aio_mlock */
10863 	case 543:
10864 		if (ndx == 0 || ndx == 1)
10865 			p = "int";
10866 		break;
10867 	/* procctl */
10868 	case 544:
10869 		if (ndx == 0 || ndx == 1)
10870 			p = "int";
10871 		break;
10872 	/* ppoll */
10873 	case 545:
10874 		if (ndx == 0 || ndx == 1)
10875 			p = "int";
10876 		break;
10877 	/* futimens */
10878 	case 546:
10879 		if (ndx == 0 || ndx == 1)
10880 			p = "int";
10881 		break;
10882 	/* utimensat */
10883 	case 547:
10884 		if (ndx == 0 || ndx == 1)
10885 			p = "int";
10886 		break;
10887 	/* fdatasync */
10888 	case 550:
10889 		if (ndx == 0 || ndx == 1)
10890 			p = "int";
10891 		break;
10892 	/* fstat */
10893 	case 551:
10894 		if (ndx == 0 || ndx == 1)
10895 			p = "int";
10896 		break;
10897 	/* fstatat */
10898 	case 552:
10899 		if (ndx == 0 || ndx == 1)
10900 			p = "int";
10901 		break;
10902 	/* fhstat */
10903 	case 553:
10904 		if (ndx == 0 || ndx == 1)
10905 			p = "int";
10906 		break;
10907 	/* getdirentries */
10908 	case 554:
10909 		if (ndx == 0 || ndx == 1)
10910 			p = "ssize_t";
10911 		break;
10912 	/* statfs */
10913 	case 555:
10914 		if (ndx == 0 || ndx == 1)
10915 			p = "int";
10916 		break;
10917 	/* fstatfs */
10918 	case 556:
10919 		if (ndx == 0 || ndx == 1)
10920 			p = "int";
10921 		break;
10922 	/* getfsstat */
10923 	case 557:
10924 		if (ndx == 0 || ndx == 1)
10925 			p = "int";
10926 		break;
10927 	/* fhstatfs */
10928 	case 558:
10929 		if (ndx == 0 || ndx == 1)
10930 			p = "int";
10931 		break;
10932 	/* mknodat */
10933 	case 559:
10934 		if (ndx == 0 || ndx == 1)
10935 			p = "int";
10936 		break;
10937 	/* kevent */
10938 	case 560:
10939 		if (ndx == 0 || ndx == 1)
10940 			p = "int";
10941 		break;
10942 	/* cpuset_getdomain */
10943 	case 561:
10944 		if (ndx == 0 || ndx == 1)
10945 			p = "int";
10946 		break;
10947 	/* cpuset_setdomain */
10948 	case 562:
10949 		if (ndx == 0 || ndx == 1)
10950 			p = "int";
10951 		break;
10952 	/* getrandom */
10953 	case 563:
10954 		if (ndx == 0 || ndx == 1)
10955 			p = "int";
10956 		break;
10957 	/* getfhat */
10958 	case 564:
10959 		if (ndx == 0 || ndx == 1)
10960 			p = "int";
10961 		break;
10962 	/* fhlink */
10963 	case 565:
10964 		if (ndx == 0 || ndx == 1)
10965 			p = "int";
10966 		break;
10967 	/* fhlinkat */
10968 	case 566:
10969 		if (ndx == 0 || ndx == 1)
10970 			p = "int";
10971 		break;
10972 	/* fhreadlink */
10973 	case 567:
10974 		if (ndx == 0 || ndx == 1)
10975 			p = "int";
10976 		break;
10977 	/* funlinkat */
10978 	case 568:
10979 		if (ndx == 0 || ndx == 1)
10980 			p = "int";
10981 		break;
10982 	/* copy_file_range */
10983 	case 569:
10984 		if (ndx == 0 || ndx == 1)
10985 			p = "ssize_t";
10986 		break;
10987 	/* __sysctlbyname */
10988 	case 570:
10989 		if (ndx == 0 || ndx == 1)
10990 			p = "int";
10991 		break;
10992 	/* shm_open2 */
10993 	case 571:
10994 		if (ndx == 0 || ndx == 1)
10995 			p = "int";
10996 		break;
10997 	/* shm_rename */
10998 	case 572:
10999 		if (ndx == 0 || ndx == 1)
11000 			p = "int";
11001 		break;
11002 	/* sigfastblock */
11003 	case 573:
11004 		if (ndx == 0 || ndx == 1)
11005 			p = "int";
11006 		break;
11007 	/* __realpathat */
11008 	case 574:
11009 		if (ndx == 0 || ndx == 1)
11010 			p = "int";
11011 		break;
11012 	/* close_range */
11013 	case 575:
11014 		if (ndx == 0 || ndx == 1)
11015 			p = "int";
11016 		break;
11017 	/* rpctls_syscall */
11018 	case 576:
11019 		if (ndx == 0 || ndx == 1)
11020 			p = "int";
11021 		break;
11022 	/* __specialfd */
11023 	case 577:
11024 		if (ndx == 0 || ndx == 1)
11025 			p = "int";
11026 		break;
11027 	/* aio_writev */
11028 	case 578:
11029 		if (ndx == 0 || ndx == 1)
11030 			p = "int";
11031 		break;
11032 	/* aio_readv */
11033 	case 579:
11034 		if (ndx == 0 || ndx == 1)
11035 			p = "int";
11036 		break;
11037 	default:
11038 		break;
11039 	};
11040 	if (p != NULL)
11041 		strlcpy(desc, p, descsz);
11042 }
11043