// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Stack_pushzestackzedirectzx
static void mw_mirth_c99_zaC99Stack_pushzestackzedirectzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_zaC99Stack in_zaC99Stack_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_7;
	switch ((in_zaC99Stack_3).tag) {
		case mirth_c99_zaC99Stack_zaNil: {
			branch_zaC99Branch_7 = in_zaC99Branch_2;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_zaC99Stack_zaCons: {
			struct mirth_c99_zaC99Stack v8;
			struct mirth_c99_zaC99Value* v9;
			mtp_mirth_c99_zaC99Stack_zaCons(in_zaC99Stack_3, &v8, &v9);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_c99_zaC99Branch* v11;
			mw_mirth_c99_zaC99Stack_pushzestackzedirectzx(in_zaMirth_1, in_zaC99Branch_2, v8, &v10, &v11);
			struct mirth_mirth_zaMirth* v12;
			struct mirth_c99_zaC99Branch* v13;
			mw_mirth_c99_zaC99Value_pushzevaluezedirectzx(v10, v11, v9, &v12, &v13);
			branch_zaC99Branch_7 = v13;
			branch_zaMirth_6 = v12;
		} break;
		case mirth_c99_zaC99Stack_zaWith: {
			struct mirth_c99_zaC99Stack v14;
			struct mirth_c99_zaC99Resource* v15;
			mtp_mirth_c99_zaC99Stack_zaWith(in_zaC99Stack_3, &v14, &v15);
			struct mirth_mirth_zaMirth* v16;
			struct mirth_c99_zaC99Branch* v17;
			mw_mirth_c99_zaC99Stack_pushzestackzedirectzx(in_zaMirth_1, in_zaC99Branch_2, v14, &v16, &v17);
			struct mirth_mirth_zaMirth* v18;
			struct mirth_c99_zaC99Branch* v19;
			mw_mirth_c99_zaC99Resource_pushzeresourcezedirectzx(v16, v17, v15, &v18, &v19);
			branch_zaC99Branch_7 = v19;
			branch_zaMirth_6 = v18;
		} break;
		case mirth_c99_zaC99Stack_zaConsLabel: {
			struct mirth_c99_zaC99Stack v20;
			struct mirth_c99_zaC99Value* v21;
			uint64_t v22 = mtp_mirth_c99_zaC99Stack_zaConsLabel(in_zaC99Stack_3, &v20, &v21);
			struct mirth_mirth_zaMirth* v23;
			struct mirth_c99_zaC99Branch* v24;
			mw_mirth_c99_zaC99Stack_pushzestackzedirectzx(in_zaMirth_1, in_zaC99Branch_2, v20, &v23, &v24);
			struct mirth_mirth_zaMirth* v25;
			struct mirth_c99_zaC99Branch* v26;
			mw_mirth_c99_pushzevaluezelabelzedirectzx(v23, v24, v22, v21, &v25, &v26);
			branch_zaC99Branch_7 = v26;
			branch_zaMirth_6 = v25;
		} break;
		case mirth_c99_zaC99Stack_zaWithLabel: {
			struct mirth_c99_zaC99Stack v27;
			struct mirth_c99_zaC99Resource* v28;
			uint64_t v29 = mtp_mirth_c99_zaC99Stack_zaWithLabel(in_zaC99Stack_3, &v27, &v28);
			struct mirth_mirth_zaMirth* v30;
			struct mirth_c99_zaC99Branch* v31;
			mw_mirth_c99_zaC99Stack_pushzestackzedirectzx(in_zaMirth_1, in_zaC99Branch_2, v27, &v30, &v31);
			struct mirth_mirth_zaMirth* v32;
			struct mirth_c99_zaC99Branch* v33;
			mw_mirth_c99_pushzeresourcezelabelzedirectzx(v30, v31, v29, v28, &v32, &v33);
			branch_zaC99Branch_7 = v33;
			branch_zaMirth_6 = v32;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Branch_5 = branch_zaC99Branch_7;
	*out_zaMirth_4 = branch_zaMirth_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
cmpl $0x4, %edx
ja 0xab488
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
leaq 0x28fda(%rip), %rdx     # 0xd40a0
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq %r9, -0x30(%rbp)
movq %r8, -0x38(%rbp)
leaq -0xa0(%rbp), %r13
leaq -0x90(%rbp), %rbx
movq %rcx, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xa7040
movl (%r13), %edx
movq 0x8(%r13), %rcx
leaq -0x88(%rbp), %r13
leaq -0x80(%rbp), %r14
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %r8
movq %r14, %r9
callq 0xab09a
movq (%r13), %rdi
movq (%r14), %r15
movq (%rbx), %rsi
leaq -0x78(%rbp), %rbx
movq %rbx, %rdx
callq 0xa9afa
movq %rax, %r12
movq (%r15), %rsi
movl 0x18(%rsi), %ecx
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
movl %ecx, -0x3c(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
movq (%rbx), %rdi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x8bc28
movq 0x1063cfb(%rip), %rdx   # 0x110ee58
testq %rdx, %rdx
jne 0xab17b
leaq 0x4306c(%rip), %rdi     # 0xee1d5
pushq $0xb
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1063cdd(%rip)   # 0x110ee58
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xab19c
incl (%rax)
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x50(%rbp), %rbx
leaq -0x70(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x48(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x8a8a9
movq 0x1063c8c(%rip), %rdx   # 0x110ee60
testq %rdx, %rdx
jne 0xab37a
leaq 0x42f28(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1063c6a(%rip)   # 0x110ee60
jmp 0xab37a
leaq -0xa0(%rbp), %rbx
leaq -0x50(%rbp), %rdx
movq %rcx, %rdi
movq %rbx, %rsi
movq %r8, -0x38(%rbp)
movq %r9, -0x30(%rbp)
callq 0xa70b2
movq %rax, %r13
movl (%rbx), %edx
movq 0x8(%rbx), %rcx
leaq -0x70(%rbp), %rbx
leaq -0x48(%rbp), %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %r8
movq %r14, %r9
callq 0xab09a
movq (%rbx), %rdi
movq (%r14), %rbx
leaq -0x50(%rbp), %rax
movq (%rax), %rsi
leaq -0x78(%rbp), %r14
movq %r14, %rdx
callq 0xab5ad
jmp 0xab443
movq %r9, -0x30(%rbp)
movq %r8, -0x38(%rbp)
leaq -0xa0(%rbp), %rbx
leaq -0x90(%rbp), %r14
movq %rcx, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xa7079
movl (%rbx), %edx
movq 0x8(%rbx), %rcx
leaq -0x88(%rbp), %rbx
leaq -0x80(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %r8
movq %r13, %r9
callq 0xab09a
movq (%rbx), %rdi
movq (%r13), %r15
movq (%r14), %rsi
leaq -0x78(%rbp), %rbx
movq %rbx, %rdx
callq 0xab5ad
movq %rax, %r12
movq (%r15), %rsi
movl 0x18(%rsi), %ecx
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
movl %ecx, -0x3c(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
movq (%rbx), %rdi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x8bc28
movq 0x1063b83(%rip), %rdx   # 0x110ee68
testq %rdx, %rdx
jne 0xab303
leaq 0x42ef0(%rip), %rdi     # 0xee1e1
pushq $0xe
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1063b65(%rip)   # 0x110ee68
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xab324
incl (%rax)
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x50(%rbp), %rbx
leaq -0x70(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x48(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x8a8a9
movq 0x1063b14(%rip), %rdx   # 0x110ee70
testq %rdx, %rdx
jne 0xab37a
leaq 0x42da4(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1063af6(%rip)   # 0x110ee70
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xab38e
incl (%r13)
movq -0x48(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xc0(%rbp), %rbx
leaq -0xb8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xb0(%rbp), %rbx
leaq -0xa8(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0x8a92c
movq (%r14), %rax
movl -0x3c(%rbp), %ecx
movb %cl, 0x18(%rax)
movq %rax, (%r15)
movq (%rbx), %r12
movq -0x38(%rbp), %r8
movq -0x30(%rbp), %r9
jmp 0xab470
leaq -0xa0(%rbp), %rbx
leaq -0x50(%rbp), %rdx
movq %rcx, %rdi
movq %rbx, %rsi
movq %r8, -0x38(%rbp)
movq %r9, -0x30(%rbp)
callq 0xa70f6
movq %rax, %r13
movl (%rbx), %edx
movq 0x8(%rbx), %rcx
leaq -0x70(%rbp), %rbx
leaq -0x48(%rbp), %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %r8
movq %r14, %r9
callq 0xab09a
movq (%rbx), %rdi
movq (%r14), %rbx
leaq -0x50(%rbp), %rax
movq (%rax), %rsi
leaq -0x78(%rbp), %r14
movq %r14, %rdx
callq 0xa9afa
movq (%r14), %rdx
leaq -0x60(%rbp), %r14
leaq -0x58(%rbp), %r15
movq %rax, %rdi
movq %r13, %rsi
movq %rbx, %rcx
movq %r14, %r8
movq %r15, %r9
callq 0xab605
movq -0x30(%rbp), %r9
movq -0x38(%rbp), %r8
movq (%r15), %r15
movq (%r14), %r12
movq %r15, (%r9)
movq %r12, (%r8)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2937e(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6