	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_auth_register              ## -- Begin function svc_auth_register
	.p2align	4, 0x90
_svc_auth_register:                     ## @svc_auth_register
	.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, %r14
	movq	%rdi, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_authtab_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_RPC_AUTH_MAXFLAVOR@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jbe	LBB0_3
## %bb.1:
	movq	_authtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%r15,8)
	jne	LBB0_3
## %bb.2:
	movq	%r14, (%rax,%r15,8)
	xorl	%ebx, %ebx
LBB0_3:
	movq	_authtab_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_authtab_lock,4,2               ## @authtab_lock
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ## @RPC_AUTH_MAXFLAVOR
	.comm	_authtab,8,3                    ## @authtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_auth_register              ; -- Begin function svc_auth_register
	.p2align	2
_svc_auth_register:                     ; @svc_auth_register
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
Lloh3:
	adrp	x0, _authtab_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _authtab_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh5:
	adrp	x8, _RPC_AUTH_MAXFLAVOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_AUTH_MAXFLAVOR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ls	LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _authtab@GOTPAGE
Lloh9:
	ldr	x8, [x8, _authtab@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x8, x21, lsl #3]
	cbnz	x9, LBB0_3
; %bb.2:
	mov	w19, #0
	str	x20, [x8, x21, lsl #3]
LBB0_3:
Lloh11:
	adrp	x0, _authtab_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _authtab_lock@GOTPAGEOFF]
	bl	_spin_unlock
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_authtab_lock,4,2               ; @authtab_lock
	.comm	_RPC_AUTH_MAXFLAVOR,8,3         ; @RPC_AUTH_MAXFLAVOR
	.comm	_authtab,8,3                    ; @authtab
.subsections_via_symbols
