// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_pushzestackzepartzenamezx
static void mw_mirth_c99_pushzestackzepartzenamezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, STR* in_Str_3, struct mirth_type_StackTypePart in_StackTypePart_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99Branch* *out_zaC99Branch_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_8;
	switch ((in_StackTypePart_4).tag) {
		case mirth_type_StackTypePart_ConsLabel: {
			uint64_t v9;
			struct mirth_type_Type v10 = mtp_mirth_type_StackTypePart_ConsLabel(in_StackTypePart_4, &v9);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_c99_zaC99Branch* v12;
			struct mirth_c99_C99ReprType v13 = mw_mirth_c99_zaC99Branch_typezetozec99zerepr(in_zaMirth_1, in_zaC99Branch_2, v10, &v11, &v12);
			incref(MK_mirth_c99_C99ReprType(v13));
			struct mirth_mirth_zaMirth* v14;
			STR* v15 = mw_mirth_c99_C99ReprType_cast(v11, in_Str_3, v13, &v14);
			struct mirth_c99_zaC99Value* v16;
			mtw_mirth_c99_zaC99Value_zaC99Value(v13, v15, &v16);
			struct mirth_mirth_zaMirth* v17;
			struct mirth_c99_zaC99Branch* v18;
			mw_mirth_c99_pushzevaluezelabelzx(v14, v12, v9, v16, &v17, &v18);
			branch_zaC99Branch_8 = v18;
			branch_zaMirth_7 = v17;
		} break;
		case mirth_type_StackTypePart_WithLabel: {
			uint64_t v19;
			struct mirth_type_Type v20 = mtp_mirth_type_StackTypePart_WithLabel(in_StackTypePart_4, &v19);
			struct mirth_mirth_zaMirth* v21;
			struct mirth_c99_zaC99Branch* v22;
			struct mirth_c99_C99ReprType v23 = mw_mirth_c99_zaC99Branch_resourcezetozec99zerepr(in_zaMirth_1, in_zaC99Branch_2, v20, &v21, &v22);
			incref(MK_mirth_c99_C99ReprType(v23));
			struct mirth_mirth_zaMirth* v24;
			STR* v25 = mw_mirth_c99_C99ReprType_cast(v21, in_Str_3, v23, &v24);
			struct mirth_c99_zaC99Resource* v26;
			mtw_mirth_c99_zaC99Resource_zaC99Resource(v23, v25, &v26);
			struct mirth_mirth_zaMirth* v27;
			struct mirth_c99_zaC99Branch* v28;
			mw_mirth_c99_pushzeresourcezelabelzx(v24, v22, v19, v26, &v27, &v28);
			branch_zaC99Branch_8 = v28;
			branch_zaMirth_7 = v27;
		} break;
		case mirth_type_StackTypePart_Cons: {
			struct mirth_type_Type v29 = mtp_mirth_type_StackTypePart_Cons(in_StackTypePart_4);
			struct mirth_mirth_zaMirth* v30;
			struct mirth_c99_zaC99Branch* v31;
			struct mirth_c99_C99ReprType v32 = mw_mirth_c99_zaC99Branch_typezetozec99zerepr(in_zaMirth_1, in_zaC99Branch_2, v29, &v30, &v31);
			incref(MK_mirth_c99_C99ReprType(v32));
			struct mirth_mirth_zaMirth* v33;
			STR* v34 = mw_mirth_c99_C99ReprType_cast(v30, in_Str_3, v32, &v33);
			struct mirth_c99_zaC99Value* v35;
			mtw_mirth_c99_zaC99Value_zaC99Value(v32, v34, &v35);
			struct mirth_mirth_zaMirth* v36;
			struct mirth_c99_zaC99Branch* v37;
			mw_mirth_c99_zaC99Value_pushzevaluezx(v33, v31, v35, &v36, &v37);
			branch_zaC99Branch_8 = v37;
			branch_zaMirth_7 = v36;
		} break;
		case mirth_type_StackTypePart_With: {
			struct mirth_type_Type v38 = mtp_mirth_type_StackTypePart_With(in_StackTypePart_4);
			struct mirth_mirth_zaMirth* v39;
			struct mirth_c99_zaC99Branch* v40;
			struct mirth_c99_C99ReprType v41 = mw_mirth_c99_zaC99Branch_resourcezetozec99zerepr(in_zaMirth_1, in_zaC99Branch_2, v38, &v39, &v40);
			incref(MK_mirth_c99_C99ReprType(v41));
			struct mirth_mirth_zaMirth* v42;
			STR* v43 = mw_mirth_c99_C99ReprType_cast(v39, in_Str_3, v41, &v42);
			struct mirth_c99_zaC99Resource* v44;
			mtw_mirth_c99_zaC99Resource_zaC99Resource(v41, v43, &v44);
			struct mirth_mirth_zaMirth* v45;
			struct mirth_c99_zaC99Branch* v46;
			mw_mirth_c99_zaC99Resource_pushzeresourcezx(v42, v40, v44, &v45, &v46);
			branch_zaC99Branch_8 = v46;
			branch_zaMirth_7 = v45;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Branch_6 = branch_zaC99Branch_8;
	*out_zaMirth_5 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2c0, %rsp            # imm = 0x2C0
movq 0x10(%rbp), %rax
movl %ecx, -0x10(%rbp)
movq %r8, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0x2b8(%rbp)
subq $0x3, %rax
ja 0x2ad318
movq -0x2b8(%rbp), %rax
leaq 0xa6bc8(%rip), %rcx     # 0x353840
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0xcf210
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x58(%rbp), %edx
movq -0x50(%rbp), %rcx
leaq -0x60(%rbp), %r8
leaq -0x68(%rbp), %r9
callq 0x294250
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2acd72
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0x2acd72
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2acd72
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2acd74
movq -0x60(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl -0x78(%rbp), %edx
movq -0x70(%rbp), %rcx
leaq -0xc0(%rbp), %r8
callq 0x2ad350
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rdx
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
leaq -0xd0(%rbp), %rcx
callq 0x28cac0
movq -0xc0(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq -0xd0(%rbp), %rcx
leaq -0xd8(%rbp), %r8
leaq -0xe0(%rbp), %r9
callq 0x28cbd0
movq -0xe0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad331
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0xcf430
movl %eax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0xf8(%rbp), %edx
movq -0xf0(%rbp), %rcx
leaq -0x100(%rbp), %r8
leaq -0x108(%rbp), %r9
callq 0x294510
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movq -0x120(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2acf1e
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
cmpq $0x0, %rax
je 0x2acf1e
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2acf1e
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x158(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2acf20
movq -0x100(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl -0x118(%rbp), %edx
movq -0x110(%rbp), %rcx
leaq -0x160(%rbp), %r8
callq 0x2ad350
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rdx
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
leaq -0x170(%rbp), %rcx
callq 0x28cfc0
movq -0x160(%rbp), %rdi
movq -0x108(%rbp), %rsi
movq -0xe8(%rbp), %rdx
movq -0x170(%rbp), %rcx
leaq -0x178(%rbp), %r8
leaq -0x180(%rbp), %r9
callq 0x28cd70
movq -0x180(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad331
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0xcf110
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x190(%rbp), %edx
movq -0x188(%rbp), %rcx
leaq -0x198(%rbp), %r8
leaq -0x1a0(%rbp), %r9
callq 0x294250
movl %eax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ad0d8
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1d0(%rbp), %rax
cmpq $0x0, %rax
je 0x2ad0d8
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ad0d8
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1f0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ad0da
movq -0x198(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl -0x1b0(%rbp), %edx
movq -0x1a8(%rbp), %rcx
leaq -0x1f8(%rbp), %r8
callq 0x2ad350
movq %rax, -0x200(%rbp)
movq -0x200(%rbp), %rdx
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
leaq -0x208(%rbp), %rcx
callq 0x28cac0
movq -0x1f8(%rbp), %rdi
movq -0x1a0(%rbp), %rsi
movq -0x208(%rbp), %rdx
leaq -0x210(%rbp), %rcx
leaq -0x218(%rbp), %r8
callq 0x28cb50
movq -0x218(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad331
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0xcf330
movl %eax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x228(%rbp), %edx
movq -0x220(%rbp), %rcx
leaq -0x230(%rbp), %r8
leaq -0x238(%rbp), %r9
callq 0x294510
movl %eax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movl -0x248(%rbp), %edi
movq -0x240(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x250(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ad28b
movl -0x248(%rbp), %edi
movq -0x240(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x268(%rbp), %rax
cmpq $0x0, %rax
je 0x2ad28b
movl -0x248(%rbp), %edi
movq -0x240(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movq -0x278(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ad28b
movl -0x248(%rbp), %edi
movq -0x240(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x288(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ad28d
movq -0x230(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl -0x248(%rbp), %edx
movq -0x240(%rbp), %rcx
leaq -0x290(%rbp), %r8
callq 0x2ad350
movq %rax, -0x298(%rbp)
movq -0x298(%rbp), %rdx
movl -0x248(%rbp), %edi
movq -0x240(%rbp), %rsi
leaq -0x2a0(%rbp), %rcx
callq 0x28cfc0
movq -0x290(%rbp), %rdi
movq -0x238(%rbp), %rsi
movq -0x2a0(%rbp), %rdx
leaq -0x2a8(%rbp), %rcx
leaq -0x2b0(%rbp), %r8
callq 0x28cca0
movq -0x2b0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x2a8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad331
leaq 0xa6b62(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
addq $0x2c0, %rsp            # imm = 0x2C0
popq %rbp
retq