// File: /workspace/github_c_makefile_star2_O2/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 0x5d2f3
incl (%r12)
leaq -0x38(%rbp), %rcx
movq %rsi, -0x30(%rbp)
movq %rbx, %rdx
callq 0x5d49c
testl %eax, %eax
je 0x5d358
movq %r13, -0x40(%rbp)
cmpl $0x1, %eax
jne 0x5d45c
movq %rdx, %rdi
callq 0xd491
movq %rax, %r13
testb %r15b, %r15b
je 0x5d341
decl (%r12)
jne 0x5d341
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %rbx, %rdi
leaq 0xab7ad(%rip), %rsi     # 0x108ae9
callq 0xce94
movq %r13, %rax
shrq $0x30, %rax
andq %r13, %r14
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %r13
jmp 0x5d446
movq 0x10afb21(%rip), %rsi   # 0x110ce80
testq %rsi, %rsi
jne 0x5d37c
leaq 0x7f38a(%rip), %rdi     # 0xdc6f5
xorl %esi, %esi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x10afb04(%rip)   # 0x110ce80
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x5d392
incl (%rax)
movq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %r8
leaq -0x50(%rbp), %r9
movq -0x30(%rbp), %rdx
movq %rbx, %rcx
callq 0x3520f
movq 0x10afad7(%rip), %rsi   # 0x110ce88
testq %rsi, %rsi
jne 0x5d3cf
leaq 0x7dab4(%rip), %rdi     # 0xdae71
pushq $0x21
popq %rsi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x10afab9(%rip)   # 0x110ce88
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x5d3e5
incl (%rax)
movq -0x50(%rbp), %rdi
callq 0xd8b0
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rdx
movq %rax, %rsi
callq 0x33f68
movq 0x10afa8b(%rip), %rdi   # 0x110ce90
testq %rdi, %rdi
jne 0x5d423
leaq 0x7a6f6(%rip), %rdi     # 0xd7b07
pushq $0x4
popq %rsi
callq 0x8a21
movq %rax, %rdi
movq %rax, 0x10afa6d(%rip)   # 0x110ce90
andq %rdi, %r14
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x5d437
incl (%r14)
callq 0x1d99e
movq %rdx, %r14
movq -0x48(%rbp), %rcx
pushq $0x6
popq %rax
movq %rcx, (%r13)
movq %r14, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x773aa(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6