	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rdf_compare               ## -- Begin function ldns_rdf_compare
	.p2align	4, 0x90
_ldns_rdf_compare:                      ## @ldns_rdf_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
	xorl	%r15d, %r15d
	movq	%rdi, %rax
	orq	%rsi, %rax
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.2:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.3:
	movq	%rbx, %rdi
	callq	_ldns_rdf_size
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_ldns_rdf_size
	cmpq	%rax, %r14
	jge	LBB0_7
LBB0_14:
	movl	$-1, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	jle	LBB0_9
LBB0_8:
	movl	$1, %r15d
	jmp	LBB0_15
LBB0_9:
	movq	%rbx, %rdi
	callq	_ldns_rdf_data
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_ldns_rdf_data
	testq	%r14, %r14
	jle	LBB0_15
## %bb.10:
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rdx
	cmpq	%rdx, (%r12,%rcx,8)
	jl	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	jg	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rcx
	cmpq	%rcx, %r14
	jne	LBB0_11
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rdf_compare               ; -- Begin function ldns_rdf_compare
	.p2align	2
_ldns_rdf_compare:                      ; @ldns_rdf_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
	orr	x8, x0, x1
	cbz	x8, LBB0_12
; %bb.1:
	mov	x20, x0
	mov	w0, #-1
	cbz	x20, LBB0_13
; %bb.2:
	mov	x21, x1
	cbz	x1, LBB0_13
; %bb.3:
	mov	x0, x20
	bl	_ldns_rdf_size
	mov	x19, x0
	mov	x0, x21
	bl	_ldns_rdf_size
	cmp	x19, x0
	b.ge	LBB0_5
LBB0_4:
	mov	w0, #-1
	b	LBB0_13
LBB0_5:
	b.le	LBB0_7
LBB0_6:
	mov	w0, #1
	b	LBB0_13
LBB0_7:
	mov	x0, x20
	bl	_ldns_rdf_data
	mov	x20, x0
	mov	x0, x21
	bl	_ldns_rdf_data
	cmp	x19, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x8, x0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	ldr	x10, [x8]
	cmp	x9, x10
	b.lt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	b.gt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #0
	add	x8, x8, #8
	add	x20, x20, #8
	subs	x19, x19, #1
	b.ne	LBB0_9
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
