	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsAccessDisable                ## -- Begin function PsAccessDisable
	.p2align	4, 0x90
_PsAccessDisable:                       ## @PsAccessDisable
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -64(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	cmpq	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	$1, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_Zero
	movl	-96(%rbp), %edi
	movq	8(%r15), %rdx
	movl	$4, %esi
	callq	_StrCpy
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_ScEnumAccess
	movq	%rax, %r12
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_13
## %bb.5:
	cmpq	$0, -112(%rbp)
	jle	LBB0_11
## %bb.6:
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$8, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	addq	$16, %r14
	cmpq	-112(%rbp), %r15
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-104(%rbp), %r12
	movq	-8(%r12,%r14), %r13
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_GetParamInt
	cmpq	%rax, %r13
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, (%r12,%r14)
	movl	$1, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_1:
	movq	(%r14), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*%rbx
LBB0_3:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_16
LBB0_10:
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r15
	je	LBB0_11
## %bb.12:
	movl	(%rax), %edi
	leaq	-112(%rbp), %rsi
	callq	_ScSetAccessList
	movq	%rax, %r12
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.14:
	leaq	-112(%rbp), %rdi
	callq	_FreeRpcEnumAccessList
	jmp	LBB0_15
LBB0_13:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_CmdPrintError
LBB0_15:
	movq	%rbx, %rdi
	callq	_FreeParamValueList
	jmp	LBB0_16
LBB0_11:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_CmdPrintError
	movq	%rbx, %rdi
	callq	_FreeParamValueList
	leaq	-112(%rbp), %rdi
	callq	_FreeRpcEnumAccessList
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movq	%r12, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[id]"

	.comm	_CmdPrompt,4,2                  ## @CmdPrompt
L_.str.1:                               ## @.str.1
	.asciz	"CMD_Access_Prompt_ID"

	.comm	_CmdEvalNotEmpty,4,2            ## @CmdEvalNotEmpty
L_.str.2:                               ## @.str.2
	.asciz	"CMD_Hub_Not_Selected"

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsAccessDisable                ; -- Begin function PsAccessDisable
	.p2align	2
_PsAccessDisable:                       ; @PsAccessDisable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CmdPrompt@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CmdPrompt@GOTPAGEOFF]
	str	x8, [sp, #56]
Lloh5:
	ldrsw	x8, [x9]
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [sp, #24]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
Lloh10:
	adrp	x8, _CmdEvalNotEmpty@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CmdEvalNotEmpty@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #40]
	str	wzr, [sp, #48]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.1:
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w4, #1
	bl	_ParseCommandList
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x0, sp
	mov	w1, #24
	bl	_Zero
	ldr	w0, [sp, #16]
	ldr	x2, [x21, #8]
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x21]
	mov	x1, sp
	bl	_ScEnumAccess
Lloh13:
	adrp	x23, _ERR_NO_ERROR@GOTPAGE
Lloh14:
	ldr	x23, [x23, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [sp]
	cmp	x8, #1
	b.lt	LBB0_16
; %bb.4:
	mov	x24, #0
	mov	w26, #0
	mov	x25, #0
Lloh15:
	adrp	x22, l_.str@PAGE
Lloh16:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp]
	add	x24, x24, #16
	cmp	x25, x8
	b.ge	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [sp, #8]
	ldr	x28, [x27, x24]
	mov	x0, x20
	mov	x1, x22
	bl	_GetParamInt
	cmp	x28, x0
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x27, x24
	str	wzr, [x8, #8]
	mov	w26, #1
	b	LBB0_5
LBB0_8:
	ldr	x20, [x19]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x20
LBB0_9:
Lloh19:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh21:
	ldr	x22, [x8]
	b	LBB0_17
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	bl	_CmdPrintError
LBB0_12:
	mov	x0, x20
	bl	_FreeParamValueList
	b	LBB0_17
LBB0_13:
	cbz	w26, LBB0_16
; %bb.14:
	ldr	w0, [x21]
	mov	x1, sp
	bl	_ScSetAccessList
	mov	x22, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.15:
	mov	x0, sp
	bl	_FreeRpcEnumAccessList
	b	LBB0_12
LBB0_16:
Lloh22:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh24:
	ldr	x22, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_CmdPrintError
	mov	x0, x20
	bl	_FreeParamValueList
	mov	x0, sp
	bl	_FreeRpcEnumAccessList
LBB0_17:
	ldr	x8, [sp, #56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[id]"

	.comm	_CmdPrompt,4,2                  ; @CmdPrompt
l_.str.1:                               ; @.str.1
	.asciz	"CMD_Access_Prompt_ID"

	.comm	_CmdEvalNotEmpty,4,2            ; @CmdEvalNotEmpty
l_.str.2:                               ; @.str.2
	.asciz	"CMD_Hub_Not_Selected"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols
