	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_poll                 ## -- Begin function dtfs_node_poll
	.p2align	4, 0x90
_dtfs_node_poll:                        ## @dtfs_node_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	callq	_puffs_getspecific
	movq	%rax, %r15
	leaq	-56(%rbp), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$4, -56(%rbp)
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_setitimer
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_puffs_cc_getcc
	movl	%eax, -48(%rbp)
	movq	_dp_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_LIST_INSERT_HEAD
	movl	-48(%rbp), %edi
	callq	_puffs_cc_yield
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movq	_POLLOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_POLLRDNORM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_POLLWRNORM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	andl	%ecx, (%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_errno,4,2                      ## @errno
	.comm	_dp_entries,4,2                 ## @dp_entries
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_poll                 ; -- Begin function dtfs_node_poll
	.p2align	2
_dtfs_node_poll:                        ; @dtfs_node_poll
	.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
	mov	x19, x2
	mov	x21, x0
	bl	_puffs_getspecific
	mov	x20, x0
	mov	w22, #4
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w22, [sp]
Lloh0:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_setitimer
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_puffs_cc_getcc
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _dp_entries@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dp_entries@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_LIST_INSERT_HEAD
	ldr	w0, [sp, #8]
	bl	_puffs_cc_yield
	mov	w0, #0
Lloh6:
	adrp	x8, _POLLIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _POLLOUT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POLLOUT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _POLLRDNORM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _POLLRDNORM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _POLLWRNORM@GOTPAGE
Lloh16:
	ldr	x10, [x10, _POLLWRNORM@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x19]
	and	w8, w8, w9
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_3:
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_errno,4,2                      ; @errno
	.comm	_dp_entries,4,2                 ; @dp_entries
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
.subsections_via_symbols
