// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_unwrap_1_sp52
static VAL mw_std_maybe_Maybe_1_unwrap_1_sp52 (struct mirth_mirth_zaMirth* in_zaMirth_1, VAL in_zux1_2, struct std_maybe_Maybe_1 in_Maybe_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, VAL *out_zux1_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	VAL branch_zux1_8;
	VAL branch_zux2_9;
	switch ((in_Maybe_3).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v10 = mtp_std_maybe_Maybe_1_Some(in_Maybe_3);
			branch_zux2_9 = v10;
			branch_zux1_8 = in_zux1_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v11;
			STRLIT(v11, "logic error: expected field in tag.", 35);
			mw_mirth_mirth_zaMirth_fatalzeerrorzx(in_zaMirth_1, v11);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zux1_5 = branch_zux1_8;
	*out_zaMirth_4 = branch_zaMirth_7;
	return branch_zux2_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq 0x10(%rbp), %rax
movq %rsi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x30(%rbp)
movq %r8, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0xb4(%rbp)
testl %eax, %eax
je 0x1ad067
jmp 0x1ad015
movl -0xb4(%rbp), %eax
subl $0x1, %eax
jne 0x1ad175
jmp 0x1ad026
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x174a0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1ad18e
jmp 0x1ad069
cmpq $0x0, 0x11e93b7(%rip)   # 0x1396428
jne 0x1ad08b
leaq 0x1ae6be(%rip), %rdi    # 0x35b738
movl $0x23, %esi
callq 0xb6c0
movq %rax, 0x11e939d(%rip)   # 0x1396428
jmp 0x1ad08d
movq 0x11e9394(%rip), %rax   # 0x1396428
movq %rax, -0x80(%rbp)
leaq 0x1e40b9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ad159
movq 0x11e9368(%rip), %rax   # 0x1396428
movq %rax, -0x90(%rbp)
leaq 0x1e408a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x1ad159
movq 0x11e9331(%rip), %rax   # 0x1396428
movq %rax, -0xa0(%rbp)
leaq 0x1e4053(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ad159
movq 0x11e9300(%rip), %rax   # 0x1396428
movq %rax, -0xb0(%rbp)
leaq 0x1e4022(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ad15b
movq 0x11e92c6(%rip), %rax   # 0x1396428
movq %rax, -0x70(%rbp)
movq -0x38(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x44a80
jmp 0x1ad18e
leaq 0x1a6d05(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq 0x10(%rbp), %rax
movups -0x58(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rdx
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)