	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcauth_create                 ## -- Begin function rpcauth_create
	.p2align	4, 0x90
_rpcauth_create:                        ## @rpcauth_create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	callq	_pseudoflavor_to_flavor
	movq	%rax, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %r15
	movq	_RPC_AUTH_MAXFLAVOR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_10
## %bb.1:
	movq	_auth_flavors@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_request_module
LBB0_3:
	movq	_rpc_authflavor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_rpc_authflavor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	*8(%rbx)
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_module_put
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_rpcauth_release
LBB0_9:
	movq	%r15, (%r14)
	jmp	LBB0_10
LBB0_5:
	movq	_rpc_authflavor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
LBB0_10:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ## @RPC_AUTH_MAXFLAVOR
	.comm	_auth_flavors,8,3               ## @auth_flavors
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpc-auth-%u"

	.comm	_rpc_authflavor_lock,4,2        ## @rpc_authflavor_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcauth_create                 ; -- Begin function rpcauth_create
	.p2align	2
_rpcauth_create:                        ; @rpcauth_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_pseudoflavor_to_flavor
	mov	x22, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
Lloh3:
	adrp	x8, _RPC_AUTH_MAXFLAVOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RPC_AUTH_MAXFLAVOR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x22, x8
	b.hs	LBB0_10
; %bb.1:
Lloh6:
	adrp	x23, _auth_flavors@GOTPAGE
Lloh7:
	ldr	x23, [x23, _auth_flavors@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8, x22, lsl #3]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_request_module
LBB0_3:
Lloh10:
	adrp	x0, _rpc_authflavor_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _rpc_authflavor_lock@GOTPAGEOFF]
	bl	_spin_lock
	ldr	x8, [x23]
	ldr	x22, [x8, x22, lsl #3]
	cbz	x22, LBB0_9
; %bb.4:
	ldr	w0, [x22]
	bl	_try_module_get
	cbz	w0, LBB0_9
; %bb.5:
Lloh12:
	adrp	x0, _rpc_authflavor_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _rpc_authflavor_lock@GOTPAGEOFF]
	bl	_spin_unlock
	ldr	x8, [x22, #8]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	mov	x20, x0
	ldr	w0, [x22]
	bl	_module_put
	mov	x0, x20
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.6:
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_rpcauth_release
LBB0_8:
	str	x20, [x19]
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x0, _rpc_authflavor_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _rpc_authflavor_lock@GOTPAGEOFF]
	bl	_spin_unlock
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ; @RPC_AUTH_MAXFLAVOR
	.comm	_auth_flavors,8,3               ; @auth_flavors
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc-auth-%u"

	.comm	_rpc_authflavor_lock,4,2        ; @rpc_authflavor_lock
.subsections_via_symbols
