	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_getaddrinfo_common_     ## -- Begin function evutil_getaddrinfo_common_
	.p2align	4, 0x90
_evutil_getaddrinfo_common_:            ## @evutil_getaddrinfo_common_
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rax
	orq	%rsi, %rax
	jne	LBB0_2
LBB0_1:
	movq	_EVUTIL_EAI_NONAME@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	%r8, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdx), %rax
	movq	_PF_UNSPEC@GOTPCREL(%rip), %r14
	movq	_PF_INET@GOTPCREL(%rip), %rsi
	movq	_PF_INET6@GOTPCREL(%rip), %rdx
	cmpq	(%r14), %rax
	je	LBB0_8
## %bb.3:
	cmpq	(%rsi), %rax
	je	LBB0_8
## %bb.4:
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.5:
	movq	_EVUTIL_EAI_FAMILY@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_evutil_getaddrinfo_infer_protocols
	movl	12(%r15), %edi
	callq	_evutil_unparse_protoname
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_evutil_parse_servname
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_11
	jmp	LBB0_1
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	(%r15), %rax
	testq	%r12, %r12
	je	LBB0_16
## %bb.12:
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_25
LBB0_14:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leaq	-120(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rsi
	callq	_evutil_inet_pton
	cmpl	$1, %eax
	jne	LBB0_24
## %bb.15:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, -88(%rbp)
	jmp	LBB0_29
LBB0_16:
	movq	_PF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_22
LBB0_18:
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	%ebx, %edi
	callq	_htons
	movq	%rax, -88(%rbp)
	movq	_EVUTIL_AI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_20
## %bb.19:
	movq	-72(%rbp), %rax
	movl	$1, 60(%rax)
LBB0_20:
	leaq	-120(%rbp), %rdi
	movl	$64, %esi
	movq	%r15, %rdx
	callq	_evutil_new_addrinfo_
	testq	%rax, %rax
	je	LBB0_41
## %bb.21:
	movq	%rax, %r12
	movl	%ebx, %r14d
	movq	(%r15), %rax
LBB0_22:
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.23:
	xorl	%edi, %edi
	jmp	LBB0_35
LBB0_24:
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_25:
	movq	_PF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_27
## %bb.26:
	cmpq	%rcx, %rax
	jne	LBB0_37
LBB0_27:
	movl	%ebx, %r14d
	leaq	-120(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-104(%rbp), %rdx
	movq	%r12, %rsi
	callq	_evutil_inet_pton
	cmpl	$1, %eax
	jne	LBB0_36
## %bb.28:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movl	%r14d, %edi
	callq	_htons
	movq	%rax, -120(%rbp)
LBB0_29:
	leaq	-120(%rbp), %rdi
	movl	$64, %esi
	movq	%r15, %rdx
	callq	_evutil_new_addrinfo_
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_41
LBB0_31:
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movl	%r14d, %edi
	callq	_htons
	movq	%rax, -120(%rbp)
	movq	_EVUTIL_AI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_33
## %bb.32:
	movl	$2130706433, %edi               ## imm = 0x7F000001
	callq	_htonl
	movl	%eax, -96(%rbp)
LBB0_33:
	leaq	-120(%rbp), %rdi
	movl	$64, %esi
	movq	%r15, %rdx
	callq	_evutil_new_addrinfo_
	testq	%rax, %rax
	je	LBB0_39
## %bb.34:
	movq	%rax, %rdi
LBB0_35:
	movq	%r12, %rsi
	callq	_evutil_addrinfo_append_
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_7
LBB0_36:
	movl	%r14d, %ebx
LBB0_37:
	movq	_EVUTIL_AI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_1
## %bb.38:
	movl	%ebx, (%r13)
	movq	_EVUTIL_EAI_NEED_RESOLVE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_39:
	testq	%r12, %r12
	je	LBB0_41
## %bb.40:
	movq	%r12, %rdi
	callq	_evutil_freeaddrinfo
LBB0_41:
	movq	_EVUTIL_EAI_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EVUTIL_EAI_NONAME,4,2          ## @EVUTIL_EAI_NONAME
	.comm	_PF_UNSPEC,8,3                  ## @PF_UNSPEC
	.comm	_PF_INET,8,3                    ## @PF_INET
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.comm	_EVUTIL_EAI_FAMILY,4,2          ## @EVUTIL_EAI_FAMILY
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EVUTIL_AI_PASSIVE,4,2          ## @EVUTIL_AI_PASSIVE
	.comm	_EVUTIL_EAI_MEMORY,4,2          ## @EVUTIL_EAI_MEMORY
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_EVUTIL_AI_NUMERICHOST,4,2      ## @EVUTIL_AI_NUMERICHOST
	.comm	_EVUTIL_EAI_NEED_RESOLVE,4,2    ## @EVUTIL_EAI_NEED_RESOLVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_getaddrinfo_common_     ; -- Begin function evutil_getaddrinfo_common_
	.p2align	2
_evutil_getaddrinfo_common_:            ; @evutil_getaddrinfo_common_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	orr	x8, x0, x1
	cbnz	x8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EVUTIL_EAI_NONAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVUTIL_EAI_NONAME@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x20, x2
	ldr	x8, [x2]
Lloh2:
	adrp	x26, _PF_UNSPEC@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PF_UNSPEC@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh4:
	adrp	x25, _PF_INET@GOTPAGE
Lloh5:
	ldr	x25, [x25, _PF_INET@GOTPAGEOFF]
	ldr	x10, [x25]
Lloh6:
	adrp	x24, _PF_INET6@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PF_INET6@GOTPAGEOFF]
	ldr	x11, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_9
; %bb.3:
	mov	x22, x4
	mov	x19, x3
	mov	x21, x1
	mov	x23, x0
	mov	x0, x20
	bl	_evutil_getaddrinfo_infer_protocols
	ldr	w0, [x20, #12]
	bl	_evutil_unparse_protoname
	cbz	x21, LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_evutil_parse_servname
	mov	x21, x0
	tbnz	w0, #31, LBB0_1
LBB0_5:
	ldr	x8, [x20]
	cbz	x23, LBB0_12
; %bb.6:
	ldr	x10, [x24]
	ldr	x9, [x26]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_21
; %bb.7:
	mov	x27, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh8:
	adrp	x24, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x24, [x24, _AF_INET6@GOTPAGEOFF]
	ldr	x0, [x24]
	add	x2, x27, #48
	mov	x1, x23
	bl	_evutil_inet_pton
	cmp	w0, #1
	b.ne	LBB0_20
; %bb.8:
	ldr	x8, [x24]
	str	x8, [sp, #40]
	mov	x0, x21
	bl	_htons
	str	x0, [sp, #32]
	b	LBB0_24
LBB0_9:
Lloh10:
	adrp	x8, _EVUTIL_EAI_FAMILY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVUTIL_EAI_FAMILY@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	mov	x22, #0
	b	LBB0_18
LBB0_14:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh12:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	x0, x21
	bl	_htons
	str	x0, [sp, #32]
	ldr	w8, [x20, #8]
Lloh15:
	adrp	x9, _EVUTIL_AI_PASSIVE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EVUTIL_AI_PASSIVE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.15:
	ldr	x8, [sp, #48]
	mov	w9, #1
	str	w9, [x8, #60]
LBB0_16:
	mov	x0, sp
	mov	w1, #64
	mov	x2, x20
	bl	_evutil_new_addrinfo_
	cbz	x0, LBB0_33
; %bb.17:
	mov	x22, x0
	ldr	x8, [x20]
LBB0_18:
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.19:
	mov	x0, #0
	b	LBB0_30
LBB0_20:
	ldr	x8, [x20]
	ldr	x9, [x26]
LBB0_21:
	ldr	x10, [x25]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_25
; %bb.22:
	mov	x25, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh18:
	adrp	x24, _AF_INET@GOTPAGE
Lloh19:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
	ldr	x0, [x24]
	add	x2, x25, #16
	mov	x1, x23
	bl	_evutil_inet_pton
	cmp	w0, #1
	b.ne	LBB0_25
; %bb.23:
	ldr	x8, [x24]
	str	x8, [sp, #8]
	mov	x0, x21
	bl	_htons
	str	x0, [sp]
LBB0_24:
	mov	x0, sp
	mov	w1, #64
	mov	x2, x20
	bl	_evutil_new_addrinfo_
	str	x0, [x19]
Lloh20:
	adrp	x8, _EVUTIL_EAI_MEMORY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EVUTIL_EAI_MEMORY@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_11
LBB0_25:
	ldr	w8, [x20, #8]
Lloh23:
	adrp	x9, _EVUTIL_AI_NUMERICHOST@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EVUTIL_AI_NUMERICHOST@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.26:
	str	w21, [x22]
Lloh26:
	adrp	x8, _EVUTIL_EAI_NEED_RESOLVE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EVUTIL_EAI_NEED_RESOLVE@GOTPAGEOFF]
	b	LBB0_10
LBB0_27:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh28:
	adrp	x8, _AF_INET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	x0, x21
	bl	_htons
	str	x0, [sp]
	ldr	w8, [x20, #8]
Lloh31:
	adrp	x9, _EVUTIL_AI_PASSIVE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _EVUTIL_AI_PASSIVE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
; %bb.28:
	mov	w0, #1
	movk	w0, #32512, lsl #16
	bl	_htonl
	str	w0, [sp, #24]
LBB0_29:
	mov	x0, sp
	mov	w1, #64
	mov	x2, x20
	bl	_evutil_new_addrinfo_
	cbz	x0, LBB0_31
LBB0_30:
	mov	x1, x22
	bl	_evutil_addrinfo_append_
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_11
LBB0_31:
	cbz	x22, LBB0_33
; %bb.32:
	mov	x0, x22
	bl	_evutil_freeaddrinfo
LBB0_33:
Lloh34:
	adrp	x8, _EVUTIL_EAI_MEMORY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EVUTIL_EAI_MEMORY@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_EVUTIL_EAI_NONAME,4,2          ; @EVUTIL_EAI_NONAME
	.comm	_PF_UNSPEC,8,3                  ; @PF_UNSPEC
	.comm	_PF_INET,8,3                    ; @PF_INET
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.comm	_EVUTIL_EAI_FAMILY,4,2          ; @EVUTIL_EAI_FAMILY
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EVUTIL_AI_PASSIVE,4,2          ; @EVUTIL_AI_PASSIVE
	.comm	_EVUTIL_EAI_MEMORY,4,2          ; @EVUTIL_EAI_MEMORY
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_EVUTIL_AI_NUMERICHOST,4,2      ; @EVUTIL_AI_NUMERICHOST
	.comm	_EVUTIL_EAI_NEED_RESOLVE,4,2    ; @EVUTIL_EAI_NEED_RESOLVE
.subsections_via_symbols
