	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llc_ui_listen
_llc_ui_listen:                         ## @llc_ui_listen
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_lock_sock
	movq	(%rbx), %rax
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movq	(%r15), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	movl	%r13d, %r12d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	testl	%r14d, %r14d
	movl	$1, %eax
	cmovnel	%r14d, %eax
	movl	%eax, 8(%r15)
	movq	_TCP_LISTEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 16(%r15)
	je	LBB0_5
## %bb.4:
	movq	$0, 32(%r15)
	movq	%rax, 16(%r15)
LBB0_5:
	movq	___SO_ACCEPTCON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r15), %rcx
	orl	%eax, (%rcx)
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r15, %rdi
	callq	_release_sock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SS_UNCONNECTED,8,3             ## @SS_UNCONNECTED
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.comm	_TCP_LISTEN,8,3                 ## @TCP_LISTEN
	.comm	___SO_ACCEPTCON,4,2             ## @__SO_ACCEPTCON
	.no_dead_strip	_llc_ui_listen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llc_ui_listen
_llc_ui_listen:                         ; @llc_ui_listen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_lock_sock
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _SS_UNCONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SS_UNCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	neg	w20, w22
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	x0, LBB0_6
LBB0_4:
	neg	w20, w21
LBB0_5:
	mov	x0, x19
	bl	_release_sock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	cmp	w20, #0
	csinc	w8, w20, wzr, ne
	str	w8, [x19, #8]
	ldr	x9, [x19, #16]
Lloh18:
	adrp	x8, _TCP_LISTEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCP_LISTEN@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_8
; %bb.7:
	str	xzr, [x19, #32]
	str	x8, [x19, #16]
LBB0_8:
	mov	w20, #0
Lloh21:
	adrp	x8, ___SO_ACCEPTCON@GOTPAGE
Lloh22:
	ldr	x8, [x8, ___SO_ACCEPTCON@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	x9, [x19, #24]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SS_UNCONNECTED,8,3             ; @SS_UNCONNECTED
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.comm	_TCP_LISTEN,8,3                 ; @TCP_LISTEN
	.comm	___SO_ACCEPTCON,4,2             ; @__SO_ACCEPTCON
	.no_dead_strip	_llc_ui_listen
.subsections_via_symbols
