	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcauth_unregister             ## -- Begin function rpcauth_unregister
	.p2align	4, 0x90
_rpcauth_unregister:                    ## @rpcauth_unregister
	.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	(%rdi), %r15
	movq	_RPC_AUTH_MAXFLAVOR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jae	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_rpc_authflavor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_auth_flavors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, (%rax,%r15,8)
	jne	LBB0_4
## %bb.3:
	movq	$0, (%rax,%r15,8)
	xorl	%ebx, %ebx
LBB0_4:
	movq	_rpc_authflavor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ## @RPC_AUTH_MAXFLAVOR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_rpc_authflavor_lock,4,2        ## @rpc_authflavor_lock
	.comm	_auth_flavors,8,3               ## @auth_flavors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcauth_unregister             ; -- Begin function rpcauth_unregister
	.p2align	2
_rpcauth_unregister:                    ; @rpcauth_unregister
	.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	x20, [x0]
Lloh0:
	adrp	x8, _RPC_AUTH_MAXFLAVOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_AUTH_MAXFLAVOR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.hs	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _EPERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x0, _rpc_authflavor_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _rpc_authflavor_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh8:
	adrp	x8, _auth_flavors@GOTPAGE
Lloh9:
	ldr	x8, [x8, _auth_flavors@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x8, x20, lsl #3]
	cmp	x9, x19
	b.eq	LBB0_4
; %bb.2:
	neg	w19, w21
	b	LBB0_5
LBB0_3:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_6
LBB0_4:
	mov	w19, #0
	str	xzr, [x8, x20, lsl #3]
LBB0_5:
Lloh14:
	adrp	x0, _rpc_authflavor_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _rpc_authflavor_lock@GOTPAGEOFF]
	bl	_spin_unlock
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ; @RPC_AUTH_MAXFLAVOR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_rpc_authflavor_lock,4,2        ; @rpc_authflavor_lock
	.comm	_auth_flavors,8,3               ; @auth_flavors
.subsections_via_symbols
