// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/reduce.c
// Function: reduce_dbug
BEH_DECL(reduce_dbug)
{
	CONS* msg = WHAT;
	CONS* expr = map_get(msg, expr_symbol);
	CONS* cont = map_get(msg, cont_symbol);
/*	CONS* env = map_get(msg, env_symbol); */
	CONS* args;

	DBUG_ENTER("reduce_dbug");
	DBUG_PRINT("", ("expr=%s", cons_to_str(expr)));
	args = car(expr);
	DBUG_PRINT("", ("args=%s", cons_to_str(args)));
	if (atomp(args)) {
		char* s;
		char* t;
		
		s = atom_str(args);	 /* DBUG_PUSH needs this string to stick around */
		t = (char*)malloc(strlen(s) + 1);
		strcpy(t, s);
		DBUG_PUSH(t);
		DBUG_PRINT("", ("dbug=%s", cons_to_str(args)));
		SEND(cont, map_put(NIL, expr_symbol, args));
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r13
movq 0x30(%rdi), %rdi
callq 0x11655
movq %rax, %r14
movq 0x133cf(%rip), %rsi     # 0x1b148
movq %rax, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, %r12
movq 0x133b3(%rip), %rsi     # 0x1b140
movq %r14, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, %rbp
leaq 0xc843(%rip), %rax      # 0x145e4
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x135d8(%rip), %r14     # 0x1b388
movq (%r14), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x5c6, 0xc(%rdi)       # imm = 0x5C6
leaq 0xed39(%rip), %r15      # 0x16b04
movq %r15, 0x10(%rdi)
leaq 0x1335a(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x13322
leaq 0x13b46(%rip), %rbx     # 0x1b930
cmpl $0x0, (%rbx)
je 0x7e2d
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x12a94
testl %eax, %eax
je 0x7e2d
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0x5c7, 0xc(%rax)       # imm = 0x5C7
movq %r12, %rdi
callq 0xb5ac
leaq 0xc772(%rip), %rdi      # 0x14595
movq %rax, %rsi
xorl %eax, %eax
callq 0x13393
movq %r12, %rdi
callq 0x115b6
movq %rax, %r12
cmpl $0x0, (%rbx)
je 0x7e7b
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x12a94
testl %eax, %eax
je 0x7e7b
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0x5c9, 0xc(%rax)       # imm = 0x5C9
movq %r12, %rdi
callq 0xb5ac
leaq 0xc77f(%rip), %rdi      # 0x145f0
movq %rax, %rsi
xorl %eax, %eax
callq 0x13393
movl %r12d, %eax
andl $0x3, %eax
cmpl $0x2, %eax
jne 0x7f3d
movq %rbp, (%rsp)
movq %r13, 0x8(%rsp)
movq %r12, %rdi
callq 0xeaf9
movq %rax, %r13
movq %rax, %rdi
callq 0x20d0
leaq 0x1(%rax), %rdi
callq 0x2190
movq %rax, %rbp
movq %rax, %rdi
movq %r13, %rsi
callq 0x2090
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0x5d1, 0xc(%rax)       # imm = 0x5D1
movq %rbp, %rdi
callq 0x12bf1
cmpl $0x0, (%rbx)
je 0x7f16
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x12a94
testl %eax, %eax
je 0x7f16
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0x5d2, 0xc(%rax)       # imm = 0x5D2
movq %r12, %rdi
callq 0xb5ac
leaq 0xc6ec(%rip), %rdi      # 0x145f8
movq %rax, %rsi
xorl %eax, %eax
callq 0x13393
movq 0x1322b(%rip), %rsi     # 0x1b148
leaq 0x133d4(%rip), %rdi     # 0x1b2f8
movq %r12, %rdx
callq 0x11afc
movq 0x8(%rsp), %rdi
movq (%rsp), %rsi
movq %rax, %rdx
callq 0xa327
leaq 0x10(%rsp), %rdi
movl $0x5d5, 0xc(%rdi)       # imm = 0x5D5
callq 0x134a7
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq