// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_ctype
static struct mirth_type_CType mw_mirth_type_Type_ctype (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	incref(MK_mirth_type_Type(in_Type_2));
	struct mirth_mirth_zaMirth* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_type_Type_ctypezy(in_zaMirth_1, in_Type_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_type_CType branch_CType_8;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v6);
			decref(MK_mirth_type_Type(in_Type_2));
			branch_CType_8 = V_mirth_type_CType(v9);
			branch_zaMirth_7 = v5;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v10;
			STRLIT(v10, "", 0);
			struct mirth_mirth_zaMirth* v11;
			STR* v12;
			mw_mirth_type_Type_typezj(v5, v10, in_Type_2, &v11, &v12);
			STR* v13;
			STRLIT(v13, " doesn't have a C representation.", 33);
			STR* v14;
			mw_std_str_zaStr_pushzestrzx(v13, v12, &v14);
			struct mirth_mirth_zaMirth* v15;
			mw_mirth_mirth_zaMirth_errorzx(v11, v14, &v15);
			STR* v16;
			STRLIT(v16, "void", 4);
			struct mirth_type_CType v17 = mtw_mirth_type_CType_Void(v16);
			branch_CType_8 = v17;
			branch_zaMirth_7 = v15;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_CType_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdx, %r12
movl %esi, %r15d
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x63ee8
incl (%rax)
leaq -0x30(%rbp), %rcx
movl %r15d, %esi
movq %r12, %rdx
callq 0x640d0
testl %eax, %eax
je 0x63f50
cmpl $0x1, %eax
jne 0x640a0
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r13
movq %r12, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x63f3d
decl (%rax)
jne 0x63f3d
shlq $0x30, %r15
orq %r12, %r15
leaq 0xb1bb4(%rip), %rsi     # 0x115ae9
movq %r15, %rdi
callq 0xd4e3
movq %r13, %rax
shrq $0x30, %rax
andq %r13, %r14
movq -0x30(%rbp), %r15
jmp 0x6408b
cmpq $0x0, 0x10b5f28(%rip)   # 0x1119e80
jne 0x63f70
xorl %edi, %edi
callq 0xf9f7
movq $0x0, 0x10(%rax)
movq %rax, 0x10b5f10(%rip)   # 0x1119e80
movq 0x10b5f09(%rip), %rsi   # 0x1119e80
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x63f8d
incl (%rax)
movq -0x30(%rbp), %rdi
leaq -0x40(%rbp), %r8
leaq -0x38(%rbp), %r9
movl %r15d, %edx
movq %r12, %rcx
callq 0x395c3
cmpq $0x0, 0x10b5edc(%rip)   # 0x1119e88
jne 0x63fe1
movl $0x21, %edi
callq 0xf9f7
movq $0x21, 0x10(%rax)
movups 0x86e07(%rip), %xmm0    # 0xeadce
movups %xmm0, 0x18(%rax)
movups 0x86e0c(%rip), %xmm0    # 0xeadde
movups %xmm0, 0x28(%rax)
movb $0x2e, 0x38(%rax)
movq %rax, 0x10b5ea7(%rip)   # 0x1119e88
movq 0x10b5ea0(%rip), %rsi   # 0x1119e88
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x63ffe
incl (%rax)
movq -0x38(%rbp), %rdi
callq 0xe43c
movq %rax, %r15
movq -0x40(%rbp), %rdi
leaq -0x48(%rbp), %r12
movq %r12, %rsi
callq 0x1bc22
movq (%r12), %rdi
leaq -0x50(%rbp), %r12
movq %rax, %rsi
movq %r15, %rdx
movl $0x2, %ecx
movq %r12, %r8
callq 0x1bf3a
movq (%r12), %r15
cmpq $0x0, 0x10b5e4f(%rip)   # 0x1119e90
jne 0x64063
movl $0x4, %edi
callq 0xf9f7
movq $0x4, 0x10(%rax)
movl $0x64696f76, 0x18(%rax) # imm = 0x64696F76
movq %rax, 0x10b5e2d(%rip)   # 0x1119e90
movq 0x10b5e26(%rip), %rdi   # 0x1119e90
andq %rdi, %r14
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x6407e
incl (%r14)
callq 0x20268
movq %rdx, %r14
movl $0x6, %eax
movq %r15, (%rbx)
movq %r14, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x80694(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x80699(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5