	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EditPolicy                     ## -- Begin function EditPolicy
	.p2align	4, 0x90
_EditPolicy:                            ## @EditPolicy
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -220(%rbp)                ## 4-byte Spill
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	xorl	%eax, %eax
	testq	%r13, %r13
	je	LBB0_13
## %bb.1:
	testq	%r14, %r14
	je	LBB0_13
## %bb.2:
	testq	%r15, %r15
	je	LBB0_13
## %bb.3:
	cmpq	$0, -200(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_13
## %bb.4:
	movq	%rcx, -232(%rbp)                ## 8-byte Spill
	movq	%r13, -216(%rbp)                ## 8-byte Spill
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_NewPack
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, -240(%rbp)                ## 8-byte Spill
	movq	%r14, %rsi
	callq	_OutRpcPolicy
	movq	%r15, %rdi
	callq	_PolicyStrToId
	movq	%rax, %rdi
	callq	_PolicyIdToStr
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	%eax, %ecx
	callq	_Format
	movq	_VALUE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_GetElement
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_PolicyStrToId
	movq	%rax, %rbx
	movq	_INFINITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_8
LBB0_6:
	shll	$2, %r12d
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_UniFormat
LBB0_7:
	movq	-216(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	*(%rdi)
LBB0_11:
	movq	-192(%rbp), %rbx                ## 8-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	callq	_FreePack
	movl	-180(%rbp), %eax                ## 4-byte Reload
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, -220(%rbp)                  ## 4-byte Folded Reload
	movq	-216(%rbp), %r14                ## 8-byte Reload
	je	LBB0_15
## %bb.9:
	movq	%rbx, %rdi
	callq	_PolicyIsSupportedForCascade
	testl	%eax, %eax
	je	LBB0_10
LBB0_15:
	movq	%rbx, %rdi
	callq	_GetPolicyItem
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.19:
	movq	%rax, %r15
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	callq	_ToInt
	movq	%rax, %r14
	shll	$2, %r12d
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_GetPolicyValueRangeStr
	cmpl	$0, 4(%r15)
	sete	%cl
	testq	%r14, %r14
	sete	%al
	andb	%cl, %al
	testq	%r14, %r14
	je	LBB0_24
## %bb.20:
	cmpq	8(%r15), %r14
	jl	LBB0_25
## %bb.21:
	cmpq	16(%r15), %r14
	setg	%cl
	orb	%al, %cl
	jne	LBB0_25
	jmp	LBB0_22
LBB0_16:
	leaq	L_.str.3(%rip), %rsi
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_StartWith
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_22
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_StartWith
	testq	%rax, %rax
	movq	%rbx, %rdi
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_23
## %bb.18:
	callq	_ToInt
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	jmp	LBB0_23
LBB0_10:
	shll	$2, %r12d
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_UniFormat
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*(%r14)
	jmp	LBB0_11
LBB0_24:
	testb	%al, %al
	je	LBB0_22
LBB0_25:
	leaq	L_.str.5(%rip), %rdi
	callq	__UU
	movl	%eax, %r14d
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	callq	_PolicyIdToStr
	movslq	%eax, %rcx
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	-208(%rbp), %r8                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_UniFormat
	jmp	LBB0_7
LBB0_22:
	movq	-192(%rbp), %rbx                ## 8-byte Reload
LBB0_23:
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	%r14d, (%rax)
	movq	-240(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_Zero
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_InRpcPolicy
	movl	$1, -180(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"policy:%s"

	.comm	_VALUE_INT,4,2                  ## @VALUE_INT
	.comm	_INFINITE,8,3                   ## @INFINITE
L_.str.1:                               ## @.str.1
	.asciz	"CMD_CascadePolicySet_Invalid_Name"

L_.str.2:                               ## @.str.2
	.asciz	"CMD_CascadePolicySet_Invalid_Name_For_Cascade"

L_.str.3:                               ## @.str.3
	.asciz	"y"

L_.str.4:                               ## @.str.4
	.asciz	"t"

L_.str.5:                               ## @.str.5
	.asciz	"CMD_CascadePolicySet_Invalid_Range"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EditPolicy                     ; -- Begin function EditPolicy
	.p2align	2
_EditPolicy:                            ; @EditPolicy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #144
	mov	x27, x4
	mov	x24, x3
	mov	x25, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	lsl	x8, x19, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	mov	w26, #0
	cbz	x0, LBB0_9
; %bb.1:
	cbz	x21, LBB0_9
; %bb.2:
	cbz	x25, LBB0_9
; %bb.3:
	cbz	x24, LBB0_9
; %bb.4:
	bl	_NewPack
	mov	x26, x0
	mov	x1, x21
	bl	_OutRpcPolicy
	mov	x0, x25
	bl	_PolicyStrToId
	bl	_PolicyIdToStr
	mov	x3, x0
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #216
	mov	w1, #128
	bl	_Format
Lloh12:
	adrp	x8, _VALUE_INT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VALUE_INT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	sub	x1, x29, #216
	stur	x26, [x29, #-224]               ; 8-byte Folded Spill
	mov	x0, x26
	bl	_GetElement
	cbz	x0, LBB0_6
; %bb.5:
	mov	x26, x0
	mov	x0, x25
	bl	_PolicyStrToId
Lloh15:
	adrp	x8, _INFINITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_6:
	lsl	w21, w19, #2
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	__UU
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	mov	x3, x25
	bl	_UniFormat
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	mov	w26, #0
	ldur	x19, [x29, #-224]               ; 8-byte Folded Reload
LBB0_8:
	mov	x0, x19
	bl	_FreePack
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.10:
	mov	x0, x26
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x28, x0
	cbz	w27, LBB0_13
; %bb.12:
	mov	x0, x28
	bl	_PolicyIsSupportedForCascade
	cbz	w0, LBB0_19
LBB0_13:
	mov	x0, x28
	bl	_GetPolicyItem
	ldr	w8, [x0]
	cbz	w8, LBB0_17
; %bb.14:
	mov	x27, x0
	mov	x0, x24
	bl	_ToInt
	mov	x24, x0
	lsl	w25, w19, #2
	mov	x0, x22
	mov	x1, x25
	mov	x2, x28
	bl	_GetPolicyValueRangeStr
	ldr	w8, [x27, #4]
	cmp	w8, #0
	ccmp	x24, #0, #0, eq
	cset	w8, eq
	cbz	x24, LBB0_20
; %bb.15:
	ldr	x9, [x27, #8]
	cmp	x24, x9
	ldur	x19, [x29, #-224]               ; 8-byte Folded Reload
	b.lt	LBB0_21
; %bb.16:
	ldr	x9, [x27, #16]
	cmp	x24, x9
	cset	w9, gt
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_21
	b	LBB0_25
LBB0_17:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_StartWith
	cbz	x0, LBB0_22
; %bb.18:
	mov	w24, #1
	ldur	x19, [x29, #-224]               ; 8-byte Folded Reload
	b	LBB0_25
LBB0_19:
	lsl	w21, w19, #2
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_20:
	ldur	x19, [x29, #-224]               ; 8-byte Folded Reload
	cbz	w8, LBB0_25
LBB0_21:
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__UU
	mov	x21, x0
	mov	x0, x28
	bl	_PolicyIdToStr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	str	x22, [sp, #-16]!
	mov	x0, x23
	mov	x1, x25
	mov	x2, x21
	bl	_UniFormat
	add	sp, sp, #16
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x23
	blr	x8
	mov	w26, #0
	b	LBB0_8
LBB0_22:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_StartWith
	ldur	x19, [x29, #-224]               ; 8-byte Folded Reload
	cbz	x0, LBB0_24
; %bb.23:
	mov	w24, #1
	b	LBB0_25
LBB0_24:
	mov	x0, x24
	bl	_ToInt
	cmp	x0, #0
	cset	w24, ne
LBB0_25:
	ldr	x8, [x26]
	ldr	x8, [x8]
	str	w24, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_Zero
	mov	x0, x21
	mov	x1, x19
	bl	_InRpcPolicy
	mov	w26, #1
	b	LBB0_8
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"policy:%s"

	.comm	_VALUE_INT,4,2                  ; @VALUE_INT
	.comm	_INFINITE,8,3                   ; @INFINITE
l_.str.1:                               ; @.str.1
	.asciz	"CMD_CascadePolicySet_Invalid_Name"

l_.str.2:                               ; @.str.2
	.asciz	"CMD_CascadePolicySet_Invalid_Name_For_Cascade"

l_.str.3:                               ; @.str.3
	.asciz	"y"

l_.str.4:                               ; @.str.4
	.asciz	"t"

l_.str.5:                               ; @.str.5
	.asciz	"CMD_CascadePolicySet_Invalid_Range"

.subsections_via_symbols
