// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_unifyzeblockzx
static struct mirth_type_Type mw_mirth_type_Type_unifyzeblockzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Block_2, struct mirth_type_Type in_Type_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* v6;
	struct mirth_type_Type v7 = mw_mirth_type_Type_expand(in_zaMirth_1, in_Type_3, &v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct mirth_type_Type branch_Type_9;
	switch ((v7).tag) {
		case mirth_type_Type_Error: {
			struct mirth_type_StackType v10 = { .tag=mirth_type_StackType_Error };
			struct mirth_type_StackType v11 = { .tag=mirth_type_StackType_Error };
			struct mirth_type_ArrowType* v12 = mw_mirth_type_Tzezg(v10, v11);
			struct mirth_mirth_zaMirth* v13;
			struct mirth_type_ArrowType* v14 = mw_mirth_arrow_blockzeunifyzetypezx(v6, in_Block_2, v12, &v13);
			decref(MK_mirth_type_ArrowType(v14));
			struct mirth_type_Type v15 = { .tag=mirth_type_Type_Error };
			branch_Type_9 = v15;
			branch_zaMirth_8 = v13;
		} break;
		case mirth_type_Type_Meta: {
			uint64_t v16 = mtp_mirth_type_Type_Meta(v7);
			struct mirth_mirth_zaMirth* v17;
			struct mirth_type_ArrowType* v18 = mw_mirth_arrow_Block_type(v6, in_Block_2, &v17);
			struct mirth_type_Type v19 = mtw_mirth_type_Type_Arrow(v18);
			struct mirth_mirth_zaMirth* v20;
			struct mirth_type_Type v21 = mw_mirth_type_MetaVar_unifyzx(v17, v19, v16, &v20);
			decref(MK_mirth_type_Type(v21));
			struct mirth_mirth_zaMirth* v22;
			struct mirth_arrow_Arrow* v23 = mw_mirth_arrow_Block_arrow(v20, in_Block_2, &v22);
			struct mirth_type_ArrowType* v24 = mw_mirth_arrow_Arrow_type(v23);
			struct mirth_type_Type v25 = mtw_mirth_type_Type_Arrow(v24);
			branch_Type_9 = v25;
			branch_zaMirth_8 = v22;
		} break;
		case mirth_type_Type_Arrow: {
			struct mirth_type_ArrowType* v26 = mtp_mirth_type_Type_Arrow(v7);
			struct mirth_mirth_zaMirth* v27;
			struct mirth_type_ArrowType* v28 = mw_mirth_arrow_blockzeunifyzetypezx(v6, in_Block_2, v26, &v27);
			struct mirth_type_Type v29 = mtw_mirth_type_Type_Arrow(v28);
			branch_Type_9 = v29;
			branch_zaMirth_8 = v27;
		} break;
		default: {
			struct mirth_mirth_zaMirth* v30;
			struct mirth_type_ArrowType* v31 = mw_mirth_arrow_Block_type(v6, in_Block_2, &v30);
			struct mirth_type_Type v32 = mtw_mirth_type_Type_Arrow(v31);
			struct mirth_mirth_zaMirth* v33;
			struct mirth_type_Type v34 = mw_mirth_type_Type_unifyzx(v30, v32, v7, &v33);
			branch_Type_9 = v34;
			branch_zaMirth_8 = v33;
		} break;
	}
	*out_zaMirth_4 = branch_zaMirth_8;
	return branch_Type_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x872e0
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x20c(%rbp)
testl %eax, %eax
je 0xc415d
jmp 0xc4138
movl -0x20c(%rbp), %eax
subl $0x3, %eax
je 0xc4301
jmp 0xc4149
movl -0x20c(%rbp), %eax
subl $0xa, %eax
je 0xc4501
jmp 0xc4575
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
leaq -0x78(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
movl -0x78(%rbp), %edx
movq -0x70(%rbp), %rcx
callq 0x735b0
movq %rax, -0x80(%rbp)
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x80(%rbp), %rdx
leaq -0x88(%rbp), %rcx
callq 0xc4620
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x2cda40(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xc42c6
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x2cda0b(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0xc42c6
movq -0x90(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq 0x2cd9d0(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xc42c6
movq -0x90(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x2cd99f(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xc42c4
movq -0x90(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x2cd962(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x127c0
jmp 0xc42c6
jmp 0xc42c8
leaq -0xf0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xf0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0xc45fe
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x870e0
movq %rax, -0xf8(%rbp)
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0xc26a0
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rdi
callq 0xaf380
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rcx
movl -0x118(%rbp), %esi
movq -0x110(%rbp), %rdx
leaq -0x120(%rbp), %r8
callq 0xb45c0
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x6e780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xc448f
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x6e780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0xc448f
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x6e780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xc448f
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x6e780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xc448d
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x6e780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x127c0
jmp 0xc448f
jmp 0xc4491
movq -0x120(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x188(%rbp), %rdx
callq 0xc4670
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rdi
callq 0xc46d0
movq %rax, -0x198(%rbp)
movq -0x198(%rbp), %rdi
callq 0xaf380
movl %eax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0xc45fe
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x87630
movq %rax, -0x1b0(%rbp)
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x1b0(%rbp), %rdx
leaq -0x1b8(%rbp), %rcx
callq 0xc4620
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rdi
callq 0xaf380
movl %eax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0xc45fe
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x1d8(%rbp), %rdx
callq 0xc26a0
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rdi
callq 0xaf380
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1d8(%rbp), %rdi
movl -0x1f0(%rbp), %esi
movq -0x1e8(%rbp), %rdx
movl -0x50(%rbp), %ecx
movq -0x48(%rbp), %r8
leaq -0x1f8(%rbp), %r9
callq 0xb27e0
movl %eax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
nopl (%rax)