// File: /workspace/github_c_makefile_star2_O2/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, %r15
movq %rsi, %r14
movq %rdi, %r12
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movl 0x58(%rdx), %r13d
movq 0x60(%rdx), %rbx
movq %rbx, %rax
andq %r8, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0x44fc6
incl (%rax)
movq %rdx, %rax
andq %r8, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x44ff8
decl (%rax)
jne 0x44ff8
leaq 0xc43bb(%rip), %rsi     # 0x1093a1
movq %rdx, %rdi
callq 0xce94
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movb $0x1, %al
movq %rbx, %rdi
testb $0x1, %al
je 0x45539
xorl %eax, %eax
movl $0x0, %ebx
testl %r13d, %r13d
je 0x44ffa
cmpl $0x1, %r13d
jne 0x45577
leaq -0x88(%rbp), %rsi
callq 0xce01
movq %rax, %r13
movq %r12, %rdi
movq %r14, %rbx
movq %r14, %rsi
leaq -0x78(%rbp), %rdx
callq 0x5b0de
movq %r13, %rsi
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
andq %r8, %rsi
testb %al, %al
je 0x45143
movq %rbx, -0x40(%rbp)
movq %r15, -0x68(%rbp)
testq %rsi, %rsi
setne %al
testb $0x3, %r13b
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0x45075
incl (%rsi)
movl 0x30(%r13), %ebx
movq %r13, -0x70(%rbp)
movq 0x38(%r13), %r13
movq %r13, %r15
andq %r8, %r15
setne %al
testb $0x3, %r13b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x4509e
incl (%r15)
testb %r14b, %r14b
je 0x450cf
decl (%rsi)
jne 0x450cf
movb %r14b, -0x30(%rbp)
movq %rsi, %r14
movq -0x70(%rbp), %rdi
leaq 0xc47b0(%rip), %rsi     # 0x109869
callq 0xce94
movq %r14, %rsi
movb -0x30(%rbp), %r14b
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq -0x78(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpl $0x1, %ebx
je 0x45270
cmpl $0x7, %ebx
je 0x4517a
cmpl $0x8, %ebx
je 0x451eb
cmpl $0xb, %ebx
jne 0x45299
movq %rsi, %rbx
movq %r13, %rdi
callq 0x533e0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
leaq -0x50(%rbp), %rdx
callq 0x37ae3
movq -0x50(%rbp), %rdi
movq -0x40(%rbp), %r12
movq %r12, %rsi
movq %rax, %rdx
leaq -0x38(%rbp), %rcx
callq 0x44f83
movq %rbx, %rsi
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq -0x38(%rbp), %r13
jmp 0x45429
testq %rsi, %rsi
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0x45171
decl (%rsi)
jne 0x45171
movq %r13, %rdi
leaq 0xc4707(%rip), %rsi     # 0x109869
callq 0xce94
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq -0x78(%rbp), %r12
jmp 0x45504
movq %rsi, -0x58(%rbp)
movq %r13, %rdi
callq 0x53537
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movl 0x58(%rax), %r15d
movq 0x60(%rax), %rbx
movq %rbx, %rcx
andq %r8, %rcx
sete %dl
testb $0x3, %bl
setne %sil
orb %dl, %sil
jne 0x451af
incl (%rcx)
movq %rax, %rcx
andq %r8, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x40(%rbp), %r12
movq -0x30(%rbp), %r13
jne 0x45372
decl (%rcx)
jne 0x45372
movq %rax, %rdi
leaq 0xc4490(%rip), %rsi     # 0x109671
callq 0xce94
jmp 0x45368
movq %rsi, -0x58(%rbp)
movq %r13, %rdi
callq 0x53572
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
movq 0x40(%rax), %rbx
movq %rbx, %rcx
andq %rdi, %rcx
sete %dl
testb $0x3, %bl
setne %sil
orb %dl, %sil
jne 0x4521c
incl (%rcx)
movq %rax, %rcx
andq %rdi, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x40(%rbp), %r12
movq -0x30(%rbp), %r15
jne 0x4524b
decl (%rcx)
jne 0x4524b
movq %rax, %rdi
leaq 0xc454b(%rip), %rsi     # 0x109791
callq 0xce94
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
leaq -0x50(%rbp), %rcx
callq 0x44f83
movq -0x50(%rbp), %r13
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
jmp 0x45425
movq %rsi, %r15
movq %r13, %rdi
callq 0x5303c
movq -0x40(%rbp), %r12
cmpq %r12, %rax
jne 0x452dc
movq -0x30(%rbp), %rdi
movq %r12, %rsi
leaq -0x50(%rbp), %rdx
callq 0x5b145
jmp 0x4533c
testb %r12b, %r12b
je 0x452cf
decl (%r15)
jne 0x452cf
shlq $0x30, %rbx
orq %r13, %rbx
movl %r14d, %r15d
movq %rsi, %r14
movq %rbx, %rdi
leaq 0xc448f(%rip), %rsi     # 0x109749
callq 0xce94
movq %r14, %rsi
movl %r15d, %r14d
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq -0x40(%rbp), %r12
movq -0x30(%rbp), %r13
jmp 0x45429
movq %rax, %rbx
movq -0x30(%rbp), %rdi
movq %rax, %rsi
leaq -0x50(%rbp), %rdx
callq 0x5b0de
testb %al, %al
je 0x4533c
leaq 0x10c73d6(%rip), %rdi   # 0x110c6d0
movq %rbx, %rsi
callq 0x12f88
movq -0x50(%rbp), %rdi
movq %rax, %rsi
leaq -0x38(%rbp), %rdx
callq 0x1483b
testl %eax, %eax
je 0x45342
cmpl $0x1, %eax
jne 0x45577
movq %rdx, %rdi
callq 0xd491
movq -0x38(%rbp), %rdi
movq %r12, %rsi
movq %rax, %rdx
leaq -0x60(%rbp), %rcx
callq 0x44f83
jmp 0x45352
movq -0x50(%rbp), %r13
jmp 0x45356
movq -0x38(%rbp), %rdi
movq %r12, %rsi
leaq -0x60(%rbp), %rdx
callq 0x5b145
movq -0x60(%rbp), %r13
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq %r15, %rsi
jmp 0x45429
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movb $0x1, %al
movq %rbx, %rdi
testb $0x1, %al
je 0x4540d
xorl %eax, %eax
movl $0x0, %ebx
testl %r15d, %r15d
je 0x45374
cmpl $0x1, %r15d
jne 0x45577
leaq -0x50(%rbp), %rsi
callq 0xce01
movq 0x10(%rax), %rbx
movq %rbx, %rcx
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rcx
sete %dl
testb $0x3, %bl
setne %sil
orb %dl, %sil
jne 0x453c3
incl (%rcx)
movq %rax, %rcx
andq %rdi, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x453ea
decl (%rcx)
jne 0x453ea
movq %rax, %rdi
leaq 0xc4244(%rip), %rsi     # 0x109629
callq 0xce94
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
leaq -0x38(%rbp), %rcx
callq 0x44f83
movl -0x50(%rbp), %r15d
movq -0x48(%rbp), %rbx
movq -0x38(%rbp), %r13
jmp 0x45368
movq %rdi, %rax
andq %r8, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x45425
decl (%rax)
je 0x45465
movq -0x58(%rbp), %rsi
movq -0x70(%rbp), %rax
movl 0x40(%rax), %r15d
movq 0x48(%rax), %rbx
movq %rbx, %rax
andq %r8, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x4544a
incl (%rax)
testb %r14b, %r14b
je 0x4548a
decl (%rsi)
jne 0x4548a
movq -0x70(%rbp), %rdi
leaq 0xc440b(%rip), %rsi     # 0x109869
callq 0xce94
jmp 0x45480
shlq $0x30, %r15
orq %rdi, %r15
movq %r15, %rdi
leaq 0xc2e03(%rip), %rsi     # 0x108279
callq 0xce94
jmp 0x45261
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movb $0x1, %al
movq %rbx, %rdi
testb $0x1, %al
je 0x454e2
xorl %eax, %eax
movl $0x0, %ebx
testl %r15d, %r15d
je 0x4548c
cmpl $0x1, %r15d
jne 0x45577
leaq -0x50(%rbp), %rsi
callq 0xce01
movq %r13, %rdi
movq %rax, %rsi
leaq -0x38(%rbp), %rdx
callq 0x37ae3
movq -0x38(%rbp), %rdi
movq %r12, %rsi
movq %rax, %rdx
leaq -0x60(%rbp), %rcx
callq 0x44f83
movq -0x60(%rbp), %r13
movl -0x50(%rbp), %r15d
movq -0x48(%rbp), %rbx
jmp 0x45480
movq %rdi, %rax
andq %r8, %rax
sete %cl
testb $0x3, %dil
setne %dl
movq %r12, %r14
orb %cl, %dl
jne 0x454fd
decl (%rax)
je 0x45514
movq %r13, %r12
movq -0x68(%rbp), %r15
movl -0x88(%rbp), %r13d
movq -0x80(%rbp), %rbx
jmp 0x44ff8
movq %r13, %r12
shlq $0x30, %r15
orq %rdi, %r15
movq %r15, %rdi
leaq 0xc2d51(%rip), %rsi     # 0x108279
callq 0xce94
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
jmp 0x45500
andq %rdi, %r8
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x45565
decl (%r8)
jne 0x45565
shlq $0x30, %r13
orq %rdi, %r13
movq %r13, %rdi
leaq 0xc2d19(%rip), %rsi     # 0x108279
callq 0xce94
movq %r12, (%r15)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8f28f(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6