	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_Free          ## -- Begin function HPDF_CMapEncoder_Free
	.p2align	4, 0x90
_HPDF_CMapEncoder_Free:                 ## @HPDF_CMapEncoder_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
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.1:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	cmpq	$0, (%rdi)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_HPDF_List_ItemAt
	movl	8(%r14), %edi
	movq	%rax, %rsi
	callq	_HPDF_FreeMem
	incq	%rbx
	movq	16(%r15), %rdi
	cmpq	(%rdi), %rbx
	jl	LBB0_4
LBB0_5:
	callq	_HPDF_List_Free
LBB0_6:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:
	cmpq	$0, (%rdi)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_HPDF_List_ItemAt
	movl	8(%r14), %edi
	movq	%rax, %rsi
	callq	_HPDF_FreeMem
	incq	%rbx
	movq	8(%r15), %rdi
	cmpq	(%rdi), %rbx
	jl	LBB0_9
LBB0_10:
	callq	_HPDF_List_Free
LBB0_11:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:
	cmpq	$0, (%rdi)
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_HPDF_List_ItemAt
	movl	8(%r14), %edi
	movq	%rax, %rsi
	callq	_HPDF_FreeMem
	incq	%rbx
	movq	(%r15), %rdi
	cmpq	(%rdi), %rbx
	jl	LBB0_14
LBB0_15:
	callq	_HPDF_List_Free
LBB0_16:
	movl	8(%r14), %edi
	movq	(%r14), %rsi
	callq	_HPDF_FreeMem
	movq	$0, (%r14)
	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	" HPDF_CMapEncoder_Free\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_Free          ; -- Begin function HPDF_CMapEncoder_Free
	.p2align	2
_HPDF_CMapEncoder_Free:                 ; @HPDF_CMapEncoder_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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	x21, [x19]
	cbz	x21, LBB0_16
; %bb.1:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_HPDF_List_ItemAt
	mov	x1, x0
	ldr	w0, [x19, #8]
	bl	_HPDF_FreeMem
	add	x20, x20, #1
	ldr	x0, [x21, #16]
	ldr	x8, [x0]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	bl	_HPDF_List_Free
LBB0_6:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_HPDF_List_ItemAt
	mov	x1, x0
	ldr	w0, [x19, #8]
	bl	_HPDF_FreeMem
	add	x20, x20, #1
	ldr	x0, [x21, #8]
	ldr	x8, [x0]
	cmp	x20, x8
	b.lt	LBB0_9
LBB0_10:
	bl	_HPDF_List_Free
LBB0_11:
	ldr	x0, [x21]
	cbz	x0, LBB0_16
; %bb.12:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x20, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_HPDF_List_ItemAt
	mov	x1, x0
	ldr	w0, [x19, #8]
	bl	_HPDF_FreeMem
	add	x20, x20, #1
	ldr	x0, [x21]
	ldr	x8, [x0]
	cmp	x20, x8
	b.lt	LBB0_14
LBB0_15:
	bl	_HPDF_List_Free
LBB0_16:
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_HPDF_FreeMem
	str	xzr, [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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CMapEncoder_Free\n"

.subsections_via_symbols
