	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta_compare
_ta_compare:                            ## @ta_compare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r12d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	movq	%rcx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_type
	cmpq	%r13, %rax
	jne	LBB0_3
## %bb.4:
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_5
## %bb.8:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdata
	movl	%eax, %r12d
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdatalen
	movl	%r12d, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dnskey_compare_skip_revbit     ## TAILCALL
LBB0_3:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_type
	movq	%rax, %r12
	subl	%r13d, %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_7
## %bb.6:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdatalen
	cmpq	%r14, %rax
	jne	LBB0_7
## %bb.9:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdata
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcmp                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ## @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.no_dead_strip	_ta_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ta_compare
_ta_compare:                            ; @ta_compare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	mov	w0, #-1
	cbz	x21, LBB0_10
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_10
; %bb.2:
	mov	x19, x3
	mov	x22, x1
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_type
	cmp	x0, x22
	b.ne	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_6
; %bb.4:
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_rdata
	mov	x22, x0
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_rdatalen
	mov	x1, x0
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dnskey_compare_skip_revbit
LBB0_5:
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_type
	sub	w0, w0, w22
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_9
; %bb.7:
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_rdatalen
	cmp	x0, x19
	b.ne	LBB0_9
; %bb.8:
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	bl	_sldns_wirerr_get_rdata
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memcmp
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ; @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.no_dead_strip	_ta_compare
.subsections_via_symbols
