// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_TagField_similar
static bool mw_mirth_data_TagField_similar (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_data_TagField* in_TagField_2, struct mirth_data_TagField* in_TagField_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	uint64_t v6;
	uint64_t v7;
	struct std_either_Either_2 v8;
	mtp_mirth_data_TagField_TagField(in_TagField_3, &v6, &v7, &v8);
	uint64_t v9;
	uint64_t v10;
	struct std_either_Either_2 v11;
	mtp_mirth_data_TagField_TagField(in_TagField_2, &v9, &v10, &v11);
	uint64_t v12 = v7;
	uint64_t v13 = v10;
	bool v14 = (v12 == v13);
	uint64_t v15 = v6;
	uint64_t v16 = v9;
	bool v17 = (v15 == v16);
	bool v18 = (v14 && v17);
	decref(MK_std_either_Either_2(v8));
	decref(MK_std_either_Either_2(v11));
	*out_zaMirth_4 = in_zaMirth_1;
	return v18;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x28(%rbp), %rsi
leaq -0x30(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x14f920
movq -0x10(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x14f920
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x70(%rbp), %rax
sete %al
andb $0x1, %al
movb %al, -0x71(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rax
cmpq -0x88(%rbp), %rax
sete %al
andb $0x1, %al
movb %al, -0x89(%rbp)
xorl %eax, %eax
testb $0x1, -0x71(%rbp)
movb %al, -0x131(%rbp)
je 0x20ad08
movb -0x89(%rbp), %al
movb %al, -0x131(%rbp)
movb -0x131(%rbp), %al
andb $0x1, %al
movb %al, -0x8a(%rbp)
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x20ae0b
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0x20ae0b
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x20ae0b
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x20ae09
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x127c0
jmp 0x20ae0b
jmp 0x20ae0d
jmp 0x20ae0f
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x20af04
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x7bae0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0x20af04
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x7bae0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x20af04
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x7bae0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x20af02
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x7bae0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x127c0
jmp 0x20af04
jmp 0x20af06
movq -0x8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movb -0x8a(%rbp), %al
andb $0x1, %al
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw %cs:(%rax,%rax)