// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackTypePart_c99zerepr
static struct mirth_c99_C99ReprType mw_mirth_type_StackTypePart_c99zerepr (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackTypePart in_StackTypePart_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct mirth_c99_C99ReprType branch_C99ReprType_6;
	switch ((in_StackTypePart_2).tag) {
		case mirth_type_StackTypePart_Cons: {
			struct mirth_type_Type v7 = mtp_mirth_type_StackTypePart_Cons(in_StackTypePart_2);
			struct mirth_mirth_zaMirth* v8;
			struct mirth_c99_C99ReprType v9 = mw_mirth_type_Type_c99zerepr(in_zaMirth_1, v7, &v8);
			branch_C99ReprType_6 = v9;
			branch_zaMirth_5 = v8;
		} break;
		case mirth_type_StackTypePart_ConsLabel: {
			uint64_t v10;
			struct mirth_type_Type v11 = mtp_mirth_type_StackTypePart_ConsLabel(in_StackTypePart_2, &v10);
			struct mirth_mirth_zaMirth* v12;
			struct mirth_c99_C99ReprType v13 = mw_mirth_type_Type_c99zerepr(in_zaMirth_1, v11, &v12);
			branch_C99ReprType_6 = v13;
			branch_zaMirth_5 = v12;
		} break;
		case mirth_type_StackTypePart_With: {
			struct mirth_type_Type v14 = mtp_mirth_type_StackTypePart_With(in_StackTypePart_2);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_c99_C99ReprType v16 = mw_mirth_type_Resource_c99zerepr(in_zaMirth_1, v14, &v15);
			branch_C99ReprType_6 = v16;
			branch_zaMirth_5 = v15;
		} break;
		case mirth_type_StackTypePart_WithLabel: {
			uint64_t v17;
			struct mirth_type_Type v18 = mtp_mirth_type_StackTypePart_WithLabel(in_StackTypePart_2, &v17);
			struct mirth_mirth_zaMirth* v19;
			struct mirth_c99_C99ReprType v20 = mw_mirth_type_Resource_c99zerepr(in_zaMirth_1, v18, &v19);
			branch_C99ReprType_6 = v20;
			branch_zaMirth_5 = v19;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_C99ReprType_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0xf0(%rbp)
subq $0x3, %rax
ja 0x2ad9e1
movq -0xf0(%rbp), %rax
leaq 0xa5ff4(%rip), %rcx     # 0x353850
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0xcf110
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movl -0x48(%rbp), %esi
movq -0x40(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x231fb0
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad9fa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0xcf210
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x28(%rbp), %rdi
movl -0x78(%rbp), %esi
movq -0x70(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x231fb0
movl %eax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad9fa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0xcf330
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x28(%rbp), %rdi
movl -0xa0(%rbp), %esi
movq -0x98(%rbp), %rdx
leaq -0xa8(%rbp), %rcx
callq 0x232f20
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad9fa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0xcf430
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0x28(%rbp), %rdi
movl -0xd0(%rbp), %esi
movq -0xc8(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
callq 0x232f20
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ad9fa
leaq 0xa6499(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)