// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_physicalzebitszy
static struct std_maybe_Maybe_1 mw_mirth_data_Tag_physicalzebitszy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_data_Tag_physicalzebitszy, in_Tag_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 std_maybe_Maybe_1 v10 = { .tag=std_maybe_Maybe_1_None };
		struct mirth_mirth_zaMirth* v11;
		mw_mirth_data_Tag_physicalzebitszyzx(in_zaMirth_1, v10, in_Tag_2, &v11);
		struct mirth_mirth_zaMirth* v12;
		struct mirth_type_ArrowType* v13 = mw_mirth_data_Tag_type(v11, in_Tag_2, &v12);
		struct mirth_type_StackType v14 = v13->mdom;
		incref(MK_mirth_type_StackType(v14));
		decref(MK_mirth_type_ArrowType(v13));
		struct mirth_mirth_zaMirth* v15;
		struct std_maybe_Maybe_1 v16 = mw_mirth_type_StackType_physicalzebitszy(v12, v14, &v15);
		incref(MK_std_maybe_Maybe_1(v16));
		mut_set(MK_std_maybe_Maybe_1(v16), v5);
		branch_Maybe_8 = v16;
		branch_zaMirth_7 = v15;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rsi
leaq 0x11945d6(%rip), %rdi   # 0x1396978
callq 0x40d30
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x45e40
andb $0x1, %al
movb %al, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
je 0x202401
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 0x2027a5
leaq -0x70(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rcx
movl -0x70(%rbp), %esi
movq -0x68(%rbp), %rdx
leaq -0x78(%rbp), %r8
callq 0x202990
movq -0x78(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x1043a0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x98(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x90(%rbp)
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6f140
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x202533
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6f140
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x202533
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6f140
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x202533
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6f140
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x202535
jmp 0x202537
movq -0x88(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x18f6bc(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x20264a
movq -0x88(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x18f687(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x20264a
movq -0x88(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x18f64c(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x20264a
movq -0x88(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x18f61b(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x202648
movq -0x88(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x18f5de(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0x127c0
jmp 0x20264a
jmp 0x20264c
movq -0x80(%rbp), %rdi
movl -0x98(%rbp), %esi
movq -0x90(%rbp), %rdx
leaq -0x130(%rbp), %rcx
callq 0x201e10
movl %eax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movl -0x140(%rbp), %edi
movq -0x138(%rbp), %rsi
callq 0x133a0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x148(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x20274b
movl -0x140(%rbp), %edi
movq -0x138(%rbp), %rsi
callq 0x133a0
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x160(%rbp), %rax
cmpq $0x0, %rax
je 0x20274b
movl -0x140(%rbp), %edi
movq -0x138(%rbp), %rsi
callq 0x133a0
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x170(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x20274b
movl -0x140(%rbp), %edi
movq -0x138(%rbp), %rsi
callq 0x133a0
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x180(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x20274d
movl -0x140(%rbp), %edi
movq -0x138(%rbp), %rsi
callq 0x133a0
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x30(%rbp), %rdx
movq -0x190(%rbp), %rdi
movq -0x188(%rbp), %rsi
callq 0x431a0
movq -0x140(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x130(%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 $0x190, %rsp            # imm = 0x190
popq %rbp
retq