	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_poll                      ## -- Begin function dccp_poll
	.p2align	4, 0x90
_dccp_poll:                             ## @dccp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r14
	movl	32(%r14), %esi
	callq	_sock_poll_wait
	movl	(%r14), %eax
	movq	_DCCP_LISTEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inet_csk_listen_poll           ## TAILCALL
LBB0_1:
	xorl	%ebx, %ebx
	cmpq	$0, 24(%r14)
	movl	$0, %ecx
	je	LBB0_3
## %bb.2:
	movq	_POLLERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_3:
	movl	4(%r14), %edx
	movq	_SHUTDOWN_MASK@GOTPCREL(%rip), %rsi
	movq	_DCCP_CLOSED@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %eax
	movq	_POLLHUP@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmovel	%edi, %ebx
	cmpl	(%rsi), %edx
	cmovel	%edi, %ebx
	orl	%ecx, %ebx
	movq	_RCV_SHUTDOWN@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_POLLIN@GOTPCREL(%rip), %rcx
	movq	_POLLRDNORM@GOTPCREL(%rip), %rdx
	movq	_POLLRDHUP@GOTPCREL(%rip), %rsi
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
LBB0_5:
	movq	_DCCPF_REQUESTING@GOTPCREL(%rip), %rcx
	movq	_DCCPF_RESPOND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	btl	%eax, %edx
	jb	LBB0_10
## %bb.6:
	leaq	16(%r14), %rdi
	callq	_atomic_read
	movq	_POLLIN@GOTPCREL(%rip), %rcx
	movq	_POLLRDNORM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovgl	%edx, %ecx
	orl	%ecx, %ebx
	movq	_SEND_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	jne	LBB0_10
## %bb.7:
	movq	%r14, %rdi
	callq	_sk_stream_wspace
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_sk_stream_min_wspace
	cmpq	%rax, %r15
	jge	LBB0_9
## %bb.8:
	movq	_SOCK_ASYNC_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_set_bit
	movq	_SOCK_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_sk_stream_wspace
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_sk_stream_min_wspace
	cmpq	%rax, %r15
	jl	LBB0_10
LBB0_9:
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movq	_POLLWRNORM@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_LISTEN,4,2                ## @DCCP_LISTEN
	.comm	_POLLERR,4,2                    ## @POLLERR
	.comm	_SHUTDOWN_MASK,4,2              ## @SHUTDOWN_MASK
	.comm	_DCCP_CLOSED,4,2                ## @DCCP_CLOSED
	.comm	_POLLHUP,4,2                    ## @POLLHUP
	.comm	_RCV_SHUTDOWN,4,2               ## @RCV_SHUTDOWN
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_POLLRDHUP,4,2                  ## @POLLRDHUP
	.comm	_DCCPF_REQUESTING,4,2           ## @DCCPF_REQUESTING
	.comm	_DCCPF_RESPOND,4,2              ## @DCCPF_RESPOND
	.comm	_SEND_SHUTDOWN,4,2              ## @SEND_SHUTDOWN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ## @SOCK_ASYNC_NOSPACE
	.comm	_SOCK_NOSPACE,4,2               ## @SOCK_NOSPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_poll                      ; -- Begin function dccp_poll
	.p2align	2
_dccp_poll:                             ; @dccp_poll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x1]
	ldr	w1, [x19, #32]
	bl	_sock_poll_wait
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DCCP_LISTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCCP_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_inet_csk_listen_poll
LBB0_2:
	ldr	x9, [x19, #24]
Lloh3:
	adrp	x10, _POLLERR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _POLLERR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	ldr	w10, [x19, #4]
Lloh6:
	adrp	x11, _SHUTDOWN_MASK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SHUTDOWN_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _DCCP_CLOSED@GOTPAGE
Lloh10:
	ldr	x12, [x12, _DCCP_CLOSED@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	cmp	w8, w12
Lloh12:
	adrp	x12, _POLLHUP@GOTPAGE
Lloh13:
	ldr	x12, [x12, _POLLHUP@GOTPAGEOFF]
	ccmp	w10, w11, #4, ne
Lloh14:
	ldr	w11, [x12]
	csel	w11, w11, wzr, eq
	orr	w20, w11, w9
Lloh15:
	adrp	x9, _RCV_SHUTDOWN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RCV_SHUTDOWN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x21, _POLLIN@GOTPAGE
Lloh19:
	ldr	x21, [x21, _POLLIN@GOTPAGEOFF]
Lloh20:
	adrp	x22, _POLLRDNORM@GOTPAGE
Lloh21:
	ldr	x22, [x22, _POLLRDNORM@GOTPAGEOFF]
	tst	w9, w10
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x21]
	ldr	w10, [x22]
Lloh22:
	adrp	x11, _POLLRDHUP@GOTPAGE
Lloh23:
	ldr	x11, [x11, _POLLRDHUP@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	orr	w9, w9, w20
	orr	w9, w9, w10
	orr	w20, w9, w11
LBB0_4:
Lloh25:
	adrp	x9, _DCCPF_REQUESTING@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DCCPF_REQUESTING@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _DCCPF_RESPOND@GOTPAGE
Lloh29:
	ldr	x10, [x10, _DCCPF_RESPOND@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_9
; %bb.5:
	add	x0, x19, #16
	bl	_atomic_read
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	cmp	x0, #0
	csel	w8, w8, wzr, gt
	orr	w20, w8, w20
	ldr	w8, [x19, #4]
Lloh31:
	adrp	x9, _SEND_SHUTDOWN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SEND_SHUTDOWN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_sk_stream_wspace
	mov	x21, x0
	mov	x0, x19
	bl	_sk_stream_min_wspace
	cmp	x21, x0
	b.ge	LBB0_8
; %bb.7:
Lloh34:
	adrp	x8, _SOCK_ASYNC_NOSPACE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SOCK_ASYNC_NOSPACE@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_set_bit
Lloh37:
	adrp	x8, _SOCK_NOSPACE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SOCK_NOSPACE@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_set_bit
	mov	x0, x19
	bl	_sk_stream_wspace
	mov	x21, x0
	mov	x0, x19
	bl	_sk_stream_min_wspace
	cmp	x21, x0
	b.lt	LBB0_9
LBB0_8:
Lloh40:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _POLLWRNORM@GOTPAGE
Lloh44:
	ldr	x9, [x9, _POLLWRNORM@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.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	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_LISTEN,4,2                ; @DCCP_LISTEN
	.comm	_POLLERR,4,2                    ; @POLLERR
	.comm	_SHUTDOWN_MASK,4,2              ; @SHUTDOWN_MASK
	.comm	_DCCP_CLOSED,4,2                ; @DCCP_CLOSED
	.comm	_POLLHUP,4,2                    ; @POLLHUP
	.comm	_RCV_SHUTDOWN,4,2               ; @RCV_SHUTDOWN
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_POLLRDHUP,4,2                  ; @POLLRDHUP
	.comm	_DCCPF_REQUESTING,4,2           ; @DCCPF_REQUESTING
	.comm	_DCCPF_RESPOND,4,2              ; @DCCPF_RESPOND
	.comm	_SEND_SHUTDOWN,4,2              ; @SEND_SHUTDOWN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ; @SOCK_ASYNC_NOSPACE
	.comm	_SOCK_NOSPACE,4,2               ; @SOCK_NOSPACE
.subsections_via_symbols
