	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcb_put_local                 ## -- Begin function rpcb_put_local
	.p2align	4, 0x90
_rpcb_put_local:                        ## @rpcb_put_local
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_rpcb_local_clnt@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	_rpcb_local_clnt4@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_rpcb_clnt_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_rpcb_users@GOTPCREL(%rip), %rax
	decq	(%rax)
	je	LBB0_1
## %bb.5:
	movq	_rpcb_clnt_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_1:
	movq	$0, (%r15)
	movq	$0, (%r12)
	movq	_rpcb_clnt_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_rpc_shutdown_client
LBB0_3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rpc_shutdown_client            ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rpcb_local_clnt,8,3            ## @rpcb_local_clnt
	.comm	_rpcb_local_clnt4,8,3           ## @rpcb_local_clnt4
	.comm	_rpcb_clnt_lock,4,2             ## @rpcb_clnt_lock
	.comm	_rpcb_users,8,3                 ## @rpcb_users
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcb_put_local                 ; -- Begin function rpcb_put_local
	.p2align	2
_rpcb_put_local:                        ; @rpcb_put_local
	.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
Lloh0:
	adrp	x21, _rpcb_local_clnt@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rpcb_local_clnt@GOTPAGEOFF]
	ldr	x19, [x21]
Lloh2:
	adrp	x22, _rpcb_local_clnt4@GOTPAGE
Lloh3:
	ldr	x22, [x22, _rpcb_local_clnt4@GOTPAGEOFF]
	ldr	x20, [x22]
Lloh4:
	adrp	x0, _rpcb_clnt_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _rpcb_clnt_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh6:
	adrp	x8, _rpcb_users@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rpcb_users@GOTPAGEOFF]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, _rpcb_clnt_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _rpcb_clnt_lock@GOTPAGEOFF]
	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	_spin_unlock
LBB0_2:
	str	xzr, [x21]
	str	xzr, [x22]
Lloh10:
	adrp	x0, _rpcb_clnt_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _rpcb_clnt_lock@GOTPAGEOFF]
	bl	_spin_unlock
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_rpc_shutdown_client
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	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	_rpc_shutdown_client
LBB0_6:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_rpcb_local_clnt,8,3            ; @rpcb_local_clnt
	.comm	_rpcb_local_clnt4,8,3           ; @rpcb_local_clnt4
	.comm	_rpcb_clnt_lock,4,2             ; @rpcb_clnt_lock
	.comm	_rpcb_users,8,3                 ; @rpcb_users
.subsections_via_symbols
