// File: /workspace/github_c_makefile_star2_O1/ArtifexSoftware[P]mujs/pp.c
// Function: pexpi
static void pexpi(int d, int p, js_Ast *exp)
{
	int tp, paren;

	if (!exp) return;

	tp = prec(exp->type);
	paren = 0;
	if (tp < p) {
		pc('(');
		paren = 1;
	}
	p = tp;

	switch (exp->type) {
	case AST_IDENTIFIER: ps(exp->string); break;
	case EXP_IDENTIFIER: ps(exp->string); break;
	case EXP_NUMBER: printf("%.9g", exp->number); break;
	case EXP_STRING: pstr(exp->string); break;
	case EXP_REGEXP: pregexp(exp->string, exp->number); break;

	case EXP_ELISION: ps("elision"); break;
	case EXP_NULL: ps("null"); break;
	case EXP_TRUE: ps("true"); break;
	case EXP_FALSE: ps("false"); break;
	case EXP_THIS: ps("this"); break;

	case EXP_OBJECT: pobject(d, exp->a); break;
	case EXP_ARRAY: parray(d, exp->a); break;

	case EXP_DELETE: puna(d, p, exp, "delete ", ""); break;
	case EXP_VOID: puna(d, p, exp, "void ", ""); break;
	case EXP_TYPEOF: puna(d, p, exp, "typeof ", ""); break;
	case EXP_PREINC: puna(d, p, exp, "++", ""); break;
	case EXP_PREDEC: puna(d, p, exp, "--", ""); break;
	case EXP_POSTINC: puna(d, p, exp, "", "++"); break;
	case EXP_POSTDEC: puna(d, p, exp, "", "--"); break;
	case EXP_POS: puna(d, p, exp, "+", ""); break;
	case EXP_NEG: puna(d, p, exp, "-", ""); break;
	case EXP_BITNOT: puna(d, p, exp, "~", ""); break;
	case EXP_LOGNOT: puna(d, p, exp, "!", ""); break;

	case EXP_LOGOR: pbin(d, p, exp, "||"); break;
	case EXP_LOGAND: pbin(d, p, exp, "&&"); break;
	case EXP_BITOR: pbin(d, p, exp, "|"); break;
	case EXP_BITXOR: pbin(d, p, exp, "^"); break;
	case EXP_BITAND: pbin(d, p, exp, "&"); break;
	case EXP_EQ: pbin(d, p, exp, "=="); break;
	case EXP_NE: pbin(d, p, exp, "!="); break;
	case EXP_STRICTEQ: pbin(d, p, exp, "==="); break;
	case EXP_STRICTNE: pbin(d, p, exp, "!=="); break;
	case EXP_LT: pbin(d, p, exp, "<"); break;
	case EXP_GT: pbin(d, p, exp, ">"); break;
	case EXP_LE: pbin(d, p, exp, "<="); break;
	case EXP_GE: pbin(d, p, exp, ">="); break;
	case EXP_IN: pbin(d, p, exp, "in"); break;
	case EXP_SHL: pbin(d, p, exp, "<<"); break;
	case EXP_SHR: pbin(d, p, exp, ">>"); break;
	case EXP_USHR: pbin(d, p, exp, ">>>"); break;
	case EXP_ADD: pbin(d, p, exp, "+"); break;
	case EXP_SUB: pbin(d, p, exp, "-"); break;
	case EXP_MUL: pbin(d, p, exp, "*"); break;
	case EXP_DIV: pbin(d, p, exp, "/"); break;
	case EXP_MOD: pbin(d, p, exp, "%"); break;
	case EXP_ASS: pbin(d, p, exp, "="); break;
	case EXP_ASS_MUL: pbin(d, p, exp, "*="); break;
	case EXP_ASS_DIV: pbin(d, p, exp, "/="); break;
	case EXP_ASS_MOD: pbin(d, p, exp, "%="); break;
	case EXP_ASS_ADD: pbin(d, p, exp, "+="); break;
	case EXP_ASS_SUB: pbin(d, p, exp, "-="); break;
	case EXP_ASS_SHL: pbin(d, p, exp, "<<="); break;
	case EXP_ASS_SHR: pbin(d, p, exp, ">>="); break;
	case EXP_ASS_USHR: pbin(d, p, exp, ">>>="); break;
	case EXP_ASS_BITAND: pbin(d, p, exp, "&="); break;
	case EXP_ASS_BITXOR: pbin(d, p, exp, "^="); break;
	case EXP_ASS_BITOR: pbin(d, p, exp, "|="); break;

	case EXP_INSTANCEOF:
		pexpi(d, p, exp->a);
		ps(" instanceof ");
		pexpi(d, p, exp->b);
		break;

	case EXP_COMMA:
		pexpi(d, p, exp->a);
		pc(','); sp();
		pexpi(d, p, exp->b);
		break;

	case EXP_COND:
		pexpi(d, p, exp->a);
		sp(); pc('?'); sp();
		pexpi(d, p, exp->b);
		sp(); pc(':'); sp();
		pexpi(d, p, exp->c);
		break;

	case EXP_INDEX:
		pexpi(d, p, exp->a);
		pc('[');
		pexpi(d, 0, exp->b);
		pc(']');
		break;

	case EXP_MEMBER:
		pexpi(d, p, exp->a);
		pc('.');
		pexpi(d, 0, exp->b);
		break;

	case EXP_CALL:
		pexpi(d, p, exp->a);
		pc('(');
		pargs(d, exp->b);
		pc(')');
		break;

	case EXP_NEW:
		ps("new ");
		pexpi(d, p, exp->a);
		pc('(');
		pargs(d, exp->b);
		pc(')');
		break;

	case EXP_FUN:
		if (p == 0) pc('(');
		ps("function ");
		pexpi(d, 0, exp->a);
		pc('(');
		pargs(d, exp->b);
		pc(')'); sp(); pc('{'); nl();
		pstmlist(d, exp->c);
		in(d); pc('}');
		if (p == 0) pc(')');
		break;

	default:
		ps("<UNKNOWN>");
		break;
	}

	if (paren) pc(')');
}

