	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_revoke_free              ## -- Begin function hx509_revoke_free
	.p2align	4, 0x90
_hx509_revoke_free:                     ## @hx509_revoke_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__hx509_abort
	movq	(%r14), %rax
	movq	(%rax), %rcx
LBB0_4:
	leaq	-1(%rcx), %rdx
	movq	%rdx, (%rax)
	cmpq	$1, %rcx
	jg	LBB0_12
## %bb.5:
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.6:
	movl	$40, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movq	8(%rax,%rbx), %rdi
	callq	_free
	movq	(%r14), %rax
	movq	16(%rax), %rdi
	addq	%rbx, %rdi
	callq	_free_CRLCertificateList
	incq	%r15
	movq	(%r14), %rax
	addq	$56, %rbx
	cmpq	8(%rax), %r15
	jb	LBB0_7
LBB0_8:
	cmpq	$0, 24(%rax)
	je	LBB0_11
## %bb.9:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rax), %rdi
	addq	%r15, %rdi
	callq	_free_ocsp
	incq	%rbx
	movq	(%r14), %rax
	addq	$56, %r15
	cmpq	24(%rax), %rbx
	jb	LBB0_10
LBB0_11:
	movq	32(%rax), %rdi
	callq	_free
	movq	(%r14), %rax
	movq	16(%rax), %rdi
	callq	_free
	movq	(%r14), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%r14), %rdi
	callq	_free
	movq	$0, (%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revoke ctx refcount == 0 on free"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_revoke_free              ; -- Begin function hx509_revoke_free
	.p2align	2
_hx509_revoke_free:                     ; @hx509_revoke_free
	.cfi_startproc
; %bb.0:
	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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.2:
	ldr	x9, [x8]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__hx509_abort
	ldr	x8, [x19]
	ldr	x9, [x8]
LBB0_4:
	subs	x9, x9, #1
	str	x9, [x8]
	b.gt	LBB0_12
; %bb.5:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.6:
	mov	x20, #0
	mov	w21, #48
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	ldr	x0, [x8, x21]
	bl	_free
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	add	x8, x8, x21
	sub	x0, x8, #8
	bl	_free_CRLCertificateList
	add	x20, x20, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	add	x21, x21, #56
	cmp	x20, x9
	b.lo	LBB0_7
LBB0_8:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_11
; %bb.9:
	mov	x20, #0
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #32]
	add	x0, x8, x20
	bl	_free_ocsp
	add	x21, x21, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
	add	x20, x20, #56
	cmp	x21, x9
	b.lo	LBB0_10
LBB0_11:
	ldr	x0, [x8, #32]
	bl	_free
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	bl	_free
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
LBB0_12:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revoke ctx refcount == 0 on free"

.subsections_via_symbols
