	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_getaddrinfo             ## -- Begin function evutil_getaddrinfo
	.p2align	4, 0x90
_evutil_getaddrinfo:                    ## @evutil_getaddrinfo
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -36(%rbp)
	leaq	-56(%rbp), %rdi
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rsi
	movl	$16, %edx
	callq	_memcpy
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
LBB0_3:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_evutil_adjust_hints_for_addrconfig_
	leaq	-36(%rbp), %r8
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_evutil_getaddrinfo_common_
	movq	_EVUTIL_EAI_NEED_RESOLVE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.4:
	movq	%r12, %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	movq	(%rax), %rcx
	movq	-56(%rbp), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_13
## %bb.11:
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_13
LBB0_12:
	movq	_EVUTIL_EAI_NONAME@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_5:
	movq	_h_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_14
## %bb.6:
	cmpl	$132, %eax
	je	LBB0_12
## %bb.7:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.8:
	movq	_EVUTIL_EAI_AGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_13:
	cmpq	$0, 8(%rax)
	je	LBB0_14
## %bb.15:
	movq	_PF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_18
## %bb.16:
	movq	_PF_INET6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_18
## %bb.17:
	movq	_EVUTIL_EAI_FAMILY@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_14:
	movq	_EVUTIL_EAI_NODATA@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movl	-36(%rbp), %esi
	leaq	-56(%rbp), %rdx
	movq	%rax, %rdi
	callq	_addrinfo_from_hostent
	movq	%rax, %rcx
	movq	%rax, (%r14)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_21
## %bb.19:
	movq	_EVUTIL_EAI_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_9:
	movq	_EVUTIL_EAI_FAIL@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_UNSPEC,8,3                  ## @PF_UNSPEC
	.comm	_EVUTIL_EAI_NEED_RESOLVE,4,2    ## @EVUTIL_EAI_NEED_RESOLVE
	.comm	_h_errno,4,2                    ## @h_errno
	.comm	_EVUTIL_EAI_AGAIN,4,2           ## @EVUTIL_EAI_AGAIN
	.comm	_EVUTIL_EAI_FAIL,4,2            ## @EVUTIL_EAI_FAIL
	.comm	_EVUTIL_EAI_NONAME,4,2          ## @EVUTIL_EAI_NONAME
	.comm	_EVUTIL_EAI_NODATA,4,2          ## @EVUTIL_EAI_NODATA
	.comm	_PF_INET,8,3                    ## @PF_INET
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.comm	_EVUTIL_EAI_FAMILY,4,2          ## @EVUTIL_EAI_FAMILY
	.comm	_EVUTIL_EAI_MEMORY,4,2          ## @EVUTIL_EAI_MEMORY
	.comm	_ALL_NATIVE_AI_FLAGS,4,2        ## @ALL_NATIVE_AI_FLAGS
	.comm	_ALL_NONNATIVE_AI_FLAGS,4,2     ## @ALL_NONNATIVE_AI_FLAGS
	.comm	_EVUTIL_AI_ADDRCONFIG,4,2       ## @EVUTIL_AI_ADDRCONFIG
	.comm	_EVUTIL_AI_NUMERICSERV,4,2      ## @EVUTIL_AI_NUMERICSERV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_getaddrinfo             ; -- Begin function evutil_getaddrinfo
	.p2align	2
_evutil_getaddrinfo:                    ; @evutil_getaddrinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x21, x1
	mov	x20, x0
	str	wzr, [sp, #28]
	add	x0, sp, #8
	cbz	x2, LBB0_2
; %bb.1:
	mov	x1, x2
	mov	w2, #16
	bl	_memcpy
	b	LBB0_3
LBB0_2:
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _PF_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
LBB0_3:
	add	x0, sp, #8
	bl	_evutil_adjust_hints_for_addrconfig_
	add	x2, sp, #8
	add	x4, sp, #28
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_evutil_getaddrinfo_common_
Lloh3:
	adrp	x8, _EVUTIL_EAI_NEED_RESOLVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVUTIL_EAI_NEED_RESOLVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.4:
	mov	x0, x20
	bl	_gethostbyname
	cbz	x0, LBB0_10
; %bb.5:
	ldr	x8, [x0]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x10, _PF_UNSPEC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PF_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
LBB0_7:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_15
; %bb.8:
Lloh9:
	adrp	x9, _PF_INET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PF_INET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _PF_INET6@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PF_INET6@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_16
; %bb.9:
	ldr	w1, [sp, #28]
	add	x2, sp, #8
	bl	_addrinfo_from_hostent
	str	x0, [x19]
Lloh15:
	adrp	x8, _EVUTIL_EAI_MEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EVUTIL_EAI_MEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_19
LBB0_10:
Lloh18:
	adrp	x8, _h_errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _h_errno@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w9, w8, #130
	cmp	w9, #2
	b.lo	LBB0_15
; %bb.11:
	cmp	w8, #132
	b.eq	LBB0_14
; %bb.12:
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.13:
Lloh21:
	adrp	x8, _EVUTIL_EAI_AGAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EVUTIL_EAI_AGAIN@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
Lloh23:
	adrp	x8, _EVUTIL_EAI_NONAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EVUTIL_EAI_NONAME@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh25:
	adrp	x8, _EVUTIL_EAI_NODATA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EVUTIL_EAI_NODATA@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh27:
	adrp	x8, _EVUTIL_EAI_FAMILY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EVUTIL_EAI_FAMILY@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh29:
	adrp	x8, _EVUTIL_EAI_FAIL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EVUTIL_EAI_FAIL@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
LBB0_19:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_UNSPEC,8,3                  ; @PF_UNSPEC
	.comm	_EVUTIL_EAI_NEED_RESOLVE,4,2    ; @EVUTIL_EAI_NEED_RESOLVE
	.comm	_h_errno,4,2                    ; @h_errno
	.comm	_EVUTIL_EAI_AGAIN,4,2           ; @EVUTIL_EAI_AGAIN
	.comm	_EVUTIL_EAI_FAIL,4,2            ; @EVUTIL_EAI_FAIL
	.comm	_EVUTIL_EAI_NONAME,4,2          ; @EVUTIL_EAI_NONAME
	.comm	_EVUTIL_EAI_NODATA,4,2          ; @EVUTIL_EAI_NODATA
	.comm	_PF_INET,8,3                    ; @PF_INET
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.comm	_EVUTIL_EAI_FAMILY,4,2          ; @EVUTIL_EAI_FAMILY
	.comm	_EVUTIL_EAI_MEMORY,4,2          ; @EVUTIL_EAI_MEMORY
	.comm	_ALL_NATIVE_AI_FLAGS,4,2        ; @ALL_NATIVE_AI_FLAGS
	.comm	_ALL_NONNATIVE_AI_FLAGS,4,2     ; @ALL_NONNATIVE_AI_FLAGS
	.comm	_EVUTIL_AI_ADDRCONFIG,4,2       ; @EVUTIL_AI_ADDRCONFIG
	.comm	_EVUTIL_AI_NUMERICSERV,4,2      ; @EVUTIL_AI_NUMERICSERV
.subsections_via_symbols
