// File: /workspace/github_c_makefile_star2_O1/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 0xb39b3
addq $0x10, %rsp
movups (%r13), %xmm0
movups %xmm0, 0x8(%r14)
movl (%rbx), %ecx
testl %ecx, %ecx
je 0xb256f
cmpl $0x1, %ecx
jne 0xb28fa
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 0xb2566
decl (%rax)
jne 0xb2566
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x649c8(%rip), %rsi     # 0x116f29
callq 0xd4e3
movq -0x58(%rbp), %r13
jmp 0xb28d7
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 0xb259d
incl (%rcx)
movq %rcx, -0x48(%rbp)
leaq -0x60(%rbp), %rcx
movq -0x30(%rbp), %rsi
movq %r12, %rdx
callq 0xa9de0
testb %al, %al
movq %r15, -0x70(%rbp)
je 0xb2847
movq (%r14), %rsi
movq -0x60(%rbp), %rdi
leaq -0xe0(%rbp), %rbx
leaq -0xd8(%rbp), %r15
movq %rbx, %rdx
movq %r15, %rcx
callq 0xb20c2
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 0x95d84
testb %r13b, %r13b
je 0xb261b
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 0xa85ed
movq (%rbx), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xc0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
movq %rax, %rdx
callq 0x94972
cmpq $0x0, 0x1069408(%rip)   # 0x111ba68
jne 0xb267f
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x10693e9(%rip)   # 0x111ba68
movq 0x10693e2(%rip), %rdx   # 0x111ba68
movq %rdx, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb26a7
incl (%rax)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
leaq -0xb0(%rbp), %rcx
leaq -0xa8(%rbp), %r8
callq 0x94972
movq -0x38(%rbp), %rdx
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %dl
orb %cl, %dl
jne 0xb26e1
incl (%rax)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
movq -0x38(%rbp), %rdx
callq 0x94972
cmpq $0x0, 0x1069362(%rip)   # 0x111ba70
jne 0xb2733
movl $0x3, %edi
callq 0xf9f7
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x106933d(%rip)   # 0x111ba70
movq 0x1069336(%rip), %rdx   # 0x111ba70
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb2751
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0x90(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x94972
testb %r13b, %r13b
je 0xb277d
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 0xb3cb9
addq $0x10, %rsp
cmpq $0x0, 0x10692bf(%rip)   # 0x111ba78
jne 0xb27d8
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x10692a0(%rip)   # 0x111ba78
movq 0x1069299(%rip), %rdx   # 0x111ba78
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xb27f1
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 0x94972
movq (%rbx), %r13
movq (%r15), %r15
cmpb $0x1, 0x18(%r15)
jne 0xb283b
movq 0x28(%r15), %rsi
leaq -0x68(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x95160
movq (%rbx), %rax
movq %rax, 0x28(%r15)
movl -0x3c(%rbp), %eax
movb %al, 0x18(%r15)
movq %r15, (%r14)
jmp 0xb28b9
cmpq $0x0, 0x1069231(%rip)   # 0x111ba80
jne 0xb286e
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x1069212(%rip)   # 0x111ba80
movq 0x106920b(%rip), %rcx   # 0x111ba80
andq %rcx, %rbx
sete %al
movq %rcx, -0x38(%rbp)
testb $0x3, %cl
setne %cl
orb %al, %cl
jne 0xb288b
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 0xb3e6a
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 0xb13d2
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 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x31e3a(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x31e3f(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5