// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzestackzetypezepartszx
static struct mirth_type_StackType mw_mirth_elab_zaTypeElab_elabzestackzetypezepartszx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct mirth_type_StackType in_StackType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_elab_zaTypeElab* *out_zaTypeElab_5) {
	uint64_t v7 = in_zaTypeElab_2->mtoken;
	struct mirth_mirth_zaMirth* v8;
	bool v9 = mw_mirth_token_Token_sigzestackzeendzy(in_zaMirth_1, v7, &v8);
	bool v10 = !v9;
	struct mirth_type_StackType v11 = in_StackType_3;
	struct mirth_mirth_zaMirth* r12 = v8;
	struct mirth_elab_zaTypeElab* r13 = in_zaTypeElab_2;
	bool v14 = v10;
	while (v14) {
		struct mirth_type_StackType v15 = v11;
		struct mirth_mirth_zaMirth* r16 = r12;
		struct mirth_elab_zaTypeElab* r17 = r13;
		struct mirth_mirth_zaMirth* v18;
		struct mirth_elab_zaTypeElab* v19;
		struct mirth_type_StackTypePart v20 = mw_mirth_elab_zaTypeElab_elabzestackzetypezepartzx(r16, r17, &v18, &v19);
		struct mirth_type_StackType v21 = mw_mirth_type_StackTypePart_cons(v15, v20);
		uint64_t v22 = v19->mtoken;
		struct mirth_mirth_zaMirth* v23;
		bool v24 = mw_mirth_token_Token_sigzestackzeendzy(v18, v22, &v23);
		bool v25 = !v24;
		v14 = v25;
		r13 = v19;
		r12 = v23;
		v11 = v21;
	}
	*out_zaTypeElab_5 = r13;
	*out_zaMirth_4 = r12;
	return v11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0xcf550
andb $0x1, %al
movb %al, -0x51(%rbp)
movb -0x51(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x52(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movb -0x52(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
testb $0x1, -0x69(%rbp)
je 0xafc0a
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
leaq -0x98(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
callq 0xcf620
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
movl -0xb0(%rbp), %edx
movq -0xa8(%rbp), %rcx
callq 0xb0cf0
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xa0(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xc8(%rbp)
movq -0x98(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0xcf550
andb $0x1, %al
movb %al, -0xd1(%rbp)
movb -0xd1(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xd2(%rbp)
movb -0xd2(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xafb06
movq -0x68(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xe0, %rsp
popq %rbp
retq