// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Branch_popzevaluezx
static void mw_mirth_c99_zaC99Branch_popzevaluezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99ReprType in_C99ReprType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5, struct mirth_c99_zaC99Value* *out_zaC99Value_6) {
	struct mirth_c99_zaC99Stack r7 = in_zaC99Branch_2->mzastack;
	struct std_maybe_zaMaybe_1 v8;
	struct mirth_c99_zaC99Stack v9;
	mw_mirth_c99_zaC99Stack_popzevaluezy(r7, &v8, &v9);
	in_zaC99Branch_2->mzastack = v9;
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_11;
	struct mirth_c99_zaC99Value* branch_zaC99Value_12;
	switch ((v8).tag) {
		case std_maybe_zaMaybe_1_zaSome: {
			VAL v13;
			mtp_std_maybe_zaMaybe_1_zaSome(v8, &v13);
			decref(MK_mirth_c99_C99ReprType(in_C99ReprType_3));
			branch_zaC99Value_12 = V_mirth_c99_zaC99Value(v13);
			branch_zaC99Branch_11 = in_zaC99Branch_2;
			branch_zaMirth_10 = in_zaMirth_1;
		} break;
		case std_maybe_zaMaybe_1_zaNone: {
			struct mirth_mirth_zaMirth* v14;
			struct mirth_c99_zaC99Branch* v15;
			struct mirth_c99_zaC99Value* v16;
			mw_mirth_c99_C99ReprType_popzevaluezedirectzx(in_zaMirth_1, in_zaC99Branch_2, in_C99ReprType_3, &v14, &v15, &v16);
			branch_zaC99Value_12 = v16;
			branch_zaC99Branch_11 = v15;
			branch_zaMirth_10 = v14;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Value_6 = branch_zaC99Value_12;
	*out_zaC99Branch_5 = branch_zaC99Branch_11;
	*out_zaMirth_4 = branch_zaMirth_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %r9, -0x98(%rbp)
movq %r8, %r14
movq %rcx, %r12
movq %rdx, -0x38(%rbp)
movq %rsi, %r13
movq %rdi, -0x30(%rbp)
movl 0x8(%rsi), %edi
movq 0x10(%rsi), %rsi
leaq -0x110(%rbp), %rbx
leaq -0x158(%rbp), %r15
movq %rbx, %rdx
movq %r15, %rcx
callq 0xa8881
movups (%r15), %xmm0
movq %r13, %r15
movups %xmm0, 0x8(%r13)
movl (%rbx), %eax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
testl %eax, %eax
je 0xa6450
cmpl $0x1, %eax
jne 0xa68ab
movq -0x108(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x7270b
andq %r12, %rbx
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
movq %r14, %r13
jne 0xa6440
decl (%rbx)
jne 0xa6440
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x63aee(%rip), %rsi     # 0x109f29
callq 0xce94
movq -0x90(%rbp), %rax
movq -0x30(%rbp), %rbx
jmp 0xa6884
movq %r14, -0x58(%rbp)
movq %r12, %r14
andq %rbx, %r14
setne %al
testb $0x3, %r12b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0xa6471
incl (%r14)
leaq -0x90(%rbp), %rcx
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
callq 0x9e05c
testb %al, %al
movq %r12, -0x60(%rbp)
je 0xa6784
movq %r14, -0x50(%rbp)
movq (%r15), %rsi
movq -0x90(%rbp), %rdi
leaq -0x40(%rbp), %r14
leaq -0x80(%rbp), %r12
movq %r14, %rdx
movq %r12, %rcx
callq 0xa5737
movq %rax, -0x30(%rbp)
movq (%r12), %rsi
movq %rsi, (%r15)
movl 0x18(%rsi), %ecx
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
movl %ecx, -0x44(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
movq (%r14), %rdi
leaq -0x78(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x8bc28
testb %r13b, %r13b
je 0xa64ee
movq -0x50(%rbp), %rax
incl (%rax)
movq -0x78(%rbp), %rdi
leaq -0x100(%rbp), %r14
movq -0x38(%rbp), %rsi
movq -0x60(%rbp), %r12
movq %r12, %rdx
movq %r14, %rcx
callq 0x9c7be
movq (%r14), %rdi
movq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rcx
leaq -0xf8(%rbp), %r8
movq %rax, %rdx
callq 0x8a8a9
movq 0x1068763(%rip), %rdx   # 0x110ec90
testq %rdx, %rdx
jne 0xa654b
leaq 0x2f8ce(%rip), %rdi     # 0xd5e07
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1068745(%rip)   # 0x110ec90
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa6562
incl (%rax)
movq -0x68(%rbp), %rdi
movq -0xf8(%rbp), %rsi
leaq -0xf0(%rbp), %rcx
leaq -0xe8(%rbp), %r8
callq 0x8a8a9
movq -0x30(%rbp), %rdx
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
movq -0x50(%rbp), %r14
jne 0xa659f
incl (%rax)
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
leaq -0xe0(%rbp), %rcx
leaq -0xd8(%rbp), %r8
callq 0x8a8a9
movq 0x10686d1(%rip), %rdx   # 0x110ec98
testq %rdx, %rdx
jne 0xa65e5
leaq 0x36109(%rip), %rdi     # 0xdc6dc
pushq $0x3
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x10686b3(%rip)   # 0x110ec98
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa65fc
incl (%rax)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
leaq -0xd0(%rbp), %rcx
leaq -0xc8(%rbp), %r8
callq 0x8a8a9
testb %r13b, %r13b
je 0xa6625
incl (%r14)
movq -0xd0(%rbp), %rdi
leaq -0x148(%rbp), %r14
leaq -0xc0(%rbp), %r8
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0xa74b2
movq (%r14), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xb8(%rbp), %rcx
leaq -0xb0(%rbp), %r8
movq %rax, %rdx
callq 0x8a8a9
movq 0x1068630(%rip), %rdx   # 0x110eca0
testq %rdx, %rdx
movq -0x58(%rbp), %r13
jne 0xa6692
leaq 0x47a57(%rip), %rdi     # 0xee0d7
pushq $0xb
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x106860e(%rip)   # 0x110eca0
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa66a9
incl (%rax)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0x140(%rbp), %r14
leaq -0x138(%rbp), %r12
movq %r14, %rcx
movq %r12, %r8
callq 0x8a8a9
movq (%r14), %rdi
movq (%r12), %rsi
movq -0xc0(%rbp), %rdx
leaq -0xa8(%rbp), %rcx
leaq -0xa0(%rbp), %r8
callq 0x8a8a9
movq 0x10685b0(%rip), %rdx   # 0x110eca8
testq %rdx, %rdx
jne 0xa6716
leaq 0x47a09(%rip), %rdi     # 0xee10d
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1068592(%rip)   # 0x110eca8
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xa6728
incl (%rbx)
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0x130(%rbp), %r14
leaq -0x128(%rbp), %r12
movq %r14, %rcx
movq %r12, %r8
callq 0x8a8a9
movq (%r14), %rdi
movq (%r12), %rsi
leaq -0x120(%rbp), %r14
leaq -0x118(%rbp), %r12
movq %r14, %rdx
movq %r12, %rcx
callq 0x8a92c
movq (%r12), %rax
movl -0x44(%rbp), %ecx
movb %cl, 0x18(%rax)
movq %rax, (%r15)
movq (%r14), %rbx
jmp 0xa6868
movq 0x1068525(%rip), %rax   # 0x110ecb0
testq %rax, %rax
jne 0xa67a6
leaq 0x47dde(%rip), %rdi     # 0xee575
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, 0x106850a(%rip)   # 0x110ecb0
movq %rax, %rsi
andq %rbx, %rsi
sete %cl
movq %rax, -0x30(%rbp)
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0xa67be
incl (%rsi)
movq (%r15), %rsi
movl 0x18(%rsi), %r13d
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
cmovnel %r13d, %eax
movb %al, 0x18(%rsi)
movq -0x90(%rbp), %rdi
leaq -0x40(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x8bc28
movq 0x10684ca(%rip), %rdx   # 0x110ecb8
testq %rdx, %rdx
jne 0xa680c
leaq 0x478e9(%rip), %rdi     # 0xee0e3
pushq $0xc
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x10684ac(%rip)   # 0x110ecb8
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xa681e
incl (%rbx)
movq -0x40(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x78(%rbp), %r14
leaq -0x70(%rbp), %r12
movq %r14, %rcx
movq %r12, %r8
callq 0x8a8a9
movq (%r14), %rdi
movq (%r12), %rsi
leaq -0x100(%rbp), %r14
leaq -0x68(%rbp), %r12
movq %r14, %rdx
movq %r12, %rcx
callq 0x8a92c
movq (%r12), %rax
movb %r13b, 0x18(%rax)
movq %rax, (%r15)
movq (%r14), %rbx
movq -0x58(%rbp), %r13
leaq -0x40(%rbp), %r12
movq -0x38(%rbp), %rdi
movq -0x60(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
callq 0xa496b
movq (%r12), %rax
movq 0x10(%rbp), %rcx
movq %rax, (%rcx)
movq -0x98(%rbp), %rax
movq %r15, (%rax)
movq %rbx, (%r13)
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2df5b(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6