	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_policy_tree_free          ## -- Begin function X509_policy_tree_free
	.p2align	4, 0x90
_X509_policy_tree_free:                 ## @X509_policy_tree_free
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	36(%rdi), %edi
	callq	_sk_X509_POLICY_NODE_free
	movl	32(%r15), %edi
	movq	_exnode_free@GOTPCREL(%rip), %rsi
	callq	_sk_X509_POLICY_NODE_pop_free
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	movq	8(%r15), %rbx
	addq	$28, %rbx
	xorl	%r12d, %r12d
	movq	_policy_node_free@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_X509_free
	movl	-4(%rbx), %edi
	movq	%r14, %rsi
	callq	_sk_X509_POLICY_NODE_pop_free
	movl	-8(%rbx), %edi
	callq	_policy_node_free
	incl	%r12d
	addq	$40, %rbx
	cmpl	(%r15), %r12d
	jl	LBB0_3
LBB0_4:
	movl	16(%r15), %edi
	movq	_policy_data_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sk_X509_POLICY_DATA_pop_free
	movq	8(%r15), %rdi
	callq	_OPENSSL_free
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OPENSSL_free                   ## TAILCALL
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_policy_data_free,4,2           ## @policy_data_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_policy_tree_free          ; -- Begin function X509_policy_tree_free
	.p2align	2
_X509_policy_tree_free:                 ; @X509_policy_tree_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	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	x19, x0
	ldr	w0, [x0, #36]
	bl	_sk_X509_POLICY_NODE_free
	ldr	w0, [x19, #32]
Lloh0:
	adrp	x1, _exnode_free@GOTPAGE
Lloh1:
	ldr	x1, [x1, _exnode_free@GOTPAGEOFF]
	bl	_sk_X509_POLICY_NODE_pop_free
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w21, #0
	ldr	x8, [x19, #8]
	add	x22, x8, #28
Lloh2:
	adrp	x20, _policy_node_free@GOTPAGE
Lloh3:
	ldr	x20, [x20, _policy_node_free@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_X509_free
	ldur	w0, [x22, #-4]
	mov	x1, x20
	bl	_sk_X509_POLICY_NODE_pop_free
	ldur	w0, [x22, #-8]
	bl	_policy_node_free
	add	w21, w21, #1
	ldr	w8, [x19]
	add	x22, x22, #40
	cmp	w21, w8
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [x19, #16]
Lloh4:
	adrp	x8, _policy_data_free@GOTPAGE
Lloh5:
	ldr	x8, [x8, _policy_data_free@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_sk_X509_POLICY_DATA_pop_free
	ldr	x0, [x19, #8]
	bl	_OPENSSL_free
	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
	b	_OPENSSL_free
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_policy_data_free,4,2           ; @policy_data_free
.subsections_via_symbols
