// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Value_unifyzetypezx
static struct mirth_type_Type mw_mirth_type_Value_unifyzetypezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_type_Value in_Value_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct mirth_type_Type branch_Type_7;
	switch ((in_Value_3).tag) {
		case mirth_type_Value_Int: {
			INT v8 = mtp_mirth_type_Value_Int(in_Value_3);
			decref(MKINT(v8));
			struct mirth_type_Type v9 = mw_mirth_type_Type_Int();
			struct mirth_mirth_zaMirth* v10;
			struct mirth_type_Type v11 = mw_mirth_type_Type_unifyzx(in_zaMirth_1, in_Type_2, v9, &v10);
			branch_Type_7 = v11;
			branch_zaMirth_6 = v10;
		} break;
		case mirth_type_Value_Str: {
			STR* v12 = mtp_mirth_type_Value_Str(in_Value_3);
			decref(MKSTR(v12));
			struct mirth_type_Type v13 = mw_mirth_type_Type_Str();
			struct mirth_mirth_zaMirth* v14;
			struct mirth_type_Type v15 = mw_mirth_type_Type_unifyzx(in_zaMirth_1, in_Type_2, v13, &v14);
			branch_Type_7 = v15;
			branch_zaMirth_6 = v14;
		} break;
		case mirth_type_Value_F64: {
			double v16 = mtp_mirth_type_Value_F64(in_Value_3);
			struct mirth_type_Type v17 = mw_mirth_type_Type_F64();
			struct mirth_mirth_zaMirth* v18;
			struct mirth_type_Type v19 = mw_mirth_type_Type_unifyzx(in_zaMirth_1, in_Type_2, v17, &v18);
			branch_Type_7 = v19;
			branch_zaMirth_6 = v18;
		} break;
		case mirth_type_Value_Block: {
			uint64_t v20 = mtp_mirth_type_Value_Block(in_Value_3);
			struct mirth_mirth_zaMirth* v21;
			struct mirth_type_Type v22 = mw_mirth_type_Type_unifyzeblockzx(in_zaMirth_1, v20, in_Type_2, &v21);
			branch_Type_7 = v22;
			branch_zaMirth_6 = v21;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_4 = branch_zaMirth_6;
	return branch_Type_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x30(%rbp)
movq %r8, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x30(%rbp), %eax
movq %rax, -0x1a0(%rbp)
subq $0x3, %rax
ja 0xb4efc
movq -0x1a0(%rbp), %rax
leaq 0x29d0b9(%rip), %rcx    # 0x351bdc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x88310
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x2dc8dd(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xb4c25
movq -0x50(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x2dc8b4(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
cmpq $0x0, %rax
je 0xb4c25
movq -0x50(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x2dc885(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xb4c25
movq -0x50(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x2dc85d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xb4c23
movq -0x50(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x2dc823(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0x127c0
jmp 0xb4c25
jmp 0xb4c27
callq 0xc2610
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0xb0(%rbp), %ecx
movq -0xa8(%rbp), %r8
leaq -0xb8(%rbp), %r9
callq 0xb27e0
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 -0xb8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xb4f15
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x88460
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x2dc4a0(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xb4db6
movq -0xd0(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x2dc46b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
cmpq $0x0, %rax
je 0xb4db6
movq -0xd0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x2dc430(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xb4db6
movq -0xd0(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x2dc3ff(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xb4db4
movq -0xd0(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x2dc3c2(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
callq 0x127c0
jmp 0xb4db6
jmp 0xb4db8
callq 0xc2670
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x130(%rbp), %ecx
movq -0x128(%rbp), %r8
leaq -0x138(%rbp), %r9
callq 0xb27e0
movl %eax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xb4f15
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x88410
movsd %xmm0, -0x150(%rbp)
callq 0xc2640
movl %eax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x160(%rbp), %ecx
movq -0x158(%rbp), %r8
leaq -0x168(%rbp), %r9
callq 0xb27e0
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xb4f15
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x88560
movq %rax, -0x180(%rbp)
movq -0x38(%rbp), %rdi
movq -0x180(%rbp), %rsi
movl -0x20(%rbp), %edx
movq -0x18(%rbp), %rcx
leaq -0x188(%rbp), %r8
callq 0xc40f0
movl %eax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xb4f15
leaq 0x29ef7e(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq