// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_ctype1zy
static struct std_maybe_Maybe_1 mw_mirth_type_Type_ctype1zy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_CType in_CType_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 std_maybe_Maybe_1 branch_Maybe_9;
	switch ((v7).tag) {
		case mirth_type_Type_Data: {
			uint64_t v10 = mtp_mirth_type_Type_Data(v7);
			struct mirth_mirth_zaMirth* v11;
			struct std_maybe_Maybe_1 v12 = mw_mirth_data_Data_ctype1zy(v6, in_CType_2, v10, &v11);
			branch_Maybe_9 = v12;
			branch_zaMirth_8 = v11;
		} break;
		default: {
			decref(MK_mirth_type_Type(v7));
			decref(MK_mirth_type_CType(in_CType_2));
			struct std_maybe_Maybe_1 v13 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_9 = v13;
			branch_zaMirth_8 = v6;
		} break;
	}
	*out_zaMirth_4 = branch_zaMirth_8;
	return branch_Maybe_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x30(%rbp)
movq %r8, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x28(%rbp), %rdx
leaq -0x48(%rbp), %rcx
callq 0x872e0
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl -0x58(%rbp), %eax
subl $0x7, %eax
jne 0x16b472
jmp 0x16b426
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x874e0
movq %rax, -0x68(%rbp)
movq -0x48(%rbp), %rdi
movq -0x68(%rbp), %rcx
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x70(%rbp), %r8
callq 0x16b860
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x16b695
jmp 0x16b474
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x6e780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x16b569
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x6e780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x16b569
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x6e780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x16b569
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x6e780
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x16b567
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x6e780
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0x127c0
jmp 0x16b569
jmp 0x16b56b
jmp 0x16b56d
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x720b0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x16b662
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x720b0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
cmpq $0x0, %rax
je 0x16b662
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x720b0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x100(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x16b662
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x720b0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x16b660
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x720b0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
callq 0x127c0
jmp 0x16b662
jmp 0x16b664
leaq -0x130(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x130(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq