// File: /workspace/github_c_makefile_star2_O0/ArtifexSoftware[P]mujs/pp.c
// Function: jsC_dumpfunction
static void jsC_dumpfunction(js_State *J, js_Function *F)
{
	js_Instruction *p = F->code;
	js_Instruction *end = F->code + F->codelen;
	char *s;
	double n;
	int i;

	printf("%s(%d)\n", F->name, F->numparams);
	if (F->strict) printf("\tstrict\n");
	if (F->lightweight) printf("\tlightweight\n");
	if (F->arguments) printf("\targuments\n");
	printf("\tsource %s:%d\n", F->filename, F->line);
	for (i = 0; i < F->funlen; ++i)
		printf("\tfunction %d %s\n", i, F->funtab[i]->name);
	for (i = 0; i < F->varlen; ++i)
		printf("\tlocal %d %s\n", i + 1, F->vartab[i]);

	printf("{\n");
	while (p < end) {
		int ln = *p++;
		int c = *p++;

		printf("%5d(%3d): ", (int)(p - F->code) - 2, ln);
		ps(opname[c]);

		switch (c) {
		case OP_INTEGER:
			printf(" %ld", (long)((*p++) - 32768));
			break;
		case OP_NUMBER:
			memcpy(&n, p, sizeof(n));
			p += sizeof(n) / sizeof(*p);
			printf(" %.9g", n);
			break;
		case OP_STRING:
			memcpy(&s, p, sizeof(s));
			p += sizeof(s) / sizeof(*p);
			pc(' ');
			pstr(s);
			break;
		case OP_NEWREGEXP:
			pc(' ');
			memcpy(&s, p, sizeof(s));
			p += sizeof(s) / sizeof(*p);
			pregexp(s, *p++);
			break;

		case OP_GETVAR:
		case OP_HASVAR:
		case OP_SETVAR:
		case OP_DELVAR:
		case OP_GETPROP_S:
		case OP_SETPROP_S:
		case OP_DELPROP_S:
		case OP_CATCH:
			memcpy(&s, p, sizeof(s));
			p += sizeof(s) / sizeof(*p);
			pc(' ');
			ps(s);
			break;

		case OP_GETLOCAL:
		case OP_SETLOCAL:
		case OP_DELLOCAL:
			printf(" %s", F->vartab[*p++ - 1]);
			break;

		case OP_CLOSURE:
		case OP_CALL:
		case OP_NEW:
		case OP_JUMP:
		case OP_JTRUE:
		case OP_JFALSE:
		case OP_JCASE:
		case OP_TRY:
			printf(" %ld", (long)*p++);
			break;
		}

		putchar('\n');
	}
	printf("}\n");

	for (i = 0; i < F->funlen; ++i) {
		if (F->funtab[i] != F) {
			printf("function %d ", i);
			jsC_dumpfunction(J, F->funtab[i]);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq -0x10(%rbp), %rcx
movslq 0x2c(%rcx), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rsi
movq -0x10(%rbp), %rax
movl 0x18(%rax), %edx
leaq 0x322ec(%rip), %rdi     # 0x36d27
movb $0x0, %al
callq 0x4110
movq -0x10(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x4a5a
leaq 0x322dc(%rip), %rdi     # 0x36d2f
movb $0x0, %al
callq 0x4110
movq -0x10(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0x4a72
leaq 0x322cd(%rip), %rdi     # 0x36d38
movb $0x0, %al
callq 0x4110
movq -0x10(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0x4a8a
leaq 0x322c3(%rip), %rdi     # 0x36d46
movb $0x0, %al
callq 0x4110
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rsi
movq -0x10(%rbp), %rax
movl 0x58(%rax), %edx
leaq 0x322b2(%rip), %rdi     # 0x36d52
movb $0x0, %al
callq 0x4110
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x3c(%rcx), %eax
jge 0x4ae9
movl -0x34(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdx
leaq 0x3228a(%rip), %rdi     # 0x36d61
movb $0x0, %al
callq 0x4110
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x4aae
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x4c(%rcx), %eax
jge 0x4b2b
movl -0x34(%rbp), %esi
addl $0x1, %esi
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x32259(%rip), %rdi     # 0x36d72
movb $0x0, %al
callq 0x4110
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x4af0
leaq 0x3c744(%rip), %rdi     # 0x41276
movb $0x0, %al
callq 0x4110
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x4d33
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x2, %rcx
movq %rcx, -0x18(%rbp)
movzwl (%rax), %eax
movl %eax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x2, %rcx
movq %rcx, -0x18(%rbp)
movzwl (%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x20(%rcx), %rcx
subq %rcx, %rax
shrq %rax
movl %eax, %esi
addl $-0x2, %esi
movl -0x38(%rbp), %edx
leaq 0x321ee(%rip), %rdi     # 0x36d80
xorl %eax, %eax
callq 0x4110
movslq -0x3c(%rbp), %rcx
leaq 0x4691c(%rip), %rax     # 0x4b4c0
movq (%rax,%rcx,8), %rdi
callq 0x5600
movl -0x3c(%rbp), %eax
addl $-0x6, %eax
movl %eax, %ecx
movq %rcx, -0x48(%rbp)
subl $0x4d, %eax
ja 0x4d24
movq -0x48(%rbp), %rax
leaq 0x31437(%rip), %rcx     # 0x36004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x2, %rcx
movq %rcx, -0x18(%rbp)
movzwl (%rax), %eax
subl $0x8000, %eax           # imm = 0x8000
movslq %eax, %rsi
leaq 0x32194(%rip), %rdi     # 0x36d8b
movb $0x0, %al
callq 0x4110
jmp 0x4d24
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movsd -0x30(%rbp), %xmm0
leaq 0x31d46(%rip), %rdi     # 0x3696c
movb $0x1, %al
callq 0x4110
jmp 0x4d24
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movl $0x20, %edi
callq 0x5660
movq -0x28(%rbp), %rdi
callq 0x6280
jmp 0x4d24
movl $0x20, %edi
callq 0x5660
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x2, %rcx
movq %rcx, -0x18(%rbp)
movzwl (%rax), %esi
callq 0x6480
jmp 0x4d24
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movl $0x20, %edi
callq 0x5660
movq -0x28(%rbp), %rdi
callq 0x5600
jmp 0x4d24
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x18(%rbp), %rcx
movq %rcx, %rdx
addq $0x2, %rdx
movq %rdx, -0x18(%rbp)
movzwl (%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x3ad28(%rip), %rdi     # 0x3fa21
movb $0x0, %al
callq 0x4110
jmp 0x4d24
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x2, %rcx
movq %rcx, -0x18(%rbp)
movzwl (%rax), %eax
movl %eax, %esi
leaq 0x3206e(%rip), %rdi     # 0x36d8b
movb $0x0, %al
callq 0x4110
movl $0xa, %edi
callq 0x4040
jmp 0x4b39
leaq 0x32056(%rip), %rdi     # 0x36d90
movb $0x0, %al
callq 0x4110
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x3c(%rcx), %eax
jge 0x4da1
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -0x10(%rbp), %rax
je 0x4d94
movl -0x34(%rbp), %esi
leaq 0x3201f(%rip), %rdi     # 0x36d93
movb $0x0, %al
callq 0x4110
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x49f0
jmp 0x4d96
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x4d48
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)