// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_tycon_Tycon_fullzetypezefresh
static struct std_either_Either_2 mw_mirth_tycon_Tycon_fullzetypezefresh (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_tycon_Tycon in_Tycon_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_list_List_1 v5 = mw_mirth_type_Subst_Nil();
	struct mirth_mirth_zaMirth* v6;
	struct std_either_Either_2 v7 = mw_mirth_tycon_Tycon_fullzetype(in_zaMirth_1, in_Tycon_2, &v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct std_list_List_1 branch_Subst_9;
	struct std_either_Either_2 branch_Either_10;
	switch ((v7).tag) {
		case std_either_Either_2_Left: {
			VAL v11 = mtp_std_either_Either_2_Left(v7);
			struct mirth_mirth_zaMirth* v12;
			struct mirth_type_Type v13;
			struct std_list_List_1 v14 = mw_mirth_type_Type_freshen(v6, v5, V_mirth_type_Type(v11), &v12, &v13);
			struct std_either_Either_2 v15 = mtw_std_either_Either_2_Left(MK_mirth_type_Type(v13));
			branch_Either_10 = v15;
			branch_Subst_9 = v14;
			branch_zaMirth_8 = v12;
		} break;
		case std_either_Either_2_Right: {
			VAL v16 = mtp_std_either_Either_2_Right(v7);
			struct mirth_mirth_zaMirth* v17;
			struct mirth_type_Type v18;
			struct std_list_List_1 v19 = mw_mirth_type_Resource_freshen(v6, v5, V_mirth_type_Type(v16), &v17, &v18);
			struct std_either_Either_2 v20 = mtw_std_either_Either_2_Right(MK_mirth_type_Type(v18));
			branch_Either_10 = v20;
			branch_Subst_9 = v19;
			branch_zaMirth_8 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	decref(MK_std_list_List_1(branch_Subst_9));
	*out_zaMirth_3 = branch_zaMirth_8;
	return branch_Either_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
callq 0xd8f40
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x48(%rbp), %rcx
callq 0xf2180
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl -0x58(%rbp), %eax
movl %eax, -0x194(%rbp)
testl %eax, %eax
je 0xf1d44
jmp 0xf1d30
movl -0x194(%rbp), %eax
subl $0x1, %eax
je 0xf1e38
jmp 0xf1f35
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x74840
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x6f100
movq -0x1a0(%rbp), %rdi
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movl -0x40(%rbp), %esi
movq -0x38(%rbp), %rdx
movl -0xb8(%rbp), %ecx
movq -0xb0(%rbp), %r8
leaq -0x88(%rbp), %r9
leaq -0x98(%rbp), %rax
movq %rax, (%rsp)
callq 0xf22e0
movl %eax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
callq 0x73f50
movl %eax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0xf1f4e
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x748f0
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
callq 0x6f100
movq -0x1a8(%rbp), %rdi
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movl -0x40(%rbp), %esi
movq -0x38(%rbp), %rdx
movl -0x120(%rbp), %ecx
movq -0x118(%rbp), %r8
leaq -0xf0(%rbp), %r9
leaq -0x100(%rbp), %rax
movq %rax, (%rsp)
callq 0xf2a70
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movl -0x100(%rbp), %edi
movq -0xf8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x73fe0
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0xf1f4e
leaq 0x261f45(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
jmp 0xf1f50
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x148(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf2045
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x160(%rbp), %rax
cmpq $0x0, %rax
je 0xf2045
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x170(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf2045
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x180(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf2043
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x190(%rbp), %rdi
movq -0x188(%rbp), %rsi
callq 0x127c0
jmp 0xf2045
jmp 0xf2047
movq -0x60(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
nopw %cs:(%rax,%rax)