	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_nsec_covers_name          ## -- Begin function ldns_nsec_covers_name
	.p2align	4, 0x90
_ldns_nsec_covers_name:                 ## @ldns_nsec_covers_name
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ldns_rr_owner
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_rdf
	movq	%rax, %rdi
	callq	_ldns_rdf_clone
	movq	%rax, %r12
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_ldns_nsec3_next_owner
	movq	%rax, %rdi
	callq	_ldns_rdf2str
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ldns_dname_new_frm_str
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	movq	%r15, %rdi
	callq	_ldns_dname_left_chop
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_ldns_dname_cat
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_ldns_rdf_deep_free
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_7
## %bb.6:
	movl	%r13d, %edi
	callq	_ldns_get_errorstr_by_id
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ldns_dname_compare
	testq	%rax, %rax
	jle	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ldns_dname_compare
	testq	%rax, %rax
	jle	LBB0_9
LBB0_12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ldns_dname_compare
	movq	%rax, %r13
	shrq	$63, %r13
	jmp	LBB0_13
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_10:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ldns_dname_compare
	movl	$1, %r13d
	testq	%rax, %rax
	jns	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ldns_dname_compare
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jg	LBB0_13
	jmp	LBB0_12
LBB0_9:
	movl	$1, %r13d
LBB0_13:
	movq	%r12, %rdi
	callq	_ldns_rdf_deep_free
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ## @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error catting: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_nsec_covers_name          ; -- Begin function ldns_nsec_covers_name
	.p2align	2
_ldns_nsec_covers_name:                 ; @ldns_nsec_covers_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_ldns_rr_owner
	mov	x20, x0
	mov	x0, x21
	bl	_ldns_rr_get_type
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_15
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	bl	_ldns_rr_rdf
	bl	_ldns_rdf_clone
	mov	x21, x0
	b	LBB0_6
LBB0_3:
	mov	x0, x21
	bl	_ldns_rr_get_type
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x21
	bl	_ldns_nsec3_next_owner
	bl	_ldns_rdf2str
	mov	x22, x0
	bl	_ldns_dname_new_frm_str
	mov	x21, x0
	mov	x0, x22
	bl	_LDNS_FREE
	mov	x0, x20
	bl	_ldns_dname_left_chop
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_ldns_dname_cat
	mov	x22, x0
	mov	x0, x23
	bl	_ldns_rdf_deep_free
Lloh6:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_ldns_get_errorstr_by_id
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_ldns_dname_compare
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_ldns_dname_compare
	cmp	x0, #1
	b.lt	LBB0_12
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_ldns_dname_compare
	lsr	x19, x0, #63
	b	LBB0_13
LBB0_9:
	mov	x21, #0
LBB0_10:
	mov	w19, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_ldns_dname_compare
	tbnz	x0, #63, LBB0_16
LBB0_12:
	mov	w19, #1
LBB0_13:
	mov	x0, x21
	bl	_ldns_rdf_deep_free
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w19, #0
	b	LBB0_14
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_ldns_dname_compare
	cmp	x0, #0
	b.gt	LBB0_10
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ; @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error catting: %s\n"

.subsections_via_symbols
