	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_base_load_hosts_impl
_evdns_base_load_hosts_impl:            ## @evdns_base_load_hosts_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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -120(%rbp)
	callq	_ASSERT_LOCKED
	xorl	%r14d, %r14d
	movl	$0, %r12d
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	leaq	-120(%rbp), %rsi
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_evutil_read_file_
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	movq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evdns_base_parse_hosts_line
	movq	%r14, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evdns_base_parse_hosts_line
	movq	-120(%rbp), %rdi
	callq	_mm_free
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_2:
	movl	%eax, %r12d
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evdns_base_parse_hosts_line
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evdns_base_parse_hosts_line
	negl	%r12d
	sbbl	%r14d, %r14d
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"127.0.0.1   localhost"

L_.str.1:                               ## @.str.1
	.asciz	"::1   localhost"

	.no_dead_strip	_evdns_base_load_hosts_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_load_hosts_impl
_evdns_base_load_hosts_impl:            ; @evdns_base_load_hosts_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #16]
	bl	_ASSERT_LOCKED
	cbz	x20, LBB0_7
; %bb.1:
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #0
	bl	_evutil_read_file_
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	x20, [sp, #16]
	mov	x0, x20
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x21], #1
	mov	x0, x19
	mov	x1, x20
	bl	_evdns_base_parse_hosts_line
	mov	x20, x21
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_4
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_evdns_base_parse_hosts_line
	ldr	x0, [sp, #16]
	bl	_mm_free
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	mov	x20, x0
LBB0_7:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w2, #64
	bl	_strlcpy
	add	x1, sp, #24
	mov	x0, x19
	bl	_evdns_base_parse_hosts_line
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w2, #64
	bl	_strlcpy
	add	x1, sp, #24
	mov	x0, x19
	bl	_evdns_base_parse_hosts_line
	cmp	w20, #0
	csetm	w0, ne
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"127.0.0.1   localhost"

l_.str.1:                               ; @.str.1
	.asciz	"::1   localhost"

	.no_dead_strip	_evdns_base_load_hosts_impl
.subsections_via_symbols
