// File: /workspace/github_c_makefile_star2_O3/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 $0x38, %rsp
movq %rcx, %r13
movq %rdx, %rbx
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq %rdx, %r12
andq %r14, %r12
setne %al
testb $0x3, %bl
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x62328
incl (%r12)
leaq -0x38(%rbp), %rcx
movq %rsi, -0x30(%rbp)
movq %rbx, %rdx
callq 0x62509
testl %eax, %eax
je 0x6238d
movq %r13, -0x40(%rbp)
cmpl $0x1, %eax
jne 0x624d9
movq %rdx, %rdi
callq 0xd745
movq %rax, %r13
testb %r15b, %r15b
je 0x62376
decl (%r12)
jne 0x62376
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %rbx, %rdi
leaq 0xaf778(%rip), %rsi     # 0x111ae9
callq 0xd13d
movq %r13, %rax
shrq $0x30, %rax
andq %r13, %r14
movq -0x38(%rbp), %r15
movq -0x40(%rbp), %r13
jmp 0x624c3
movq 0x10b3aec(%rip), %rsi   # 0x1115e80
testq %rsi, %rsi
jne 0x623b2
xorl %edi, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x0, 0x10(%rax)
movq %rax, 0x10b3ace(%rip)   # 0x1115e80
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x623c8
incl (%rax)
movq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %r8
leaq -0x48(%rbp), %r9
movq -0x30(%rbp), %rdx
movq %rbx, %rcx
callq 0x38429
movq 0x10b3aa1(%rip), %rsi   # 0x1115e88
testq %rsi, %rsi
jne 0x62422
movl $0x21, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x21, 0x10(%rax)
movups 0x84895(%rip), %xmm0    # 0xe6c9d
movups %xmm0, 0x18(%rax)
movups 0x8489a(%rip), %xmm0    # 0xe6cad
movups %xmm0, 0x28(%rax)
movb $0x2e, 0x38(%rax)
movq %rax, 0x10b3a66(%rip)   # 0x1115e88
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x62438
incl (%rax)
movq -0x48(%rbp), %rdi
callq 0xe069
movq %rax, %r15
movq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %r12
movq %r12, %rsi
callq 0x1b95a
movq (%r12), %rdi
leaq -0x60(%rbp), %r12
movq %rax, %rsi
movq %r15, %rdx
movl $0x2, %ecx
movq %r12, %r8
callq 0x1bc32
movq (%r12), %r15
movq 0x10b3a16(%rip), %rdi   # 0x1115e90
testq %rdi, %rdi
jne 0x624a2
movl $0x4, %edi
callq 0xf5e4
movq %rax, %rdi
movq $0x4, 0x10(%rax)
movl $0x64696f76, 0x18(%rax) # imm = 0x64696F76
movq %rax, 0x10b39ee(%rip)   # 0x1115e90
andq %rdi, %r14
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x624b6
incl (%r14)
callq 0x1fd61
movq %rdx, %r14
movl $0x6, %eax
movq %r15, (%r13)
movq %r14, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x7e1db(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x7e1e0(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302