	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_evaluate
_tree_evaluate:                         ## @tree_evaluate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, (%rdi)
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	addq	$8, %rbx
	movl	$1, %r12d
	movq	_X509_PCY_TREE_VALID@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_policy_cache_set
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_tree_link_nodes
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_X509_V_FLAG_INHIBIT_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_tree_link_any
	testl	%eax, %eax
	je	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_tree_prune
	cmpl	(%r13), %eax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$8, %rbx
	cmpl	(%r14), %r12d
	jl	LBB0_2
	jmp	LBB0_10
LBB0_7:
	movq	_X509_PCY_TREE_VALID@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_X509_PCY_TREE_INTERNAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_PCY_TREE_INTERNAL,4,2     ## @X509_PCY_TREE_INTERNAL
	.comm	_X509_V_FLAG_INHIBIT_ANY,4,2    ## @X509_V_FLAG_INHIBIT_ANY
	.comm	_X509_PCY_TREE_VALID,4,2        ## @X509_PCY_TREE_VALID
	.no_dead_strip	_tree_evaluate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_evaluate
_tree_evaluate:                         ; @tree_evaluate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.le	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	add	x20, x8, #8
	mov	w22, #1
Lloh0:
	adrp	x23, _X509_V_FLAG_INHIBIT_ANY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _X509_V_FLAG_INHIBIT_ANY@GOTPAGEOFF]
Lloh2:
	adrp	x24, _X509_PCY_TREE_VALID@GOTPAGE
Lloh3:
	ldr	x24, [x24, _X509_PCY_TREE_VALID@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	bl	_policy_cache_set
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_tree_link_nodes
	cbz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_tree_link_any
	cbz	w0, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_tree_prune
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19]
	add	x20, x20, #8
	cmp	w22, w8
	b.lt	LBB0_2
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _X509_PCY_TREE_VALID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_PCY_TREE_VALID@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _X509_PCY_TREE_INTERNAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X509_PCY_TREE_INTERNAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_PCY_TREE_INTERNAL,4,2     ; @X509_PCY_TREE_INTERNAL
	.comm	_X509_V_FLAG_INHIBIT_ANY,4,2    ; @X509_V_FLAG_INHIBIT_ANY
	.comm	_X509_PCY_TREE_VALID,4,2        ; @X509_PCY_TREE_VALID
	.no_dead_strip	_tree_evaluate
.subsections_via_symbols
