	.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, %ebx
	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), %rsi
	leaq	(,%rsi,8), %rcx
	addq	(%rdx), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r12
	movq	_MAX_TIME_GAP@GOTPCREL(%rip), %r15
	movq	_my_verbosity@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rsi
	movq	_TIME_TABLE_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	movl	$0, %eax
	cmoveq	%rax, %rsi
	movq	_last_del_time@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	leaq	(,%rsi,8), %rcx
	movq	_time_st@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	(%rcx), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%rdx, %rdi
	callq	_del_wkey
	movq	_last_del_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rcx
	subq	%rsi, %rcx
	movslq	(%r15), %rax
	cmpq	%rax, %rcx
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rsi, %rcx
	subq	%r12, %rcx
	movq	_TIME_TABLE_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subq	%rax, %rdx
	cmpq	%rdx, %rcx
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	addl	$-1, %ebx
	jae	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	%r12, %rsi
	je	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	8(%r14), %rdx
	cmpq	%r14, %rdx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$2, (%r13)
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rdx), %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	subl	%esi, %r8d
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	8(%r14), %rdx
	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	_my_verbosity,4,2               ## @my_verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"del entry %p by time (key = %d) 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	x21, _time_st@GOTPAGE
Lloh4:
	ldr	x21, [x21, _time_st@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh5:
	adrp	x22, _last_del_time@GOTPAGE
Lloh6:
	ldr	x22, [x22, _last_del_time@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x9, x9, x8, lsl #3
	sxtw	x23, w0
Lloh7:
	adrp	x24, _MAX_TIME_GAP@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MAX_TIME_GAP@GOTPAGEOFF]
Lloh9:
	adrp	x25, _TIME_TABLE_SIZE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _TIME_TABLE_SIZE@GOTPAGEOFF]
Lloh11:
	adrp	x26, _my_verbosity@GOTPAGE
Lloh12:
	ldr	x26, [x26, _my_verbosity@GOTPAGEOFF]
Lloh13:
	adrp	x27, _stderr@GOTPAGE
Lloh14:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str@PAGE
Lloh16:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x8, #1
	ldr	x10, [x25]
	cmp	x9, x10
	csinc	x8, xzr, x8, eq
	str	x8, [x22]
	ldr	x9, [x21]
	add	x9, x9, x8, lsl #3
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x28, [x9]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x2
	bl	_del_wkey
	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
	ldr	x11, [x25]
	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	x2, [x28, #8]
	cmp	x2, x28
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w9, [x26]
	cmp	w9, #2
	b.lt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x27]
	ldr	w3, [x2]
	sub	w4, w23, w8
	mov	x1, x20
	bl	_fprintf
	ldr	x2, [x28, #8]
	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	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	_my_verbosity,4,2               ; @my_verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"del entry %p by time (key = %d) gap = %d\n"

.subsections_via_symbols
