	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_by_time                   ## -- Begin function free_by_time
	.p2align	4, 0x90
_free_by_time:                          ## @free_by_time
	.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
	movl	%edi, %r13d
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_utime
	movl	%eax, %edi
	callq	_GET_TIME_ID
	movq	_time_st@GOTPCREL(%rip), %rdx
	movq	_last_del_time@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	leaq	(,%rbx,4), %rcx
	addq	(%rdx), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	movq	_TIME_TABLE_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	movl	$0, %eax
	cmoveq	%rax, %rbx
	movq	_last_del_time@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	leaq	(,%rbx,4), %rcx
	movq	_time_st@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movslq	(%rcx), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movslq	%edx, %rdi
	callq	_del_entry
	movq	_last_del_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdx
	subq	%rbx, %rdx
	movq	_MAX_TIME_GAP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rdx
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdx
	subq	%r12, %rdx
	movq	_TIME_TABLE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rcx, %rsi
	cmpq	%rsi, %rdx
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	addl	$-1, %r13d
	jae	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	%r12, %rbx
	je	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_entry_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %r15
	shlq	$4, %r15
	movl	(%rcx,%r15), %edx
	cmpl	%r14d, %edx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movslq	%edx, %rsi
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shlq	$4, %rsi
	movq	8(%rcx,%rsi), %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	subl	%ebx, %r8d
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_entry_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15), %edx
	jmp	LBB0_9
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_time_st,8,3                    ## @time_st
	.comm	_last_del_time,8,3              ## @last_del_time
	.comm	_MAX_TIME_GAP,4,2               ## @MAX_TIME_GAP
	.comm	_TIME_TABLE_SIZE,8,3            ## @TIME_TABLE_SIZE
	.comm	_entry_buffer,8,3               ## @entry_buffer
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"del entry %d by time (key = %s) gap = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_by_time                   ; -- Begin function free_by_time
	.p2align	2
_free_by_time:                          ; @free_by_time
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_utime
	bl	_GET_TIME_ID
                                        ; kill: def $w0 killed $w0 def $x0
Lloh3:
	adrp	x8, _time_st@GOTPAGE
Lloh4:
	ldr	x8, [x8, _time_st@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x22, _last_del_time@GOTPAGE
Lloh7:
	ldr	x22, [x22, _last_del_time@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x9, x9, x8, lsl #2
	sxtw	x23, w0
Lloh8:
	adrp	x24, _MAX_TIME_GAP@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MAX_TIME_GAP@GOTPAGEOFF]
Lloh10:
	adrp	x25, _entry_buffer@GOTPAGE
Lloh11:
	ldr	x25, [x25, _entry_buffer@GOTPAGEOFF]
Lloh12:
	adrp	x27, _verbosity@GOTPAGE
Lloh13:
	ldr	x27, [x27, _verbosity@GOTPAGEOFF]
Lloh14:
	adrp	x28, _stderr@GOTPAGE
Lloh15:
	ldr	x28, [x28, _stderr@GOTPAGEOFF]
Lloh16:
	adrp	x20, l_.str@PAGE
Lloh17:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x8, #1
Lloh18:
	adrp	x10, _TIME_TABLE_SIZE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _TIME_TABLE_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	csinc	x8, xzr, x8, eq
	str	x8, [x22]
Lloh21:
	adrp	x9, _time_st@GOTPAGE
Lloh22:
	ldr	x9, [x9, _time_st@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x9, x9, x8, lsl #2
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldrsw	x21, [x9]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	sxtw	x0, w2
	bl	_del_entry
	ldr	x8, [x22]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x9, [x24]
	sub	x10, x23, x8
	cmp	x10, x9
	b.hi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	x10, x8, x23
Lloh24:
	adrp	x11, _TIME_TABLE_SIZE@GOTPAGE
Lloh25:
	ldr	x11, [x11, _TIME_TABLE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	sub	x9, x11, x9
	cmp	x10, x9
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	subs	w19, w19, #1
	b.lo	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	x8, x23
	b.eq	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	x9, [x25]
	lsl	x26, x21, #4
	ldr	w2, [x9, x26]
	cmp	w2, w21
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x10, [x27]
	cmp	x10, #1
	b.lt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=2
	mov	x10, x2
	sxtw	x10, w10
	ldr	w0, [x28]
	add	x9, x9, x10, lsl #4
	ldr	x3, [x9, #8]
	sub	w4, w23, w8
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_fprintf
	ldr	x8, [x25]
	ldr	w2, [x8, x26]
	b	LBB0_3
LBB0_11:
	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 AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_time_st,8,3                    ; @time_st
	.comm	_last_del_time,8,3              ; @last_del_time
	.comm	_MAX_TIME_GAP,4,2               ; @MAX_TIME_GAP
	.comm	_TIME_TABLE_SIZE,8,3            ; @TIME_TABLE_SIZE
	.comm	_entry_buffer,8,3               ; @entry_buffer
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"del entry %d by time (key = %s) gap = %d\n"

.subsections_via_symbols
