// File: /workspace/github_c_makefile_star2_O1/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 0xb88da
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
leaq 0x2bb30(%rip), %rdx     # 0xe3ffc
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 0xb84a3
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 0xa8c22
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 0xb8a01
movq -0x38(%rbp), %r9
movq -0x40(%rbp), %r8
movq (%r14), %r15
movq (%rbx), %r12
jmp 0xb88c5
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 0xb84a3
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 0xa8c22
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 0x95d84
cmpq $0x0, 0x1063836(%rip)   # 0x111be60
jne 0xb8661
movl $0xe, %edi
callq 0xf9f7
movq $0xe, 0x10(%rax)
movabsq $0x7365725f68737570, %rcx # imm = 0x7365725F68737570
movq %rcx, 0x18(%rax)
movabsq $0x28656372756f7365, %rcx # imm = 0x28656372756F7365
movq %rcx, 0x1e(%rax)
movq %rax, 0x10637ff(%rip)   # 0x111be60
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq 0x10637ee(%rip), %rdx   # 0x111be60
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb8689
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 0x94972
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x94972
cmpq $0x0, 0x10637a3(%rip)   # 0x111be68
jne 0xb86e6
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x1063782(%rip)   # 0x111be68
movq 0x106377b(%rip), %rdx   # 0x111be68
jmp 0xb8855
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 0xb84a3
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 0xa8c22
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 0x95d84
cmpq $0x0, 0x10636b7(%rip)   # 0x111be50
jne 0xb87c9
movl $0xb, %edi
callq 0xf9f7
movq $0xb, 0x10(%rax)
movabsq $0x6c61765f68737570, %rcx # imm = 0x6C61765F68737570
movq %rcx, 0x18(%rax)
movl $0x2865756c, 0x1f(%rax) # imm = 0x2865756C
movq %rax, 0x1063687(%rip)   # 0x111be50
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq 0x1063676(%rip), %rdx   # 0x111be50
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb87f1
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 0x94972
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq %r12, %rdx
callq 0x94972
cmpq $0x0, 0x106362b(%rip)   # 0x111be58
jne 0xb884e
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x106360a(%rip)   # 0x111be58
movq 0x1063603(%rip), %rdx   # 0x111be58
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xb8869
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 0x94972
movq (%rbx), %r12
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xb88b3
movq 0x28(%r14), %rsi
leaq -0x48(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x95160
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 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x2be5a(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x2be5f(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5