// File: /workspace/github_c_makefile_star2_O3/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 $0xf8, %rsp
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 -0x120(%rbp), %r13
movq %rax, %rcx
movq %r13, %r9
pushq %rbx
callq 0xb0b49
addq $0x10, %rsp
movups (%r13), %xmm0
movups %xmm0, 0x8(%r14)
movl (%rbx), %ecx
testl %ecx, %ecx
je 0xaf745
cmpl $0x1, %ecx
jne 0xafac2
movq -0xe8(%rbp), %rdi
movq (%rdi), %rbx
callq 0x5030
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xaf73c
decl (%rax)
jne 0xaf73c
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x637f2(%rip), %rsi     # 0x112f29
callq 0xd13d
movq -0x58(%rbp), %r13
jmp 0xafa9f
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 0xaf773
incl (%rcx)
movq %rcx, -0x48(%rbp)
leaq -0x60(%rbp), %rcx
movq -0x30(%rbp), %rsi
movq %r12, %rdx
callq 0xa717f
testb %al, %al
movq %r15, -0x70(%rbp)
je 0xafa15
movq (%r14), %rsi
movq -0x60(%rbp), %rdi
leaq -0xe0(%rbp), %rbx
leaq -0xd8(%rbp), %r15
movq %rbx, %rdx
movq %r15, %rcx
callq 0xaf29a
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 -0xd0(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
callq 0x93675
testb %r13b, %r13b
je 0xaf7f1
movq -0x48(%rbp), %rax
incl (%rax)
movq -0xd0(%rbp), %rdi
leaq -0x110(%rbp), %rbx
movq -0x30(%rbp), %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0xa59d1
movq (%rbx), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xc0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
movq %rax, %rdx
callq 0x9221b
movq 0x1068233(%rip), %rdx   # 0x1117a68
testq %rdx, %rdx
jne 0xaf85a
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x106820e(%rip)   # 0x1117a68
movq %rdx, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xaf87b
incl (%rax)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
leaq -0xb0(%rbp), %rcx
leaq -0xa8(%rbp), %r8
callq 0x9221b
movq -0x38(%rbp), %rdx
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xaf8b7
incl (%rax)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
callq 0x9221b
movq 0x1068191(%rip), %rdx   # 0x1117a70
testq %rdx, %rdx
jne 0xaf90a
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x1068166(%rip)   # 0x1117a70
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xaf921
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0x90(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x9221b
testb %r13b, %r13b
je 0xaf94d
movq -0x48(%rbp), %rax
incl (%rax)
movq -0x90(%rbp), %rcx
movq -0x88(%rbp), %r8
leaq -0x78(%rbp), %rax
leaq -0x80(%rbp), %r10
leaq -0x108(%rbp), %r9
movq -0x50(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq %r12, %rdx
pushq %rax
pushq %r10
callq 0xb0e4f
addq $0x10, %rsp
movq 0x10680f0(%rip), %rdx   # 0x1117a78
testq %rdx, %rdx
jne 0xaf9ad
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x10680cb(%rip)   # 0x1117a78
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xaf9bf
incl (%rbx)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x100(%rbp), %rbx
leaq -0xf8(%rbp), %r15
movq %rbx, %rcx
movq %r15, %r8
callq 0x9221b
movq (%rbx), %r13
movq (%r15), %r15
cmpb $0x1, 0x18(%r15)
jne 0xafa09
movq 0x28(%r15), %rsi
leaq -0x68(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x92a13
movq (%rbx), %rax
movq %rax, 0x28(%r15)
movl -0x3c(%rbp), %eax
movb %al, 0x18(%r15)
movq %r15, (%r14)
jmp 0xafa81
movq 0x1068064(%rip), %rax   # 0x1117a80
testq %rax, %rax
jne 0xafa3e
movl $0x1, %edi
callq 0xf5e4
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x1068042(%rip)   # 0x1117a80
andq %rax, %rbx
sete %dl
movq %rax, -0x38(%rbp)
testb $0x3, %al
setne %cl
orb %dl, %cl
jne 0xafa53
incl (%rbx)
movq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rcx
leaq -0xe0(%rbp), %rbx
leaq -0xd8(%rbp), %r15
movq -0x50(%rbp), %rdi
movq %r14, %rdx
movq %rbx, %r8
movq %r15, %r9
callq 0xb0ffc
movq (%r15), %r14
movq (%rbx), %r13
leaq -0x68(%rbp), %rbx
movq -0x30(%rbp), %rdi
movq %r12, %rsi
movq -0x38(%rbp), %rdx
movq %rbx, %rcx
callq 0xae5e3
movq (%rbx), %rbx
movq -0x70(%rbp), %r15
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rcx
movq %rbx, (%rax)
movq %r14, (%rcx)
movq %r13, (%r15)
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x30bf2(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x30bf7(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302