// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataSumTagRepr_preparezetagzetypezedefszx
static void mw_mirth_c99_C99DataSumTagRepr_preparezetagzetypezedefszx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99* in_zaC99_2, struct mirth_c99_C99DataSumTagRepr in_C99DataSumTagRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99* *out_zaC99_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct mirth_c99_zaC99* branch_zaC99_7;
	switch ((in_C99DataSumTagRepr_3).tag) {
		case mirth_c99_C99DataSumTagRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v8 = mtp_mirth_c99_C99DataSumTagRepr_Unit(in_C99DataSumTagRepr_3);
			decref(MK_mirth_c99_C99DataUnitRepr(v8));
			branch_zaC99_7 = in_zaC99_2;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataSumTagRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v9 = mtp_mirth_c99_C99DataSumTagRepr_Struct(in_C99DataSumTagRepr_3);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_c99_zaC99* v11;
			mw_mirth_c99_C99DataStructRepr_emitzestructzedefzx(in_zaMirth_1, in_zaC99_2, v9, &v10, &v11);
			branch_zaC99_7 = v11;
			branch_zaMirth_6 = v10;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99_5 = branch_zaC99_7;
	*out_zaMirth_4 = branch_zaMirth_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %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, -0xb4(%rbp)
testl %eax, %eax
je 0x278bf5
jmp 0x278be1
movl -0xb4(%rbp), %eax
subl $0x1, %eax
je 0x278cff
jmp 0x278d4c
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x2796e0
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x11a2cc(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x278ceb
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x11a2a3(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x278ceb
movq -0x48(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x11a274(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x278ceb
movq -0x48(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x11a24c(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x278ce9
movq -0x48(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x11a215(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x127c0
jmp 0x278ceb
jmp 0x278ced
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x278d65
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x2797e0
movq %rax, -0xa0(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xa0(%rbp), %rdx
leaq -0xa8(%rbp), %rcx
leaq -0xb0(%rbp), %r8
callq 0x26c050
movq -0xb0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x278d65
leaq 0xdb12e(%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 $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)