	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hints_apply_cfg                ## -- Begin function hints_apply_cfg
	.p2align	4, 0x90
_hints_apply_cfg:                       ## @hints_apply_cfg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_hints_del_tree
	movq	%rbx, %rdi
	callq	_name_tree_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_read_root_hints_list
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_read_stubs
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_hints_lookup_root
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_name_tree_init_parents
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_compile_time_root_prime
	movq	%rax, %r15
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	movl	(%r12), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_hints_insert
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no config, using builtin root hints."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hints_apply_cfg                ; -- Begin function hints_apply_cfg
	.p2align	2
_hints_apply_cfg:                       ; @hints_apply_cfg
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_hints_del_tree
	mov	x0, x19
	bl	_name_tree_init
	mov	x0, x19
	mov	x1, x20
	bl	_read_root_hints_list
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_read_stubs
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x21, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_hints_lookup_root
	cbz	w0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_name_tree_init_parents
	mov	w0, #1
LBB0_4:
	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
LBB0_5:
	ldp	w1, w0, [x20]
	bl	_compile_time_root_prime
	mov	x20, x0
Lloh2:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_hints_insert
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_7:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no config, using builtin root hints."

.subsections_via_symbols
