// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_specializzer_zaSPCheck_checkedzx
static bool mw_mirth_specializzer_zaSPCheck_checkedzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_zaSPCheck_2, struct mirth_specializzer_SPCheckItem in_SPCheckItem_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct std_list_List_1 *out_zaSPCheck_5) {
	struct std_list_List_1 branch_zaSPCheck_7;
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	void* branch_MutBool_9;
	switch ((in_SPCheckItem_3).tag) {
		case mirth_specializzer_SPCheckItem_Word: {
			uint64_t v10 = mtp_mirth_specializzer_SPCheckItem_Word(in_SPCheckItem_3);
			void* v11 = field_mut(&mfld_mirth_word_Word_ztspzechecked, v10);
			branch_MutBool_9 = v11;
			branch_zaMirth_8 = in_zaMirth_1;
			branch_zaSPCheck_7 = in_zaSPCheck_2;
		} break;
		case mirth_specializzer_SPCheckItem_Block: {
			uint64_t v12 = mtp_mirth_specializzer_SPCheckItem_Block(in_SPCheckItem_3);
			void* v13 = field_mut(&mfld_mirth_arrow_Block_ztspzechecked, v12);
			branch_MutBool_9 = v13;
			branch_zaMirth_8 = in_zaMirth_1;
			branch_zaSPCheck_7 = in_zaSPCheck_2;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct std_maybe_Maybe_1 v14 = mw_std_prelude_zozy(branch_MutBool_9);
	bool branch_Bool_15;
	switch ((v14).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v16 = mtp_std_maybe_Maybe_1_Some(v14);
			branch_Bool_15 = value_bool(v16);
		} break;
		case std_maybe_Maybe_1_None: {
			bool v17 = false;
			branch_Bool_15 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	bool v18 = true;
	mut_set(MKBOOL(v18), branch_MutBool_9);
	*out_zaSPCheck_5 = branch_zaSPCheck_7;
	*out_zaMirth_4 = branch_zaMirth_8;
	return branch_Bool_15;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq 0x10(%rbp), %rax
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0xb4(%rbp)
testl %eax, %eax
je 0x1faf14
jmp 0x1faf04
movl -0xb4(%rbp), %eax
subl $0x1, %eax
je 0x1faf5a
jmp 0x1fafa0
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1fb250
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rsi
leaq 0x119ba01(%rip), %rdi   # 0x1396930
callq 0x40d30
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1fafb9
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x1fb2a0
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rsi
leaq 0x119b9cb(%rip), %rdi   # 0x1396940
callq 0x40d30
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1fafb9
leaq 0x158eda(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x50(%rbp), %rdi
callq 0x45d00
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movl -0x80(%rbp), %eax
movl %eax, -0xb8(%rbp)
testl %eax, %eax
je 0x1fb01c
jmp 0x1fafd8
movl -0xb8(%rbp), %eax
subl $0x1, %eax
jne 0x1fb033
jmp 0x1fafe5
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x174a0
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x741f0
andb $0x1, %al
movb %al, -0x81(%rbp)
jmp 0x1fb04c
movb $0x0, -0x99(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0x81(%rbp)
jmp 0x1fb04c
leaq 0x158e47(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb $0x1, -0x9a(%rbp)
movb -0x9a(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
movq %rax, -0xb0(%rbp)
leaq 0x196d4c(%rip), %rax    # 0x391db8
movq %rax, -0xa8(%rbp)
movq -0x50(%rbp), %rdx
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x431a0
movq 0x10(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x48(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movb -0x81(%rbp), %al
andb $0x1, %al
addq $0xc0, %rsp
popq %rbp
retq
nopl (%rax)