	.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)
	je	LBB0_15
## %bb.1:
	movq	_http_sfd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpl	$-1, %edi
	je	LBB0_3
## %bb.2:
	callq	_epoll_close
	movl	(%rbx), %edi
	callq	_close
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
LBB0_3:
	movq	_TIME_TABLE_SIZE@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	movq	_keys_cnt@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	addq	%rcx, %rax
	movq	%rax, (%r15)
	testq	%rcx, %rcx
	jle	LBB0_11
## %bb.4:
	xorl	%ebx, %ebx
	movq	_time_st@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_assert
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	callq	_delete_qkey
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%rcx), %edx
	movl	20(%rcx), %esi
	movq	%r12, %rdi
	callq	_dbg
	movq	(%r13), %rax
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_qkey_free
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.10:
	movq	(%r15), %rax
LBB0_11:
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	_qs@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rdi), %rax
	movq	%rax, (%rbx)
	movl	$8, %esi
	callq	_dl_free
	jmp	LBB0_13
LBB0_14:
	movq	_h_queue@GOTPCREL(%rip), %rdi
	callq	_shmap_string_vptr_free
	movq	_h_qkey@GOTPCREL(%rip), %rdi
	callq	_shmap_string_vptr_free
	movq	_secrets@GOTPCREL(%rip), %rdi
	callq	_map_int_int_free
	movq	_alias@GOTPCREL(%rip), %rdi
	callq	_map_ll_vptr_free
	movq	_h_subscribers@GOTPCREL(%rip), %rdi
	callq	_hset_llp_free
	movq	_cr@GOTPCREL(%rip), %rdi
	callq	_dl_crypto_free
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_treap_get_memory
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	subq	%rax, %r14
	sete	%bl
	movq	%r14, %rdx
	callq	_fprintf
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_15:
	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	_http_sfd,4,2                   ## @http_sfd
	.comm	_TIME_TABLE_SIZE,4,2            ## @TIME_TABLE_SIZE
	.comm	_keys_cnt,8,3                   ## @keys_cnt
	.comm	_time_st,8,3                    ## @time_st
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Problem with key[%s] timeout = %d\n"

	.comm	_qs,8,3                         ## @qs
	.comm	_h_queue,4,2                    ## @h_queue
	.comm	_h_qkey,4,2                     ## @h_qkey
	.comm	_secrets,4,2                    ## @secrets
	.comm	_alias,4,2                      ## @alias
	.comm	_h_subscribers,4,2              ## @h_subscribers
	.comm	_cr,4,2                         ## @cr
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.1:
Lloh3:
	adrp	x19, _http_sfd@GOTPAGE
Lloh4:
	ldr	x19, [x19, _http_sfd@GOTPAGEOFF]
	ldr	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	bl	_epoll_close
	ldr	w0, [x19]
	bl	_close
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
LBB0_3:
Lloh5:
	adrp	x20, _TIME_TABLE_SIZE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _TIME_TABLE_SIZE@GOTPAGEOFF]
	ldrsw	x9, [x20]
Lloh7:
	adrp	x21, _keys_cnt@GOTPAGE
Lloh8:
	ldr	x21, [x21, _keys_cnt@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x8, x8, x9
	str	x8, [x21]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x22, #0
Lloh9:
	adrp	x23, _time_st@GOTPAGE
Lloh10:
	ldr	x23, [x23, _time_st@GOTPAGEOFF]
Lloh11:
	adrp	x19, l_.str@PAGE
Lloh12:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_qkey_free
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x23]
	ldr	x0, [x8, x22, lsl #3]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	lsl	x24, x22, #3
	ldr	x8, [x8, x24]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x23]
	ldr	x8, [x8, x24]
	ldr	x0, [x8]
	bl	_delete_qkey
	ldr	x8, [x23]
	ldr	x0, [x8, x24]
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x0]
	cmp	x9, x0
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldp	w2, w1, [x9, #16]
	mov	x0, x19
	bl	_dbg
	ldr	x8, [x23]
	b	LBB0_7
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x8, [x21]
LBB0_13:
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh13:
	adrp	x19, _qs@GOTPAGE
Lloh14:
	ldr	x19, [x19, _qs@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	str	x8, [x19]
	mov	w1, #8
	bl	_dl_free
	ldr	x0, [x19]
	cbnz	x0, LBB0_14
LBB0_15:
Lloh15:
	adrp	x0, _h_queue@GOTPAGE
Lloh16:
	ldr	x0, [x0, _h_queue@GOTPAGEOFF]
	bl	_shmap_string_vptr_free
Lloh17:
	adrp	x0, _h_qkey@GOTPAGE
Lloh18:
	ldr	x0, [x0, _h_qkey@GOTPAGEOFF]
	bl	_shmap_string_vptr_free
Lloh19:
	adrp	x0, _secrets@GOTPAGE
Lloh20:
	ldr	x0, [x0, _secrets@GOTPAGEOFF]
	bl	_map_int_int_free
Lloh21:
	adrp	x0, _alias@GOTPAGE
Lloh22:
	ldr	x0, [x0, _alias@GOTPAGEOFF]
	bl	_map_ll_vptr_free
Lloh23:
	adrp	x0, _h_subscribers@GOTPAGE
Lloh24:
	ldr	x0, [x0, _h_subscribers@GOTPAGEOFF]
	bl	_hset_llp_free
Lloh25:
	adrp	x0, _cr@GOTPAGE
Lloh26:
	ldr	x0, [x0, _cr@GOTPAGEOFF]
	bl	_dl_crypto_free
	bl	_dl_get_memory_used
	mov	x19, x0
	bl	_treap_get_memory
	subs	x2, x19, x0
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	cset	w19, eq
	bl	_fprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_assert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_http_sfd,4,2                   ; @http_sfd
	.comm	_TIME_TABLE_SIZE,4,2            ; @TIME_TABLE_SIZE
	.comm	_keys_cnt,8,3                   ; @keys_cnt
	.comm	_time_st,8,3                    ; @time_st
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Problem with key[%s] timeout = %d\n"

	.comm	_qs,8,3                         ; @qs
	.comm	_h_queue,4,2                    ; @h_queue
	.comm	_h_qkey,4,2                     ; @h_qkey
	.comm	_secrets,4,2                    ; @secrets
	.comm	_alias,4,2                      ; @alias
	.comm	_h_subscribers,4,2              ; @h_subscribers
	.comm	_cr,4,2                         ; @cr
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Memory left: %lld\n"

.subsections_via_symbols
