	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll
_poll:                                  ## @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	8(%rsi), %rbx
	movl	4(%rbx), %esi
	callq	_poll_wait
	movq	%rbx, %rdi
	callq	_skb_queue_empty
	movq	(%r14), %rcx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rax
	movq	_SS_DISCONNECTING@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rax), %rcx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	je	LBB0_4
## %bb.5:
	cmpq	%rdx, %rcx
	jne	LBB0_6
LBB0_7:
	movq	_POLLHUP@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	movq	_SS_DISCONNECTING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_4:
	movq	_POLLRDNORM@GOTPCREL(%rip), %rsi
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rsi), %eax
	cmpq	%rdx, %rcx
	je	LBB0_7
LBB0_6:
	movq	_POLLOUT@GOTPCREL(%rip), %rcx
LBB0_8:
	orl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_UNCONNECTED,8,3             ## @SS_UNCONNECTED
	.comm	_SS_DISCONNECTING,8,3           ## @SS_DISCONNECTING
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLHUP,4,2                    ## @POLLHUP
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.no_dead_strip	_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll
_poll:                                  ; @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
	ldr	x20, [x1, #8]
	ldr	w1, [x20, #4]
	bl	_poll_wait
	mov	x0, x20
	bl	_skb_queue_empty
	ldr	x8, [x19]
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _SS_UNCONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SS_UNCONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _SS_DISCONNECTING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SS_DISCONNECTING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.eq	LBB0_4
; %bb.2:
	mov	w10, #0
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x9, _SS_DISCONNECTING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SS_DISCONNECTING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
LBB0_4:
Lloh9:
	adrp	x10, _POLLRDNORM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _POLLRDNORM@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _POLLIN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _POLLIN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
LBB0_5:
Lloh15:
	adrp	x11, _POLLHUP@GOTPAGE
Lloh16:
	ldr	x11, [x11, _POLLHUP@GOTPAGEOFF]
Lloh17:
	adrp	x12, _POLLOUT@GOTPAGE
Lloh18:
	ldr	x12, [x12, _POLLOUT@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, eq
	ldr	w8, [x8]
	orr	w0, w8, w10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_UNCONNECTED,8,3             ; @SS_UNCONNECTED
	.comm	_SS_DISCONNECTING,8,3           ; @SS_DISCONNECTING
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLHUP,4,2                    ; @POLLHUP
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.no_dead_strip	_poll
.subsections_via_symbols
