// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_physicalzebitszy
static struct std_maybe_Maybe_1 mw_mirth_type_StackType_physicalzebitszy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct std_maybe_Maybe_1 branch_Maybe_6;
	switch ((in_StackType_2).tag) {
		case mirth_type_StackType_Error: {
			struct std_maybe_Maybe_1 v7 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v7;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_type_StackType_Ignore: {
			struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v8;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_type_StackType_Unit: {
			INT v9 = WRAP_I63(0LL);
			struct std_maybe_Maybe_1 v10 = mtw_std_maybe_Maybe_1_Some(MKNAT(v9));
			branch_Maybe_6 = v10;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_type_StackType_Meta: {
			uint64_t v11 = mtp_mirth_type_StackType_Meta(in_StackType_2);
			struct mirth_mirth_zaMirth* v12;
			struct std_maybe_Maybe_1 v13 = mw_mirth_type_MetaVar_expandzeif_2_sp4(in_zaMirth_1, v11, &v12);
			branch_Maybe_6 = v13;
			branch_zaMirth_5 = v12;
		} break;
		case mirth_type_StackType_Var: {
			uint64_t v14 = mtp_mirth_type_StackType_Var(in_StackType_2);
			struct std_maybe_Maybe_1 v15 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v15;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_type_StackType_Cons: {
			struct mirth_type_Type v16;
			struct mirth_type_StackType v17 = mtp_mirth_type_StackType_Cons(in_StackType_2, &v16);
			struct mirth_mirth_zaMirth* v18;
			struct std_maybe_Maybe_1 v19 = mw_mirth_type_StackType_physicalzebitszy(in_zaMirth_1, v17, &v18);
			struct mirth_mirth_zaMirth* v20;
			struct std_maybe_Maybe_1 v21 = mw_mirth_type_Type_physicalzebitszy(v18, v16, &v20);
			struct std_maybe_Maybe_1 v22 = mw_std_maybe_Maybe_1_map2_1_sp1(v19, v21);
			branch_Maybe_6 = v22;
			branch_zaMirth_5 = v20;
		} break;
		case mirth_type_StackType_With: {
			struct mirth_type_Type v23;
			struct mirth_type_StackType v24 = mtp_mirth_type_StackType_With(in_StackType_2, &v23);
			struct mirth_mirth_zaMirth* v25;
			struct std_maybe_Maybe_1 v26 = mw_mirth_type_StackType_physicalzebitszy(in_zaMirth_1, v24, &v25);
			struct mirth_mirth_zaMirth* v27;
			struct std_maybe_Maybe_1 v28 = mw_mirth_type_Resource_physicalzebitszy(v25, v23, &v27);
			struct std_maybe_Maybe_1 v29 = mw_std_maybe_Maybe_1_map2_1_sp1(v26, v28);
			branch_Maybe_6 = v29;
			branch_zaMirth_5 = v27;
		} break;
		case mirth_type_StackType_ConsLabel: {
			struct mirth_type_Type v30;
			uint64_t v31;
			struct mirth_type_StackType v32 = mtp_mirth_type_StackType_ConsLabel(in_StackType_2, &v30, &v31);
			struct mirth_mirth_zaMirth* v33;
			struct std_maybe_Maybe_1 v34 = mw_mirth_type_StackType_physicalzebitszy(in_zaMirth_1, v32, &v33);
			struct mirth_mirth_zaMirth* v35;
			struct std_maybe_Maybe_1 v36 = mw_mirth_type_Type_physicalzebitszy(v33, v30, &v35);
			struct std_maybe_Maybe_1 v37 = mw_std_maybe_Maybe_1_map2_1_sp1(v34, v36);
			branch_Maybe_6 = v37;
			branch_zaMirth_5 = v35;
		} break;
		case mirth_type_StackType_WithLabel: {
			struct mirth_type_Type v38;
			uint64_t v39;
			struct mirth_type_StackType v40 = mtp_mirth_type_StackType_WithLabel(in_StackType_2, &v38, &v39);
			struct mirth_mirth_zaMirth* v41;
			struct std_maybe_Maybe_1 v42 = mw_mirth_type_StackType_physicalzebitszy(in_zaMirth_1, v40, &v41);
			struct mirth_mirth_zaMirth* v43;
			struct std_maybe_Maybe_1 v44 = mw_mirth_type_Resource_physicalzebitszy(v41, v38, &v43);
			struct std_maybe_Maybe_1 v45 = mw_std_maybe_Maybe_1_map2_1_sp1(v42, v44);
			branch_Maybe_6 = v45;
			branch_zaMirth_5 = v43;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Maybe_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x250(%rbp)
subq $0x8, %rax
ja 0x2022d7
movq -0x250(%rbp), %rax
leaq 0x150fa0(%rip), %rcx    # 0x352dec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x48(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
leaq -0x58(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x58(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movq 0x16cb9a(%rip), %rax    # 0x36ea50
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x18f247(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0xca10
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0xba280
movq %rax, -0x88(%rbp)
movq -0x28(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x200c90
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0xba520
movq %rax, -0xa8(%rbp)
leaq -0xb8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xb8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
callq 0xba570
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0x28(%rbp), %rdi
movl -0xd8(%rbp), %esi
movq -0xd0(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
callq 0x201e10
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xe0(%rbp), %rdi
movl -0xc8(%rbp), %esi
movq -0xc0(%rbp), %rdx
leaq -0xf8(%rbp), %rcx
callq 0x1ff860
movl %eax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
movl -0x108(%rbp), %edx
movq -0x100(%rbp), %rcx
callq 0x202f50
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0xba740
movl %eax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x28(%rbp), %rdi
movl -0x138(%rbp), %esi
movq -0x130(%rbp), %rdx
leaq -0x140(%rbp), %rcx
callq 0x201e10
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x140(%rbp), %rdi
movl -0x128(%rbp), %esi
movq -0x120(%rbp), %rdx
leaq -0x158(%rbp), %rcx
callq 0x203290
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movl -0x150(%rbp), %edi
movq -0x148(%rbp), %rsi
movl -0x168(%rbp), %edx
movq -0x160(%rbp), %rcx
callq 0x202f50
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x188(%rbp), %rdx
leaq -0x190(%rbp), %rcx
callq 0xba980
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x28(%rbp), %rdi
movl -0x1a0(%rbp), %esi
movq -0x198(%rbp), %rdx
leaq -0x1a8(%rbp), %rcx
callq 0x201e10
movl %eax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1a8(%rbp), %rdi
movl -0x188(%rbp), %esi
movq -0x180(%rbp), %rdx
leaq -0x1c0(%rbp), %rcx
callq 0x1ff860
movl %eax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movl -0x1b8(%rbp), %edi
movq -0x1b0(%rbp), %rsi
movl -0x1d0(%rbp), %edx
movq -0x1c8(%rbp), %rcx
callq 0x202f50
movl %eax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x1f0(%rbp), %rdx
leaq -0x1f8(%rbp), %rcx
callq 0xbab70
movl %eax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movq -0x28(%rbp), %rdi
movl -0x208(%rbp), %esi
movq -0x200(%rbp), %rdx
leaq -0x210(%rbp), %rcx
callq 0x201e10
movl %eax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movq -0x210(%rbp), %rdi
movl -0x1f0(%rbp), %esi
movq -0x1e8(%rbp), %rdx
leaq -0x228(%rbp), %rcx
callq 0x203290
movl %eax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movl -0x220(%rbp), %edi
movq -0x218(%rbp), %rsi
movl -0x238(%rbp), %edx
movq -0x230(%rbp), %rcx
callq 0x202f50
movl %eax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movq -0x248(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2022f0
leaq 0x151ba3(%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 $0x250, %rsp            # imm = 0x250
popq %rbp
retq
nopl (%rax,%rax)