// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_specializzer_zaSPCheck_checkzetransitivezx
static void mw_mirth_specializzer_zaSPCheck_checkzetransitivezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_zaSPCheck_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct std_list_List_1 *out_zaSPCheck_4) {
	bool v5 = true;
	struct mirth_mirth_zaMirth* r6 = in_zaMirth_1;
	struct std_list_List_1 r7 = in_zaSPCheck_2;
	bool v8 = v5;
	bool v9 = v5;
	while (v9) {
		struct mirth_mirth_zaMirth* r10 = r6;
		struct std_list_List_1 r11 = r7;
		bool v12 = v8;
		incref(MK_std_list_List_1(r11));
		struct std_list_List_1 v13;
		struct std_maybe_Maybe_1 v14 = mw_std_list_List_1_uncons(r11, &v13);
		decref(MK_std_list_List_1(r11));
		struct mirth_mirth_zaMirth* branch_zaMirth_15;
		struct std_list_List_1 branch_zaSPCheck_16;
		bool branch_Bool_17;
		switch ((v14).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v18 = mtp_std_maybe_Maybe_1_Some(v14);
				struct mirth_mirth_zaMirth* v19;
				struct std_list_List_1 v20;
				mw_mirth_specializzer_zaSPCheck_dozeitemzecheckzx(r10, v13, V_mirth_specializzer_SPCheckItem(v18), &v19, &v20);
				bool v21 = true;
				branch_Bool_17 = v21;
				branch_zaSPCheck_16 = v20;
				branch_zaMirth_15 = v19;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v22 = false;
				branch_Bool_17 = v22;
				branch_zaSPCheck_16 = v13;
				branch_zaMirth_15 = r10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v9 = branch_Bool_17;
		v8 = branch_Bool_17;
		r7 = branch_zaSPCheck_16;
		r6 = branch_zaMirth_15;
	}
	*out_zaSPCheck_4 = r7;
	*out_zaMirth_3 = r6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movb $0x1, -0x29(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movb -0x29(%rbp), %al
andb $0x1, %al
movb %al, -0x49(%rbp)
movb -0x29(%rbp), %al
andb $0x1, %al
movb %al, -0x4a(%rbp)
testb $0x1, -0x4a(%rbp)
je 0x1f389f
movq -0x38(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x60(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f3608
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x1f3608
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f3608
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1f360a
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x2c490
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f371f
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
cmpq $0x0, %rax
je 0x1f371f
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x100(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f371f
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1f371d
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
callq 0x127c0
jmp 0x1f371f
jmp 0x1f3721
movl -0xd0(%rbp), %eax
movl %eax, -0x180(%rbp)
testl %eax, %eax
je 0x1f380c
jmp 0x1f3737
movl -0x180(%rbp), %eax
subl $0x1, %eax
jne 0x1f384a
jmp 0x1f3748
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x174a0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x150(%rbp), %rdi
movq -0x148(%rbp), %rsi
callq 0x1fb210
movq -0x188(%rbp), %rdi
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movl -0xc0(%rbp), %esi
movq -0xb8(%rbp), %rdx
movl -0x178(%rbp), %ecx
movq -0x170(%rbp), %r8
leaq -0x158(%rbp), %r9
leaq -0x168(%rbp), %rax
movq %rax, (%rsp)
callq 0x2132a0
movb $0x1, -0x179(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x139(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x128(%rbp)
jmp 0x1f3863
movb $0x0, -0x17a(%rbp)
movb -0x17a(%rbp), %al
andb $0x1, %al
movb %al, -0x139(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x128(%rbp)
jmp 0x1f3863
leaq 0x160630(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x139(%rbp), %al
andb $0x1, %al
movb %al, -0x4a(%rbp)
movb -0x139(%rbp), %al
andb $0x1, %al
movb %al, -0x49(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1f352a
movq -0x28(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
movq -0x40(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopw %cs:(%rax,%rax)