// Assembly:
testq %rdx, %rdx
je 0x5cee
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movl %edi, %r15d
movl (%rdx), %eax
xorl %ebp, %ebp
addl $-0x2, %eax
cmpl $0x43, %eax
ja 0x5cef
leaq 0x28a31(%rip), %rcx     # 0x2e0e0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0xaa, %ebp
jmp 0x572d
movl $0x14, %ebp
jmp 0x572d
movl $0x8c, %ebp
jmp 0x572d
movl $0x64, %ebp
jmp 0x572d
movl $0xa0, %ebp
jmp 0x572d
movl $0x5a, %ebp
jmp 0x572d
movl $0x6e, %ebp
jmp 0x572d
movl $0x82, %ebp
jmp 0x572d
movl $0x96, %ebp
jmp 0x572d
movl $0x78, %ebp
jmp 0x572d
movl $0x1e, %ebp
jmp 0x572d
movl $0x28, %ebp
jmp 0x572d
movl $0x32, %ebp
jmp 0x572d
movl $0xa, %ebp
jmp 0x572d
movl $0x3c, %ebp
jmp 0x572d
movl $0x50, %ebp
jmp 0x572d
movl $0x46, %ebp
xorl %r12d, %r12d
cmpl %ebx, %ebp
jge 0x573e
movl $0x28, %edi
callq 0x4040
movl (%r14), %eax
addl $-0x2, %eax
cmpl $0x43, %eax
ja 0x5cf7
leaq 0x28a9c(%rip), %rcx     # 0x2e1f0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x38(%r14), %rdi
movq 0x3e870(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
jmp 0x5d08
leaq 0x28e02(%rip), %rcx     # 0x2e579
jmp 0x5ccb
leaq 0x28dcd(%rip), %rcx     # 0x2e550
jmp 0x5ccb
leaq 0x28db6(%rip), %rcx     # 0x2e545
jmp 0x5ccb
leaq 0x28dd3(%rip), %rcx     # 0x2e56e
jmp 0x5ccb
leaq 0x28dbe(%rip), %rcx     # 0x2e565
jmp 0x5ccb
leaq 0x28d95(%rip), %rcx     # 0x2e548
jmp 0x5ccb
leaq 0x28d7f(%rip), %rcx     # 0x2e53e
jmp 0x5ccb
leaq 0x28daa(%rip), %rcx     # 0x2e575
jmp 0x5ccb
leaq 0x317ad(%rip), %rcx     # 0x36f84
jmp 0x5b45
leaq 0x28d97(%rip), %rcx     # 0x2e57a
jmp 0x5ccb
leaq 0x29057(%rip), %rcx     # 0x2e846
jmp 0x5ccb
leaq 0x28d48(%rip), %rcx     # 0x2e543
jmp 0x5b45
leaq 0x28d28(%rip), %rcx     # 0x2e52f
jmp 0x5b45
leaq 0x28d3a(%rip), %rcx     # 0x2e54d
jmp 0x5ccb
movq 0x3e7b9(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x32eb4(%rip), %rdi     # 0x386dd
callq 0x4170
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
movl $0x28, %edi
callq 0x4040
movq 0x18(%r14), %rsi
movl %r15d, %edi
callq 0x5506
movl $0x29, %edi
jmp 0x5940
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
movl $0x2c, %edi
callq 0x4040
cmpl $0x0, 0x3eb45(%rip)     # 0x443c0
jg 0x5a5e
movl $0x20, %edi
callq 0x4040
jmp 0x5a5e
leaq 0x28cc4(%rip), %rcx     # 0x2e55b
jmp 0x5ccb
leaq 0x32329(%rip), %rcx     # 0x37bcc
leaq 0x28c96(%rip), %r8      # 0x2e540
jmp 0x5b4c
leaq 0x28c7f(%rip), %rcx     # 0x2e535
jmp 0x5b45
leaq 0x28c9b(%rip), %rcx     # 0x2e55d
jmp 0x5ccb
leaq 0x28c73(%rip), %rcx     # 0x2e541
jmp 0x5b45
movq 0x38(%r14), %rdi
cvttsd2si 0x30(%r14), %esi
callq 0x5e99
jmp 0x5cd8
leaq 0x28c75(%rip), %rcx     # 0x2e563
jmp 0x5ccb
leaq 0x28c46(%rip), %rcx     # 0x2e540
jmp 0x5b45
movq 0x3e6d2(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28e0f(%rip), %rdi     # 0x2e71f
jmp 0x5d08
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
movl $0x5b, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
callq 0x567f
movl $0x5d, %edi
callq 0x4040
jmp 0x5cd8
movq 0x38(%r14), %rdi
callq 0x5d0f
jmp 0x5cd8
leaq 0x28c02(%rip), %rcx     # 0x2e561
jmp 0x5ccb
leaq 0x28bd6(%rip), %rcx     # 0x2e541
jmp 0x5ccb
movq 0x3e661(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28d8b(%rip), %rdi     # 0x2e70c
jmp 0x5d08
movq 0x10(%r14), %rsi
movl %r15d, %edi
callq 0x61f3
jmp 0x5cd8
movsd 0x30(%r14), %xmm0
leaq 0x28cf9(%rip), %rdi     # 0x2e69d
movb $0x1, %al
callq 0x4120
jmp 0x5cd8
leaq 0x28ba2(%rip), %rcx     # 0x2e559
jmp 0x5ccb
leaq 0x28b7a(%rip), %rcx     # 0x2e53d
jmp 0x5b45
movq 0x3e609(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28d3c(%rip), %rdi     # 0x2e715
jmp 0x5d08
leaq 0x28b70(%rip), %rcx     # 0x2e555
jmp 0x5ccb
movq 0x3e5e7(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28cfc(%rip), %rdi     # 0x2e6f7
jmp 0x5d08
leaq 0x28b3f(%rip), %rcx     # 0x2e546
jmp 0x5ccb
movq 0x3e5c5(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x32917(%rip), %rdi     # 0x38334
jmp 0x5d08
leaq 0x28afe(%rip), %rcx     # 0x2e527
jmp 0x5b45
leaq 0x28b14(%rip), %rcx     # 0x2e549
jmp 0x5ccb
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
movq 0x3e589(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28b2d(%rip), %rdi     # 0x2e586
callq 0x4170
movq 0x18(%r14), %rdx
jmp 0x5cb8
testb %r12b, %r12b
je 0x5a76
movl $0x28, %edi
callq 0x4040
movq 0x3e55b(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x28a43(%rip), %rdi     # 0x2e4ca
callq 0x4170
movq 0x10(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
callq 0x567f
movl $0x28, %edi
callq 0x4040
movq 0x18(%r14), %rsi
movl %r15d, %edi
callq 0x5506
movl $0x29, %edi
callq 0x4040
cmpl $0x0, 0x3e8ff(%rip)     # 0x443c0
jg 0x5acd
movl $0x20, %edi
callq 0x4040
movl $0x7b, %edi
callq 0x4040
cmpl $0x1, 0x3e8e2(%rip)     # 0x443c0
jg 0x5aea
movl $0xa, %edi
callq 0x4040
movq 0x20(%r14), %rsi
movl %r15d, %edi
callq 0x4bc8
testl %r15d, %r15d
jle 0x5b1a
cmpl $0x0, 0x3e8be(%rip)     # 0x443c0
jg 0x5b1a
incl %r15d
movl $0x9, %edi
callq 0x4040
decl %r15d
cmpl $0x1, %r15d
jg 0x5b07
movl $0x7d, %edi
callq 0x4040
testb %r12b, %r12b
jne 0x5852
jmp 0x5cd8
leaq 0x28a2f(%rip), %rcx     # 0x2e568
jmp 0x5ccb
leaq 0x289f9(%rip), %rcx     # 0x2e53e
leaq 0x32080(%rip), %r8      # 0x37bcc
movl %r15d, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x625e
jmp 0x5cd8
leaq 0x289fa(%rip), %rcx     # 0x2e55f
jmp 0x5ccb
movq 0x10(%r14), %rsi
movl %r15d, %edi
callq 0x5f19
jmp 0x5cd8
leaq 0x289da(%rip), %rcx     # 0x2e55c
jmp 0x5ccb
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
movl $0x2e, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
jmp 0x5cbd
leaq 0x289b7(%rip), %rcx     # 0x2e56b
jmp 0x5ccb
leaq 0x28994(%rip), %rcx     # 0x2e554
jmp 0x5ccb
leaq 0x32000(%rip), %rcx     # 0x37bcc
leaq 0x2896a(%rip), %r8      # 0x2e53d
jmp 0x5b4c
leaq 0x289a1(%rip), %rcx     # 0x2e580
jmp 0x5ccb
leaq 0x28998(%rip), %rcx     # 0x2e583
jmp 0x5ccb
leaq 0x2897d(%rip), %rcx     # 0x2e574
jmp 0x5ccb
leaq 0x2896e(%rip), %rcx     # 0x2e571
jmp 0x5ccb
leaq 0x2893f(%rip), %rcx     # 0x2e54e
jmp 0x5ccb
leaq 0x2893d(%rip), %rcx     # 0x2e558
jmp 0x5ccb
leaq 0x28924(%rip), %rcx     # 0x2e54b
jmp 0x5ccb
leaq 0x28945(%rip), %rcx     # 0x2e578
jmp 0x5ccb
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
cmpl $0x0, 0x3e773(%rip)     # 0x443c0
jg 0x5c59
movl $0x20, %edi
callq 0x4040
movl $0x3f, %edi
callq 0x4040
cmpl $0x0, 0x3e756(%rip)     # 0x443c0
jg 0x5c76
movl $0x20, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
cmpl $0x0, 0x3e735(%rip)     # 0x443c0
jg 0x5c97
movl $0x20, %edi
callq 0x4040
movl $0x3a, %edi
callq 0x4040
cmpl $0x0, 0x3e718(%rip)     # 0x443c0
jg 0x5cb4
movl $0x20, %edi
callq 0x4040
movq 0x20(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x567f
jmp 0x5cd8
leaq 0x288b2(%rip), %rcx     # 0x2e57d
movl %r15d, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x62a6
cmpl %ebx, %ebp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jge 0x5cee
movl $0x29, %edi
jmp 0x4040
retq
movb $0x1, %r12b
jmp 0x5730
movq 0x3e2da(%rip), %rax     # 0x43fd8
movq (%rax), %rsi
leaq 0x2888b(%rip), %rdi     # 0x2e593
callq 0x4170
jmp 0x5cd8