// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_reversezefor_1_sp13
static struct std_list_List_1 mw_std_list_List_1_reversezefor_1_sp13 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct std_list_List_1 in_Ctx_3, struct mirth_type_StackType in_StackType_4, struct std_list_List_1 in_List_5, struct mirth_mirth_zaMirth* *out_zaMirth_6, struct mirth_arrow_Arrow* *out_zaAB_7, struct mirth_type_StackType *out_StackType_9) {
	struct std_list_List_1 v10 = mw_std_list_List_1_reverse(in_List_5);
	bool v11 = true;
	struct mirth_mirth_zaMirth* r12 = in_zaMirth_1;
	struct mirth_arrow_Arrow* r13 = in_zaAB_2;
	struct std_list_List_1 v14 = in_Ctx_3;
	struct mirth_type_StackType v15 = in_StackType_4;
	struct std_list_List_1 v16 = v10;
	bool v17 = v11;
	bool v18 = v11;
	while (v18) {
		struct mirth_mirth_zaMirth* r19 = r12;
		struct mirth_arrow_Arrow* r20 = r13;
		struct std_list_List_1 v21 = v14;
		struct mirth_type_StackType v22 = v15;
		struct std_list_List_1 v23 = v16;
		bool v24 = v17;
		struct std_list_List_1 branch_Ctx_25;
		struct mirth_type_StackType branch_StackType_26;
		struct mirth_mirth_zaMirth* branch_zaMirth_27;
		struct mirth_arrow_Arrow* branch_zaAB_28;
		struct std_list_List_1 branch_List_29;
		bool branch_Bool_30;
		switch ((v23).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v31;
				VAL v32 = mtp_std_list_List_1_Cons(v23, &v31);
				incref(v32);
				struct std_list_List_1 v33 = mw_mirth_var_Ctx_new(v21, V_mirth_var_Var(v32));
				struct mirth_arrow_Arrow* v34;
				uint64_t v35 = mw_mirth_elab_zaAB_abzetokenzo(r20, &v34);
				struct mirth_mirth_zaMirth* v36;
				struct mirth_type_Type v37;
				uint64_t v38;
				struct mirth_type_StackType v39 = mw_mirth_elab_elabzeexpandzetensorzx(r19, v22, v35, &v36, &v37, &v38);
				struct mirth_mirth_zaMirth* v40;
				struct mirth_type_Type v41 = mw_mirth_var_Var_type(v36, V_mirth_var_Var(v32), &v40);
				struct mirth_mirth_zaMirth* v42;
				uint64_t v43;
				struct mirth_type_Type v44 = mw_mirth_elab_elabzetypezeunifyzx(v40, v37, v41, v38, &v42, &v43);
				decref(MK_mirth_type_Type(v44));
				bool v45 = true;
				branch_Bool_30 = v45;
				branch_List_29 = v31;
				branch_zaAB_28 = v34;
				branch_zaMirth_27 = v42;
				branch_StackType_26 = v39;
				branch_Ctx_25 = v33;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v46 = { .tag=std_list_List_1_Nil };
				bool v47 = false;
				branch_Bool_30 = v47;
				branch_List_29 = v46;
				branch_zaAB_28 = r20;
				branch_zaMirth_27 = r19;
				branch_StackType_26 = v22;
				branch_Ctx_25 = v21;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v18 = branch_Bool_30;
		v17 = branch_Bool_30;
		v16 = branch_List_29;
		v15 = branch_StackType_26;
		v14 = branch_Ctx_25;
		r13 = branch_zaAB_28;
		r12 = branch_zaMirth_27;
	}
	decref(MK_std_list_List_1(v16));
	*out_StackType_9 = v15;
	*out_zaAB_7 = r13;
	*out_zaMirth_6 = r12;
	return v14;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp            # imm = 0x2A0
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
leaq 0x10(%rbp), %rax
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %r8d, -0x30(%rbp)
movq %r9, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %rsi, -0x40(%rbp)
movl (%rax), %edi
movq 0x8(%rax), %rsi
callq 0x122b0
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movb $0x1, -0x51(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x80(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x89(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x8a(%rbp)
testb $0x1, -0x8a(%rbp)
je 0xe17f3
movq -0x60(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xa0(%rbp)
movups -0x10(%rbp), %xmm0
movaps %xmm0, -0xb0(%rbp)
movups -0x78(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movups -0x88(%rbp), %xmm0
movaps %xmm0, -0xd0(%rbp)
movb -0x89(%rbp), %al
andb $0x1, %al
movb %al, -0xd1(%rbp)
movl -0xd0(%rbp), %eax
movl %eax, -0x28c(%rbp)
testl %eax, %eax
je 0xe16c4
jmp 0xe139c
movl -0x28c(%rbp), %eax
subl $0x1, %eax
jne 0xe175e
jmp 0xe13ad
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x125e0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xe1425
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
cmpq $0x0, %rax
je 0xe1425
movq -0x140(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xe1425
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xe1427
movq -0x140(%rbp), %rdx
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0xb2880
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0xa0(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0xe0b80
movq %rax, -0x160(%rbp)
movq -0x98(%rbp), %rdi
movq -0x160(%rbp), %rcx
movl -0xc0(%rbp), %esi
movq -0xb8(%rbp), %rdx
leaq -0x168(%rbp), %r8
leaq -0x178(%rbp), %r9
leaq -0x180(%rbp), %rax
movq %rax, (%rsp)
callq 0xdf2b0
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x168(%rbp), %rdi
movq -0x140(%rbp), %rsi
leaq -0x198(%rbp), %rdx
callq 0xb2770
movl %eax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movq -0x198(%rbp), %rdi
movq -0x180(%rbp), %r9
movl -0x178(%rbp), %esi
movq -0x170(%rbp), %rdx
movl -0x1a8(%rbp), %ecx
movq -0x1a0(%rbp), %r8
leaq -0x1b0(%rbp), %r10
leaq -0x1b8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x11e570
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xe1638
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1e8(%rbp), %rax
cmpq $0x0, %rax
je 0xe1638
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xe1638
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xe1636
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x218(%rbp), %rdi
movq -0x210(%rbp), %rsi
callq 0x127c0
jmp 0xe1638
jmp 0xe163a
movb $0x1, -0x219(%rbp)
movb -0x219(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0xe1777
leaq -0x230(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x231(%rbp)
movb -0x231(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x230(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0xe1777
leaq 0x27271c(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0x8a(%rbp)
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0x89(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0xe1331
jmp 0xe17f5
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x12780
movq %rax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movq -0x240(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xe18f9
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x12780
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x258(%rbp), %rax
cmpq $0x0, %rax
je 0xe18f9
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x12780
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movq -0x268(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xe18f9
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x12780
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x278(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xe18f7
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x12780
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x288(%rbp), %rdi
movq -0x280(%rbp), %rsi
callq 0x127c0
jmp 0xe18f9
jmp 0xe18fb
movq 0x30(%rbp), %rax
movups -0x78(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x68(%rbp), %rcx
movq 0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rcx
movq 0x20(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x2a0, %rsp            # imm = 0x2A0
popq %rbp
retq
nopl (%rax)