// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzeatomzx
static void mw_mirth_elab_zaAB_abzeatomzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct mirth_arrow_Atom* in_Atom_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_arrow_Arrow* *out_zaAB_5) {
	incref(MK_mirth_arrow_Atom(in_Atom_3));
	uint64_t v6 = in_Atom_3->mtoken;
	decref(MK_mirth_arrow_Atom(in_Atom_3));
	struct mirth_arrow_Arrow* v7;
	mw_mirth_elab_zaAB_abzetokenzx(in_zaAB_2, v6, &v7);
	incref(MK_mirth_arrow_Atom(in_Atom_3));
	struct mirth_type_StackType v8 = in_Atom_3->mcod;
	incref(MK_mirth_type_StackType(v8));
	decref(MK_mirth_arrow_Atom(in_Atom_3));
	struct mirth_arrow_Arrow* v9;
	mw_mirth_elab_zaAB_abzetypezx(v7, v8, &v9);
	incref(MK_mirth_arrow_Arrow(v9));
	incref(MK_mirth_arrow_Arrow(v9));
	struct std_list_List_1 v10 = v9->matoms;
	incref(MK_std_list_List_1(v10));
	decref(MK_mirth_arrow_Arrow(v9));
	struct std_list_List_1 v11 = mw_std_list_List_1_Snoc(v10, MK_mirth_arrow_Atom(in_Atom_3));
	struct mirth_arrow_Arrow* v12 = mirth_arrow_Arrow_set_atoms(v9, v11);
	decref(MK_mirth_arrow_Arrow(v9));
	*out_zaAB_5 = v12;
	*out_zaMirth_4 = in_zaMirth_1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, -0x48(%rbp)
movq %rcx, -0x50(%rbp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rdx, %r14
andq %rax, %r14
setne %al
testb $0x3, %r12b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x563f3
movq 0x18(%r12), %rbx
cmpl $0x0, (%r14)
jne 0x563df
movq %r12, %rdi
leaq 0xbc48f(%rip), %rsi     # 0x112869
callq 0xd13d
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x515c0
incl (%r14)
jmp 0x56404
movq 0x18(%r12), %rsi
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
callq 0x515c0
movl 0x60(%r12), %r13d
movq 0x68(%r12), %rbx
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x5642d
incl (%rax)
testb %r15b, %r15b
je 0x56446
decl (%r14)
jne 0x56446
movq %r12, %rdi
leaq 0xbc428(%rip), %rsi     # 0x112869
callq 0xd13d
movq %r12, -0x38(%rbp)
movq -0x30(%rbp), %rdi
leaq -0x58(%rbp), %r14
movl %r13d, %esi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x54044
movq (%r14), %r13
movq %r13, %r12
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %r12
setne %al
testb $0x3, %r13b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x5648c
addl $0x2, (%r12)
movl 0x58(%r13), %ebx
movq 0x60(%r13), %r14
andq %r14, %rdx
sete %al
testb $0x3, %r14b
setne %cl
orb %al, %cl
jne 0x564a7
incl (%rdx)
testb %r15b, %r15b
je 0x564c1
decl (%r12)
jne 0x564c1
movq %r13, %rdi
leaq 0xbbee5(%rip), %rsi     # 0x1123a1
callq 0xd13d
movl %ebx, %edi
movq %r14, %rsi
movq -0x38(%rbp), %rdx
leaq 0xbc398(%rip), %rcx     # 0x112869
callq 0x3df89
movq %r13, %rdi
movl %eax, %esi
callq 0x5d8cc
movq %rax, %rbx
testb %r15b, %r15b
je 0x564fd
decl (%r12)
jne 0x564fd
movq %r13, %rdi
leaq 0xbbea9(%rip), %rsi     # 0x1123a1
callq 0xd13d
movq -0x48(%rbp), %rax
movq %rbx, (%rax)
movq -0x50(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq