	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_all                       ## -- Begin function free_all
	.p2align	4, 0x90
_free_all:                              ## @free_all
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_18
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_user_LRU_unload
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.2:
	movq	_user_cnt@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.3:
	xorl	%r15d, %r15d
	movq	_users@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%r15, %rdi
	callq	_hset_int_free
	incq	%rbx
	movslq	(%r12), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	$1, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	40(%r14,%r13), %rdi
	movq	_index_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	1(%rax), %ecx
	imull	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	imull	$1024000, %eax, %eax            ## imm = 0xFA000
	addl	%ecx, %eax
	leal	8(,%rax,8), %esi
	callq	_dl_free
	leaq	(%r14,%r13), %rdi
	addq	$32, %rdi
	callq	_map_string_int_free
	movq	_user_cnt@GOTPCREL(%rip), %r12
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	cmpq	$256, %r15                      ## imm = 0x100
	je	LBB0_17
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%r15,8)
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_sim_header@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	(%r15,%r15,2), %r13
	shlq	$5, %r13
	movslq	(%r14,%r13), %rbx
	leaq	(%r14,%r13), %rdi
	addq	$88, %rdi
	callq	_vector_int_free
	movq	80(%r14,%r13), %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	(,%rbx,4), %ebx
	movl	%ebx, %esi
	callq	_dl_free
	cmpq	$0, 8(%r14,%r13)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	64(%r14,%r13), %rdi
	addl	$4, %ebx
	movl	%ebx, %esi
	callq	_dl_free
	leaq	(%r14,%r13), %rax
	addq	$56, %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r14,%r13), %rax
	addq	$72, %rax
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rdi
	movl	16(%r14,%r13), %esi
	shll	$2, %esi
	callq	_dl_free
	movl	20(%r14,%r13), %esi
	testl	%esi, %esi
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	48(%r14,%r13), %rdi
	callq	_dl_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	24(%r14,%r13), %eax
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r14,%r13), %rbx
	addq	$24, %rbx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_dl_strfree
	incq	%r12
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jl	LBB0_13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r14,%r13), %rdi
	addq	$28, %rdi
	callq	_map_int_int_free
	jmp	LBB0_16
LBB0_17:
	movq	_users@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r12), %esi
	shll	$2, %esi
	callq	_dl_free
	movq	_h_users@GOTPCREL(%rip), %rdi
	callq	_hset_intp_free
	movq	_header@GOTPCREL(%rip), %rdi
	callq	_free_header
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_user_cnt,4,2                   ## @user_cnt
	.comm	_users,8,3                      ## @users
	.comm	_types,8,3                      ## @types
	.comm	_sim_header,8,3                 ## @sim_header
	.comm	_index_mode,4,2                 ## @index_mode
	.comm	_dumps,8,3                      ## @dumps
	.comm	_h_users,4,2                    ## @h_users
	.comm	_header,4,2                     ## @header
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Memory left: %lld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_all                       ; -- Begin function free_all
	.p2align	2
_free_all:                              ; @free_all
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_18
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_user_LRU_unload
	cmn	w0, #1
	b.ne	LBB0_1
; %bb.2:
Lloh3:
	adrp	x20, _user_cnt@GOTPAGE
Lloh4:
	ldr	x20, [x20, _user_cnt@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh5:
	adrp	x21, _users@GOTPAGE
Lloh6:
	ldr	x21, [x21, _users@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x19, #0
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x19
	bl	_hset_int_free
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x19, x19, #4
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	mov	w22, #1
Lloh7:
	adrp	x23, _types@GOTPAGE
Lloh8:
	ldr	x23, [x23, _types@GOTPAGEOFF]
Lloh9:
	adrp	x24, _sim_header@GOTPAGE
Lloh10:
	ldr	x24, [x24, _sim_header@GOTPAGEOFF]
	mov	w25, #96
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	madd	x19, x22, x25, x28
	ldr	x0, [x19, #40]
Lloh11:
	adrp	x8, _index_mode@GOTPAGE
Lloh12:
	ldr	x8, [x8, _index_mode@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	madd	w9, w21, w8, w21
	mov	w10, #40960
	movk	w10, #15, lsl #16
	madd	w8, w8, w10, w9
	lsl	w8, w8, #3
	add	w1, w8, #8
	bl	_dl_free
	add	x0, x19, #32
	bl	_map_string_int_free
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	cmp	x22, #256
	b.eq	LBB0_17
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x23]
	ldr	x8, [x8, x22, lsl #3]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x28, [x24]
	madd	x26, x22, x25, x28
	ldrsw	x21, [x26]
	add	x0, x26, #88
	bl	_vector_int_free
	ldr	x0, [x26, #80]
	lsl	w19, w21, #2
	mov	x1, x19
	bl	_dl_free
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	madd	x26, x22, x25, x28
	ldr	x0, [x26, #64]
	add	w1, w19, #4
	bl	_dl_free
	add	x8, x26, #56
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	madd	x8, x22, x25, x28
	add	x8, x8, #72
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x8]
	madd	x19, x22, x25, x28
	ldr	w8, [x19, #16]
	lsl	w1, w8, #2
	bl	_dl_free
	ldr	w1, [x19, #20]
	cbz	w1, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	madd	x19, x22, x25, x28
	ldr	x0, [x19, #48]
	bl	_dl_free
	ldr	w8, [x19, #24]!
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	madd	x8, x22, x25, x28
	add	x27, x8, #40
	mov	x26, x21
LBB0_15:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	ldr	w0, [x8, x26, lsl #2]
	bl	_dl_strfree
	add	x26, x26, #1
	ldrsw	x8, [x19]
	cmp	x26, x8
	b.lt	LBB0_15
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	madd	x8, x22, x25, x28
	add	x0, x8, #28
	bl	_map_int_int_free
	b	LBB0_7
LBB0_17:
Lloh14:
	adrp	x8, _users@GOTPAGE
Lloh15:
	ldr	x8, [x8, _users@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldr	w8, [x20]
	lsl	w1, w8, #2
	bl	_dl_free
Lloh17:
	adrp	x0, _h_users@GOTPAGE
Lloh18:
	ldr	x0, [x0, _h_users@GOTPAGEOFF]
	bl	_hset_intp_free
Lloh19:
	adrp	x0, _header@GOTPAGE
Lloh20:
	ldr	x0, [x0, _header@GOTPAGEOFF]
	bl	_free_header
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	bl	_dl_get_memory_used
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	bl	_dl_get_memory_used
	cmp	x0, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_assert
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_user_cnt,4,2                   ; @user_cnt
	.comm	_users,8,3                      ; @users
	.comm	_types,8,3                      ; @types
	.comm	_sim_header,8,3                 ; @sim_header
	.comm	_index_mode,4,2                 ; @index_mode
	.comm	_dumps,8,3                      ; @dumps
	.comm	_h_users,4,2                    ; @h_users
	.comm	_header,4,2                     ; @header
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Memory left: %lld\n"

.subsections_via_symbols
