	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_root_hints
_read_root_hints:                       ## @read_root_hints
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_RR_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rax, %r12
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_delegpt_create_mlc
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:
	movq	%rax, %r15
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_verbose
	leaq	-200(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, -200(%rbp)
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movl	$1, (%r15)
	movq	-136(%rbp), %r15                ## 8-byte Reload
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	leaq	-112(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	movq	%r14, %r8
	callq	_sldns_fp2wire_rr_buf
	testl	%eax, %eax
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-112(%rbp), %rsi
	testq	%rsi, %rsi
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_type
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_type
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_rdatalen
	movq	_INET_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, -72(%rbp)
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_rdata
	movq	_INET_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leaq	-76(%rbp), %rdi
	movl	%eax, %esi
	callq	_memmove
	movq	-104(%rbp), %rdx
	subq	$8, %rsp
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	leaq	-96(%rbp), %rcx
	movl	$40, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_delegpt_add_target_mlc
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_33
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_type
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_rdatalen
	movq	_INET6_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=2
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, -88(%rbp)
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_rdata
	movq	_INET6_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leaq	-92(%rbp), %rdi
	movl	%eax, %esi
	callq	_memmove
	movq	-104(%rbp), %rdx
	subq	$8, %rsp
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	leaq	-96(%rbp), %rcx
	movl	$40, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_delegpt_add_target_mlc
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_33
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_4
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_type
	movq	%rax, %rdi
	leaq	-96(%rbp), %rsi
	movl	$17, %edx
	callq	_sldns_wire2str_type_buf
	movl	-200(%rbp), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	leaq	-96(%rbp), %rcx
	xorl	%eax, %eax
	callq	_log_warn
	jmp	LBB0_4
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sldns_wirerr_get_rdata
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_delegpt_add_ns_mlc
	testl	%eax, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_34
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_sldns_wirerr_get_class
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	cmpl	$0, 4(%r15)
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_delegpt_set_name_mlc
	testl	%eax, %eax
	jne	LBB0_3
## %bb.20:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_35
LBB0_21:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_30
LBB0_22:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_err
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_30
LBB0_23:
	movq	%r12, %rdi
	callq	_fclose
	movq	-128(%rbp), %r15                ## 8-byte Reload
	cmpl	$0, 4(%r15)
	je	LBB0_29
## %bb.24:
	xorl	%r14d, %r14d
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movl	-140(%rbp), %esi                ## 4-byte Reload
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_hints_insert
	testl	%eax, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_31
## %bb.25:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_delegpt_log
	movl	$1, %r14d
	jmp	LBB0_31
LBB0_26:
	movl	%eax, %r15d
	movl	-200(%rbp), %r14d
	movl	%eax, %edi
	callq	_LDNS_WIREPARSE_OFFSET
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_sldns_get_errorstr_parse
	leaq	L_.str.4(%rip), %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_log_err
LBB0_27:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_28:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_delegpt_free_mlc
	movq	%r12, %rdi
	callq	_fclose
	xorl	%r14d, %r14d
	jmp	LBB0_31
LBB0_29:
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_warn
	movq	%r15, %rdi
	callq	_delegpt_free_mlc
	movl	$1, %r14d
LBB0_30:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_31:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.32:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_27
LBB0_34:
	leaq	L_.str.2(%rip), %rdi
LBB0_35:
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_28
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ## @LDNS_RR_BUF_SIZE
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"could not read root hints %s: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"out of memory reading root hints"

	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.3:                               ## @.str.3
	.asciz	"Reading root hints from %s"

L_.str.4:                               ## @.str.4
	.asciz	"reading root hints %s %d:%d: %s"

	.comm	_LDNS_RR_TYPE_NS,8,3            ## @LDNS_RR_TYPE_NS
L_.str.5:                               ## @.str.5
	.asciz	"out of memory."

	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
	.comm	_INET_SIZE,8,3                  ## @INET_SIZE
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_UNBOUND_DNS_PORT,4,2           ## @UNBOUND_DNS_PORT
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
	.comm	_INET6_SIZE,8,3                 ## @INET6_SIZE
	.comm	_AF_INET6,4,2                   ## @AF_INET6
L_.str.6:                               ## @.str.6
	.asciz	"root hints %s:%d skipping type %s"

L_.str.7:                               ## @.str.7
	.asciz	"root hints %s: no NS content"

	.no_dead_strip	_read_root_hints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_root_hints
_read_root_hints:                       ; @read_root_hints
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #144
	mov	x20, x1
	mov	x25, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _LDNS_RR_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x23, x8, #2
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x7fffffff0
	sub	x24, x8, x9
	mov	sp, x24
Lloh8:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh10:
	ldr	w26, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_19
; %bb.1:
	mov	x21, x0
	mov	x0, #0
	bl	_delegpt_create_mlc
	cbz	x0, LBB0_20
; %bb.2:
	mov	x19, x0
	stur	w26, [x29, #-212]               ; 4-byte Folded Spill
	stur	x25, [x29, #-224]               ; 8-byte Folded Spill
	stur	x22, [x29, #-208]               ; 8-byte Folded Spill
Lloh13:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_verbose
	sub	x0, x29, #168
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w8, #1
	stur	w8, [x29, #-168]
	str	w8, [x19]
	sub	x25, x29, #128
	orr	x9, x25, #0x4
	add	x8, x25, #20
	stp	x9, x8, [x29, #-200]            ; 16-byte Folded Spill
Lloh18:
	adrp	x28, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh19:
	ldr	x28, [x28, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh20:
	adrp	x26, _LDNS_RR_TYPE_A@GOTPAGE
Lloh21:
	ldr	x26, [x26, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh22:
	adrp	x27, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh23:
	ldr	x27, [x27, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_type
	sub	x1, x29, #128
	mov	w2, #17
	bl	_sldns_wire2str_type_buf
	ldur	w8, [x29, #-168]
	stp	x8, x25, [sp, #-16]!
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_log_warn
	add	sp, sp, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_feof
	cbnz	w0, LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	xzr, x23, [x29, #-184]
	sub	x2, x29, #176
	sub	x3, x29, #184
	sub	x4, x29, #168
	mov	x0, x21
	mov	x1, x24
	bl	_sldns_fp2wire_rr_buf
	cbnz	w0, LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x1, [x29, #-176]
	cbz	x1, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x2, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_type
	ldr	x8, [x28]
	ldp	x2, x1, [x29, #-184]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_sldns_wirerr_get_type
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_rdatalen
Lloh26:
	adrp	x8, _INET_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INET_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh29:
	adrp	x8, _AF_INET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
Lloh32:
	adrp	x8, _UNBOUND_DNS_PORT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_htons
	stur	x0, [x29, #-104]
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_rdata
	mov	x1, x0
Lloh35:
	adrp	x8, _INET_SIZE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INET_SIZE@GOTPAGEOFF]
Lloh37:
	ldr	x2, [x8]
	ldur	x0, [x29, #-192]                ; 8-byte Folded Reload
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_type
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_rdatalen
Lloh38:
	adrp	x8, _INET6_SIZE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _INET6_SIZE@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh41:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	stur	w8, [x29, #-112]
Lloh44:
	adrp	x8, _UNBOUND_DNS_PORT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_htons
	stur	x0, [x29, #-120]
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_rdata
	mov	x1, x0
Lloh47:
	adrp	x8, _INET6_SIZE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _INET6_SIZE@GOTPAGEOFF]
Lloh49:
	ldr	x2, [x8]
	ldur	x0, [x29, #-200]                ; 8-byte Folded Reload
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_memmove
	ldur	x2, [x29, #-184]
	sub	x3, x29, #128
	mov	x0, x19
	mov	x1, x24
	mov	w4, #40
	mov	w5, #0
	mov	w6, #0
	bl	_delegpt_add_target_mlc
	cbnz	w0, LBB0_4
	b	LBB0_26
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_sldns_wirerr_get_rdata
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_delegpt_add_ns_mlc
	cbz	w0, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [x29, #-184]
	mov	x0, x24
	bl	_sldns_wirerr_get_class
	stur	w0, [x29, #-212]                ; 4-byte Folded Spill
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_delegpt_set_name_mlc
	cbnz	w0, LBB0_4
; %bb.18:
Lloh50:
	adrp	x0, l_.str.5@PAGE
Lloh51:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_19:
Lloh52:
	adrp	x8, _errno@GOTPAGE
Lloh53:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #-16]!
Lloh55:
	adrp	x0, l_.str.1@PAGE
Lloh56:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	add	sp, sp, #16
	mov	w0, #0
	b	LBB0_30
LBB0_20:
Lloh57:
	adrp	x0, l_.str.2@PAGE
Lloh58:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_err
	mov	x0, x21
	bl	_fclose
	mov	w0, #0
	b	LBB0_30
LBB0_21:
	mov	x0, x21
	bl	_fclose
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_25
; %bb.22:
	ldur	x0, [x29, #-224]                ; 8-byte Folded Reload
	ldur	w1, [x29, #-212]                ; 4-byte Folded Reload
	mov	x2, x19
	mov	w3, #0
	bl	_hints_insert
	ldur	x22, [x29, #-208]               ; 8-byte Folded Reload
	cbz	w0, LBB0_30
; %bb.23:
Lloh59:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh60:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_delegpt_log
	mov	w0, #1
	b	LBB0_30
LBB0_24:
	mov	x22, x0
	ldur	w24, [x29, #-168]
	bl	_LDNS_WIREPARSE_OFFSET
	mov	x23, x0
	mov	x0, x22
	bl	_sldns_get_errorstr_parse
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	stp	x23, x0, [sp, #16]
	stp	x20, x24, [sp]
Lloh62:
	adrp	x0, l_.str.4@PAGE
Lloh63:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_err
	add	sp, sp, #32
	b	LBB0_28
LBB0_25:
Lloh64:
	adrp	x0, l_.str.7@PAGE
Lloh65:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	bl	_log_warn
	mov	x0, x19
	bl	_delegpt_free_mlc
	mov	w0, #1
	b	LBB0_29
LBB0_26:
Lloh66:
	adrp	x0, l_.str.2@PAGE
Lloh67:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_27:
	bl	_log_err
LBB0_28:
	mov	x0, x19
	bl	_delegpt_free_mlc
	mov	x0, x21
	bl	_fclose
	mov	w0, #0
LBB0_29:
	ldur	x22, [x29, #-208]               ; 8-byte Folded Reload
LBB0_30:
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ; @LDNS_RR_BUF_SIZE
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"could not read root hints %s: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"out of memory reading root hints"

	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.3:                               ; @.str.3
	.asciz	"Reading root hints from %s"

l_.str.4:                               ; @.str.4
	.asciz	"reading root hints %s %d:%d: %s"

	.comm	_LDNS_RR_TYPE_NS,8,3            ; @LDNS_RR_TYPE_NS
l_.str.5:                               ; @.str.5
	.asciz	"out of memory."

	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
	.comm	_INET_SIZE,8,3                  ; @INET_SIZE
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_UNBOUND_DNS_PORT,4,2           ; @UNBOUND_DNS_PORT
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
	.comm	_INET6_SIZE,8,3                 ; @INET6_SIZE
	.comm	_AF_INET6,4,2                   ; @AF_INET6
l_.str.6:                               ; @.str.6
	.asciz	"root hints %s:%d skipping type %s"

l_.str.7:                               ; @.str.7
	.asciz	"root hints %s: no NS content"

	.no_dead_strip	_read_root_hints
.subsections_via_symbols
