// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Value_tyconzy
static struct std_maybe_Maybe_1 mw_mirth_type_Value_tyconzy (struct mirth_type_Value in_Value_1) {
	struct std_maybe_Maybe_1 branch_Maybe_3;
	switch ((in_Value_1).tag) {
		case mirth_type_Value_Int: {
			INT v4 = mtp_mirth_type_Value_Int(in_Value_1);
			decref(MKINT(v4));
			enum mirth_type_PrimType v5 = mirth_type_PrimType_Int;
			struct mirth_tycon_Tycon v6 = mtw_mirth_tycon_Tycon_Prim(v5);
			struct std_maybe_Maybe_1 v7 = mtw_std_maybe_Maybe_1_Some(MK_mirth_tycon_Tycon(v6));
			branch_Maybe_3 = v7;
		} break;
		case mirth_type_Value_F64: {
			double v8 = mtp_mirth_type_Value_F64(in_Value_1);
			enum mirth_type_PrimType v9 = mirth_type_PrimType_F64;
			struct mirth_tycon_Tycon v10 = mtw_mirth_tycon_Tycon_Prim(v9);
			struct std_maybe_Maybe_1 v11 = mtw_std_maybe_Maybe_1_Some(MK_mirth_tycon_Tycon(v10));
			branch_Maybe_3 = v11;
		} break;
		case mirth_type_Value_Str: {
			STR* v12 = mtp_mirth_type_Value_Str(in_Value_1);
			decref(MKSTR(v12));
			enum mirth_type_PrimType v13 = mirth_type_PrimType_Str;
			struct mirth_tycon_Tycon v14 = mtw_mirth_tycon_Tycon_Prim(v13);
			struct std_maybe_Maybe_1 v15 = mtw_std_maybe_Maybe_1_Some(MK_mirth_tycon_Tycon(v14));
			branch_Maybe_3 = v15;
		} break;
		case mirth_type_Value_Block: {
			uint64_t v16 = mtp_mirth_type_Value_Block(in_Value_1);
			struct std_maybe_Maybe_1 v17 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_3 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Maybe_3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x1a0(%rbp)
subq $0x3, %rax
ja 0x88007
movq -0x1a0(%rbp), %rax
leaq 0x2c9cc8(%rip), %rcx    # 0x3518fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x88310
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x3097cc(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x87d1d
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x3097a3(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x87d1d
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x309778(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x87d1d
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x309753(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x87d1b
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x309722(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x127c0
jmp 0x87d1d
jmp 0x87d1f
movl $0x5, -0x7c(%rbp)
movl -0x7c(%rbp), %edi
callq 0x87050
movl %eax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x59b10
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xca10
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x88020
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x88410
movsd %xmm0, -0xb8(%rbp)
movl $0x10, -0xbc(%rbp)
movl -0xbc(%rbp), %edi
callq 0x87050
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x59b10
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0xca10
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x88020
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x88460
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x309309(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x87f4d
movq -0xf8(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x3092d4(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x87f4d
movq -0xf8(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x309299(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x87f4d
movq -0xf8(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x309268(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x87f4b
movq -0xf8(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x30922b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x127c0
jmp 0x87f4d
jmp 0x87f4f
movl $0x12, -0x14c(%rbp)
movl -0x14c(%rbp), %edi
callq 0x87050
movl %eax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movl -0x160(%rbp), %edi
movq -0x158(%rbp), %rsi
callq 0x59b10
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0xca10
movl %eax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x88020
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x88560
movq %rax, -0x188(%rbp)
leaq -0x198(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x198(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x88020
leaq 0x2cbe73(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq