	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn_socket_poll
_pn_socket_poll:                        ## @pn_socket_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	8(%rsi), %r12
	movq	%r12, %rdi
	callq	_pep_sk
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_poll_wait
	movl	(%r12), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_hlist_empty
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_13
LBB0_4:
	movq	_POLLERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_13
LBB0_5:
	leaq	4(%r12), %rdi
	callq	_skb_queue_empty
	movq	_POLLIN@GOTPCREL(%rip), %rcx
	movq	_POLLRDNORM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	xorl	%r15d, %r15d
	testl	%eax, %eax
	cmovnel	%r15d, %ebx
	leaq	4(%r14), %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_POLLPRI@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	orl	%ebx, %r15d
	movl	(%r12), %eax
	jne	LBB0_10
## %bb.8:
	movq	_TCP_CLOSE_WAIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_13
LBB0_10:
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movq	_POLLWRNORM@GOTPCREL(%rip), %rcx
	movq	_POLLWRBAND@GOTPCREL(%rip), %rdx
	orl	(%rax), %r15d
	orl	(%rcx), %r15d
	orl	(%rdx), %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLERR,4,2                    ## @POLLERR
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_POLLPRI,4,2                    ## @POLLPRI
	.comm	_TCP_CLOSE_WAIT,4,2             ## @TCP_CLOSE_WAIT
	.comm	_POLLHUP,4,2                    ## @POLLHUP
	.comm	_TCP_ESTABLISHED,4,2            ## @TCP_ESTABLISHED
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
	.comm	_POLLWRBAND,4,2                 ## @POLLWRBAND
	.no_dead_strip	_pn_socket_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn_socket_poll
_pn_socket_poll:                        ; @pn_socket_poll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x21, [x1, #8]
	mov	x0, x21
	bl	_pep_sk
	mov	x19, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_poll_wait
	ldr	w8, [x21]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	add	x0, x19, #8
	bl	_hlist_empty
Lloh0:
	adrp	x8, _POLLIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, w8, wzr, eq
	b	LBB0_10
LBB0_3:
Lloh3:
	adrp	x8, _POLLERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POLLERR@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	add	x0, x21, #4
	bl	_skb_queue_empty
Lloh5:
	adrp	x8, _POLLIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh7:
	adrp	x9, _POLLRDNORM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _POLLRDNORM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w0, #0
	csel	w20, w8, wzr, eq
	add	x0, x19, #4
	bl	_skb_queue_empty
Lloh11:
	adrp	x8, _POLLPRI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _POLLPRI@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w20, w8, w20
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _TCP_CLOSE_WAIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TCP_CLOSE_WAIT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w20, #0
	ccmp	w8, w9, #0, eq
	b.eq	LBB0_8
; %bb.5:
Lloh17:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_atomic_read
	cbz	x0, LBB0_10
; %bb.7:
Lloh20:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _POLLWRNORM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _POLLWRNORM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _POLLWRBAND@GOTPAGE
Lloh27:
	ldr	x10, [x10, _POLLWRBAND@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w20, w8, w10
	b	LBB0_10
LBB0_8:
Lloh29:
	adrp	x8, _POLLHUP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _POLLHUP@GOTPAGEOFF]
LBB0_9:
	ldr	w20, [x8]
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLERR,4,2                    ; @POLLERR
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_POLLPRI,4,2                    ; @POLLPRI
	.comm	_TCP_CLOSE_WAIT,4,2             ; @TCP_CLOSE_WAIT
	.comm	_POLLHUP,4,2                    ; @POLLHUP
	.comm	_TCP_ESTABLISHED,4,2            ; @TCP_ESTABLISHED
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
	.comm	_POLLWRBAND,4,2                 ; @POLLWRBAND
	.no_dead_strip	_pn_socket_poll
.subsections_via_symbols
