// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzetypezequotezx
static struct mirth_type_Type mw_mirth_elab_zaTypeElab_elabzetypezequotezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_elab_zaTypeElab* *out_zaTypeElab_4) {
	uint64_t v6 = in_zaTypeElab_2->mtoken;
	struct mirth_mirth_zaMirth* v7;
	uint64_t v8 = mw_mirth_token_Token_next(in_zaMirth_1, v6, &v7);
	uint64_t v9 = in_zaTypeElab_2->mtoken;
	struct mirth_mirth_zaMirth* v10;
	uint64_t v11 = mw_mirth_token_Token_argsze1(v7, v9, &v10);
	in_zaTypeElab_2->mtoken = v11;
	uint64_t v12 = in_zaTypeElab_2->mtoken;
	struct mirth_mirth_zaMirth* v13;
	bool v14 = mw_mirth_token_Token_sigzehaszevdashzeorzedasheszy(v10, v12, &v13);
	struct mirth_mirth_zaMirth* branch_zaMirth_15;
	struct mirth_elab_zaTypeElab* branch_zaTypeElab_16;
	struct mirth_type_Type branch_Type_17;
	if (v14) {
		struct mirth_type_StackType v18 = mw_mirth_type_T0();
		struct mirth_mirth_zaMirth* v19;
		struct mirth_elab_zaTypeElab* v20;
		struct mirth_type_ArrowType* v21 = mw_mirth_elab_zaTypeElab_elabzetypezesigzx(v13, in_zaTypeElab_2, v18, &v19, &v20);
		struct mirth_type_Type v22 = mtw_mirth_type_Type_Arrow(v21);
		branch_Type_17 = v22;
		branch_zaTypeElab_16 = v20;
		branch_zaMirth_15 = v19;
	} else {
		struct mirth_type_StackType v23 = mw_mirth_type_T0();
		struct mirth_mirth_zaMirth* v24;
		struct mirth_elab_zaTypeElab* v25;
		struct mirth_type_StackType v26 = mw_mirth_elab_zaTypeElab_elabzestackzetypezx(v13, in_zaTypeElab_2, v23, &v24, &v25);
		struct mirth_type_Type v27 = mw_mirth_type_StackType_zgType(v26);
		branch_Type_17 = v27;
		branch_zaTypeElab_16 = v25;
		branch_zaMirth_15 = v24;
	}
	branch_zaTypeElab_16->mtoken = v8;
	*out_zaTypeElab_4 = branch_zaTypeElab_16;
	*out_zaMirth_3 = branch_zaMirth_15;
	return branch_Type_17;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r14
movq %rdx, -0x40(%rbp)
movq %rsi, %r12
movq 0x10(%rsi), %rsi
leaq -0x50(%rbp), %r13
movq %r13, %rdx
callq 0x28324
movq %rax, %r15
movq 0x10(%r12), %rsi
movq (%r13), %rdi
leaq -0x48(%rbp), %r13
movq %r13, %rdx
callq 0x32512
movq %rax, 0x10(%r12)
movq (%r13), %rdi
leaq -0x38(%rbp), %rbx
movq %rax, %rsi
movq %rbx, %rdx
callq 0x4222d
movq %rax, %r13
movq (%rbx), %rdi
leaq -0x30(%rbp), %rdx
movq %rax, %rsi
callq 0x34edf
testb %al, %al
je 0x3fe7e
movq -0x30(%rbp), %rdi
jmp 0x3fe98
movq -0x30(%rbp), %rdi
leaq -0x58(%rbp), %rbx
movq %r13, %rsi
movq %rbx, %rdx
callq 0x34e0c
movq (%rbx), %rdi
testb %al, %al
je 0x3fecb
leaq -0x38(%rbp), %rbx
leaq -0x30(%rbp), %r13
movq %r12, %rsi
movl $0x2, %edx
xorl %ecx, %ecx
movq %rbx, %r8
movq %r13, %r9
callq 0x3433e
movq %rax, %rdi
callq 0x34fb2
movq (%r13), %rcx
movq (%rbx), %rsi
movl $0xa, %eax
jmp 0x3fef9
leaq -0x38(%rbp), %rbx
leaq -0x30(%rbp), %r13
movq %r12, %rsi
movl $0x2, %edx
xorl %ecx, %ecx
movq %rbx, %r8
movq %r13, %r9
callq 0x34bb9
movl %eax, %edi
movq %rdx, %rsi
callq 0x3bc53
movq (%r13), %rcx
movq (%rbx), %rsi
movq %r15, 0x10(%rcx)
movq %rcx, (%r14)
movq -0x40(%rbp), %rcx
movq %rsi, (%rcx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq