// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_tycon_Tycon_qnamezj
static void mw_mirth_tycon_Tycon_qnamezj (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_zaStr_2, struct mirth_tycon_Tycon in_Tycon_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, STR* *out_zaStr_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	STR* branch_zaStr_7;
	switch ((in_Tycon_3).tag) {
		case mirth_tycon_Tycon_Data: {
			uint64_t v8 = mtp_mirth_tycon_Tycon_Data(in_Tycon_3);
			struct mirth_mirth_zaMirth* v9;
			STR* v10;
			mw_mirth_data_Data_qnamezj(in_zaMirth_1, in_zaStr_2, v8, &v9, &v10);
			branch_zaStr_7 = v10;
			branch_zaMirth_6 = v9;
		} break;
		case mirth_tycon_Tycon_Table: {
			uint64_t v11 = mtp_mirth_tycon_Tycon_Table(in_Tycon_3);
			struct mirth_mirth_zaMirth* v12;
			STR* v13;
			mw_mirth_table_Table_qnamezj(in_zaMirth_1, in_zaStr_2, v11, &v12, &v13);
			branch_zaStr_7 = v13;
			branch_zaMirth_6 = v12;
		} break;
		case mirth_tycon_Tycon_Prim: {
			enum mirth_type_PrimType v14 = mtp_mirth_tycon_Tycon_Prim(in_Tycon_3);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_name_QName* v16 = mw_mirth_type_PrimType_tyconzeqname(in_zaMirth_1, v14, &v15);
			struct mirth_mirth_zaMirth* v17;
			STR* v18;
			mw_mirth_name_QName_qnamezj(v15, in_zaStr_2, v16, &v17, &v18);
			branch_zaStr_7 = v18;
			branch_zaMirth_6 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaStr_5 = branch_zaStr_7;
	*out_zaMirth_4 = branch_zaMirth_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x9c(%rbp)
testl %eax, %eax
je 0x1be75e
jmp 0x1be741
movl -0x9c(%rbp), %eax
subl $0x1, %eax
je 0x1be79c
jmp 0x1be74e
movl -0x9c(%rbp), %eax
subl $0x2, %eax
je 0x1be7d7
jmp 0x1be837
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a440
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x50(%rbp), %rcx
leaq -0x58(%rbp), %r8
callq 0x1be930
movq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1be850
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a490
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x60(%rbp), %rdx
leaq -0x68(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x1be9a0
movq -0x70(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1be850
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a4e0
movl %eax, -0x74(%rbp)
movq -0x18(%rbp), %rdi
movl -0x74(%rbp), %esi
leaq -0x80(%rbp), %rdx
callq 0x5b350
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x90(%rbp), %rcx
leaq -0x98(%rbp), %r8
callq 0x44650
movq -0x98(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1be850
leaq 0x195643(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0xa0, %rsp
popq %rbp
retq
nop