// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackTypePart_cons
static struct mirth_type_StackType mw_mirth_type_StackTypePart_cons (struct mirth_type_StackType in_StackType_1, struct mirth_type_StackTypePart in_StackTypePart_2) {
	struct mirth_type_StackType branch_StackType_4;
	switch ((in_StackTypePart_2).tag) {
		case mirth_type_StackTypePart_Cons: {
			struct mirth_type_Type v5 = mtp_mirth_type_StackTypePart_Cons(in_StackTypePart_2);
			struct mirth_type_StackType v6 = mtw_mirth_type_StackType_Cons(in_StackType_1, v5);
			branch_StackType_4 = v6;
		} break;
		case mirth_type_StackTypePart_ConsLabel: {
			uint64_t v7;
			struct mirth_type_Type v8 = mtp_mirth_type_StackTypePart_ConsLabel(in_StackTypePart_2, &v7);
			struct mirth_type_StackType v9 = mtw_mirth_type_StackType_ConsLabel(in_StackType_1, v8, v7);
			branch_StackType_4 = v9;
		} break;
		case mirth_type_StackTypePart_With: {
			struct mirth_type_Type v10 = mtp_mirth_type_StackTypePart_With(in_StackTypePart_2);
			struct mirth_type_StackType v11 = mtw_mirth_type_StackType_With(in_StackType_1, v10);
			branch_StackType_4 = v11;
		} break;
		case mirth_type_StackTypePart_WithLabel: {
			uint64_t v12;
			struct mirth_type_Type v13 = mtp_mirth_type_StackTypePart_WithLabel(in_StackTypePart_2, &v12);
			struct mirth_type_StackType v14 = mtw_mirth_type_StackType_WithLabel(in_StackType_1, v13, v12);
			branch_StackType_4 = v14;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_StackType_4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x30(%rbp)
movq %rcx, -0x28(%rbp)
movl -0x30(%rbp), %eax
movq %rax, -0xc8(%rbp)
subq $0x3, %rax
ja 0xb0e76
movq -0xc8(%rbp), %rax
leaq 0x2a0d89(%rip), %rcx    # 0x351ab4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0xcf110
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
movl -0x40(%rbp), %edx
movq -0x38(%rbp), %rcx
callq 0x73df0
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb0e8f
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0xcf210
movl %eax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x58(%rbp), %r8
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
movl -0x68(%rbp), %edx
movq -0x60(%rbp), %rcx
callq 0xc9e90
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb0e8f
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0xcf330
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
movl -0x88(%rbp), %edx
movq -0x80(%rbp), %rcx
callq 0x749e0
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb0e8f
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0xcf430
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xa0(%rbp), %r8
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
movl -0xb0(%rbp), %edx
movq -0xa8(%rbp), %rcx
callq 0xcb770
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb0e8f
leaq 0x2a3004(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xd0, %rsp
popq %rbp
retq
nop