	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_dp_is_useless             ## -- Begin function iter_dp_is_useless
	.p2align	4, 0x90
_iter_dp_is_useless:                    ## @iter_dp_is_useless
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BIT_RD@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rdx, %r14
	cmpq	$0, 24(%rdx)
	jne	LBB0_11
## %bb.2:
	cmpq	$0, 16(%r14)
	je	LBB0_3
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_5:
	movl	12(%rbx), %edi
	movl	(%r14), %esi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_delegpt_find_ns
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_12
LBB0_7:
	movq	8(%r14), %rbx
	movl	$1, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbx), %rbx
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_dp_is_useless             ; -- Begin function iter_dp_is_useless
	.p2align	2
_iter_dp_is_useless:                    ; @iter_dp_is_useless
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _BIT_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIT_RD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x2
	ldr	x8, [x2, #24]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x20, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _LDNS_RR_TYPE_A@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x20, #12]
	ldr	w1, [x19]
	bl	_dname_subdomain_c
	cbz	x0, LBB0_8
; %bb.7:
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_delegpt_find_ns
	cbnz	x0, LBB0_9
LBB0_8:
	ldr	x20, [x19, #8]
	cbnz	x20, LBB0_11
LBB0_9:
	mov	w0, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_dname_subdomain_c
	cbnz	x0, LBB0_10
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
.subsections_via_symbols
