// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaResolveDef_endzx
static struct std_maybe_Maybe_1 mw_mirth_elab_zaResolveDef_endzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaResolveDef* in_zaResolveDef_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_list_List_1 v5 = in_zaResolveDef_2->mcandidates;
	incref(MK_std_list_List_1(v5));
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct std_maybe_Maybe_1 branch_Maybe_7;
	switch ((v5).tag) {
		case std_list_List_1_Nil: {
			struct mirth_mirth_zaMirth* v8;
			mw_mirth_elab_zaResolveDef_resolvezedefzeunknown(in_zaMirth_1, in_zaResolveDef_2, &v8);
			struct std_maybe_Maybe_1 v9 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_7 = v9;
			branch_zaMirth_6 = v8;
		} break;
		case std_list_List_1_Cons: {
			struct std_list_List_1 v10;
			VAL v11 = mtp_std_list_List_1_Cons(v5, &v10);
			struct mirth_mirth_zaMirth* branch_zaMirth_12;
			struct std_maybe_Maybe_1 branch_Maybe_13;
			switch ((v10).tag) {
				case std_list_List_1_Nil: {
					mw_mirth_elab_zaResolveDef_rdrop(in_zaResolveDef_2);
					struct std_maybe_Maybe_1 v14 = mtw_std_maybe_Maybe_1_Some(v11);
					branch_Maybe_13 = v14;
					branch_zaMirth_12 = in_zaMirth_1;
				} break;
				default: {
					struct std_list_List_1 v15 = { .tag=std_list_List_1_Nil };
					struct std_list_List_1 v16;
					mw_std_list_List_1_buildzx(v15, &v16);
					bool v17 = true;
					struct mirth_mirth_zaMirth* r18 = in_zaMirth_1;
					struct mirth_elab_zaResolveDef* r19 = in_zaResolveDef_2;
					VAL v20 = v11;
					struct std_list_List_1 r21 = v16;
					struct std_list_List_1 v22 = v10;
					bool v23 = v17;
					bool v24 = v17;
					while (v24) {
						struct mirth_mirth_zaMirth* r25 = r18;
						struct mirth_elab_zaResolveDef* r26 = r19;
						VAL v27 = v20;
						struct std_list_List_1 r28 = r21;
						struct std_list_List_1 v29 = v22;
						bool v30 = v23;
						struct mirth_def_Def branch_Def_31;
						struct mirth_mirth_zaMirth* branch_zaMirth_32;
						VAL branch_zux1_33;
						struct std_list_List_1 branch_zaLister_34;
						struct std_list_List_1 branch_List_35;
						bool branch_Bool_36;
						switch ((v29).tag) {
							case std_list_List_1_Cons: {
								struct std_list_List_1 v37;
								VAL v38 = mtp_std_list_List_1_Cons(v29, &v37);
								incref(v38);
								incref(v27);
								struct mirth_mirth_zaMirth* v39;
								bool v40 = mw_mirth_def_Def_samezeresolvedzy(r25, V_mirth_def_Def(v38), V_mirth_def_Def(v27), &v39);
								bool v41 = !v40;
								struct mirth_def_Def branch_Def_42;
								struct mirth_mirth_zaMirth* branch_zaMirth_43;
								VAL branch_zux1_44;
								struct std_list_List_1 branch_zaLister_45;
								if (v41) {
									struct std_list_List_1 v46;
									mw_std_list_zaLister_1_pushzx(v38, r28, &v46);
									branch_zaLister_45 = v46;
									branch_zux1_44 = MK_mirth_elab_zaResolveDef(r26);
									branch_zaMirth_43 = v39;
									branch_Def_42 = V_mirth_def_Def(v27);
								} else {
									decref(v38);
									branch_zaLister_45 = r28;
									branch_zux1_44 = MK_mirth_elab_zaResolveDef(r26);
									branch_zaMirth_43 = v39;
									branch_Def_42 = V_mirth_def_Def(v27);
								}
								bool v47 = true;
								branch_Bool_36 = v47;
								branch_List_35 = v37;
								branch_zaLister_34 = branch_zaLister_45;
								branch_zux1_33 = branch_zux1_44;
								branch_zaMirth_32 = branch_zaMirth_43;
								branch_Def_31 = branch_Def_42;
							} break;
							case std_list_List_1_Nil: {
								struct std_list_List_1 v48 = { .tag=std_list_List_1_Nil };
								bool v49 = false;
								branch_Bool_36 = v49;
								branch_List_35 = v48;
								branch_zaLister_34 = r28;
								branch_zux1_33 = MK_mirth_elab_zaResolveDef(r26);
								branch_zaMirth_32 = r25;
								branch_Def_31 = V_mirth_def_Def(v27);
							} break;
							default: {
								do_panic(str_make("unexpected fallthrough in match\n", 32));
							}
						}
						v24 = branch_Bool_36;
						v23 = branch_Bool_36;
						v22 = branch_List_35;
						r21 = branch_zaLister_34;
						v20 = MK_mirth_def_Def(branch_Def_31);
						r19 = V_mirth_elab_zaResolveDef(branch_zux1_33);
						r18 = branch_zaMirth_32;
					}
					decref(MK_std_list_List_1(v22));
					struct std_list_List_1 v50 = mw_std_list_zaLister_1_donezx(r21);
					struct mirth_mirth_zaMirth* branch_zaMirth_51;
					struct std_maybe_Maybe_1 branch_Maybe_52;
					switch ((v50).tag) {
						case std_list_List_1_Nil: {
							mw_mirth_elab_zaResolveDef_rdrop(r19);
							struct std_maybe_Maybe_1 v53 = mtw_std_maybe_Maybe_1_Some(v20);
							branch_Maybe_52 = v53;
							branch_zaMirth_51 = r18;
						} break;
						default: {
							decref(MK_std_list_List_1(v50));
							decref(v20);
							struct mirth_mirth_zaMirth* v54;
							mw_mirth_elab_zaResolveDef_resolvezedefzeambiguous(r18, r19, &v54);
							struct std_maybe_Maybe_1 v55 = { .tag=std_maybe_Maybe_1_None };
							branch_Maybe_52 = v55;
							branch_zaMirth_51 = v54;
						} break;
					}
					branch_Maybe_13 = branch_Maybe_52;
					branch_zaMirth_12 = branch_zaMirth_51;
				} break;
			}
			branch_Maybe_7 = branch_Maybe_13;
			branch_zaMirth_6 = branch_zaMirth_12;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_6;
	return branch_Maybe_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x420, %rsp            # imm = 0x420
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x28(%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x83fd0
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x83fd0
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x83fd0
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x83fd2
movl -0x38(%rbp), %eax
movl %eax, -0x40c(%rbp)
testl %eax, %eax
je 0x83ff1
jmp 0x83fe1
movl -0x40c(%rbp), %eax
subl $0x1, %eax
je 0x8403e
jmp 0x84b54
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x90250
leaq -0x98(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x98(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x84b6d
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x125e0
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movl -0xa8(%rbp), %eax
testl %eax, %eax
jne 0x840c0
jmp 0x8406b
movq -0x20(%rbp), %rdi
callq 0x964e0
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0xca10
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x84b31
leaq -0xf0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x101(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x140(%rbp)
movb -0x101(%rbp), %al
andb $0x1, %al
movb %al, -0x149(%rbp)
movb -0x101(%rbp), %al
andb $0x1, %al
movb %al, -0x14a(%rbp)
testb $0x1, -0x14a(%rbp)
je 0x8478d
movq -0x110(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x160(%rbp)
movups -0x128(%rbp), %xmm0
movaps %xmm0, -0x170(%rbp)
movups -0x138(%rbp), %xmm0
movaps %xmm0, -0x180(%rbp)
movups -0x148(%rbp), %xmm0
movaps %xmm0, -0x190(%rbp)
movb -0x149(%rbp), %al
andb $0x1, %al
movb %al, -0x191(%rbp)
movl -0x190(%rbp), %eax
movl %eax, -0x410(%rbp)
testl %eax, %eax
je 0x845df
jmp 0x841f0
movl -0x410(%rbp), %eax
subl $0x1, %eax
jne 0x846c3
jmp 0x84201
movl -0x190(%rbp), %edi
movq -0x188(%rbp), %rsi
leaq -0x1f8(%rbp), %rdx
callq 0x125e0
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movq -0x200(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x84279
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rax
cmpq $0x0, %rax
je 0x84279
movq -0x208(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x84279
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x8427b
jmp 0x8427d
movq -0x168(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x842ce
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rax
cmpq $0x0, %rax
je 0x842ce
movq -0x170(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x842ce
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x842d0
movq -0x158(%rbp), %rax
movq %rax, -0x418(%rbp)
movq -0x208(%rbp), %rdi
movq -0x200(%rbp), %rsi
callq 0x452c0
movl %eax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x452c0
movq -0x418(%rbp), %rdi
movl %eax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movl -0x228(%rbp), %esi
movq -0x220(%rbp), %rdx
movl -0x238(%rbp), %ecx
movq -0x230(%rbp), %r8
leaq -0x210(%rbp), %r9
callq 0x96900
andb $0x1, %al
movb %al, -0x211(%rbp)
movb -0x211(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x239(%rbp)
testb $0x1, -0x239(%rbp)
je 0x8443a
movq -0x208(%rbp), %rdi
movq -0x200(%rbp), %rsi
movl -0x180(%rbp), %edx
movq -0x178(%rbp), %rcx
leaq -0x288(%rbp), %r8
callq 0xcc30
movq -0x288(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x280(%rbp), %rax
movq %rax, -0x270(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x298(%rbp)
leaq 0x30dc30(%rip), %rax    # 0x391ff8
movq %rax, -0x290(%rbp)
movq -0x298(%rbp), %rax
movq %rax, -0x268(%rbp)
movq -0x290(%rbp), %rax
movq %rax, -0x260(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x258(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x452c0
movl %eax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movq -0x2a8(%rbp), %rax
movq %rax, -0x250(%rbp)
movq -0x2a0(%rbp), %rax
movq %rax, -0x248(%rbp)
jmp 0x84547
jmp 0x8443c
movq -0x200(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x844a7
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rax
cmpq $0x0, %rax
je 0x844a7
movq -0x208(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x844a7
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x844a5
movq -0x208(%rbp), %rdi
movq -0x200(%rbp), %rsi
callq 0x127c0
jmp 0x844a7
jmp 0x844a9
movq -0x180(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x270(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x2b8(%rbp)
leaq 0x30db1e(%rip), %rax    # 0x391ff8
movq %rax, -0x2b0(%rbp)
movq -0x2b8(%rbp), %rax
movq %rax, -0x268(%rbp)
movq -0x2b0(%rbp), %rax
movq %rax, -0x260(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x258(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x452c0
movl %eax, -0x2c8(%rbp)
movq %rdx, -0x2c0(%rbp)
movq -0x2c8(%rbp), %rax
movq %rax, -0x250(%rbp)
movq -0x2c0(%rbp), %rax
movq %rax, -0x248(%rbp)
movb $0x1, -0x2c9(%rbp)
movb -0x2c9(%rbp), %al
andb $0x1, %al
movb %al, -0x1e1(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x278(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x268(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x260(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x258(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x250(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x248(%rbp), %rax
movq %rax, -0x1a0(%rbp)
jmp 0x846dc
leaq -0x2e0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x2e1(%rbp)
movb -0x2e1(%rbp), %al
andb $0x1, %al
movb %al, -0x1e1(%rbp)
movq -0x2e0(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x2d8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x2f8(%rbp)
leaq 0x30d9a4(%rip), %rax    # 0x391ff8
movq %rax, -0x2f0(%rbp)
movq -0x2f8(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x2f0(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x452c0
movl %eax, -0x308(%rbp)
movq %rdx, -0x300(%rbp)
movq -0x308(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x300(%rbp), %rax
movq %rax, -0x1a0(%rbp)
jmp 0x846dc
leaq 0x2cf7b7(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x1e1(%rbp), %al
andb $0x1, %al
movb %al, -0x14a(%rbp)
movb -0x1e1(%rbp), %al
andb $0x1, %al
movb %al, -0x149(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x130(%rbp)
movl -0x1a8(%rbp), %edi
movq -0x1a0(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x318(%rbp)
movq %rdx, -0x310(%rbp)
movq -0x318(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x310(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x110(%rbp)
jmp 0x84179
jmp 0x8478f
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x328(%rbp)
movq %rdx, -0x320(%rbp)
movq -0x320(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x848a2
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x338(%rbp)
movq %rdx, -0x330(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x338(%rbp), %rax
cmpq $0x0, %rax
je 0x848a2
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x348(%rbp)
movq %rdx, -0x340(%rbp)
movq -0x348(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x848a2
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x358(%rbp)
movq %rdx, -0x350(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x358(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x848a0
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x368(%rbp)
movq %rdx, -0x360(%rbp)
movq -0x368(%rbp), %rdi
movq -0x360(%rbp), %rsi
callq 0x127c0
jmp 0x848a2
jmp 0x848a4
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xcea0
movl %eax, -0x378(%rbp)
movq %rdx, -0x370(%rbp)
movl -0x378(%rbp), %eax
testl %eax, %eax
jne 0x8492a
jmp 0x848cf
movq -0x118(%rbp), %rdi
callq 0x964e0
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0xca10
movl %eax, -0x3a0(%rbp)
movq %rdx, -0x398(%rbp)
movq -0x3a0(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x398(%rbp), %rax
movq %rax, -0x388(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x380(%rbp)
jmp 0x84b07
jmp 0x8492c
movl -0x378(%rbp), %edi
movq -0x370(%rbp), %rsi
callq 0x12780
movq %rax, -0x3b0(%rbp)
movq %rdx, -0x3a8(%rbp)
movq -0x3a8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x84a3f
movl -0x378(%rbp), %edi
movq -0x370(%rbp), %rsi
callq 0x12780
movq %rax, -0x3c0(%rbp)
movq %rdx, -0x3b8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x3c0(%rbp), %rax
cmpq $0x0, %rax
je 0x84a3f
movl -0x378(%rbp), %edi
movq -0x370(%rbp), %rsi
callq 0x12780
movq %rax, -0x3d0(%rbp)
movq %rdx, -0x3c8(%rbp)
movq -0x3d0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x84a3f
movl -0x378(%rbp), %edi
movq -0x370(%rbp), %rsi
callq 0x12780
movq %rax, -0x3e0(%rbp)
movq %rdx, -0x3d8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x3e0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x84a3d
movl -0x378(%rbp), %edi
movq -0x370(%rbp), %rsi
callq 0x12780
movq %rax, -0x3f0(%rbp)
movq %rdx, -0x3e8(%rbp)
movq -0x3f0(%rbp), %rdi
movq -0x3e8(%rbp), %rsi
callq 0x127c0
jmp 0x84a3f
jmp 0x84a41
jmp 0x84a43
movq -0x120(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x84aae
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0x84aae
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x84aae
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x84aac
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0x127c0
jmp 0x84aae
jmp 0x84ab0
movq -0x110(%rbp), %rdi
movq -0x118(%rbp), %rsi
leaq -0x3f8(%rbp), %rdx
callq 0x96990
leaq -0x408(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x408(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x400(%rbp), %rax
movq %rax, -0x388(%rbp)
movq -0x3f8(%rbp), %rax
movq %rax, -0x380(%rbp)
movq -0x390(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x388(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x380(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x84b6d
leaq 0x2cf326(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x80(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x420, %rsp            # imm = 0x420
popq %rbp
retq
nopl (%rax,%rax)