// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzestackzelabelzx
static struct mirth_type_StackTypePart mw_mirth_elab_zaTypeElab_elabzestackzelabelzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, uint64_t in_Label_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;
	uint64_t v9 = mw_mirth_token_Token_next(in_zaMirth_1, v7, &v8);
	uint64_t v10 = in_zaTypeElab_2->mtoken;
	struct mirth_mirth_zaMirth* v11;
	uint64_t v12 = mw_mirth_token_Token_argsze1(v8, v10, &v11);
	in_zaTypeElab_2->mtoken = v12;
	struct mirth_mirth_zaMirth* v13;
	bool v14 = mw_mirth_label_Label_iszeresourcezelabelzy(v11, in_Label_3, &v13);
	struct mirth_mirth_zaMirth* branch_zaMirth_15;
	struct mirth_elab_zaTypeElab* branch_zaTypeElab_16;
	struct mirth_type_StackTypePart branch_StackTypePart_17;
	if (v14) {
		struct mirth_mirth_zaMirth* v18;
		struct mirth_elab_zaTypeElab* v19;
		struct mirth_type_Type v20 = mw_mirth_elab_zaTypeElab_elabzeresourcezeargzx(v13, in_zaTypeElab_2, &v18, &v19);
		struct mirth_type_StackTypePart v21 = mtw_mirth_type_StackTypePart_WithLabel(v20, in_Label_3);
		branch_StackTypePart_17 = v21;
		branch_zaTypeElab_16 = v19;
		branch_zaMirth_15 = v18;
	} else {
		struct mirth_mirth_zaMirth* v22;
		struct mirth_elab_zaTypeElab* v23;
		struct mirth_type_Type v24 = mw_mirth_elab_zaTypeElab_elabzetypezeargzx(v13, in_zaTypeElab_2, &v22, &v23);
		struct mirth_type_StackTypePart v25 = mtw_mirth_type_StackTypePart_ConsLabel(v24, in_Label_3);
		branch_StackTypePart_17 = v25;
		branch_zaTypeElab_16 = v23;
		branch_zaMirth_15 = v22;
	}
	branch_zaTypeElab_16->mtoken = v9;
	*out_zaTypeElab_5 = branch_zaTypeElab_16;
	*out_zaMirth_4 = branch_zaMirth_15;
	return branch_StackTypePart_17;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x7b380
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x58(%rbp)
movq -0x48(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0xa8660
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x60(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0xd2720
andb $0x1, %al
movb %al, -0x71(%rbp)
testb $0x1, -0x71(%rbp)
je 0xd0a75
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x90(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0xd2830
movl %eax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0x28(%rbp), %rdx
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0xcf070
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0xd0aef
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
callq 0xd3270
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0x28(%rbp), %rdx
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0xcefd0
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x50(%rbp), %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x88(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movq -0x80(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xf0, %rsp
popq %rbp
retq
nopw (%rax,%rax)