	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_new_addrinfo_           ## -- Begin function evutil_new_addrinfo_
	.p2align	4, 0x90
_evutil_new_addrinfo_:                  ## @evutil_new_addrinfo_
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_EVUTIL_ASSERT
	cmpq	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%r12)
	je	LBB0_6
LBB0_2:
	leal	48(%r15), %esi
	movl	$1, %edi
	callq	_mm_calloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$48, %rdi
	movq	%rdi, 32(%rax)
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	%r15d, 16(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_EVUTIL_AI_LIBEVENT_ALLOCATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rbx)
	jmp	LBB0_5
LBB0_6:
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$48, %edx
	callq	_memcpy
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_evutil_new_addrinfo_
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rax, %rbx
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_evutil_new_addrinfo_
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, 40(%rbx)
	jmp	LBB0_5
LBB0_10:
	movq	%rbx, %rdi
	callq	_evutil_freeaddrinfo
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_EVUTIL_AI_LIBEVENT_ALLOCATED,4,2 ## @EVUTIL_AI_LIBEVENT_ALLOCATED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_new_addrinfo_           ; -- Begin function evutil_new_addrinfo_
	.p2align	2
_evutil_new_addrinfo_:                  ; @evutil_new_addrinfo_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_EVUTIL_ASSERT
	ldr	x8, [x22]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
LBB0_2:
	add	w1, w19, #48
	mov	w0, #1
	bl	_mm_calloc
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
	add	x0, x21, #48
	str	x0, [x21, #32]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	str	w19, [x21, #16]
	ldr	w8, [x20, #24]
	str	w8, [x21, #28]
Lloh0:
	adrp	x8, _EVUTIL_AI_LIBEVENT_ALLOCATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVUTIL_AI_LIBEVENT_ALLOCATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #20]
	ldr	q0, [x22]
	str	q0, [x21]
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	mov	x0, sp
	mov	x1, x22
	mov	w2, #48
	bl	_memcpy
Lloh3:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	stp	x8, x9, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_evutil_new_addrinfo_
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.6:
Lloh9:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	stp	x8, x9, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_evutil_new_addrinfo_
	cbz	x0, LBB0_8
; %bb.7:
	str	x0, [x21, #40]
	b	LBB0_4
LBB0_8:
	mov	x0, x21
	bl	_evutil_freeaddrinfo
	mov	x21, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_EVUTIL_AI_LIBEVENT_ALLOCATED,4,2 ; @EVUTIL_AI_LIBEVENT_ALLOCATED
.subsections_via_symbols
