// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Branch_popzevaluezelabelzx
static void mw_mirth_c99_zaC99Branch_popzevaluezelabelzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99ReprType in_C99ReprType_3, uint64_t in_Label_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99Branch* *out_zaC99Branch_6, struct mirth_c99_zaC99Value* *out_zaC99Value_7) {
	struct mirth_c99_zaC99Stack r8 = in_zaC99Branch_2->mzastack;
	struct mirth_mirth_zaMirth* v9;
	struct mirth_c99_zaC99Stack v10;
	struct std_maybe_zaMaybe_1 v11;
	uint64_t v12 = mw_mirth_c99_zaC99Stack_popzevaluezelabelzy(in_zaMirth_1, r8, in_Label_4, &v9, &v10, &v11);
	in_zaC99Branch_2->mzastack = v10;
	struct mirth_mirth_zaMirth* branch_zaMirth_13;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_14;
	struct mirth_c99_zaC99Value* branch_zaC99Value_15;
	switch ((v11).tag) {
		case std_maybe_zaMaybe_1_zaSome: {
			VAL v16;
			mtp_std_maybe_zaMaybe_1_zaSome(v11, &v16);
			decref(MK_mirth_c99_C99ReprType(in_C99ReprType_3));
			branch_zaC99Value_15 = V_mirth_c99_zaC99Value(v16);
			branch_zaC99Branch_14 = in_zaC99Branch_2;
			branch_zaMirth_13 = v9;
		} break;
		case std_maybe_zaMaybe_1_zaNone: {
			struct mirth_mirth_zaMirth* v17;
			struct mirth_c99_zaC99Branch* v18;
			struct mirth_c99_zaC99Value* v19;
			mw_mirth_c99_popzevaluezelabelzedirectzx(v9, in_zaC99Branch_2, in_C99ReprType_3, v12, &v17, &v18, &v19);
			branch_zaC99Value_15 = v19;
			branch_zaC99Branch_14 = v18;
			branch_zaMirth_13 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Value_7 = branch_zaC99Value_15;
	*out_zaC99Branch_6 = branch_zaC99Branch_14;
	*out_zaMirth_5 = branch_zaMirth_13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, %r15
movq %r8, %rax
movq %rcx, %r12
movq %rdx, -0x30(%rbp)
movq %rsi, %r14
movl 0x8(%rsi), %esi
movq 0x10(%r14), %rdx
subq $0x8, %rsp
leaq -0xf0(%rbp), %rbx
leaq -0x58(%rbp), %r8
leaq -0x130(%rbp), %r13
movq %rax, %rcx
movq %r13, %r9
pushq %rbx
callq 0xa6df7
addq $0x10, %rsp
movups (%r13), %xmm0
movups %xmm0, 0x8(%r14)
movl (%rbx), %ecx
testl %ecx, %ecx
movq %r15, -0x80(%rbp)
je 0xa5bda
cmpl $0x1, %ecx
jne 0xa5f27
movq -0xe8(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x7270b
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xa5bcd
decl (%rax)
jne 0xa5bcd
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x64361(%rip), %rsi     # 0x109f29
callq 0xce94
movq -0x78(%rbp), %rax
movq -0x58(%rbp), %r15
jmp 0xa5f00
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq -0x58(%rbp), %rdi
movq %r12, %rcx
andq %rbx, %rcx
setne %al
testb $0x3, %r12b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0xa5c08
incl (%rcx)
movq %rcx, -0x48(%rbp)
leaq -0x78(%rbp), %rcx
movq -0x30(%rbp), %rsi
movq %r12, %rdx
callq 0x9e05c
testb %al, %al
je 0xa5e84
movq (%r14), %rsi
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rbx
leaq -0xe0(%rbp), %r15
movq %rbx, %rdx
movq %r15, %rcx
callq 0xa5737
movq %rax, -0x38(%rbp)
movq (%r15), %rsi
movq %rsi, (%r14)
movl 0x18(%rsi), %ecx
xorl %eax, %eax
cmpb $0x0, 0x28(%r14)
movl %ecx, -0x3c(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
movq (%rbx), %rdi
leaq -0x60(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
callq 0x8bc28
testb %r13b, %r13b
je 0xa5c7c
movq -0x48(%rbp), %rax
incl (%rax)
movq -0x60(%rbp), %rdi
leaq -0x120(%rbp), %rbx
movq -0x30(%rbp), %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x9c7be
movq (%rbx), %rdi
movq -0xd8(%rbp), %rsi
leaq -0xd0(%rbp), %rcx
leaq -0xc8(%rbp), %r8
movq %rax, %rdx
callq 0x8a8a9
movq 0x1068db3(%rip), %rdx   # 0x110ea70
testq %rdx, %rdx
jne 0xa5cdb
leaq 0x3013e(%rip), %rdi     # 0xd5e07
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1068d95(%rip)   # 0x110ea70
movq %rdx, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa5cfc
incl (%rax)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xc0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
callq 0x8a8a9
movq -0x38(%rbp), %rdx
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa5d38
incl (%rax)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
leaq -0xb0(%rbp), %rcx
leaq -0xa8(%rbp), %r8
callq 0x8a8a9
movq 0x1068d18(%rip), %rdx   # 0x110ea78
testq %rdx, %rdx
jne 0xa5d7e
leaq 0x36970(%rip), %rdi     # 0xdc6dc
pushq $0x3
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1068cfa(%rip)   # 0x110ea78
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa5d95
incl (%rax)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
callq 0x8a8a9
testb %r13b, %r13b
je 0xa5dc1
movq -0x48(%rbp), %rax
incl (%rax)
movq -0xa0(%rbp), %rcx
movq -0x98(%rbp), %r8
leaq -0x88(%rbp), %rax
leaq -0x90(%rbp), %r10
leaq -0x118(%rbp), %r9
movq -0x50(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq %r12, %rdx
pushq %rax
pushq %r10
callq 0xa7189
popq %rax
popq %rcx
movq 0x1068c80(%rip), %rdx   # 0x110ea80
testq %rdx, %rdx
jne 0xa5e1e
leaq 0x48301(%rip), %rdi     # 0xee10d
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1068c62(%rip)   # 0x110ea80
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xa5e30
incl (%rbx)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x110(%rbp), %rbx
leaq -0x108(%rbp), %r15
movq %rbx, %rcx
movq %r15, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r15), %rsi
leaq -0x100(%rbp), %rbx
leaq -0xf8(%rbp), %r15
movq %rbx, %rdx
movq %r15, %rcx
callq 0x8a92c
movq (%r15), %rax
movl -0x3c(%rbp), %ecx
movb %cl, 0x18(%rax)
movq %rax, (%r14)
jmp 0xa5ee3
movq 0x1068bfd(%rip), %rax   # 0x110ea88
testq %rax, %rax
jne 0xa5ea6
leaq 0x486de(%rip), %rdi     # 0xee575
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, 0x1068be2(%rip)   # 0x110ea88
andq %rax, %rbx
sete %dl
movq %rax, -0x38(%rbp)
testb $0x3, %al
setne %cl
orb %dl, %cl
jne 0xa5ebb
incl (%rbx)
movq -0x78(%rbp), %rsi
leaq -0x68(%rbp), %rcx
leaq -0xe0(%rbp), %rbx
leaq -0x60(%rbp), %r15
movq -0x50(%rbp), %rdi
movq %r14, %rdx
movq %rbx, %r8
movq %r15, %r9
callq 0xa7313
movq (%r15), %r14
movq (%rbx), %r15
leaq -0x68(%rbp), %rbx
movq -0x30(%rbp), %rdi
movq %r12, %rsi
movq -0x38(%rbp), %rdx
movq %rbx, %rcx
callq 0xa496b
movq (%rbx), %rax
movq 0x18(%rbp), %rcx
movq 0x10(%rbp), %rdx
movq %rax, (%rcx)
movq %r14, (%rdx)
movq -0x80(%rbp), %rax
movq %r15, (%rax)
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e8df(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6