// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataSumTagRepr_unionzememberzy
static struct std_maybe_Maybe_1 mw_mirth_c99_C99DataSumTagRepr_unionzememberzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_C99DataSumTagRepr in_C99DataSumTagRepr_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct std_maybe_Maybe_1 branch_Maybe_6;
	switch ((in_C99DataSumTagRepr_2).tag) {
		case mirth_c99_C99DataSumTagRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v7 = mtp_mirth_c99_C99DataSumTagRepr_Unit(in_C99DataSumTagRepr_2);
			decref(MK_mirth_c99_C99DataUnitRepr(v7));
			struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v8;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataSumTagRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v9 = mtp_mirth_c99_C99DataSumTagRepr_Struct(in_C99DataSumTagRepr_2);
			uint64_t v10 = v9->mtag;
			decref(MK_mirth_c99_C99DataStructRepr(v9));
			struct mirth_mirth_zaMirth* v11;
			uint64_t v12 = mw_mirth_data_Tag_name(in_zaMirth_1, v10, &v11);
			struct mirth_mirth_zaMirth* v13;
			STR* v14 = mw_mirth_name_Name_mangled(v11, v12, &v13);
			struct std_maybe_Maybe_1 v15 = mtw_std_maybe_Maybe_1_Some(MKSTR(v14));
			branch_Maybe_6 = v15;
			branch_zaMirth_5 = v13;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Maybe_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x144(%rbp)
testl %eax, %eax
je 0x27909d
jmp 0x279089
movl -0x144(%rbp), %eax
subl $0x1, %eax
je 0x2791c5
jmp 0x2793a1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x2796e0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x119e24(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x27918d
movq -0x40(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x119dfb(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
cmpq $0x0, %rax
je 0x27918d
movq -0x40(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x119dcc(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x70(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x27918d
movq -0x40(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x119da7(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x80(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x27918b
movq -0x40(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x119d73(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x127c0
jmp 0x27918d
jmp 0x27918f
leaq -0xa0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2793ba
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x2797e0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq 0x119db9(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2792fd
movq -0xa8(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x119d84(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rax
cmpq $0x0, %rax
je 0x2792fd
movq -0xa8(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x119d49(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2792fd
movq -0xa8(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x119d18(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2792fb
movq -0xa8(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x119cdb(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0x127c0
jmp 0x2792fd
jmp 0x2792ff
movq -0x28(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0x108(%rbp), %rdx
callq 0x57920
movq %rax, -0x110(%rbp)
movq -0x108(%rbp), %rdi
movq -0x110(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0x223090
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x117e05(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0xca10
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2793ba
leaq 0xdaad9(%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 $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopw %cs:(%rax,%rax)