	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_tree_node
_free_tree_node:                        ## @free_tree_node
	.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	_alloc_tree_nodes@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %eax
	movq	_tot_allocated_data@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	callq	_free
LBB0_2:
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_zfree
	movq	_free_tree_nodes@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_alloc_tree_nodes,4,2           ## @alloc_tree_nodes
	.comm	_tot_allocated_data,4,2         ## @tot_allocated_data
	.comm	_free_tree_nodes,4,2            ## @free_tree_nodes
	.no_dead_strip	_free_tree_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_tree_node
_free_tree_node:                        ; @free_tree_node
	.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
Lloh0:
	adrp	x8, _alloc_tree_nodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _alloc_tree_nodes@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _tot_allocated_data@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tot_allocated_data@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w8, w10, w8
	str	w8, [x9]
	bl	_free
LBB0_2:
	mov	x0, x19
	mov	w1, #16
	bl	_zfree
Lloh4:
	adrp	x8, _free_tree_nodes@GOTPAGE
Lloh5:
	ldr	x8, [x8, _free_tree_nodes@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_alloc_tree_nodes,4,2           ; @alloc_tree_nodes
	.comm	_tot_allocated_data,4,2         ; @tot_allocated_data
	.comm	_free_tree_nodes,4,2            ; @free_tree_nodes
	.no_dead_strip	_free_tree_node
.subsections_via_symbols
