	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_pkt_compare              ## -- Begin function dname_pkt_compare
	.p2align	4, 0x90
_dname_pkt_compare:                     ## @dname_pkt_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	testq	%rdx, %rdx
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_log_assert
	movq	%r15, %rdx
	movq	(%r15), %r12
	movq	(%rbx), %r13
	testq	%r12, %r12
	setne	%r15b
	xorl	%eax, %eax
	movq	%r12, %rcx
	orq	%r13, %rcx
	je	LBB0_19
## %bb.1:
	addq	$8, %rbx
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_LABEL_IS_PTR
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r13, %rdi
	callq	_LABEL_IS_PTR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_PTR_OFFSET
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sldns_buffer_at
	movq	%rax, %rbx
	movq	(%rax), %r13
	addq	$8, %rbx
	testq	%r13, %r13
	setne	%al
	orb	%r15b, %al
	testb	$1, %al
	jne	LBB0_3
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_PTR_OFFSET
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sldns_buffer_at
	movq	%rax, %rdx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_LDNS_MAX_LABELLEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	setle	%dil
	callq	_log_assert
	xorl	%edi, %edi
	movq	_LDNS_MAX_LABELLEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	setle	%dil
	callq	_log_assert
	cmpq	%r13, %r12
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %edi
	andl	$1, %edi
	callq	_log_assert
	testq	%r12, %r12
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdx,%r15,8), %edi
	callq	_tolower
	movq	%rax, %r13
	movzbl	(%rbx,%r15,8), %edi
	callq	_tolower
	cmpq	%rax, %r13
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r15
	addq	$-8, %r14
	cmpq	%r15, %r12
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	%r14, %rbx
	subq	%r14, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r13
	addq	$8, %rbx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %r12
	testq	%r12, %r12
	setne	%r15b
	movq	%r12, %rax
	orq	%r13, %rax
	jne	LBB0_2
LBB0_17:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movzbl	8(%rax,%r15,8), %edi
	callq	_tolower
	movq	%rax, %r14
	movzbl	(%rbx,%r15,8), %edi
	callq	_tolower
	xorl	%ecx, %ecx
	cmpq	%rax, %r14
	setge	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_LABELLEN,8,3          ## @LDNS_MAX_LABELLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_pkt_compare              ; -- Begin function dname_pkt_compare
	.p2align	2
_dname_pkt_compare:                     ; @dname_pkt_compare
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x2, #0, #4, ne
	cset	w0, ne
	bl	_log_assert
	ldr	x22, [x20]
	ldr	x23, [x21]
	cmp	x22, #0
	cset	w25, ne
	orr	x8, x22, x23
	cbz	x8, LBB0_13
; %bb.1:
	add	x21, x21, #8
Lloh0:
	adrp	x24, _LDNS_MAX_LABELLEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LDNS_MAX_LABELLEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	add	x20, x20, #8
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_LABEL_IS_PTR
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x0, x23
	bl	_LABEL_IS_PTR
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x1, [x21]
	mov	x0, x23
	bl	_PTR_OFFSET
	mov	x1, x0
	mov	x0, x19
	bl	_sldns_buffer_at
	mov	x21, x0
	ldr	x23, [x21], #8
	cmp	x23, #0
	cset	w8, ne
	orr	w8, w25, w8
	tbnz	w8, #0, LBB0_3
	b	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x20]
	mov	x0, x22
	bl	_PTR_OFFSET
	mov	x1, x0
	mov	x0, x19
	bl	_sldns_buffer_at
	mov	x20, x0
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	cmp	x22, x8
	cset	w0, le
	bl	_log_assert
	ldr	x8, [x24]
	cmp	x23, x8
	cset	w0, le
	bl	_log_assert
	cmp	x22, x23
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w0, w25, #0x1
	bl	_log_assert
	cbz	x22, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x20]
	bl	_tolower
	mov	x23, x0
	ldrb	w0, [x21]
	bl	_tolower
	cmp	x23, x0
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x20, x20, #8
	add	x21, x21, #8
	subs	x22, x22, #1
	b.ne	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [x21], #8
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x20]
	cmp	x22, #0
	cset	w25, ne
	orr	x8, x22, x23
	cbnz	x8, LBB0_2
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldrb	w0, [x20]
	bl	_tolower
	mov	x19, x0
	ldrb	w0, [x21]
	bl	_tolower
	cmp	x19, x0
LBB0_16:
	mov	w8, #-1
	cneg	w0, w8, ge
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_LABELLEN,8,3          ; @LDNS_MAX_LABELLEN
.subsections_via_symbols
