// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_iszephysicalzy
static bool mw_mirth_type_Type_iszephysicalzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	bool branch_Bool_6;
	switch ((in_Type_2).tag) {
		case mirth_type_Type_Meta: {
			uint64_t v7 = mtp_mirth_type_Type_Meta(in_Type_2);
			struct mirth_mirth_zaMirth* v8;
			struct std_maybe_Maybe_1 v9 = mw_mirth_type_MetaVar_typezy(in_zaMirth_1, v7, &v8);
			struct mirth_mirth_zaMirth* branch_zaMirth_10;
			bool branch_Bool_11;
			switch ((v9).tag) {
				case std_maybe_Maybe_1_None: {
					STR* v12;
					STRLIT(v12, "[bug] unbound meta at Type.is-physical?", 39);
					do_panic(v12);
				} break;
				case std_maybe_Maybe_1_Some: {
					VAL v15 = mtp_std_maybe_Maybe_1_Some(v9);
					struct mirth_mirth_zaMirth* v16;
					struct mirth_type_Type v17 = mw_mirth_type_Type_expand(v8, V_mirth_type_Type(v15), &v16);
					incref(MK_mirth_type_Type(v17));
					struct std_maybe_Maybe_1 v18 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_Type(v17));
					struct mirth_mirth_zaMirth* v19;
					mw_mirth_type_MetaVar_typezyzx(v16, v18, v7, &v19);
					struct mirth_mirth_zaMirth* v20;
					bool v21 = mw_mirth_type_Type_iszephysicalzy(v19, v17, &v20);
					branch_Bool_11 = v21;
					branch_zaMirth_10 = v20;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			branch_Bool_6 = branch_Bool_11;
			branch_zaMirth_5 = branch_zaMirth_10;
		} break;
		case mirth_type_Type_Prim: {
			enum mirth_type_PrimType v22 = mtp_mirth_type_Type_Prim(in_Type_2);
			bool v23 = mw_mirth_type_PrimType_iszephysicalzy(v22);
			branch_Bool_6 = v23;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		default: {
			struct mirth_mirth_zaMirth* v24;
			struct std_maybe_Maybe_1 v25 = mw_mirth_type_Type_physicalzebitszy(in_zaMirth_1, in_Type_2, &v24);
			bool v26 = mw_std_maybe_Maybe_1_has_1_sp1(v25);
			bool v27 = !v26;
			branch_Bool_6 = v27;
			branch_zaMirth_5 = v24;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Bool_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x180(%rbp)
subl $0x2, %eax
je 0x1ff71f
jmp 0x1ff39e
movl -0x180(%rbp), %eax
subl $0x3, %eax
jne 0x1ff759
jmp 0x1ff3af
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x870e0
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
movq -0x38(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x87130
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x184(%rbp)
testl %eax, %eax
je 0x1ff3fa
jmp 0x1ff3e6
movl -0x184(%rbp), %eax
subl $0x1, %eax
je 0x1ff504
jmp 0x1ff6f1
jmp 0x1ff3fc
cmpq $0x0, 0x119755c(%rip)   # 0x1396960
jne 0x1ff41e
leaq 0x15d6d6(%rip), %rdi    # 0x35cae3
movl $0x27, %esi
callq 0xb6c0
movq %rax, 0x1197542(%rip)   # 0x1396960
jmp 0x1ff420
movq 0x1197539(%rip), %rax   # 0x1396960
movq %rax, -0x78(%rbp)
leaq 0x191d26(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ff4e9
movq 0x119750d(%rip), %rax   # 0x1396960
movq %rax, -0x88(%rbp)
leaq 0x191cf7(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
cmpq $0x0, %rax
je 0x1ff4e9
movq 0x11974d9(%rip), %rax   # 0x1396960
movq %rax, -0x98(%rbp)
leaq 0x191cc3(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ff4e9
movq 0x11974a8(%rip), %rax   # 0x1396960
movq %rax, -0xa8(%rbp)
leaq 0x191c92(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ff4eb
movq 0x119746e(%rip), %rax   # 0x1396960
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc620
jmp 0x1ff70a
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x174a0
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x6f100
movq -0x190(%rbp), %rdi
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movl -0xe0(%rbp), %esi
movq -0xd8(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
callq 0x872e0
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x6e780
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ff64b
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0x1ff64b
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ff64b
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ff64d
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0xca10
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0xc0(%rbp), %rdi
movq -0x38(%rbp), %rcx
movl -0x130(%rbp), %esi
movq -0x128(%rbp), %rdx
leaq -0x148(%rbp), %r8
callq 0x87380
movq -0x148(%rbp), %rdi
movl -0xd0(%rbp), %esi
movq -0xc8(%rbp), %rdx
leaq -0x150(%rbp), %rcx
callq 0x1ff370
andb $0x1, %al
movb %al, -0x151(%rbp)
movb -0x151(%rbp), %al
andb $0x1, %al
movb %al, -0x59(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0x1ff70a
leaq 0x154789(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x59(%rbp), %al
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x1ff7bd
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87010
movl %eax, -0x158(%rbp)
movl -0x158(%rbp), %edi
callq 0x1ff7e0
andb $0x1, %al
movb %al, -0x159(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x1ff7bd
movq -0x18(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x168(%rbp), %rcx
callq 0x1ff860
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x2002e0
andb $0x1, %al
movb %al, -0x179(%rbp)
movb -0x179(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x17a(%rbp)
movb -0x17a(%rbp), %al
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movb -0x29(%rbp), %al
andb $0x1, %al
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopw %cs:(%rax,%rax)