// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_ArrowType_freshenzesig
static struct std_list_List_1 mw_mirth_type_ArrowType_freshenzesig (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_Subst_2, struct mirth_type_ArrowType* in_ArrowType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_type_ArrowType* *out_ArrowType_6) {
	incref(MK_mirth_type_ArrowType(in_ArrowType_3));
	struct mirth_mirth_zaMirth* v7;
	bool v8 = mw_mirth_type_ArrowType_needszefreshzestackzerestzy(in_zaMirth_1, in_ArrowType_3, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	struct std_list_List_1 branch_Subst_10;
	struct mirth_type_ArrowType* branch_ArrowType_11;
	if (v8) {
		struct mirth_mirth_zaMirth* v12;
		struct mirth_type_ArrowType* v13;
		struct std_list_List_1 v14 = mw_mirth_type_ArrowType_freshenzesigzeaux(v7, in_Subst_2, in_ArrowType_3, &v12, &v13);
		branch_ArrowType_11 = v13;
		branch_Subst_10 = v14;
		branch_zaMirth_9 = v12;
	} else {
		struct mirth_mirth_zaMirth* v15;
		struct mirth_type_ArrowType* v16;
		struct std_list_List_1 v17 = mw_mirth_type_ArrowType_freshen(v7, in_Subst_2, in_ArrowType_3, &v15, &v16);
		branch_ArrowType_11 = v16;
		branch_Subst_10 = v17;
		branch_zaMirth_9 = v15;
	}
	*out_ArrowType_6 = branch_ArrowType_11;
	*out_zaMirth_4 = branch_zaMirth_9;
	return branch_Subst_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x28d717(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x104583
movq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x28d6f2(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
cmpq $0x0, %rax
je 0x104583
movq -0x30(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x28d6c7(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x70(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x104583
movq -0x30(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x28d6a2(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x80(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x104585
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x104780
andb $0x1, %al
movb %al, -0x89(%rbp)
testb $0x1, -0x89(%rbp)
je 0x104610
movq -0x88(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0xa8(%rbp), %r8
leaq -0xb0(%rbp), %r9
callq 0x104a60
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x98(%rbp)
jmp 0x104674
movq -0x88(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0xc8(%rbp), %r8
leaq -0xd0(%rbp), %r9
callq 0xf3c30
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x98(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xe0, %rsp
popq %rbp
retq