// File: /workspace/github_c_makefile_star2_O3/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 0x5d15
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
leal -0x2(%rax), %ecx
cmpl $0x43, %ecx
ja 0x5d16
leaq 0x27a0a(%rip), %rdx     # 0x2d0e0
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl $0xaa, %ebp
jmp 0x5754
movl $0x14, %ebp
jmp 0x5754
movl $0x8c, %ebp
jmp 0x5754
movl $0x64, %ebp
jmp 0x5754
movl $0xa0, %ebp
jmp 0x5754
movl $0x5a, %ebp
jmp 0x5754
movl $0x6e, %ebp
jmp 0x5754
movl $0x82, %ebp
jmp 0x5754
movl $0x96, %ebp
jmp 0x5754
movl $0x78, %ebp
jmp 0x5754
movl $0x1e, %ebp
jmp 0x5754
movl $0x28, %ebp
jmp 0x5754
movl $0x32, %ebp
jmp 0x5754
movl $0xa, %ebp
jmp 0x5754
movl $0x3c, %ebp
jmp 0x5754
movl $0x50, %ebp
jmp 0x5754
movl $0x46, %ebp
xorl %r12d, %r12d
cmpl %ebx, %ebp
jge 0x5768
movl $0x28, %edi
callq 0x4040
movl (%r14), %eax
addl $-0x2, %eax
cmpl $0x43, %eax
ja 0x5d1e
leaq 0x27a75(%rip), %rcx     # 0x2d1f0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x38(%r14), %rdi
movq 0x3d849(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
jmp 0x5d2f
leaq 0x27dd2(%rip), %rcx     # 0x2d570
jmp 0x5cf2
leaq 0x27d9d(%rip), %rcx     # 0x2d547
jmp 0x5cf2
leaq 0x27d86(%rip), %rcx     # 0x2d53c
jmp 0x5cf2
leaq 0x27da3(%rip), %rcx     # 0x2d565
jmp 0x5cf2
leaq 0x27d8e(%rip), %rcx     # 0x2d55c
jmp 0x5cf2
leaq 0x27d65(%rip), %rcx     # 0x2d53f
jmp 0x5cf2
leaq 0x27d4f(%rip), %rcx     # 0x2d535
jmp 0x5cf2
leaq 0x27d7a(%rip), %rcx     # 0x2d56c
jmp 0x5cf2
leaq 0x307b6(%rip), %rcx     # 0x35fb4
jmp 0x5b6c
leaq 0x27d67(%rip), %rcx     # 0x2d571
jmp 0x5cf2
leaq 0x28027(%rip), %rcx     # 0x2d83d
jmp 0x5cf2
leaq 0x27d18(%rip), %rcx     # 0x2d53a
jmp 0x5b6c
leaq 0x27cf8(%rip), %rcx     # 0x2d526
jmp 0x5b6c
leaq 0x27d0a(%rip), %rcx     # 0x2d544
jmp 0x5cf2
movq 0x3d792(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x31ebd(%rip), %rdi     # 0x3770d
callq 0x4170
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
movl $0x28, %edi
callq 0x4040
movq 0x18(%r14), %rsi
movl %r15d, %edi
callq 0x552d
movl $0x29, %edi
jmp 0x5967
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
movl $0x2c, %edi
callq 0x4040
cmpl $0x0, 0x3db1e(%rip)     # 0x433c0
jg 0x5a85
movl $0x20, %edi
callq 0x4040
jmp 0x5a85
leaq 0x27c94(%rip), %rcx     # 0x2d552
jmp 0x5cf2
leaq 0x31332(%rip), %rcx     # 0x36bfc
leaq 0x27c66(%rip), %r8      # 0x2d537
jmp 0x5b73
leaq 0x27c4f(%rip), %rcx     # 0x2d52c
jmp 0x5b6c
leaq 0x27c6b(%rip), %rcx     # 0x2d554
jmp 0x5cf2
leaq 0x27c43(%rip), %rcx     # 0x2d538
jmp 0x5b6c
movq 0x38(%r14), %rdi
cvttsd2si 0x30(%r14), %esi
callq 0x5ec0
jmp 0x5cff
leaq 0x27c45(%rip), %rcx     # 0x2d55a
jmp 0x5cf2
leaq 0x27c16(%rip), %rcx     # 0x2d537
jmp 0x5b6c
movq 0x3d6ab(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27ddf(%rip), %rdi     # 0x2d716
jmp 0x5d2f
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
movl $0x5b, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
callq 0x56a6
movl $0x5d, %edi
callq 0x4040
jmp 0x5cff
movq 0x38(%r14), %rdi
callq 0x5d36
jmp 0x5cff
leaq 0x27bd2(%rip), %rcx     # 0x2d558
jmp 0x5cf2
leaq 0x27ba6(%rip), %rcx     # 0x2d538
jmp 0x5cf2
movq 0x3d63a(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27d5b(%rip), %rdi     # 0x2d703
jmp 0x5d2f
movq 0x10(%r14), %rsi
movl %r15d, %edi
callq 0x6240
jmp 0x5cff
movsd 0x30(%r14), %xmm0
leaq 0x27cc9(%rip), %rdi     # 0x2d694
movb $0x1, %al
callq 0x4120
jmp 0x5cff
leaq 0x27b72(%rip), %rcx     # 0x2d550
jmp 0x5cf2
leaq 0x27b4a(%rip), %rcx     # 0x2d534
jmp 0x5b6c
movq 0x3d5e2(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27d0c(%rip), %rdi     # 0x2d70c
jmp 0x5d2f
leaq 0x27b40(%rip), %rcx     # 0x2d54c
jmp 0x5cf2
movq 0x3d5c0(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27ccc(%rip), %rdi     # 0x2d6ee
jmp 0x5d2f
leaq 0x27b0f(%rip), %rcx     # 0x2d53d
jmp 0x5cf2
movq 0x3d59e(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x31920(%rip), %rdi     # 0x37364
jmp 0x5d2f
leaq 0x27ace(%rip), %rcx     # 0x2d51e
jmp 0x5b6c
leaq 0x27ae4(%rip), %rcx     # 0x2d540
jmp 0x5cf2
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
movq 0x3d562(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27afd(%rip), %rdi     # 0x2d57d
callq 0x4170
movq 0x18(%r14), %rdx
jmp 0x5cdf
testb %r12b, %r12b
je 0x5a9d
movl $0x28, %edi
callq 0x4040
movq 0x3d534(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x27a13(%rip), %rdi     # 0x2d4c1
callq 0x4170
movq 0x10(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
callq 0x56a6
movl $0x28, %edi
callq 0x4040
movq 0x18(%r14), %rsi
movl %r15d, %edi
callq 0x552d
movl $0x29, %edi
callq 0x4040
cmpl $0x0, 0x3d8d8(%rip)     # 0x433c0
jg 0x5af4
movl $0x20, %edi
callq 0x4040
movl $0x7b, %edi
callq 0x4040
cmpl $0x1, 0x3d8bb(%rip)     # 0x433c0
jg 0x5b11
movl $0xa, %edi
callq 0x4040
movq 0x20(%r14), %rsi
movl %r15d, %edi
callq 0x4bdb
testl %r15d, %r15d
jle 0x5b41
cmpl $0x0, 0x3d897(%rip)     # 0x433c0
jg 0x5b41
incl %r15d
movl $0x9, %edi
callq 0x4040
decl %r15d
cmpl $0x1, %r15d
ja 0x5b2e
movl $0x7d, %edi
callq 0x4040
testb %r12b, %r12b
jne 0x5879
jmp 0x5cff
leaq 0x279ff(%rip), %rcx     # 0x2d55f
jmp 0x5cf2
leaq 0x279c9(%rip), %rcx     # 0x2d535
leaq 0x31089(%rip), %r8      # 0x36bfc
movl %r15d, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x62ab
jmp 0x5cff
leaq 0x279ca(%rip), %rcx     # 0x2d556
jmp 0x5cf2
movq 0x10(%r14), %rsi
movl %r15d, %edi
callq 0x5f42
jmp 0x5cff
leaq 0x279aa(%rip), %rcx     # 0x2d553
jmp 0x5cf2
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
movl $0x2e, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
xorl %esi, %esi
jmp 0x5ce4
leaq 0x27987(%rip), %rcx     # 0x2d562
jmp 0x5cf2
leaq 0x27964(%rip), %rcx     # 0x2d54b
jmp 0x5cf2
leaq 0x31009(%rip), %rcx     # 0x36bfc
leaq 0x2793a(%rip), %r8      # 0x2d534
jmp 0x5b73
leaq 0x27971(%rip), %rcx     # 0x2d577
jmp 0x5cf2
leaq 0x27968(%rip), %rcx     # 0x2d57a
jmp 0x5cf2
leaq 0x2794d(%rip), %rcx     # 0x2d56b
jmp 0x5cf2
leaq 0x2793e(%rip), %rcx     # 0x2d568
jmp 0x5cf2
leaq 0x2790f(%rip), %rcx     # 0x2d545
jmp 0x5cf2
leaq 0x2790d(%rip), %rcx     # 0x2d54f
jmp 0x5cf2
leaq 0x278f4(%rip), %rcx     # 0x2d542
jmp 0x5cf2
leaq 0x27915(%rip), %rcx     # 0x2d56f
jmp 0x5cf2
movq 0x10(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
cmpl $0x0, 0x3d74c(%rip)     # 0x433c0
jg 0x5c80
movl $0x20, %edi
callq 0x4040
movl $0x3f, %edi
callq 0x4040
cmpl $0x0, 0x3d72f(%rip)     # 0x433c0
jg 0x5c9d
movl $0x20, %edi
callq 0x4040
movq 0x18(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
cmpl $0x0, 0x3d70e(%rip)     # 0x433c0
jg 0x5cbe
movl $0x20, %edi
callq 0x4040
movl $0x3a, %edi
callq 0x4040
cmpl $0x0, 0x3d6f1(%rip)     # 0x433c0
jg 0x5cdb
movl $0x20, %edi
callq 0x4040
movq 0x20(%r14), %rdx
movl %r15d, %edi
movl %ebp, %esi
callq 0x56a6
jmp 0x5cff
leaq 0x27882(%rip), %rcx     # 0x2d574
movl %r15d, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x62f3
cmpl %ebx, %ebp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jge 0x5d15
movl $0x29, %edi
jmp 0x4040
retq
movb $0x1, %r12b
jmp 0x5757
movq 0x3d2b3(%rip), %rax     # 0x42fd8
movq (%rax), %rsi
leaq 0x2785b(%rip), %rdi     # 0x2d58a
callq 0x4170
jmp 0x5cff