// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataSumTagRepr_destructzx
static void mw_mirth_c99_C99DataSumTagRepr_destructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct std_either_zaEither_2 in_zaC99ValuezfResource_3, struct mirth_c99_C99DataSumTagRepr in_C99DataSumTagRepr_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99Branch* *out_zaC99Branch_6) {
	incref(MK_mirth_c99_C99DataSumTagRepr(in_C99DataSumTagRepr_4));
	struct mirth_mirth_zaMirth* v7;
	uint64_t v8 = mw_mirth_c99_C99DataSumTagRepr_tag(in_zaMirth_1, in_C99DataSumTagRepr_4, &v7);
	incref(MK_mirth_c99_C99DataSumTagRepr(in_C99DataSumTagRepr_4));
	struct mirth_mirth_zaMirth* v9;
	struct std_maybe_Maybe_1 v10 = mw_mirth_c99_C99DataSumTagRepr_unionzememberzy(v7, in_C99DataSumTagRepr_4, &v9);
	STR* branch_Str_11;
	switch ((v10).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v12 = mtp_std_maybe_Maybe_1_Some(v10);
			branch_Str_11 = value_str(v12);
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v13;
			STRLIT(v13, "ptr", 3);
			branch_Str_11 = v13;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* v14;
	uint64_t v15 = mw_mirth_data_Tag_data(v9, v8, &v14);
	struct mirth_mirth_zaMirth* v16;
	STR* v17 = mw_mirth_c99_zaC99ValuezfResource_consumezeaszedata(v14, v15, in_zaC99ValuezfResource_3, &v16);
	STR* v18;
	STRLIT(v18, "", 0);
	STR* v19;
	mw_std_str_zaStr_pushzestrzx(v17, v18, &v19);
	STR* v20;
	STRLIT(v20, ".ptr.", 5);
	STR* v21;
	mw_std_str_zaStr_pushzestrzx(v20, v19, &v21);
	incref(MKSTR(branch_Str_11));
	STR* v22;
	mw_std_str_zaStr_pushzestrzx(branch_Str_11, v21, &v22);
	struct mirth_mirth_zaMirth* v23;
	struct mirth_c99_zaC99Branch* v24;
	mw_mirth_c99_C99DataSumTagRepr_unpackzestructzx(v16, in_zaC99Branch_2, v22, in_C99DataSumTagRepr_4, &v23, &v24);
	decref(MKSTR(branch_Str_11));
	*out_zaC99Branch_6 = v24;
	*out_zaMirth_5 = v23;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2abeaf
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x2abeaf
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2abeaf
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2abeb1
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x78(%rbp), %rcx
callq 0x278d90
movq %rax, -0x80(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2abf86
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x2abf86
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2abf86
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x236ab0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2abf88
movq -0x78(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
callq 0x279060
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0x2a4(%rbp)
testl %eax, %eax
je 0x2ac00e
jmp 0x2abfbe
movl -0x2a4(%rbp), %eax
subl $0x1, %eax
jne 0x2ac129
jmp 0x2abfcf
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x174a0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0xb980
movq %rax, -0xe0(%rbp)
jmp 0x2ac142
jmp 0x2ac010
cmpq $0x0, 0x10ec138(%rip)   # 0x1398150
jne 0x2ac032
leaq 0xc0ff4(%rip), %rdi     # 0x36d015
movl $0x3, %esi
callq 0xb6c0
movq %rax, 0x10ec11e(%rip)   # 0x1398150
jmp 0x2ac034
movq 0x10ec115(%rip), %rax   # 0x1398150
movq %rax, -0x108(%rbp)
leaq 0xe510f(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac109
movq 0x10ec0e0(%rip), %rax   # 0x1398150
movq %rax, -0x118(%rbp)
leaq 0xe50da(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac109
movq 0x10ec0a9(%rip), %rax   # 0x1398150
movq %rax, -0x128(%rbp)
leaq 0xe50a3(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac109
movq 0x10ec078(%rip), %rax   # 0x1398150
movq %rax, -0x138(%rbp)
leaq 0xe5072(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ac10b
movq 0x10ec03e(%rip), %rax   # 0x1398150
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0x2ac142
leaq 0xa7d51(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0xc8(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x140(%rbp), %rdx
callq 0x57890
movq %rax, -0x148(%rbp)
movq -0x140(%rbp), %rdi
movq -0x148(%rbp), %rsi
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0x150(%rbp), %r8
callq 0x2ae080
movq %rax, -0x158(%rbp)
cmpq $0x0, 0x10ebfc8(%rip)   # 0x1398158
jne 0x2ac1a9
leaq 0xafe1f(%rip), %rdi     # 0x35bfb8
xorl %eax, %eax
movl %eax, %esi
callq 0xb6c0
movq %rax, 0x10ebfaf(%rip)   # 0x1398158
jmp 0x2ac1ab
movq 0x10ebfa6(%rip), %rax   # 0x1398158
movq %rax, -0x170(%rbp)
leaq 0xe4f98(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac280
movq 0x10ebf71(%rip), %rax   # 0x1398158
movq %rax, -0x180(%rbp)
leaq 0xe4f63(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x180(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac280
movq 0x10ebf3a(%rip), %rax   # 0x1398158
movq %rax, -0x190(%rbp)
leaq 0xe4f2c(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x188(%rbp)
movq -0x190(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac280
movq 0x10ebf09(%rip), %rax   # 0x1398158
movq %rax, -0x1a0(%rbp)
leaq 0xe4efb(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x198(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ac282
movq 0x10ebecf(%rip), %rax   # 0x1398158
movq %rax, -0x160(%rbp)
movq -0x158(%rbp), %rdi
movq -0x160(%rbp), %rsi
leaq -0x1a8(%rbp), %rdx
callq 0xb940
cmpq $0x0, 0x10ebeae(%rip)   # 0x1398160
jne 0x2ac2cc
leaq 0xc189f(%rip), %rdi     # 0x36db5a
movl $0x5, %esi
callq 0xb6c0
movq %rax, 0x10ebe94(%rip)   # 0x1398160
jmp 0x2ac2ce
movq 0x10ebe8b(%rip), %rax   # 0x1398160
movq %rax, -0x1c0(%rbp)
leaq 0xe4e75(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x1b8(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac3a3
movq 0x10ebe56(%rip), %rax   # 0x1398160
movq %rax, -0x1d0(%rbp)
leaq 0xe4e40(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x1c8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1d0(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac3a3
movq 0x10ebe1f(%rip), %rax   # 0x1398160
movq %rax, -0x1e0(%rbp)
leaq 0xe4e09(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac3a3
movq 0x10ebdee(%rip), %rax   # 0x1398160
movq %rax, -0x1f0(%rbp)
leaq 0xe4dd8(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x1e8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1f0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ac3a5
movq 0x10ebdb4(%rip), %rax   # 0x1398160
movq %rax, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
leaq -0x1f8(%rbp), %rdx
callq 0xb940
movq -0xe0(%rbp), %rax
movq %rax, -0x208(%rbp)
leaq 0xe4d76(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x200(%rbp)
movq -0x200(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac4a2
movq -0xe0(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq 0xe4d41(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x218(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac4a2
movq -0xe0(%rbp), %rax
movq %rax, -0x228(%rbp)
leaq 0xe4d0a(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x220(%rbp)
movq -0x228(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac4a2
movq -0xe0(%rbp), %rax
movq %rax, -0x238(%rbp)
leaq 0xe4cd9(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x230(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x238(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ac4a4
movq -0xe0(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
leaq -0x240(%rbp), %rdx
callq 0xb940
movq -0x150(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x240(%rbp), %rdx
movl -0x20(%rbp), %ecx
movq -0x18(%rbp), %r8
leaq -0x248(%rbp), %r9
leaq -0x250(%rbp), %rax
movq %rax, (%rsp)
callq 0x2b3480
movq -0xe0(%rbp), %rax
movq %rax, -0x260(%rbp)
leaq 0xe4c55(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x258(%rbp)
movq -0x258(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac601
movq -0xe0(%rbp), %rax
movq %rax, -0x270(%rbp)
leaq 0xe4c20(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x268(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x270(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac601
movq -0xe0(%rbp), %rax
movq %rax, -0x280(%rbp)
leaq 0xe4be5(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x278(%rbp)
movq -0x280(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac601
movq -0xe0(%rbp), %rax
movq %rax, -0x290(%rbp)
leaq 0xe4bb4(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x288(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x290(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2ac5ff
movq -0xe0(%rbp), %rax
movq %rax, -0x2a0(%rbp)
leaq 0xe4b77(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x298(%rbp)
movq -0x2a0(%rbp), %rdi
movq -0x298(%rbp), %rsi
callq 0x127c0
jmp 0x2ac601
jmp 0x2ac603
movq -0x250(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x248(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
nopl (%rax,%rax)