// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_specializzer_zaSPCheck_pushzecheckzeitemzx
static void mw_mirth_specializzer_zaSPCheck_pushzecheckzeitemzx (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) {
	incref(MK_mirth_specializzer_SPCheckItem(in_SPCheckItem_3));
	struct mirth_mirth_zaMirth* v6;
	struct std_list_List_1 v7;
	bool v8 = mw_mirth_specializzer_zaSPCheck_checkedzx(in_zaMirth_1, in_zaSPCheck_2, in_SPCheckItem_3, &v6, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	struct std_list_List_1 branch_zaSPCheck_10;
	if (v8) {
		decref(MK_mirth_specializzer_SPCheckItem(in_SPCheckItem_3));
		branch_zaSPCheck_10 = v7;
		branch_zaMirth_9 = v6;
	} else {
		incref(MK_std_list_List_1(v7));
		struct std_list_List_1 v11 = mw_std_list_List_1_cons(MK_mirth_specializzer_SPCheckItem(in_SPCheckItem_3), v7);
		decref(MK_std_list_List_1(v7));
		branch_zaSPCheck_10 = v11;
		branch_zaMirth_9 = v6;
	}
	*out_zaSPCheck_5 = branch_zaSPCheck_10;
	*out_zaMirth_4 = branch_zaMirth_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, -0x40(%rbp)
movq %r8, %rbx
movq %rdx, %r12
movq %rsi, -0x30(%rbp)
movq %rdi, -0x38(%rbp)
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
movl %ecx, %r13d
movq %r8, %rax
andq %rdx, %rax
sete %dl
testb $0x3, %bl
setne %sil
orb %dl, %sil
jne 0x8d84a
incl (%rax)
shlq $0x30, %r13
testl %ecx, %ecx
leaq 0x108cf91(%rip), %rax   # 0x111a7e8
leaq 0x108cf9a(%rip), %r14   # 0x111a7f8
cmoveq %rax, %r14
movq 0x8(%rbx), %r15
decl (%rbx)
jne 0x8d872
movq %rbx, %rdi
callq 0x5030
orq %rbx, %r13
movq %r14, %rdi
movq %r15, %rsi
callq 0x13ff0
movq %rax, %r14
movq %rax, %rdi
callq 0x152b2
cmpl $0x1, %eax
jne 0x8d8fe
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %rdi
movq %rdx, %rsi
callq 0x20dbc
movl %eax, %r15d
leaq 0x8847b(%rip), %rsi     # 0x115d28
movl $0x1, %edi
movq %r14, %rdx
callq 0x14ab5
testb %r15b, %r15b
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
je 0x8d91c
andq %rbx, %r15
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
movq -0x30(%rbp), %r14
jne 0x8d983
decl (%r15)
jne 0x8d983
movq %r13, %rdi
leaq 0x893f5(%rip), %rsi     # 0x116ce9
callq 0xd4e3
jmp 0x8d983
leaq 0x88423(%rip), %rsi     # 0x115d28
movl $0x1, %edi
movq %r14, %rdx
callq 0x14ab5
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
movq %r12, %rax
andq %r15, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
movq -0x30(%rbp), %r14
jne 0x8d936
incl (%rax)
movq %r13, %rdi
leaq 0x893a9(%rip), %rsi     # 0x116ce9
movl %r14d, %edx
movq %r12, %rcx
callq 0xd592
movq %rdx, %rbx
andq %r12, %r15
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x8d97a
decl (%r15)
jne 0x8d97a
shlq $0x30, %r14
orq %r12, %r14
leaq 0x87907(%rip), %rsi     # 0x115279
movq %r14, %rdi
callq 0xd4e3
movl $0x1, %r14d
movq %rbx, %r12
movq 0x10(%rbp), %rax
movl %r14d, (%rax)
movq %r12, 0x8(%rax)
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq