	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_canonical_equal          ## -- Begin function rrset_canonical_equal
	.p2align	4, 0x90
_rrset_canonical_equal:                 ## @rrset_canonical_equal
	.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
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	64(%rsi), %rax
	xorl	%r13d, %r13d
	cmpq	64(%rdx), %rax
	jne	LBB0_25
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	72(%rsi), %rax
	cmpq	72(%rdx), %rax
	jne	LBB0_25
## %bb.2:
	movq	80(%rbx), %rax
	cmpq	80(%r12), %rax
	jne	LBB0_25
## %bb.3:
	movq	88(%rbx), %rax
	cmpq	88(%r12), %rax
	jne	LBB0_25
## %bb.4:
	movq	%rdi, %r14
	movq	56(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	56(%r12), %r15
	movl	96(%rbx), %edi
	movl	96(%r12), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_25
## %bb.5:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_25
## %bb.6:
	movq	%r15, %rdx
	movl	8(%rcx), %eax
	cmpl	8(%r15), %eax
	jne	LBB0_25
## %bb.7:
	movq	16(%rcx), %rax
	cmpq	16(%rdx), %rax
	jne	LBB0_25
## %bb.8:
	movq	24(%rcx), %rax
	cmpq	24(%rdx), %rax
	jne	LBB0_25
## %bb.9:
	movq	32(%rcx), %rax
	cmpq	32(%rdx), %rax
	jne	LBB0_25
## %bb.10:
	movq	%rdx, %r15
	leaq	-320(%rbp), %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	leaq	-216(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	movq	%r13, -264(%rbp)
	movl	$2, -208(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -176(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -168(%rbp)
	movq	_canonical_tree_compare@GOTPCREL(%rip), %r13
	leaq	-104(%rbp), %rdi
	movq	%r13, %rsi
	callq	_rbtree_init
	leaq	-96(%rbp), %rdi
	movq	%r13, %rsi
	callq	_rbtree_init
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jg	LBB0_24
## %bb.12:
	cmpl	%eax, 8(%r15)
	jg	LBB0_24
## %bb.14:
	movq	%r15, %r13
	shll	$4, %esi
	movq	%r14, %rdi
	callq	_regional_alloc
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	8(%r15), %esi
	shll	$4, %esi
	movq	%r14, %rdi
	callq	_regional_alloc
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.15:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_24
## %bb.16:
	leaq	-104(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_canonical_sort
	leaq	-96(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_canonical_sort
	movq	-104(%rbp), %rax
	xorl	%r13d, %r13d
	cmpq	-96(%rbp), %rax
	jne	LBB0_25
## %bb.17:
	leaq	-104(%rbp), %rdi
	callq	_rbtree_first
	movq	%rax, %r14
	leaq	-96(%rbp), %rdi
	callq	_rbtree_first
	movq	%rax, %rbx
	movq	_RBTREE_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, %r13d
	cmpq	%rax, %r14
	je	LBB0_25
## %bb.18:
	cmpq	%rax, %rbx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_25
## %bb.19:
	leaq	-320(%rbp), %r12
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%rdx), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)
	movq	40(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -56(%rbp)
	movq	48(%rdx), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -80(%rbp)
	movq	48(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -72(%rbp)
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_canonical_compare
	testq	%rax, %rax
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_rbtree_next
	movq	%rax, %r14
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_rbtree_next
	movq	%rax, %rbx
	movq	_RBTREE_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, %r13d
	cmpq	%rax, %r14
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	%rax, %rbx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_20
	jmp	LBB0_25
LBB0_24:
	movl	$1, %r13d
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%r13d, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_canonical_tree_compare,4,2     ## @canonical_tree_compare
	.comm	_RR_COUNT_MAX,4,2               ## @RR_COUNT_MAX
	.comm	_RBTREE_NULL,8,3                ## @RBTREE_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_canonical_equal          ; -- Begin function rrset_canonical_equal
	.p2align	2
_rrset_canonical_equal:                 ; @rrset_canonical_equal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x1, #64]
	ldr	x9, [x2, #64]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x1, #72]
	ldr	x9, [x2, #72]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.2:
	ldr	x8, [x22, #80]
	ldr	x9, [x21, #80]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.3:
	ldr	x8, [x22, #88]
	ldr	x9, [x21, #88]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.4:
	mov	x23, x0
	ldr	x19, [x22, #56]
	ldr	x20, [x21, #56]
	ldr	w0, [x22, #96]
	ldr	w1, [x21, #96]
	bl	_query_dname_compare
	cbnz	x0, LBB0_20
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.6:
	ldr	w8, [x19, #8]
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.7:
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.8:
	ldr	x8, [x19, #24]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.9:
	ldr	x8, [x19, #32]
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.10:
	add	x0, sp, #112
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	add	x24, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	str	x24, [sp, #168]
	mov	w8, #2
	str	w8, [sp, #16]
	sub	x8, x29, #88
	sub	x9, x29, #104
	stp	x8, x9, [sp, #48]
Lloh3:
	adrp	x24, _canonical_tree_compare@GOTPAGE
Lloh4:
	ldr	x24, [x24, _canonical_tree_compare@GOTPAGEOFF]
	sub	x0, x29, #112
	mov	x1, x24
	bl	_rbtree_init
	sub	x0, x29, #120
	mov	x1, x24
	bl	_rbtree_init
	ldr	w8, [x19, #8]
Lloh5:
	adrp	x9, _RR_COUNT_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_12
; %bb.11:
	ldr	w10, [x20, #8]
	cmp	w10, w9
	b.le	LBB0_13
LBB0_12:
	mov	w0, #1
	b	LBB0_21
LBB0_13:
	lsl	w1, w8, #4
	mov	x0, x23
	bl	_regional_alloc
	mov	x24, x0
	ldr	w8, [x20, #8]
	lsl	w1, w8, #4
	mov	x0, x23
	bl	_regional_alloc
	mov	x23, x0
	mov	w0, #1
	cbz	x24, LBB0_21
; %bb.14:
	cbz	x23, LBB0_21
; %bb.15:
	sub	x2, x29, #112
	mov	x0, x22
	mov	x1, x19
	mov	x3, x24
	bl	_canonical_sort
	sub	x2, x29, #120
	mov	x0, x21
	mov	x1, x20
	mov	x3, x23
	bl	_canonical_sort
	ldp	x9, x8, [x29, #-120]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.16:
	sub	x0, x29, #112
	bl	_rbtree_first
	mov	x21, x0
	sub	x0, x29, #120
	bl	_rbtree_first
	mov	x22, x0
Lloh8:
	adrp	x23, _RBTREE_NULL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _RBTREE_NULL@GOTPAGEOFF]
	ldr	x8, [x23]
	mov	w0, #1
	cmp	x21, x8
	b.eq	LBB0_21
; %bb.17:
	cmp	x22, x8
	b.eq	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldp	x9, x10, [x19, #40]
	ldr	x8, [x9, x8, lsl #3]
	stur	x8, [x29, #-88]
	ldr	x8, [x22]
	ldp	x9, x11, [x20, #40]
	ldr	x8, [x9, x8, lsl #3]
	stur	x8, [x29, #-80]
	ldr	x8, [x21]
	ldr	x8, [x10, x8, lsl #3]
	stur	x8, [x29, #-104]
	ldr	x8, [x22]
	ldr	x8, [x11, x8, lsl #3]
	stur	x8, [x29, #-96]
	add	x0, sp, #112
	mov	w1, #0
	mov	w2, #1
	bl	_canonical_compare
	cbnz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x0, x21, #8
	bl	_rbtree_next
	mov	x21, x0
	add	x0, x22, #8
	bl	_rbtree_next
	mov	x22, x0
	ldr	x8, [x23]
	mov	w0, #1
	cmp	x21, x8
	ccmp	x22, x8, #4, ne
	b.ne	LBB0_18
	b	LBB0_21
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_canonical_tree_compare,4,2     ; @canonical_tree_compare
	.comm	_RR_COUNT_MAX,4,2               ; @RR_COUNT_MAX
	.comm	_RBTREE_NULL,8,3                ; @RBTREE_NULL
.subsections_via_symbols
