// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x58be
jmp 0x6199
movq -0x10(%rbp), %rax
movl (%rax), %edi
callq 0x61a0
movl %eax, -0x14(%rbp)
movl $0x0, -0x18(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x8(%rbp), %eax
jge 0x58ec
movl $0x28, %edi
callq 0x5660
movl $0x1, -0x18(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, -0x20(%rbp)
subl $0x43, %eax
ja 0x617d
movq -0x20(%rbp), %rax
leaq 0x3098b(%rip), %rcx     # 0x362a0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x5600
jmp 0x6189
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x5600
jmp 0x6189
movq -0x10(%rbp), %rax
movsd 0x30(%rax), %xmm0
leaq 0x3101b(%rip), %rdi     # 0x3696d
movb $0x1, %al
callq 0x4110
jmp 0x6189
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x6280
jmp 0x6189
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rdi
movq -0x10(%rbp), %rax
cvttsd2si 0x30(%rax), %esi
callq 0x6480
jmp 0x6189
leaq 0x31035(%rip), %rdi     # 0x369c7
callq 0x5600
jmp 0x6189
leaq 0x3b32e(%rip), %rdi     # 0x40cd1
callq 0x5600
jmp 0x6189
leaq 0x31028(%rip), %rdi     # 0x369dc
callq 0x5600
jmp 0x6189
leaq 0x31020(%rip), %rdi     # 0x369e5
callq 0x5600
jmp 0x6189
leaq 0x31019(%rip), %rdi     # 0x369ef
callq 0x5600
jmp 0x6189
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x6530
jmp 0x6189
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x6760
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30ddc(%rip), %rcx     # 0x367f7
leaq 0x3ab47(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30dc2(%rip), %rcx     # 0x367ff
leaq 0x3ab25(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30da6(%rip), %rcx     # 0x36805
leaq 0x3ab03(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30d8c(%rip), %rcx     # 0x3680d
leaq 0x3aae1(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30d6d(%rip), %rcx     # 0x36810
leaq 0x3aabf(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x3aaa4(%rip), %rcx     # 0x40569
leaq 0x30d41(%rip), %r8      # 0x3680d
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x3aa82(%rip), %rcx     # 0x40569
leaq 0x30d22(%rip), %r8      # 0x36810
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30d05(%rip), %rcx     # 0x3680e
leaq 0x3aa59(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30ce6(%rip), %rcx     # 0x36811
leaq 0x3aa37(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30cc6(%rip), %rcx     # 0x36813
leaq 0x3aa15(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x39d9d(%rip), %rcx     # 0x3f90c
leaq 0x3a9f3(%rip), %r8      # 0x40569
callq 0x67f0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c84(%rip), %rcx     # 0x36815
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c6c(%rip), %rcx     # 0x36818
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c4f(%rip), %rcx     # 0x36816
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c39(%rip), %rcx     # 0x3681b
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c1c(%rip), %rcx     # 0x36819
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30c0d(%rip), %rcx     # 0x36825
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30bea(%rip), %rcx     # 0x3681d
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30bd2(%rip), %rcx     # 0x36820
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30bbb(%rip), %rcx     # 0x36824
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30ba5(%rip), %rcx     # 0x36829
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30b8e(%rip), %rcx     # 0x3682d
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30b8b(%rip), %rcx     # 0x36845
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30b75(%rip), %rcx     # 0x3684a
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30e26(%rip), %rcx     # 0x36b16
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30b1d(%rip), %rcx     # 0x36828
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30b06(%rip), %rcx     # 0x3682c
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30aea(%rip), %rcx     # 0x3682b
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30ab2(%rip), %rcx     # 0x3680e
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a9a(%rip), %rcx     # 0x36811
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a9d(%rip), %rcx     # 0x3682f
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a84(%rip), %rcx     # 0x36831
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a6b(%rip), %rcx     # 0x36833
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a3b(%rip), %rcx     # 0x3681e
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a37(%rip), %rcx     # 0x36835
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a1f(%rip), %rcx     # 0x36838
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30a07(%rip), %rcx     # 0x3683b
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x309ef(%rip), %rcx     # 0x3683e
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x309d7(%rip), %rcx     # 0x36841
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x309bf(%rip), %rcx     # 0x36844
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x309a9(%rip), %rcx     # 0x36849
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x3098d(%rip), %rcx     # 0x36848
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30977(%rip), %rcx     # 0x3684d
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x3095f(%rip), %rcx     # 0x36850
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x30947(%rip), %rcx     # 0x36853
callq 0x6840
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
leaq 0x30926(%rip), %rdi     # 0x36856
callq 0x5600
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
callq 0x58a0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
movl $0x2c, %edi
callq 0x5660
callq 0x5700
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
callq 0x58a0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
callq 0x5700
movl $0x3f, %edi
callq 0x5660
callq 0x5700
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
callq 0x58a0
callq 0x5700
movl $0x3a, %edi
callq 0x5660
callq 0x5700
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdx
callq 0x58a0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
movl $0x5b, %edi
callq 0x5660
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
xorl %esi, %esi
callq 0x58a0
movl $0x5d, %edi
callq 0x5660
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
movl $0x2e, %edi
callq 0x5660
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
xorl %esi, %esi
callq 0x58a0
jmp 0x6189
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
movl $0x28, %edi
callq 0x5660
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x5680
movl $0x29, %edi
callq 0x5660
jmp 0x6189
leaq 0x3afda(%rip), %rdi     # 0x4107c
callq 0x5600
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0x58a0
movl $0x28, %edi
callq 0x5660
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x5680
movl $0x29, %edi
callq 0x5660
jmp 0x6189
cmpl $0x0, -0x8(%rbp)
jne 0x60f3
movl $0x28, %edi
callq 0x5660
leaq 0x306a0(%rip), %rdi     # 0x3679a
callq 0x5600
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
xorl %esi, %esi
callq 0x58a0
movl $0x28, %edi
callq 0x5660
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x5680
movl $0x29, %edi
callq 0x5660
callq 0x5700
movl $0x7b, %edi
callq 0x5660
callq 0x5530
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rsi
callq 0x4db0
movl -0x4(%rbp), %edi
callq 0x55c0
movl $0x7d, %edi
callq 0x5660
cmpl $0x0, -0x8(%rbp)
jne 0x617b
movl $0x29, %edi
callq 0x5660
jmp 0x6189
leaq 0x306df(%rip), %rdi     # 0x36863
callq 0x5600
cmpl $0x0, -0x18(%rbp)
je 0x6199
movl $0x29, %edi
callq 0x5660
addq $0x20, %rsp
popq %rbp
retq
nop