// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataUnitRepr_MakeOfTagzy
static struct std_maybe_Maybe_1 mw_mirth_c99_C99DataUnitRepr_MakeOfTagzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_data_Tag_physicalzebitszy(in_zaMirth_1, in_Tag_2, &v5);
	bool v7 = mw_std_maybe_Maybe_1_has_1_sp1(v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct std_maybe_Maybe_1 branch_Maybe_9;
	if (v7) {
		struct mirth_mirth_zaMirth* v10;
		bool v11 = mw_mirth_data_Tag_onlyzetagzy(v5, in_Tag_2, &v10);
		uint64_t branch_Tag_12;
		struct mirth_mirth_zaMirth* branch_zaMirth_13;
		STR* branch_Str_14;
		if (v11) {
			struct mirth_mirth_zaMirth* v15;
			uint64_t v16 = mw_mirth_data_Tag_data(v10, in_Tag_2, &v15);
			struct mirth_mirth_zaMirth* v17;
			STR* v18 = mw_mirth_data_Data_cname(v15, v16, &v17);
			branch_Str_14 = v18;
			branch_zaMirth_13 = v17;
			branch_Tag_12 = in_Tag_2;
		} else {
			struct mirth_mirth_zaMirth* v19;
			STR* v20 = mw_mirth_data_Tag_cname(v10, in_Tag_2, &v19);
			branch_Str_14 = v20;
			branch_zaMirth_13 = v19;
			branch_Tag_12 = in_Tag_2;
		}
		struct mirth_c99_C99DataUnitRepr* v21 = mtw_mirth_c99_C99DataUnitRepr_C99DataUnitRepr(branch_Tag_12, branch_Str_14);
		struct std_maybe_Maybe_1 v22 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataUnitRepr(v21));
		branch_Maybe_9 = v22;
		branch_zaMirth_8 = branch_zaMirth_13;
	} else {
		struct std_maybe_Maybe_1 v23 = { .tag=std_maybe_Maybe_1_None };
		branch_Maybe_9 = v23;
		branch_zaMirth_8 = v5;
	}
	*out_zaMirth_3 = branch_zaMirth_8;
	return branch_Maybe_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x202380
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x2002e0
andb $0x1, %al
movb %al, -0x41(%rbp)
testb $0x1, -0x41(%rbp)
je 0x230179
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x2301d0
andb $0x1, %al
movb %al, -0x59(%rbp)
testb $0x1, -0x59(%rbp)
je 0x2300cc
movq -0x58(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x57890
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x230390
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
jmp 0x230105
movq -0x58(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0x230550
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x230710
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x162db2(%rip), %rax    # 0x392ee0
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0xca10
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x2301aa
leaq -0xe0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xe0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)