// File: /workspace/github_c_makefile_star2_O3/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 $0x78, %rsp
cmpl $0x4, %edx
ja 0xb591f
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
leaq 0x2ab2f(%rip), %rdx     # 0xe0044
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movl (%rcx), %ebx
movq 0x8(%rcx), %r14
movq 0x10(%rcx), %r13
movq 0x18(%rcx), %rax
movq %rax, -0x30(%rbp)
movq %rcx, %rdi
movq %r8, -0x40(%rbp)
movq %r9, -0x38(%rbp)
callq 0x5030
leaq -0x50(%rbp), %rax
leaq -0x78(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movl %ebx, %edx
movq %r14, %rcx
movq %rax, %rbx
movq %rax, %r8
movq %r9, %r14
callq 0xb54ec
movq (%rbx), %rbx
movq (%r14), %rax
movq %rax, -0x60(%rbp)
movl (%r13), %r15d
movq 0x8(%r13), %r12
movq 0x10(%r13), %r14
movq %r13, %rdi
callq 0x5030
leaq -0x48(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
movq %r12, %rcx
movq %r13, %r8
callq 0xa5fe9
movq (%r13), %rdx
leaq -0x48(%rbp), %rbx
leaq -0x58(%rbp), %r14
movq %rax, %rdi
movq -0x30(%rbp), %rsi
movq -0x60(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xb5a46
movq -0x38(%rbp), %r9
movq -0x40(%rbp), %r8
movq (%r14), %r15
movq (%rbx), %r12
jmp 0xb590a
movq %r9, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movl (%rcx), %ebx
movq 0x8(%rcx), %r14
movq 0x10(%rcx), %r13
movq %rcx, %rdi
callq 0x5030
leaq -0x88(%rbp), %rax
leaq -0x80(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movl %ebx, %edx
movq %r14, %rcx
movq %rax, %rbx
movq %rax, %r8
movq %r9, %r14
callq 0xb54ec
movq (%rbx), %rax
movq %rax, -0x30(%rbp)
movq (%r14), %r15
movl (%r13), %r14d
movq 0x8(%r13), %r12
movq 0x10(%r13), %rbx
movq %r13, %rdi
callq 0x5030
leaq -0x48(%rbp), %r13
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
movl %r14d, %edx
movq %r12, %rcx
movq %r13, %r8
callq 0xa5fe9
movq %rax, %r12
movq (%r13), %rdi
movq (%r15), %rsi
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
movl 0x18(%rsi), %ecx
movl %ecx, -0x30(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
leaq -0x58(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x93675
movq 0x10627ee(%rip), %rdx   # 0x1117e60
testq %rdx, %rdx
jne 0xb56af
movl $0xe, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0xe, 0x10(%rax)
movabsq $0x7365725f68737570, %rax # imm = 0x7365725F68737570
movq %rax, 0x18(%rdx)
movabsq $0x28656372756f7365, %rax # imm = 0x28656372756F7365
movq %rax, 0x1e(%rdx)
movq %rdx, 0x10627b1(%rip)   # 0x1117e60
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb56d0
incl (%rax)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x78(%rbp), %rbx
leaq -0xa0(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x9221b
movq 0x106275d(%rip), %rdx   # 0x1117e68
testq %rdx, %rdx
jne 0xb589a
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x1062732(%rip)   # 0x1117e68
jmp 0xb589a
movq %r9, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movl (%rcx), %r13d
movq 0x8(%rcx), %rbx
movq 0x10(%rcx), %r14
movq %rcx, %rdi
callq 0x5030
leaq -0x88(%rbp), %rax
leaq -0x80(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
movq %rbx, %rcx
movq %rax, %rbx
movq %rax, %r8
movq %r9, %r15
callq 0xb54ec
movq (%rbx), %rax
movq %rax, -0x30(%rbp)
movq (%r15), %r15
movl (%r14), %r12d
movq 0x8(%r14), %r13
movq 0x10(%r14), %rbx
movq %r14, %rdi
callq 0x5030
leaq -0x48(%rbp), %r14
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
movl %r12d, %edx
movq %r13, %rcx
movq %r14, %r8
callq 0xa5fe9
movq %rax, %r12
movq (%r14), %rdi
movq (%r15), %rsi
xorl %eax, %eax
cmpb $0x0, 0x28(%r15)
movl 0x18(%rsi), %ecx
movl %ecx, -0x30(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
leaq -0x58(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x93675
movq 0x106266f(%rip), %rdx   # 0x1117e50
testq %rdx, %rdx
jne 0xb5817
movl $0xb, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0xb, 0x10(%rax)
movabsq $0x6c61765f68737570, %rax # imm = 0x6C61765F68737570
movq %rax, 0x18(%rdx)
movl $0x2865756c, 0x1f(%rdx) # imm = 0x2865756C
movq %rdx, 0x1062639(%rip)   # 0x1117e50
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb5838
incl (%rax)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x78(%rbp), %rbx
leaq -0xa0(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x9221b
movq 0x10625e5(%rip), %rdx   # 0x1117e58
testq %rdx, %rdx
jne 0xb589a
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x10625be(%rip)   # 0x1117e58
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xb58ae
incl (%r13)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x98(%rbp), %rbx
leaq -0x90(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %r12
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xb58f8
movq 0x28(%r14), %rsi
leaq -0x48(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x92a13
movq (%rbx), %rax
movq %rax, 0x28(%r14)
movl -0x30(%rbp), %eax
movb %al, 0x18(%r14)
movq %r14, (%r15)
movq -0x40(%rbp), %r8
movq -0x38(%rbp), %r9
movq %r15, (%r9)
movq %r12, (%r8)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x2ad95(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x2ad9a(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302