// File: /workspace/github_c_makefile_star2_O0/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
subq $0x340, %rsp            # imm = 0x340
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rsi
leaq 0x11e9176(%rip), %rdi   # 0x1396478
callq 0x40d30
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x45e40
andb $0x1, %al
movb %al, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
je 0x1ad361
movq -0x30(%rbp), %rdi
callq 0x40f30
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x135d0
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1adcbf
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x189a60
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movl -0x78(%rbp), %eax
movl %eax, -0x314(%rbp)
testl %eax, %eax
je 0x1adb3f
jmp 0x1ad38c
movl -0x314(%rbp), %eax
subl $0x1, %eax
jne 0x1adb78
jmp 0x1ad39d
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x174a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ad408
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x1ad408
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ad408
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ad40a
movq -0x68(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x1add30
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x1f250
movl %eax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movl -0xc8(%rbp), %eax
movl %eax, -0x318(%rbp)
testl %eax, %eax
je 0x1adab0
jmp 0x1ad463
movl -0x318(%rbp), %eax
subl $0x1, %eax
jne 0x1adafd
jmp 0x1ad474
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x174a0
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ad4e5
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x1ad4e5
movq -0xf8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ad4e5
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ad4e7
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x73d70
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movl -0x118(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x1ae230
movl %eax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movl -0x108(%rbp), %eax
movl %eax, -0x31c(%rbp)
testl %eax, %eax
je 0x1ad54c
jmp 0x1ad538
movl -0x31c(%rbp), %eax
subl $0x1, %eax
je 0x1ad5f6
jmp 0x1ad69d
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x74840
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x328(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x6f100
movq -0x328(%rbp), %rdi
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movl -0x168(%rbp), %esi
movq -0x160(%rbp), %rdx
leaq -0x148(%rbp), %rcx
callq 0x862e0
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x1ad6b6
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x748f0
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x330(%rbp)
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rsi
callq 0x6f100
movq -0x330(%rbp), %rdi
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movl -0x1a0(%rbp), %esi
movq -0x198(%rbp), %rdx
leaq -0x180(%rbp), %rcx
callq 0x1896a0
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x1ad6b6
leaq 0x1a67dd(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x130(%rbp), %eax
movl %eax, -0x334(%rbp)
testl %eax, %eax
je 0x1ad8cb
jmp 0x1ad6cc
movl -0x334(%rbp), %eax
subl $0x1, %eax
jne 0x1ad946
jmp 0x1ad6dd
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
callq 0x174a0
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0xf0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ad74e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x1ad74e
movq -0xf8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ad74e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ad750
jmp 0x1ad752
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ad7a3
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x1ad7a3
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ad7a3
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ad7a5
movq -0xa0(%rbp), %rax
movq %rax, -0x340(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x73d70
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x59cb0
movq -0x340(%rbp), %rdi
movl %eax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movl -0x1f0(%rbp), %esi
movq -0x1e8(%rbp), %rdx
movl -0x200(%rbp), %ecx
movq -0x1f8(%rbp), %r8
callq 0x1ae430
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x1e53db(%rip), %rax    # 0x392c10
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x220(%rbp), %rdi
movq -0x218(%rbp), %rsi
callq 0xca10
movl %eax, -0x210(%rbp)
movq %rdx, -0x208(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x73d70
movl %eax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x230(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x1a8(%rbp)
jmp 0x1ad95f
leaq -0x240(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x240(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x73d70
movl %eax, -0x250(%rbp)
movq %rdx, -0x248(%rbp)
movq -0x250(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x248(%rbp), %rax
movq %rax, -0x1a8(%rbp)
jmp 0x1ad95f
leaq 0x1a6534(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
jmp 0x1ad961
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x260(%rbp)
movq %rdx, -0x258(%rbp)
movq -0x258(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ada74
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x270(%rbp)
movq %rdx, -0x268(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x270(%rbp), %rax
cmpq $0x0, %rax
je 0x1ada74
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x280(%rbp)
movq %rdx, -0x278(%rbp)
movq -0x280(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ada74
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x290(%rbp)
movq %rdx, -0x288(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x290(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1ada72
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x2a0(%rbp)
movq %rdx, -0x298(%rbp)
movq -0x2a0(%rbp), %rdi
movq -0x298(%rbp), %rsi
callq 0x127c0
jmp 0x1ada74
jmp 0x1ada76
movq -0x1c8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x1adb16
leaq -0x2b0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x2b0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x2a8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x1adb16
leaq 0x1a637d(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0xe8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x1adb91
leaq -0x2c0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x2c0(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x2b8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x1adb91
leaq 0x1a6302(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
jmp 0x1adb93
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x133a0
movq %rax, -0x2d0(%rbp)
movq %rdx, -0x2c8(%rbp)
movq -0x2c8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1adc68
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x133a0
movq %rax, -0x2e0(%rbp)
movq %rdx, -0x2d8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2e0(%rbp), %rax
cmpq $0x0, %rax
je 0x1adc68
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x133a0
movq %rax, -0x2f0(%rbp)
movq %rdx, -0x2e8(%rbp)
movq -0x2f0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1adc68
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x133a0
movq %rax, -0x300(%rbp)
movq %rdx, -0x2f8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x300(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1adc6a
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x133a0
movq %rax, -0x310(%rbp)
movq %rdx, -0x308(%rbp)
movq -0x30(%rbp), %rdx
movq -0x310(%rbp), %rdi
movq -0x308(%rbp), %rsi
callq 0x431a0
movq -0x90(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x340, %rsp            # imm = 0x340
popq %rbp
retq
nopw (%rax,%rax)