	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_authenticate               ## -- Begin function svc_authenticate
	.p2align	4, 0x90
_svc_authenticate:                      ## @svc_authenticate
	.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, %r15
	movq	%rdi, %r14
	movq	_rpc_auth_ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movq	8(%rdi), %rdi
	callq	_svc_getnl
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_dprintk
	movq	_authtab_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_RPC_AUTH_MAXFLAVOR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_3
## %bb.1:
	movq	_authtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_authtab_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	%rbx, (%r14)
	movq	(%rbx), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	_authtab_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_rpc_autherr_badcred@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SVC_DENIED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rpc_auth_ok,4,2                ## @rpc_auth_ok
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svc: svc_authenticate (%d)\n"

	.comm	_authtab_lock,4,2               ## @authtab_lock
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ## @RPC_AUTH_MAXFLAVOR
	.comm	_authtab,8,3                    ## @authtab
	.comm	_rpc_autherr_badcred,4,2        ## @rpc_autherr_badcred
	.comm	_SVC_DENIED,4,2                 ## @SVC_DENIED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_authenticate               ; -- Begin function svc_authenticate
	.p2align	2
_svc_authenticate:                      ; @svc_authenticate
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _rpc_auth_ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rpc_auth_ok@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	ldr	x0, [x0, #8]
	bl	_svc_getnl
	mov	x21, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_dprintk
Lloh5:
	adrp	x0, _authtab_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _authtab_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh7:
	adrp	x8, _RPC_AUTH_MAXFLAVOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RPC_AUTH_MAXFLAVOR@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x21, x8
	b.hs	LBB0_4
; %bb.1:
Lloh10:
	adrp	x8, _authtab@GOTPAGE
Lloh11:
	ldr	x8, [x8, _authtab@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x21, [x8, x21, lsl #3]
	cbz	x21, LBB0_4
; %bb.2:
	ldr	w0, [x21, #8]
	bl	_try_module_get
	cbz	w0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, _authtab_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _authtab_lock@GOTPAGEOFF]
	bl	_spin_unlock
	str	x21, [x20]
	ldr	x2, [x21]
	mov	x0, x20
	mov	x1, 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
	br	x2
LBB0_4:
Lloh15:
	adrp	x0, _authtab_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _authtab_lock@GOTPAGEOFF]
	bl	_spin_unlock
Lloh17:
	adrp	x8, _rpc_autherr_badcred@GOTPAGE
Lloh18:
	ldr	x8, [x8, _rpc_autherr_badcred@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh20:
	adrp	x8, _SVC_DENIED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SVC_DENIED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_rpc_auth_ok,4,2                ; @rpc_auth_ok
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svc: svc_authenticate (%d)\n"

	.comm	_authtab_lock,4,2               ; @authtab_lock
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ; @RPC_AUTH_MAXFLAVOR
	.comm	_authtab,8,3                    ; @authtab
	.comm	_rpc_autherr_badcred,4,2        ; @rpc_autherr_badcred
	.comm	_SVC_DENIED,4,2                 ; @SVC_DENIED
.subsections_via_symbols
