	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteAccess                 ## -- Begin function StDeleteAccess
	.p2align	4, 0x90
_StDeleteAccess:                        ## @StDeleteAccess
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r14
	movq	(%r14), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERR_NOT_FARM_CONTROLLER@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_2:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_LockHubList
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	_GetHub
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_UnlockHubList
	testq	%r13, %r13
	je	LBB0_3
## %bb.4:
	cmpl	$0, (%r15)
	je	LBB0_5
LBB0_7:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_LockList
	movl	(%r13), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_14
## %bb.8:
	xorl	%ebx, %ebx
	movq	_MAX_ACCESSLISTS@GOTPCREL(%rip), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_HashPtrToUINT
	cmpq	(%r12), %rax
	je	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movl	(%r13), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r15
	movq	(%r12), %rax
	cmpq	(%r14), %rax
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rax, (%r15)
	jne	LBB0_13
LBB0_11:
	movq	%r15, %rdi
	callq	_Free
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_Delete
	movl	(%r13), %edi
	callq	_UnlockList
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ALog
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_IncrementServerConfigRevision
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_15
LBB0_3:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_14:
	movl	(%r13), %edi
	callq	_UnlockList
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rbx
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rbx
LBB0_15:
	movq	%r13, %rdi
	callq	_ReleaseHub
LBB0_16:
	movq	(%rbx), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,8,3    ## @ERR_NOT_FARM_CONTROLLER
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_ERR_HUB_NOT_FOUND,8,3          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_access_list"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ## @ERR_NOT_ENOUGH_RIGHT
	.comm	_MAX_ACCESSLISTS,8,3            ## @MAX_ACCESSLISTS
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"LA_DELETE_ACCESS"

	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteAccess                 ; -- Begin function StDeleteAccess
	.p2align	2
_StDeleteAccess:                        ; @StDeleteAccess
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x20, _ERR_NOT_FARM_CONTROLLER@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ERR_NOT_FARM_CONTROLLER@GOTPAGEOFF]
	b	LBB0_16
LBB0_2:
	mov	x22, x1
	mov	x21, x0
	ldr	x23, [x20, #8]
	mov	x0, x23
	bl	_LockHubList
	ldr	w1, [x22, #8]
	mov	x0, x23
	bl	_GetHub
	mov	x19, x0
	mov	x0, x23
	bl	_UnlockHubList
	cbz	x19, LBB0_11
; %bb.3:
	ldr	w8, [x21]
	cbz	w8, LBB0_13
LBB0_4:
	ldr	w0, [x19]
	bl	_LockList
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x23, #0
Lloh5:
	adrp	x25, _MAX_ACCESSLISTS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MAX_ACCESSLISTS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_HashPtrToUINT
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x23, x0
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x23
	bl	_LIST_DATA
	mov	x24, x0
	ldr	x8, [x22]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x24]
	cmp	x9, x8
	b.ne	LBB0_7
LBB0_10:
	mov	x0, x24
	bl	_Free
	ldr	w0, [x19]
	mov	x1, x24
	bl	_Delete
	ldr	w0, [x19]
	bl	_UnlockList
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	bl	_ALog
	mov	x0, x20
	bl	_IncrementServerConfigRevision
Lloh9:
	adrp	x20, _ERR_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x20, [x20, _ERR_NO_ERROR@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh11:
	adrp	x20, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
	ldr	w0, [x19]
	bl	_UnlockList
Lloh13:
	adrp	x20, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh14:
	ldr	x20, [x20, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_GetHubAdminOption
	cbz	x0, LBB0_4
; %bb.14:
Lloh17:
	adrp	x20, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh18:
	ldr	x20, [x20, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
LBB0_15:
	mov	x0, x19
	bl	_ReleaseHub
LBB0_16:
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,8,3    ; @ERR_NOT_FARM_CONTROLLER
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_ERR_HUB_NOT_FOUND,8,3          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_change_access_list"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ; @ERR_NOT_ENOUGH_RIGHT
	.comm	_MAX_ACCESSLISTS,8,3            ; @MAX_ACCESSLISTS
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"LA_DELETE_ACCESS"

	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
.subsections_via_symbols
