	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_query_end               ## -- Begin function search_query_end
	.p2align	4, 0x90
_search_query_end:                      ## @search_query_end
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_get_rusage_time
	addq	(%rbx), %rax
	movq	%rax, (%rbx)
	movq	_SQH_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SEARCH_QUERY_HEAP_SIZE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_3
## %bb.1:
	movq	_SQH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, 8(%rcx)
	jge	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*%r15
	movl	%r14d, 8(%rbx)
	movq	_now@GOTPCREL(%rip), %rax
	movq	_SEARCH_QUERY_EXPIRATION_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_search_query_heap_insert       ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQH_SIZE,8,3                   ## @SQH_SIZE
	.comm	_SEARCH_QUERY_HEAP_SIZE,8,3     ## @SEARCH_QUERY_HEAP_SIZE
	.comm	_SQH,8,3                        ## @SQH
	.comm	_now,8,3                        ## @now
	.comm	_SEARCH_QUERY_EXPIRATION_TIME,8,3 ## @SEARCH_QUERY_EXPIRATION_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_query_end               ; -- Begin function search_query_end
	.p2align	2
_search_query_end:                      ; @search_query_end
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_get_rusage_time
	ldr	x8, [x19]
	add	x8, x8, x0
Lloh0:
	adrp	x9, _SQH_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQH_SIZE@GOTPAGEOFF]
	str	x8, [x19]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SEARCH_QUERY_HEAP_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SEARCH_QUERY_HEAP_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _SQH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SQH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	cmp	x9, x8
	b.ge	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	blr	x21
	str	w20, [x19, #8]
Lloh9:
	adrp	x8, _now@GOTPAGE
Lloh10:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _SEARCH_QUERY_EXPIRATION_TIME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SEARCH_QUERY_EXPIRATION_TIME@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_search_query_heap_insert
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SQH_SIZE,8,3                   ; @SQH_SIZE
	.comm	_SEARCH_QUERY_HEAP_SIZE,8,3     ; @SEARCH_QUERY_HEAP_SIZE
	.comm	_SQH,8,3                        ; @SQH
	.comm	_now,8,3                        ; @now
	.comm	_SEARCH_QUERY_EXPIRATION_TIME,8,3 ; @SEARCH_QUERY_EXPIRATION_TIME
.subsections_via_symbols
