	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_close_pipes
_rpc_close_pipes:                       ## @rpc_close_pipes
	.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	%rdi, %r14
	callq	_RPC_I
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	24(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.1:
	leaq	24(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_free_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movb	$1, %al
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%rbx)
	setne	%al
LBB0_3:
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	$0, (%rbx)
	leaq	44(%rbx), %rdi
	movq	_free_list@GOTPCREL(%rip), %r12
	movq	%r12, %rsi
	callq	_list_splice_init
	leaq	40(%rbx), %rdi
	movq	%r12, %rsi
	callq	_list_splice_init
	xorps	%xmm0, %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	8(%r13), %edx
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_rpc_purge_list
	movq	$0, 8(%rbx)
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_6
## %bb.4:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	*%rax
LBB0_6:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_cancel_delayed_work_sync
LBB0_7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rpc_inode_setowner
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_free_list,4,2                  ## @free_list
	.comm	_EPIPE,4,2                      ## @EPIPE
	.no_dead_strip	_rpc_close_pipes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_close_pipes
_rpc_close_pipes:                       ; @rpc_close_pipes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_RPC_I
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_lock
	mov	x24, x20
	ldr	x23, [x24, #24]!
	cbz	x23, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _free_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_list@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w25, #1
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w25, ne
LBB0_4:
	str	xzr, [x20]
	add	x0, x20, #44
Lloh3:
	adrp	x22, _free_list@GOTPAGE
Lloh4:
	ldr	x22, [x22, _free_list@GOTPAGEOFF]
	mov	x1, x22
	bl	_list_splice_init
	add	x0, x20, #40
	mov	x1, x22
	bl	_list_splice_init
	stp	xzr, xzr, [x24]
	mov	x0, x21
	bl	_spin_unlock
	ldr	w2, [x23, #8]
Lloh5:
	adrp	x8, _EPIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w3, w8
	mov	x0, x20
	mov	x1, x22
	bl	_rpc_purge_list
	str	xzr, [x20, #8]
	cbz	w25, LBB0_7
; %bb.5:
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	blr	x8
LBB0_7:
	add	x0, x20, #16
	bl	_cancel_delayed_work_sync
LBB0_8:
	mov	x0, x19
	mov	x1, #0
	bl	_rpc_inode_setowner
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_free_list,4,2                  ; @free_list
	.comm	_EPIPE,4,2                      ; @EPIPE
	.no_dead_strip	_rpc_close_pipes
.subsections_via_symbols
