// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Data_semizetransparentzy
static struct std_maybe_Maybe_1 mw_mirth_data_Data_semizetransparentzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_data_Data_semizetransparentzy, in_Data_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_Maybe_8 = V_std_maybe_Maybe_1(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct mirth_mirth_zaMirth* v10;
		struct std_maybe_Maybe_1 v11 = mw_mirth_data_Data_singlezetagzy(in_zaMirth_1, in_Data_2, &v10);
		struct mirth_mirth_zaMirth* branch_zaMirth_12;
		struct std_maybe_Maybe_1 branch_Maybe_13;
		switch ((v11).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v14 = mtp_std_maybe_Maybe_1_Some(v11);
				incref(v14);
				struct mirth_mirth_zaMirth* v15;
				struct std_list_List_1 v16 = mw_mirth_data_Tag_inputs(v10, V_mirth_data_Tag(v14), &v15);
				struct std_maybe_Maybe_1 v17 = mw_std_list_List_1_singlezy(v16);
				uint64_t branch_Tag_18;
				struct mirth_mirth_zaMirth* branch_zaMirth_19;
				struct std_maybe_Maybe_1 branch_Maybe_20;
				switch ((v17).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v21 = mtp_std_maybe_Maybe_1_Some(v17);
						incref(v21);
						struct std_either_Either_2 v22 = mw_mirth_type_StackTypePart_typezfresource(V_mirth_type_StackTypePart(v21));
						struct mirth_mirth_zaMirth* branch_zaMirth_23;
						struct std_maybe_Maybe_1 branch_Maybe_24;
						switch ((v22).tag) {
							case std_either_Either_2_Left: {
								VAL v25 = mtp_std_either_Either_2_Left(v22);
								struct mirth_mirth_zaMirth* v26;
								struct std_maybe_Maybe_1 v27 = mw_mirth_type_Type_tyconzy(v15, V_mirth_type_Type(v25), &v26);
								branch_Maybe_24 = v27;
								branch_zaMirth_23 = v26;
							} break;
							case std_either_Either_2_Right: {
								VAL v28 = mtp_std_either_Either_2_Right(v22);
								struct mirth_mirth_zaMirth* v29;
								struct std_maybe_Maybe_1 v30 = mw_mirth_type_Resource_tyconzy(v15, V_mirth_type_Type(v28), &v29);
								branch_Maybe_24 = v30;
								branch_zaMirth_23 = v29;
							} break;
							default: {
								do_panic(str_make("unexpected fallthrough in match\n", 32));
							}
						}
						struct mirth_type_StackTypePart branch_StackTypePart_31;
						uint64_t branch_Tag_32;
						struct std_maybe_Maybe_1 branch_Maybe_33;
						switch ((branch_Maybe_24).tag) {
							case std_maybe_Maybe_1_Some: {
								VAL v34 = mtp_std_maybe_Maybe_1_Some(branch_Maybe_24);
								incref(v21);
								incref(v14);
								struct mirth_data_SemiTransparentData* v35 = mtw_mirth_data_SemiTransparentData_SemiTransparentData(V_mirth_data_Tag(v14), V_mirth_type_StackTypePart(v21), V_mirth_tycon_Tycon(v34));
								struct std_maybe_Maybe_1 v36 = mtw_std_maybe_Maybe_1_Some(MK_mirth_data_SemiTransparentData(v35));
								branch_Maybe_33 = v36;
								branch_Tag_32 = V_mirth_data_Tag(v14);
								branch_StackTypePart_31 = V_mirth_type_StackTypePart(v21);
							} break;
							case std_maybe_Maybe_1_None: {
								struct std_maybe_Maybe_1 v37 = { .tag=std_maybe_Maybe_1_None };
								branch_Maybe_33 = v37;
								branch_Tag_32 = V_mirth_data_Tag(v14);
								branch_StackTypePart_31 = V_mirth_type_StackTypePart(v21);
							} break;
							default: {
								do_panic(str_make("unexpected fallthrough in match\n", 32));
							}
						}
						decref(MK_mirth_type_StackTypePart(branch_StackTypePart_31));
						branch_Maybe_20 = branch_Maybe_33;
						branch_zaMirth_19 = branch_zaMirth_23;
						branch_Tag_18 = branch_Tag_32;
					} break;
					case std_maybe_Maybe_1_None: {
						struct std_maybe_Maybe_1 v38 = { .tag=std_maybe_Maybe_1_None };
						branch_Maybe_20 = v38;
						branch_zaMirth_19 = v15;
						branch_Tag_18 = V_mirth_data_Tag(v14);
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				branch_Maybe_13 = branch_Maybe_20;
				branch_zaMirth_12 = branch_zaMirth_19;
			} break;
			case std_maybe_Maybe_1_None: {
				struct std_maybe_Maybe_1 v39 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_13 = v39;
				branch_zaMirth_12 = v10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		incref(MK_std_maybe_Maybe_1(branch_Maybe_13));
		mut_set(MK_std_maybe_Maybe_1(branch_Maybe_13), v5);
		branch_Maybe_8 = branch_Maybe_13;
		branch_zaMirth_7 = branch_zaMirth_12;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
leaq 0x10a0622(%rip), %rdi   # 0x111a338
callq 0x13ff0
movq %rax, %r13
movq %rax, %rdi
callq 0x153b0
testb %al, %al
je 0x79d44
movq %r13, %rdi
callq 0x140f0
movq %rax, %r13
andq %rax, %r14
shrq $0x30, %r13
movq %r14, %r12
jmp 0x79f5e
movq %r13, -0x70(%rbp)
movq %rbx, -0x38(%rbp)
leaq -0x50(%rbp), %rbx
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x52d67
movl %eax, %edi
movq %rdx, %rsi
callq 0xf770
movl %eax, %r13d
movq (%rbx), %r15
testl %eax, %eax
je 0x79e37
cmpl $0x1, %r13d
jne 0x79f76
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r12
movq %rdx, %r13
testb $0x1, %r13b
movq -0x38(%rbp), %rbx
je 0x79dae
movq %r12, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x79dae
incl (%rax)
leaq -0x40(%rbp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x79fa6
movl %eax, %edi
movq %rdx, %rsi
callq 0xf770
testl %eax, %eax
je 0x79e43
cmpl $0x1, %eax
jne 0x79f76
movq %r12, -0x48(%rbp)
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r12
movq %rdx, -0x58(%rbp)
testb $0x1, %dl
je 0x79e02
movq %r12, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x79e02
incl (%rax)
movq %r12, %rdi
shrq $0x30, %rdi
movq %r12, -0x30(%rbp)
andq %r14, %r12
movq %rdi, -0x60(%rbp)
movq %r12, %rsi
callq 0x7a0ee
cmpl $0x1, %eax
movq %r13, -0x68(%rbp)
je 0x79e52
testl %eax, %eax
jne 0x79f76
movq %rdx, %rdi
callq 0x20fc5
jmp 0x79e5a
xorl %r12d, %r12d
movq -0x38(%rbp), %rbx
jmp 0x79f30
xorl %r13d, %r13d
movq -0x40(%rbp), %r15
xorl %r12d, %r12d
jmp 0x79f30
movq %rdx, %rdi
callq 0x2100c
movq -0x40(%rbp), %rdi
movq %rax, %rsi
shrq $0x30, %rsi
andq %r14, %rax
leaq -0x50(%rbp), %rbx
movq %rax, %rdx
movq %rbx, %rcx
callq 0x2dc76
movl %eax, %r13d
movq (%rbx), %r15
testl %eax, %eax
movq -0x38(%rbp), %rbx
movq -0x30(%rbp), %rdi
je 0x79f11
cmpl $0x1, %r13d
jne 0x79f76
movq %rdx, %rdi
callq 0xdaeb
testb $0x1, -0x58(%rbp)
je 0x79eba
testq %r12, %r12
sete %cl
testb $0x3, -0x30(%rbp)
setne %dl
orb %cl, %dl
jne 0x79eba
incl (%r12)
testb $0x1, -0x68(%rbp)
je 0x79edc
movq -0x48(%rbp), %rsi
movq %rsi, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %sil
setne %sil
orb %dl, %sil
jne 0x79edc
incl (%rcx)
movq %rax, %rcx
shrq $0x30, %rcx
andq %r14, %rax
movq -0x48(%rbp), %rdi
movq -0x60(%rbp), %rsi
movq %r12, %rdx
movq %rax, %r8
callq 0x7a1aa
leaq 0x9cc39(%rip), %rsi     # 0x116b39
movq %rax, %rdi
callq 0x95f6
movq %rdx, %r12
movq -0x30(%rbp), %rdi
jmp 0x79f14
xorl %r12d, %r12d
movq %rdi, %rax
andq %r14, %rax
je 0x79f30
decl (%rax)
jne 0x79f30
andq $-0x4, %rdi
leaq 0x9bdb6(%rip), %rsi     # 0x115ce1
callq 0xd4e3
movq %r13, %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x9b380(%rip), %rsi     # 0x1152c1
andq %r12, %r14
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x79f55
incl (%r14)
movq -0x70(%rbp), %rdx
callq 0x14ab5
movq %r15, (%rbx)
movl %r13d, %eax
movq %r12, %rdx
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x6a7be(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x6a7c3(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5