	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evconnlistener_new             ## -- Begin function evconnlistener_new
	.p2align	4, 0x90
_evconnlistener_new:                    ## @evconnlistener_new
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	testl	%r8d, %r8d
	jle	LBB0_4
## %bb.1:
	movl	%r14d, %edi
	movl	%r8d, %esi
LBB0_2:
	callq	_listen
	testq	%rax, %rax
	jns	LBB0_6
	jmp	LBB0_3
LBB0_4:
	js	LBB0_5
LBB0_6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	$48, %esi
	callq	_mm_calloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.7:
	movq	_evconnlistener_event_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rbx)
	movl	%r15d, 24(%rbx)
	movq	%r13, 16(%rbx)
	movl	%r12d, (%rbx)
	movl	$1, 4(%rbx)
	movl	$0, 12(%rbx)
	movq	_LEV_OPT_LEAVE_SOCKETS_BLOCKING@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	_EVUTIL_SOCK_NONBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_9:
	movq	_LEV_OPT_CLOSE_ON_EXEC@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_EVUTIL_SOCK_CLOEXEC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%rbx)
LBB0_11:
	movq	_LEV_OPT_THREADSAFE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_13
## %bb.12:
	movl	8(%rbx), %edi
	movq	_EVTHREAD_LOCKTYPE_RECURSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVTHREAD_ALLOC_LOCK
LBB0_13:
	movq	%rbx, %rdi
	addq	$40, %rdi
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movq	_EV_PERSIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_listener_read_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	%rbx, %r9
	callq	_event_assign
	movq	_LEV_OPT_DISABLED@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_evconnlistener_enable
	jmp	LBB0_15
LBB0_3:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r14d, %edi
	movl	$128, %esi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_evconnlistener_event_ops,4,2   ## @evconnlistener_event_ops
	.comm	_LEV_OPT_LEAVE_SOCKETS_BLOCKING,4,2 ## @LEV_OPT_LEAVE_SOCKETS_BLOCKING
	.comm	_EVUTIL_SOCK_NONBLOCK,4,2       ## @EVUTIL_SOCK_NONBLOCK
	.comm	_LEV_OPT_CLOSE_ON_EXEC,4,2      ## @LEV_OPT_CLOSE_ON_EXEC
	.comm	_EVUTIL_SOCK_CLOEXEC,4,2        ## @EVUTIL_SOCK_CLOEXEC
	.comm	_LEV_OPT_THREADSAFE,4,2         ## @LEV_OPT_THREADSAFE
	.comm	_EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ## @EVTHREAD_LOCKTYPE_RECURSIVE
	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EV_PERSIST,4,2                 ## @EV_PERSIST
	.comm	_listener_read_cb,4,2           ## @listener_read_cb
	.comm	_LEV_OPT_DISABLED,4,2           ## @LEV_OPT_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evconnlistener_new             ; -- Begin function evconnlistener_new
	.p2align	2
_evconnlistener_new:                    ; @evconnlistener_new
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	cmp	w4, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x4
	bl	_listen
	tbz	x0, #63, LBB0_5
LBB0_2:
	mov	x22, #0
	b	LBB0_14
LBB0_3:
	tbz	w4, #31, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #128
	bl	_listen
	tbnz	x0, #63, LBB0_2
LBB0_5:
	mov	w25, #1
	mov	w0, #1
	mov	w1, #48
	bl	_mm_calloc
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.6:
	mov	w8, #0
Lloh0:
	adrp	x9, _evconnlistener_event_ops@GOTPAGE
Lloh1:
	ldr	x9, [x9, _evconnlistener_event_ops@GOTPAGEOFF]
	str	x9, [x22, #32]
	str	w24, [x22, #24]
	str	x23, [x22, #16]
	stp	w19, w25, [x22]
	str	wzr, [x22, #12]
Lloh2:
	adrp	x9, _LEV_OPT_LEAVE_SOCKETS_BLOCKING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LEV_OPT_LEAVE_SOCKETS_BLOCKING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w19
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _EVUTIL_SOCK_NONBLOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVUTIL_SOCK_NONBLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #12]
LBB0_8:
Lloh8:
	adrp	x9, _LEV_OPT_CLOSE_ON_EXEC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LEV_OPT_CLOSE_ON_EXEC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_10
; %bb.9:
Lloh11:
	adrp	x9, _EVUTIL_SOCK_CLOEXEC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EVUTIL_SOCK_CLOEXEC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x22, #12]
LBB0_10:
Lloh14:
	adrp	x8, _LEV_OPT_THREADSAFE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LEV_OPT_THREADSAFE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x22, #8]
Lloh17:
	adrp	x8, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_EVTHREAD_ALLOC_LOCK
LBB0_12:
	add	x0, x22, #40
Lloh20:
	adrp	x8, _EV_READ@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh22:
	adrp	x9, _EV_PERSIST@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EV_PERSIST@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh26:
	adrp	x8, _listener_read_cb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _listener_read_cb@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x1, x21
	mov	x2, x20
	mov	x5, x22
	bl	_event_assign
Lloh29:
	adrp	x8, _LEV_OPT_DISABLED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LEV_OPT_DISABLED@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w19
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x22
	bl	_evconnlistener_enable
LBB0_14:
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_evconnlistener_event_ops,4,2   ; @evconnlistener_event_ops
	.comm	_LEV_OPT_LEAVE_SOCKETS_BLOCKING,4,2 ; @LEV_OPT_LEAVE_SOCKETS_BLOCKING
	.comm	_EVUTIL_SOCK_NONBLOCK,4,2       ; @EVUTIL_SOCK_NONBLOCK
	.comm	_LEV_OPT_CLOSE_ON_EXEC,4,2      ; @LEV_OPT_CLOSE_ON_EXEC
	.comm	_EVUTIL_SOCK_CLOEXEC,4,2        ; @EVUTIL_SOCK_CLOEXEC
	.comm	_LEV_OPT_THREADSAFE,4,2         ; @LEV_OPT_THREADSAFE
	.comm	_EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ; @EVTHREAD_LOCKTYPE_RECURSIVE
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_PERSIST,4,2                 ; @EV_PERSIST
	.comm	_listener_read_cb,4,2           ; @listener_read_cb
	.comm	_LEV_OPT_DISABLED,4,2           ; @LEV_OPT_DISABLED
.subsections_via_symbols
