// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_arrow_PushValue_type
static struct mirth_type_Type mw_mirth_arrow_PushValue_type (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_PushValue in_PushValue_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct mirth_type_Type branch_Type_6;
	switch ((in_PushValue_2).tag) {
		case mirth_arrow_PushValue_Str: {
			STR* v7 = mtp_mirth_arrow_PushValue_Str(in_PushValue_2);
			struct mirth_type_Value v8 = mtw_mirth_type_Value_Str(v7);
			struct mirth_type_Type v9 = mtw_mirth_type_Type_Value(v8);
			branch_Type_6 = v9;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_Int: {
			INT v10 = mtp_mirth_arrow_PushValue_Int(in_PushValue_2);
			struct mirth_type_Value v11 = mtw_mirth_type_Value_Int(v10);
			struct mirth_type_Type v12 = mtw_mirth_type_Type_Value(v11);
			branch_Type_6 = v12;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_Nat: {
			INT v13 = mtp_mirth_arrow_PushValue_Nat(in_PushValue_2);
			decref(MKNAT(v13));
			struct mirth_type_Type v14 = mw_mirth_type_Type_Nat();
			branch_Type_6 = v14;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_U8: {
			uint8_t v15 = mtp_mirth_arrow_PushValue_U8(in_PushValue_2);
			struct mirth_type_Type v16 = mw_mirth_type_Type_U8();
			branch_Type_6 = v16;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_U16: {
			uint16_t v17 = mtp_mirth_arrow_PushValue_U16(in_PushValue_2);
			struct mirth_type_Type v18 = mw_mirth_type_Type_U16();
			branch_Type_6 = v18;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_U32: {
			uint32_t v19 = mtp_mirth_arrow_PushValue_U32(in_PushValue_2);
			struct mirth_type_Type v20 = mw_mirth_type_Type_U32();
			branch_Type_6 = v20;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_U64: {
			uint64_t v21 = mtp_mirth_arrow_PushValue_U64(in_PushValue_2);
			struct mirth_type_Type v22 = mw_mirth_type_Type_U64();
			branch_Type_6 = v22;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_I8: {
			int8_t v23 = mtp_mirth_arrow_PushValue_I8(in_PushValue_2);
			struct mirth_type_Type v24 = mw_mirth_type_Type_I8();
			branch_Type_6 = v24;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_I16: {
			int16_t v25 = mtp_mirth_arrow_PushValue_I16(in_PushValue_2);
			struct mirth_type_Type v26 = mw_mirth_type_Type_I16();
			branch_Type_6 = v26;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_I32: {
			int32_t v27 = mtp_mirth_arrow_PushValue_I32(in_PushValue_2);
			struct mirth_type_Type v28 = mw_mirth_type_Type_I32();
			branch_Type_6 = v28;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_I64: {
			int64_t v29 = mtp_mirth_arrow_PushValue_I64(in_PushValue_2);
			struct mirth_type_Type v30 = mw_mirth_type_Type_I64();
			branch_Type_6 = v30;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_F32: {
			float v31 = mtp_mirth_arrow_PushValue_F32(in_PushValue_2);
			struct mirth_type_Type v32 = mw_mirth_type_Type_F32();
			branch_Type_6 = v32;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_arrow_PushValue_F64: {
			double v33 = mtp_mirth_arrow_PushValue_F64(in_PushValue_2);
			struct mirth_type_Value v34 = mtw_mirth_type_Value_F64(v33);
			struct mirth_type_Type v35 = mtw_mirth_type_Type_Value(v34);
			branch_Type_6 = v35;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Type_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x1f8(%rbp)
subq $0xc, %rax
ja 0x13279a
movq -0x1f8(%rbp), %rax
leaq 0x22002c(%rip), %rcx    # 0x3522c8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1354e0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0xce310
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0xb5300
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1355e0
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
callq 0xce280
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0xb5300
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1356e0
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x25ed9d(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x132471
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x25ed68(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0x132471
movq -0x90(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq 0x25ed2d(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x132471
movq -0x90(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x25ecfc(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x13246f
movq -0x90(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x25ecbf(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x127c0
jmp 0x132471
jmp 0x132473
callq 0x1357e0
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135810
movb %al, -0xf1(%rbp)
callq 0x135850
movl %eax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135880
movw %ax, -0x10a(%rbp)
callq 0x1358d0
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135900
movl %eax, -0x124(%rbp)
callq 0x135940
movl %eax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135970
movq %rax, -0x140(%rbp)
callq 0x755f0
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1359c0
movb %al, -0x151(%rbp)
callq 0x135a00
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135a30
movw %ax, -0x16a(%rbp)
callq 0x135a80
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135ab0
movl %eax, -0x184(%rbp)
callq 0x135af0
movl %eax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135b20
movq %rax, -0x1a0(%rbp)
callq 0x75530
movl %eax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135b70
movss %xmm0, -0x1b4(%rbp)
callq 0x135bc0
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x135bf0
movsd %xmm0, -0x1d0(%rbp)
movsd -0x1d0(%rbp), %xmm0
callq 0xce3a0
movl %eax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0xb5300
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1327b3
leaq 0x2216e0(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
nop