// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_checkzeinlinezerecursionzearrowzx
static void mw_mirth_elab_checkzeinlinezerecursionzearrowzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Word_2, struct mirth_arrow_Arrow* in_Arrow_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct std_list_List_1 v5 = in_Arrow_3->matoms;
	incref(MK_std_list_List_1(v5));
	decref(MK_mirth_arrow_Arrow(in_Arrow_3));
	bool v6 = true;
	struct mirth_mirth_zaMirth* r7 = in_zaMirth_1;
	uint64_t v8 = in_Word_2;
	struct std_list_List_1 v9 = v5;
	bool v10 = v6;
	bool v11 = v6;
	while (v11) {
		struct mirth_mirth_zaMirth* r12 = r7;
		uint64_t v13 = v8;
		struct std_list_List_1 v14 = v9;
		bool v15 = v10;
		uint64_t branch_Word_16;
		struct mirth_mirth_zaMirth* branch_zaMirth_17;
		struct std_list_List_1 branch_List_18;
		bool branch_Bool_19;
		switch ((v14).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v20;
				VAL v21 = mtp_std_list_List_1_Cons(v14, &v20);
				struct mirth_mirth_zaMirth* v22;
				mw_mirth_elab_checkzeinlinezerecursionzeatomzx(r12, v13, V_mirth_arrow_Atom(v21), &v22);
				bool v23 = true;
				branch_Bool_19 = v23;
				branch_List_18 = v20;
				branch_zaMirth_17 = v22;
				branch_Word_16 = v13;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v24 = { .tag=std_list_List_1_Nil };
				bool v25 = false;
				branch_Bool_19 = v25;
				branch_List_18 = v24;
				branch_zaMirth_17 = r12;
				branch_Word_16 = v13;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v11 = branch_Bool_19;
		v10 = branch_Bool_19;
		v9 = branch_List_18;
		v8 = branch_Word_16;
		r7 = branch_zaMirth_17;
	}
	decref(MK_std_list_List_1(v9));
	*out_zaMirth_4 = r7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, -0x70(%rbp)
movq %rsi, %r14
movq %rdi, %rbx
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rdx), %r15d
movq 0x60(%rdx), %r12
movq %r12, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %sil
orb %cl, %sil
jne 0x49455
incl (%rax)
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x49487
decl (%rax)
jne 0x49487
leaq 0xc8f22(%rip), %rsi     # 0x1123a1
movq %rdx, %rdi
callq 0xd13d
leaq -0x50(%rbp), %r13
cmpl $0x1, %r15d
jne 0x49911
movq %r12, %rdi
leaq -0x88(%rbp), %rsi
callq 0xd0aa
movq %rax, %r15
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x68(%rbp), %rdx
callq 0x6002d
movq %r15, %rbx
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rbx
testb %al, %al
je 0x49680
testq %rbx, %rbx
setne %al
testb $0x3, %r15b
sete %sil
andb %al, %sil
cmpb $0x1, %sil
jne 0x494e7
incl (%rbx)
movl 0x30(%r15), %ecx
movq %r15, -0x38(%rbp)
movq 0x38(%r15), %rdi
movq %rdi, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r12
setne %al
testb $0x3, %dil
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x4951b
incl (%r12)
testb %sil, %sil
je 0x4954c
decl (%rbx)
jne 0x4954c
movq %rdi, -0x58(%rbp)
movq -0x38(%rbp), %rdi
movb %sil, -0x29(%rbp)
leaq 0xc9332(%rip), %rsi     # 0x112869
movq %rcx, -0x78(%rbp)
callq 0xd13d
movq -0x78(%rbp), %rcx
movq -0x58(%rbp), %rdi
movb -0x29(%rbp), %sil
movq %rbx, -0x58(%rbp)
movq -0x68(%rbp), %rbx
cmpl $0x7, %ecx
jg 0x496ad
cmpl $0x1, %ecx
je 0x49733
cmpl $0x7, %ecx
jne 0x496fe
movb %sil, -0x29(%rbp)
callq 0x57cb8
movl 0x58(%rax), %r12d
movq 0x60(%rax), %r15
movq %r15, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x495a2
incl (%rcx)
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x49660
decl (%rcx)
jne 0x49660
movq %rax, %rdi
leaq 0xc909b(%rip), %rsi     # 0x112671
callq 0xd13d
jmp 0x49660
movq %r15, %rdi
leaq -0x48(%rbp), %rsi
callq 0xd0aa
movq 0x10(%rax), %r15
movq %r15, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x49612
incl (%rcx)
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x49643
decl (%rcx)
jne 0x49643
movq %rax, %rdi
leaq 0xc8feb(%rip), %rsi     # 0x112629
callq 0xd13d
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x49410
movl -0x48(%rbp), %r12d
movq -0x40(%rbp), %r15
movq -0x50(%rbp), %rbx
cmpl $0x1, %r12d
je 0x495e0
testl %r12d, %r12d
jne 0x4992c
movq -0x38(%rbp), %r15
movb -0x29(%rbp), %sil
jmp 0x497df
testq %rbx, %rbx
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x496a4
decl (%rbx)
jne 0x496a4
movq %r15, %rdi
leaq 0xc91ca(%rip), %rsi     # 0x112869
callq 0xd13d
movq -0x68(%rbp), %rbx
jmp 0x4987c
cmpl $0x8, %ecx
je 0x49763
cmpl $0xb, %ecx
jne 0x496fe
movl %esi, %r12d
movq 0x8(%rdi), %r15
decl (%rdi)
jne 0x496cb
callq 0x5030
leaq 0x10cc1e6(%rip), %rdi   # 0x11158b8
movq %r15, %rsi
callq 0x13c85
movq %rbx, %rdi
movq %rax, %rsi
leaq -0x48(%rbp), %rbx
movq %rbx, %rdx
callq 0x1a6db
movq -0x48(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %rbx, %rcx
jmp 0x497cf
testb %r15b, %r15b
je 0x4988c
decl (%r12)
movq -0x38(%rbp), %r15
jne 0x497df
shlq $0x30, %rcx
orq %rdi, %rcx
movq %rcx, %rdi
movl %esi, %r12d
leaq 0xc9020(%rip), %rsi     # 0x112749
callq 0xd13d
jmp 0x497dc
movq 0x8(%rdi), %r15
decl (%rdi)
jne 0x49746
movl %esi, %r12d
callq 0x5030
movl %r12d, %esi
movl %esi, %r12d
movq %rbx, %rdi
cmpq %r14, %r15
jne 0x49895
movq %r14, %rsi
leaq -0x48(%rbp), %rdx
callq 0x60094
jmp 0x497d4
movl %esi, %r12d
callq 0x57cf3
movq 0x40(%rax), %r15
movq %r15, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x49791
incl (%rcx)
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x497c2
decl (%rcx)
jne 0x497c2
movq %rax, %rdi
leaq 0xc8fd4(%rip), %rsi     # 0x112791
callq 0xd13d
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
leaq -0x48(%rbp), %rcx
callq 0x49410
movq -0x48(%rbp), %rbx
movq -0x38(%rbp), %r15
movl %r12d, %esi
movl 0x40(%r15), %r12d
movq 0x48(%r15), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x49807
incl (%rax)
testb %sil, %sil
je 0x4986d
movq -0x58(%rbp), %rax
decl (%rax)
jne 0x4986d
movq -0x38(%rbp), %rdi
leaq 0xc904a(%rip), %rsi     # 0x112869
callq 0xd13d
jmp 0x4986d
movq %r15, %rdi
leaq -0x48(%rbp), %rsi
callq 0xd0aa
leaq 0x10cc07f(%rip), %rdi   # 0x11158b8
movq %rax, %rsi
callq 0x13c85
movq %rbx, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1a6db
movq -0x50(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r13, %rcx
callq 0x49410
movq -0x50(%rbp), %rbx
movl -0x48(%rbp), %r12d
movq -0x40(%rbp), %r15
cmpl $0x1, %r12d
je 0x49826
testl %r12d, %r12d
jne 0x4992c
movl -0x88(%rbp), %r15d
movq -0x80(%rbp), %r12
jmp 0x4948b
movq -0x38(%rbp), %r15
jmp 0x497df
movq %r15, %rsi
leaq -0x48(%rbp), %rdx
callq 0x6002d
testb %al, %al
je 0x497d4
leaq 0x10cbe20(%rip), %rdi   # 0x11156d0
movq %r15, %rsi
callq 0x13c85
movq -0x48(%rbp), %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1555d
testl %eax, %eax
je 0x498f8
cmpl $0x1, %eax
movq -0x38(%rbp), %r15
jne 0x4992c
movq %rdx, %rdi
callq 0xd745
movq -0x50(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
leaq -0x60(%rbp), %rcx
callq 0x49410
movq -0x60(%rbp), %rbx
jmp 0x497dc
movq -0x50(%rbp), %rdi
movq %r14, %rsi
leaq -0x60(%rbp), %rdx
callq 0x60094
movq -0x60(%rbp), %rbx
jmp 0x497d8
testl %r15d, %r15d
jne 0x4992c
movq -0x70(%rbp), %rax
movq %rbx, (%rax)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x96d88(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x96d8d(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302