	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_getaddrinfo_fromhosts
_evdns_getaddrinfo_fromhosts:           ## @evdns_getaddrinfo_fromhosts
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ebx
	callq	_EVDNS_LOCK
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_find_hosts_entry
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_find_hosts_entry
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PF_INET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r14d
	movq	%r13, %rbx
	movq	%r12, %r13
	leaq	8(%r15), %rdi
	movl	(%r15), %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_evutil_new_addrinfo_
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movl	4(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_sockaddr_setport
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_evutil_addrinfo_append_
	movq	%rax, %r12
	movq	%rbx, %r13
	movl	%r14d, %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	callq	_EVDNS_UNLOCK
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	callq	_EVDNS_UNLOCK
	movl	$-1, %ebx
	jmp	LBB0_14
LBB0_7:
	movq	%r13, %r12
LBB0_8:
	movl	$-1, %ebx
	testq	%r12, %r12
	je	LBB0_14
## %bb.9:
	movq	%r12, %rdi
	callq	_evutil_freeaddrinfo
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_PF_INET,4,2                    ## @PF_INET
	.no_dead_strip	_evdns_getaddrinfo_fromhosts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evdns_getaddrinfo_fromhosts
_evdns_getaddrinfo_fromhosts:           ; @evdns_getaddrinfo_fromhosts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x4
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
	mov	x23, x1
	mov	x20, x0
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w28, [x2]
	bl	_EVDNS_LOCK
	mov	x0, x20
	mov	x1, x23
	mov	x2, #0
	bl	_find_hosts_entry
	cbz	x0, LBB0_9
; %bb.1:
	str	x19, [sp]                       ; 8-byte Folded Spill
	mov	x24, #0
Lloh0:
	adrp	x19, _AF_INET@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AF_INET@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PF_INET6@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PF_INET6@GOTPAGEOFF]
Lloh4:
	adrp	x27, _AF_INET6@GOTPAGE
Lloh5:
	ldr	x27, [x27, _AF_INET6@GOTPAGEOFF]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x26, x0
Lloh6:
	adrp	x22, _PF_INET@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PF_INET@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x0
	ldr	w0, [x0, #4]
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sockaddr_setport
	mov	x0, x24
	mov	x1, x27
	bl	_evutil_addrinfo_append_
	mov	x24, x0
	mov	x27, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x26
	bl	_find_hosts_entry
	mov	x26, x0
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	ldr	x8, [x0, #8]!
	ldr	x9, [x19]
	ldr	w10, [x25]
	cmp	x8, x9
	ccmp	w28, w10, #0, eq
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27]
	ldr	w10, [x22]
	cmp	x8, x9
	ccmp	w28, w10, #0, eq
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x27
	ldr	w1, [x26]
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_evutil_new_addrinfo_
	cbnz	x0, LBB0_2
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_EVDNS_UNLOCK
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_10
; %bb.8:
	mov	w0, #0
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x24, [x8]
	b	LBB0_13
LBB0_9:
	mov	x0, x20
	bl	_EVDNS_UNLOCK
	b	LBB0_12
LBB0_10:
	cbz	x24, LBB0_12
; %bb.11:
	mov	x0, x24
	bl	_evutil_freeaddrinfo
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_PF_INET,4,2                    ; @PF_INET
	.no_dead_strip	_evdns_getaddrinfo_fromhosts
.subsections_via_symbols
