// File: /workspace/github_c_makefile_star2_O1/azhai[P]mlite/mlite.c
// Function: infix
cell infix(int k) {
	cell	ops, args, new;
	cell	n;

	n = funapp();
	if ((Token == TOK_ID && is_binop(Attr)) || Token == TOK_CONS) {
		Tmp = n;
		save(Attr);
		args = NIL;
		save(args);
		ops = NIL;
		save(ops);
		set(cadr(Stack), node(n, cadr(Stack)));
		Tmp = NIL;
		if (Token == TOK_CONS)
			Attr = caddr(Stack) = S_cons;
		while (is_binop(Attr) && (Attr != S_equal || k > 0)) {
			commit(symbol_name(Attr), 0);
			set(car(Stack), node(Attr, car(Stack)));
			Token = scan();
			caddr(Stack) = Attr;
			set(cadr(Stack), node(funapp(), cadr(Stack)));
			if (Token == TOK_CONS)
				Attr = caddr(Stack) = S_cons;
		}
		commit("", 1);
		n = car(unsave(2));
		unsave(1);
		return n;
	}
	else {
		return n;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edi, %ebx
callq 0xbba5
movq %rax, %r14
movl 0x1282d(%rip), %eax     # 0x1e6d0
cmpl $-0x67, %eax
je 0xbed0
cmpl $0xfffffed1, %eax       # imm = 0xFFFFFED1
jne 0xc0c1
movq 0x1229e(%rip), %rdi     # 0x1e158
callq 0x97a0
testl %eax, %eax
jne 0xbed0
cmpl $-0x67, 0x12806(%rip)   # 0x1e6d0
jne 0xc0c1
movq %r14, 0x12239(%rip)     # 0x1e110
movq 0x1227a(%rip), %rdi     # 0x1e158
movq 0x12243(%rip), %rsi     # 0x1e128
xorl %edx, %edx
callq 0x36e8
movq %rax, 0x12235(%rip)     # 0x1e128
movq $-0x1, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x36e8
movq %rax, 0x1221d(%rip)     # 0x1e128
movq $-0x1, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x36e8
movq %rax, 0x12205(%rip)     # 0x1e128
movq 0x12246(%rip), %rcx     # 0x1e170
movq 0x1268f(%rip), %rdx     # 0x1e5c0
movq (%rdx,%rax,8), %rax
movq (%rcx,%rax,8), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x36e8
movq 0x12226(%rip), %rcx     # 0x1e170
movq 0x1266f(%rip), %rdx     # 0x1e5c0
movq 0x121d0(%rip), %rsi     # 0x1e128
movq (%rdx,%rsi,8), %rsi
movq %rax, (%rcx,%rsi,8)
movq $-0x1, 0x121a5(%rip) # 0x1e110
cmpl $-0x67, 0x1275e(%rip)   # 0x1e6d0
jne 0xbf95
movq 0x12715(%rip), %rax     # 0x1e690
movq 0x121a6(%rip), %rsi     # 0x1e128
movq (%rdx,%rsi,8), %rsi
movq (%rdx,%rsi,8), %rdx
movq %rax, (%rcx,%rdx,8)
movq %rax, 0x121c3(%rip)     # 0x1e158
movq 0x121bc(%rip), %rdi     # 0x1e158
callq 0x97a0
testl %eax, %eax
je 0xc091
movq 0x121a8(%rip), %rax     # 0x1e158
testl %ebx, %ebx
jg 0xbfc1
cmpq 0x1273d(%rip), %rax     # 0x1e6f8
je 0xc091
movq 0x125f8(%rip), %rcx     # 0x1e5c0
movq (%rcx,%rax,8), %rdi
shlq $0x3, %rdi
addq 0x12611(%rip), %rdi     # 0x1e5e8
xorl %esi, %esi
callq 0xbcd5
movq 0x12173(%rip), %rdi     # 0x1e158
movq 0x12184(%rip), %rax     # 0x1e170
movq 0x12135(%rip), %rcx     # 0x1e128
movq (%rax,%rcx,8), %rsi
xorl %edx, %edx
callq 0x36e8
movq 0x1216b(%rip), %rcx     # 0x1e170
movq 0x1211c(%rip), %rdx     # 0x1e128
movq %rax, (%rcx,%rdx,8)
callq 0x9c07
movl %eax, 0x126b5(%rip)     # 0x1e6d0
movq 0x12136(%rip), %rax     # 0x1e158
movq 0x12147(%rip), %rcx     # 0x1e170
movq 0x12590(%rip), %rdx     # 0x1e5c0
movq 0x120f1(%rip), %rsi     # 0x1e128
movq (%rdx,%rsi,8), %rsi
movq (%rdx,%rsi,8), %rdx
movq %rax, (%rcx,%rdx,8)
callq 0xbba5
movq 0x12121(%rip), %rcx     # 0x1e170
movq 0x1256a(%rip), %rdx     # 0x1e5c0
movq 0x120cb(%rip), %rsi     # 0x1e128
movq (%rdx,%rsi,8), %rdx
movq (%rcx,%rdx,8), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0x36e8
movq 0x120fa(%rip), %rcx     # 0x1e170
movq 0x12543(%rip), %rdx     # 0x1e5c0
movq 0x120a4(%rip), %rsi     # 0x1e128
movq (%rdx,%rsi,8), %rsi
movq %rax, (%rcx,%rsi,8)
jmp 0xbf6b
leaq 0xb85e(%rip), %rdi      # 0x178f6
movl $0x1, %esi
callq 0xbcd5
movq 0x120c7(%rip), %rbx     # 0x1e170
movl $0x2, %edi
callq 0x3851
movq (%rbx,%rax,8), %r14
movl $0x1, %edi
callq 0x3851
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq