	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function catfree
_catfree:                               ## @catfree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_NLERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	40(%rax), %edi
	movq	32(%rax), %rsi
	callq	_munmap
	movq	24(%rbx), %rdi
	callq	_free
LBB0_3:
	movq	_catentry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cache@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_SLIST_REMOVE
	movq	16(%rbx), %rdi
	callq	_free
	movq	8(%rbx), %rdi
	callq	_free
	movq	(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLERR,8,3                      ## @NLERR
	.comm	_cache,4,2                      ## @cache
	.comm	_catentry,4,2                   ## @catentry
	.comm	_list,4,2                       ## @list
	.no_dead_strip	_catfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function catfree
_catfree:                               ; @catfree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _NLERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NLERR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x8, x9, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x8, #40]
	ldr	x1, [x8, #32]
	bl	_munmap
	ldr	x0, [x19, #24]
	bl	_free
LBB0_2:
Lloh3:
	adrp	x8, _catentry@GOTPAGE
Lloh4:
	ldr	x8, [x8, _catentry@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _list@GOTPAGE
Lloh7:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x0, _cache@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cache@GOTPAGEOFF]
	mov	x1, x19
	bl	_SLIST_REMOVE
	ldr	x0, [x19, #16]
	bl	_free
	ldr	x0, [x19, #8]
	bl	_free
	ldr	x0, [x19]
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NLERR,8,3                      ; @NLERR
	.comm	_cache,4,2                      ; @cache
	.comm	_catentry,4,2                   ; @catentry
	.comm	_list,4,2                       ; @list
	.no_dead_strip	_catfree
.subsections_via_symbols
