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