// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_haszevarzy
static bool mw_mirth_type_Type_haszevarzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Var_2, struct mirth_type_Type in_Type_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	bool branch_Bool_7;
	switch ((in_Type_3).tag) {
		case mirth_type_Type_Error: {
			bool v8 = true;
			branch_Bool_7 = v8;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Ignore: {
			bool v9 = true;
			branch_Bool_7 = v9;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Var: {
			uint64_t v10 = mtp_mirth_type_Type_Var(in_Type_3);
			uint64_t v11 = v10;
			uint64_t v12 = in_Var_2;
			bool v13 = (v11 == v12);
			branch_Bool_7 = v13;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Meta: {
			uint64_t v14 = mtp_mirth_type_Type_Meta(in_Type_3);
			struct mirth_mirth_zaMirth* v15;
			bool v16 = mw_mirth_type_MetaVar_haszevarzy(in_zaMirth_1, in_Var_2, v14, &v15);
			branch_Bool_7 = v16;
			branch_zaMirth_6 = v15;
		} break;
		case mirth_type_Type_Prim: {
			enum mirth_type_PrimType v17 = mtp_mirth_type_Type_Prim(in_Type_3);
			bool v18 = false;
			branch_Bool_7 = v18;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Hole: {
			uint64_t v19 = mtp_mirth_type_Type_Hole(in_Type_3);
			bool v20 = false;
			branch_Bool_7 = v20;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Stack: {
			struct mirth_type_StackType v21 = mtp_mirth_type_Type_Stack(in_Type_3);
			struct mirth_mirth_zaMirth* v22;
			bool v23 = mw_mirth_type_StackType_haszevarzy(in_zaMirth_1, in_Var_2, v21, &v22);
			branch_Bool_7 = v23;
			branch_zaMirth_6 = v22;
		} break;
		case mirth_type_Type_Arrow: {
			struct mirth_type_ArrowType* v24 = mtp_mirth_type_Type_Arrow(in_Type_3);
			struct mirth_mirth_zaMirth* v25;
			bool v26 = mw_mirth_type_ArrowType_haszevarzy(in_zaMirth_1, in_Var_2, v24, &v25);
			branch_Bool_7 = v26;
			branch_zaMirth_6 = v25;
		} break;
		case mirth_type_Type_App: {
			struct mirth_type_Type v27;
			struct mirth_type_Type v28 = mtp_mirth_type_Type_App(in_Type_3, &v27);
			struct mirth_mirth_zaMirth* v29;
			bool v30 = mw_mirth_type_Type_haszevar2zy(in_zaMirth_1, in_Var_2, v28, v27, &v29);
			branch_Bool_7 = v30;
			branch_zaMirth_6 = v29;
		} break;
		case mirth_type_Type_Data: {
			uint64_t v31 = mtp_mirth_type_Type_Data(in_Type_3);
			bool v32 = false;
			branch_Bool_7 = v32;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_DataPartial: {
			struct mirth_data_DataPartial* v33 = mtp_mirth_type_Type_DataPartial(in_Type_3);
			decref(MK_mirth_data_DataPartial(v33));
			bool v34 = false;
			branch_Bool_7 = v34;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Table: {
			uint64_t v35 = mtp_mirth_type_Type_Table(in_Type_3);
			bool v36 = false;
			branch_Bool_7 = v36;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Value: {
			struct mirth_type_Value v37 = mtp_mirth_type_Type_Value(in_Type_3);
			struct mirth_mirth_zaMirth* v38;
			bool v39 = mw_mirth_type_Value_haszevarzy(in_zaMirth_1, in_Var_2, v37, &v38);
			branch_Bool_7 = v39;
			branch_zaMirth_6 = v38;
		} break;
		case mirth_type_Type_Mut: {
			struct mirth_type_Type v40 = mtp_mirth_type_Type_Mut(in_Type_3);
			struct mirth_mirth_zaMirth* v41;
			bool v42 = mw_mirth_type_Type_haszevarzy(in_zaMirth_1, in_Var_2, v40, &v41);
			branch_Bool_7 = v42;
			branch_zaMirth_6 = v41;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_4 = branch_zaMirth_6;
	return branch_Bool_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0x1b8(%rbp)
subq $0xd, %rax
ja 0x287449
movq -0x1b8(%rbp), %rax
leaq 0xcc5d0(%rip), %rcx     # 0x353580
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x1, -0x32(%rbp)
movb -0x32(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movb $0x1, -0x33(%rbp)
movb -0x33(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87440
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rax
cmpq -0x50(%rbp), %rax
sete %al
andb $0x1, %al
movb %al, -0x51(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x870e0
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x60(%rbp), %rdx
leaq -0x68(%rbp), %rcx
callq 0x287480
andb $0x1, %al
movb %al, -0x69(%rbp)
movb -0x69(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87010
movl %eax, -0x70(%rbp)
movb $0x0, -0x71(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x873f0
movq %rax, -0x80(%rbp)
movb $0x0, -0x81(%rbp)
movb -0x81(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87730
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x98(%rbp), %edx
movq -0x90(%rbp), %rcx
leaq -0xa0(%rbp), %r8
callq 0x287590
andb $0x1, %al
movb %al, -0xa1(%rbp)
movb -0xa1(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87630
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0xb8(%rbp), %rcx
callq 0x287eb0
andb $0x1, %al
movb %al, -0xb9(%rbp)
movb -0xb9(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x87830
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0xe0(%rbp), %edx
movq -0xd8(%rbp), %rcx
movl -0xd0(%rbp), %r8d
movq -0xc8(%rbp), %r9
leaq -0xe8(%rbp), %rax
movq %rax, (%rsp)
callq 0x288060
andb $0x1, %al
movb %al, -0xe9(%rbp)
movb -0xe9(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x874e0
movq %rax, -0xf8(%rbp)
movb $0x0, -0xf9(%rbp)
movb -0xf9(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87530
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x10a97c(%rip), %rax    # 0x391bc0
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x287342
movq -0x108(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x10a947(%rip), %rax    # 0x391bc0
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0x287342
movq -0x108(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x10a90c(%rip), %rax    # 0x391bc0
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x287342
movq -0x108(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x10a8db(%rip), %rax    # 0x391bc0
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x287340
movq -0x108(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x10a89e(%rip), %rax    # 0x391bc0
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x158(%rbp), %rdi
movq -0x150(%rbp), %rsi
callq 0x127c0
jmp 0x287342
jmp 0x287344
movb $0x0, -0x159(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87490
movq %rax, -0x168(%rbp)
movb $0x0, -0x169(%rbp)
movb -0x169(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87b00
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x180(%rbp), %edx
movq -0x178(%rbp), %rcx
leaq -0x188(%rbp), %r8
callq 0x288200
andb $0x1, %al
movb %al, -0x189(%rbp)
movb -0x189(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x87a00
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x1a0(%rbp), %edx
movq -0x198(%rbp), %rcx
leaq -0x1a8(%rbp), %r8
callq 0x286f70
andb $0x1, %al
movb %al, -0x1a9(%rbp)
movb -0x1a9(%rbp), %al
andb $0x1, %al
movb %al, -0x31(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x287462
leaq 0xcca31(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x30(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movb -0x31(%rbp), %al
andb $0x1, %al
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
nopl (%rax,%rax)