	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_pipe_poll
_rpc_pipe_poll:                         ## @rpc_pipe_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, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_RPC_I
	movq	%rax, %r15
	leaq	16(%rax), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_poll_wait
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movq	_POLLWRNORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_POLLERR@GOTPCREL(%rip), %rax
	movq	_POLLHUP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	xorl	%ebx, %ebx
	cmpq	$0, 8(%r15)
	cmovel	%edx, %ebx
	orl	%ecx, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movq	_POLLRDNORM@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
	.comm	_POLLERR,4,2                    ## @POLLERR
	.comm	_POLLHUP,4,2                    ## @POLLHUP
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.no_dead_strip	_rpc_pipe_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_pipe_poll
_rpc_pipe_poll:                         ; @rpc_pipe_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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_RPC_I
	mov	x19, x0
	add	x1, x0, #16
	mov	x0, x21
	mov	x2, x20
	bl	_poll_wait
Lloh0:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _POLLWRNORM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POLLWRNORM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19, #8]
Lloh6:
	adrp	x10, _POLLERR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _POLLERR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _POLLHUP@GOTPAGE
Lloh10:
	ldr	x11, [x11, _POLLHUP@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	x9, #0
	csel	w9, w10, wzr, eq
	orr	w20, w8, w9
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_list_empty
	cbnz	w0, LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _POLLIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _POLLRDNORM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _POLLRDNORM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
LBB0_3:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
	.comm	_POLLERR,4,2                    ; @POLLERR
	.comm	_POLLHUP,4,2                    ; @POLLHUP
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.no_dead_strip	_rpc_pipe_poll
.subsections_via_symbols
