	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtlk_poll
_dtlk_poll:                             ## @dtlk_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE_TEXT
	movq	_dtlk_process_list@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_poll_wait
	movq	_dtlk_has_indexing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dtlk_readable
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_dtlk_timer@GOTPCREL(%rip), %rdi
	callq	_del_timer
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movq	_POLLRDNORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	xorl	%eax, %eax
	callq	_dtlk_writeable
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_dtlk_timer@GOTPCREL(%rip), %rdi
	callq	_del_timer
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movq	_POLLWRNORM@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rcx,%rcx,2), %ecx
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	addq	%rax, %rsi
	movq	_dtlk_timer@GOTPCREL(%rip), %rdi
	callq	_mod_timer
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" dtlk_poll"

	.comm	_dtlk_process_list,4,2          ## @dtlk_process_list
	.comm	_dtlk_has_indexing,8,3          ## @dtlk_has_indexing
	.comm	_dtlk_timer,4,2                 ## @dtlk_timer
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_dtlk_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtlk_poll
_dtlk_poll:                             ; @dtlk_poll
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_TEXT
Lloh2:
	adrp	x1, _dtlk_process_list@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dtlk_process_list@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	bl	_poll_wait
Lloh4:
	adrp	x8, _dtlk_has_indexing@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dtlk_has_indexing@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	bl	_dtlk_readable
	cbz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, _dtlk_timer@GOTPAGE
Lloh8:
	ldr	x0, [x0, _dtlk_timer@GOTPAGEOFF]
	bl	_del_timer
Lloh9:
	adrp	x8, _POLLIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _POLLRDNORM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _POLLRDNORM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w19, w9, w8
	bl	_dtlk_writeable
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	bl	_dtlk_writeable
	cbz	x0, LBB0_5
LBB0_4:
Lloh15:
	adrp	x0, _dtlk_timer@GOTPAGE
Lloh16:
	ldr	x0, [x0, _dtlk_timer@GOTPAGEOFF]
	bl	_del_timer
Lloh17:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _POLLWRNORM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _POLLWRNORM@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w19
	orr	w19, w8, w9
LBB0_5:
Lloh23:
	adrp	x8, _jiffies@GOTPAGE
Lloh24:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh25:
	ldrsw	x8, [x8]
Lloh26:
	adrp	x9, _HZ@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #1
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
Lloh29:
	adrp	x0, _dtlk_timer@GOTPAGE
Lloh30:
	ldr	x0, [x0, _dtlk_timer@GOTPAGEOFF]
	bl	_mod_timer
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" dtlk_poll"

	.comm	_dtlk_process_list,4,2          ; @dtlk_process_list
	.comm	_dtlk_has_indexing,8,3          ; @dtlk_has_indexing
	.comm	_dtlk_timer,4,2                 ; @dtlk_timer
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_dtlk_poll
.subsections_via_symbols
