// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_tycon_Tycon_zd
static bool mw_mirth_tycon_Tycon_zd (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_tycon_Tycon in_Tycon_2, struct mirth_tycon_Tycon in_Tycon_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	bool branch_Bool_7;
	switch ((in_Tycon_3).tag) {
		case mirth_tycon_Tycon_Data: {
			uint64_t v8 = mtp_mirth_tycon_Tycon_Data(in_Tycon_3);
			struct mirth_mirth_zaMirth* branch_zaMirth_9;
			bool branch_Bool_10;
			switch ((in_Tycon_2).tag) {
				case mirth_tycon_Tycon_Data: {
					uint64_t v11 = mtp_mirth_tycon_Tycon_Data(in_Tycon_2);
					uint64_t v12 = v8;
					uint64_t v13 = v11;
					bool v14 = (v12 == v13);
					branch_Bool_10 = v14;
					branch_zaMirth_9 = in_zaMirth_1;
				} break;
				default: {
					decref(MK_mirth_tycon_Tycon(in_Tycon_2));
					bool v15 = false;
					branch_Bool_10 = v15;
					branch_zaMirth_9 = in_zaMirth_1;
				} break;
			}
			branch_Bool_7 = branch_Bool_10;
			branch_zaMirth_6 = branch_zaMirth_9;
		} break;
		case mirth_tycon_Tycon_Table: {
			uint64_t v16 = mtp_mirth_tycon_Tycon_Table(in_Tycon_3);
			struct mirth_mirth_zaMirth* branch_zaMirth_17;
			bool branch_Bool_18;
			switch ((in_Tycon_2).tag) {
				case mirth_tycon_Tycon_Table: {
					uint64_t v19 = mtp_mirth_tycon_Tycon_Table(in_Tycon_2);
					uint64_t v20 = v16;
					uint64_t v21 = v19;
					bool v22 = (v20 == v21);
					branch_Bool_18 = v22;
					branch_zaMirth_17 = in_zaMirth_1;
				} break;
				default: {
					decref(MK_mirth_tycon_Tycon(in_Tycon_2));
					bool v23 = false;
					branch_Bool_18 = v23;
					branch_zaMirth_17 = in_zaMirth_1;
				} break;
			}
			branch_Bool_7 = branch_Bool_18;
			branch_zaMirth_6 = branch_zaMirth_17;
		} break;
		case mirth_tycon_Tycon_Prim: {
			enum mirth_type_PrimType v24 = mtp_mirth_tycon_Tycon_Prim(in_Tycon_3);
			struct mirth_mirth_zaMirth* branch_zaMirth_25;
			bool branch_Bool_26;
			switch ((in_Tycon_2).tag) {
				case mirth_tycon_Tycon_Prim: {
					enum mirth_type_PrimType v27 = mtp_mirth_tycon_Tycon_Prim(in_Tycon_2);
					bool v28 = mw_mirth_type_PrimType_zd(v27, v24);
					branch_Bool_26 = v28;
					branch_zaMirth_25 = in_zaMirth_1;
				} break;
				default: {
					decref(MK_mirth_tycon_Tycon(in_Tycon_2));
					bool v29 = false;
					branch_Bool_26 = v29;
					branch_zaMirth_25 = in_zaMirth_1;
				} break;
			}
			branch_Bool_7 = branch_Bool_26;
			branch_zaMirth_6 = branch_zaMirth_25;
		} 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 $0x1d0, %rsp            # imm = 0x1D0
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x1d0(%rbp)
testl %eax, %eax
je 0x59ee5
jmp 0x59ec0
movl -0x1d0(%rbp), %eax
subl $0x1, %eax
je 0x5a065
jmp 0x59ed1
movl -0x1d0(%rbp), %eax
subl $0x2, %eax
je 0x5a21c
jmp 0x5a3b2
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x5a440
movq %rax, -0x48(%rbp)
movl -0x10(%rbp), %eax
testl %eax, %eax
jne 0x59f43
jmp 0x59efe
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a440
movq %rax, -0x60(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x70(%rbp), %rax
sete %al
andb $0x1, %al
movb %al, -0x71(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movb %al, -0x51(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x5a050
jmp 0x59f45
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x5a034
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0x5a034
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x5a034
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x5a032
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x127c0
jmp 0x5a034
jmp 0x5a036
movb $0x0, -0xc9(%rbp)
movb -0xc9(%rbp), %al
andb $0x1, %al
movb %al, -0x51(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x50(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a3cb
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x5a490
movq %rax, -0xd8(%rbp)
movl -0x10(%rbp), %eax
subl $0x1, %eax
jne 0x5a0e8
jmp 0x5a082
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a490
movq %rax, -0xf0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xf8(%rbp), %rax
cmpq -0x100(%rbp), %rax
sete %al
andb $0x1, %al
movb %al, -0x101(%rbp)
movb -0x101(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0x5a201
jmp 0x5a0ea
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x110(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x5a1df
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0x5a1df
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x5a1df
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x5a1dd
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x158(%rbp), %rdi
movq -0x150(%rbp), %rsi
callq 0x127c0
jmp 0x5a1df
jmp 0x5a1e1
movb $0x0, -0x159(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xe0(%rbp)
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a3cb
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x5a4e0
movl %eax, -0x160(%rbp)
movl -0x10(%rbp), %eax
subl $0x2, %eax
jne 0x5a281
jmp 0x5a238
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a4e0
movl %eax, -0x170(%rbp)
movl -0x170(%rbp), %edi
movl -0x160(%rbp), %esi
callq 0x5a520
andb $0x1, %al
movb %al, -0x171(%rbp)
movb -0x171(%rbp), %al
andb $0x1, %al
movb %al, -0x169(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x168(%rbp)
jmp 0x5a39a
jmp 0x5a283
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x188(%rbp)
movq %rdx, -0x180(%rbp)
movq -0x180(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x5a378
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0x5a378
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x5a378
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x5a376
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59b10
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rdi
movq -0x1c0(%rbp), %rsi
callq 0x127c0
jmp 0x5a378
jmp 0x5a37a
movb $0x0, -0x1c9(%rbp)
movb -0x1c9(%rbp), %al
andb $0x1, %al
movb %al, -0x169(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x168(%rbp)
movb -0x169(%rbp), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a3cb
leaq 0x2f9ac8(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movb -0x39(%rbp), %al
andb $0x1, %al
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
nopw %cs:(%rax,%rax)