	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_base_resolv_conf_parse_impl
_evdns_base_resolv_conf_parse_impl:     ## @evdns_base_resolv_conf_parse_impl
	.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, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_EVDNS_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_log
	movq	_DNS_OPTION_HOSTSFILE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_evdns_get_default_hosts_filename
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_evdns_base_load_hosts
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_mm_free
LBB0_3:
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_evutil_read_file_
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:
	movq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%r13)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_resolv_conf_parse_line
	movq	%r13, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_resolv_conf_parse_line
	cmpl	$0, 8(%r14)
	jne	LBB0_12
## %bb.10:
	movq	_DNS_OPTION_NAMESERVERS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_evdns_base_nameserver_ip_add
	movl	$6, %r15d
LBB0_12:
	movq	_DNS_OPTION_SEARCH@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_16
## %bb.13:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	cmpq	$0, (%rax)
	jne	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	callq	_search_set_from_hostname
LBB0_16:
	movq	-48(%rbp), %rdi
	callq	_mm_free
	jmp	LBB0_17
LBB0_4:
	cmpl	$-1, %r15d
	movl	$2, %r15d
	jne	LBB0_17
## %bb.5:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_evdns_resolv_set_defaults
	movl	$1, %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVDNS_LOG_DEBUG,4,2            ## @EVDNS_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parsing resolv.conf file %s"

	.comm	_DNS_OPTION_HOSTSFILE,4,2       ## @DNS_OPTION_HOSTSFILE
	.comm	_DNS_OPTION_NAMESERVERS,4,2     ## @DNS_OPTION_NAMESERVERS
L_.str.1:                               ## @.str.1
	.asciz	"127.0.0.1"

	.comm	_DNS_OPTION_SEARCH,4,2          ## @DNS_OPTION_SEARCH
	.no_dead_strip	_evdns_base_resolv_conf_parse_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evdns_base_resolv_conf_parse_impl
_evdns_base_resolv_conf_parse_impl:     ; @evdns_base_resolv_conf_parse_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EVDNS_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVDNS_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log
Lloh5:
	adrp	x8, _DNS_OPTION_HOSTSFILE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DNS_OPTION_HOSTSFILE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.1:
	bl	_evdns_get_default_hosts_filename
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_evdns_base_load_hosts
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_mm_free
LBB0_3:
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #0
	bl	_evutil_read_file_
	mov	x21, x0
	tbnz	w0, #31, LBB0_15
; %bb.4:
	ldr	x22, [sp]
	mov	x0, x22
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x23], #1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_resolv_conf_parse_line
	mov	x22, x23
	mov	x0, x23
	mov	w1, #10
	bl	_strchr
	mov	x23, x0
	cbnz	x0, LBB0_6
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_resolv_conf_parse_line
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_10
; %bb.8:
Lloh8:
	adrp	x8, _DNS_OPTION_NAMESERVERS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DNS_OPTION_NAMESERVERS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_evdns_base_nameserver_ip_add
	mov	w21, #6
LBB0_10:
Lloh13:
	adrp	x8, _DNS_OPTION_SEARCH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DNS_OPTION_SEARCH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.11:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x8]
	cbnz	x8, LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_search_set_from_hostname
LBB0_14:
	ldr	x0, [sp]
	bl	_mm_free
	b	LBB0_18
LBB0_15:
	cmn	w21, #1
	b.eq	LBB0_17
; %bb.16:
	mov	w21, #2
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	bl	_evdns_resolv_set_defaults
	mov	w21, #1
LBB0_18:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EVDNS_LOG_DEBUG,4,2            ; @EVDNS_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parsing resolv.conf file %s"

	.comm	_DNS_OPTION_HOSTSFILE,4,2       ; @DNS_OPTION_HOSTSFILE
	.comm	_DNS_OPTION_NAMESERVERS,4,2     ; @DNS_OPTION_NAMESERVERS
l_.str.1:                               ; @.str.1
	.asciz	"127.0.0.1"

	.comm	_DNS_OPTION_SEARCH,4,2          ; @DNS_OPTION_SEARCH
	.no_dead_strip	_evdns_base_resolv_conf_parse_impl
.subsections_via_symbols
