	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fastsocket_listen
_fastsocket_listen:                     ## @fastsocket_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	movl	4(%rdi), %r14d
	leaq	-28(%rbp), %rsi
	movl	%ebx, %edi
	callq	_fget_light
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_FMODE_FASTSOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_6
## %bb.3:
	movq	_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_DPRINTK
	movq	_enable_fast_epoll@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_FMODE_SINGLE_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_FMODE_BIND_EPI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%r15)
LBB0_5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_fsocket_listen
	jmp	LBB0_7
LBB0_1:
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_EPRINTK_LIMIT
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_DPRINTK
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_sys_listen
LBB0_7:
	movl	%eax, %ebx
	movl	-28(%rbp), %esi
	movq	%r15, %rdi
	callq	_fput_light
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR,4,2                        ## @ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fd [%d] file doesn't exist!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FMODE_FASTSOCKET,4,2           ## @FMODE_FASTSOCKET
	.comm	_DEBUG,4,2                      ## @DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Listen fastsocket %d\n"

	.comm	_enable_fast_epoll,8,3          ## @enable_fast_epoll
	.comm	_FMODE_SINGLE_WAKEUP,4,2        ## @FMODE_SINGLE_WAKEUP
	.comm	_FMODE_BIND_EPI,4,2             ## @FMODE_BIND_EPI
	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"Listen non-fastsocket %d\n"

	.no_dead_strip	_fastsocket_listen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fastsocket_listen
_fastsocket_listen:                     ; @fastsocket_listen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	w21, w20, [x0]
	add	x1, sp, #12
	mov	x0, x21
	bl	_fget_light
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FMODE_FASTSOCKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FMODE_FASTSOCKET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_DPRINTK
Lloh8:
	adrp	x8, _enable_fast_epoll@GOTPAGE
Lloh9:
	ldr	x8, [x8, _enable_fast_epoll@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _FMODE_SINGLE_WAKEUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FMODE_SINGLE_WAKEUP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh14:
	adrp	x9, _FMODE_BIND_EPI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FMODE_BIND_EPI@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_fsocket_listen
	b	LBB0_7
LBB0_5:
Lloh17:
	adrp	x8, _ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_EPRINTK_LIMIT
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_6:
Lloh25:
	adrp	x8, _INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_DPRINTK
	mov	x0, x21
	mov	x1, x20
	bl	_sys_listen
LBB0_7:
	mov	x20, x0
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_fput_light
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR,4,2                        ; @ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fd [%d] file doesn't exist!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FMODE_FASTSOCKET,4,2           ; @FMODE_FASTSOCKET
	.comm	_DEBUG,4,2                      ; @DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Listen fastsocket %d\n"

	.comm	_enable_fast_epoll,8,3          ; @enable_fast_epoll
	.comm	_FMODE_SINGLE_WAKEUP,4,2        ; @FMODE_SINGLE_WAKEUP
	.comm	_FMODE_BIND_EPI,4,2             ; @FMODE_BIND_EPI
	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"Listen non-fastsocket %d\n"

	.no_dead_strip	_fastsocket_listen
.subsections_via_symbols
