	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function search_query_worst
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	24                              ## 0x18
	.quad	24                              ## 0x18
LCPI0_2:
	.quad	48                              ## 0x30
	.quad	48                              ## 0x30
LCPI0_3:
	.quad	96                              ## 0x60
	.quad	96                              ## 0x60
LCPI0_4:
	.quad	144                             ## 0x90
	.quad	144                             ## 0x90
LCPI0_5:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_6:
	.quad	72                              ## 0x48
	.quad	72                              ## 0x48
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_search_query_worst
	.p2align	4, 0x90
_search_query_worst:                    ## @search_query_worst
	.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	%esi, %r15d
	movq	%rdi, %r13
	movq	_SQH_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	shll	$3, %edi
	callq	_alloca
	movq	%rax, %r12
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_18
## %bb.1:
	cmpl	$4, %esi
	jb	LBB0_2
## %bb.3:
	movq	_SQH@GOTPCREL(%rip), %r8
	leaq	8(%r8), %rax
	cmpq	%rax, %r12
	jae	LBB0_6
## %bb.4:
	leaq	(%r12,%rsi,8), %rax
	cmpq	_SQH@GOTPCREL(%rip), %rax
	jbe	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_12:
	movq	%rax, %r8
	notq	%r8
	addq	%rsi, %r8
	movq	%rsi, %rdx
	andq	$3, %rdx
	je	LBB0_15
## %bb.13:
	leaq	(%rax,%rax,2), %rdi
	leaq	24(,%rdi,8), %rdi
	movq	_SQH@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	addq	%rdi, %rcx
	movq	%rcx, (%r12,%rax,8)
	incq	%rax
	addq	$24, %rdi
	decq	%rdx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	leaq	(%rax,%rax,2), %rcx
	leaq	96(,%rcx,8), %rcx
	movq	_SQH@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rdi
	addq	%rcx, %rdi
	addq	$-72, %rdi
	movq	%rdi, (%r12,%rax,8)
	movq	(%rdx), %rdi
	leaq	-48(%rdi,%rcx), %rdi
	movq	%rdi, 8(%r12,%rax,8)
	movq	(%rdx), %rdi
	addq	%rcx, %rdi
	addq	$-24, %rdi
	movq	%rdi, 16(%r12,%rax,8)
	movq	(%rdx), %rdi
	addq	%rcx, %rdi
	movq	%rdi, 24(%r12,%rax,8)
	addq	$4, %rax
	addq	$96, %rcx
	cmpq	%rax, %rsi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movl	%esi, %eax
	andl	$-4, %eax
	leaq	-4(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$2, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.7:
	movq	%rcx, %rdi
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	paddq	LCPI0_1(%rip), %xmm1
	andq	$-2, %rdi
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [24,24]
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [48,48]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [96,96]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = [144,144]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [8,8]
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm3, %xmm7
	pmuludq	%xmm2, %xmm7
	movdqa	%xmm3, %xmm0
	psrlq	$32, %xmm0
	pmuludq	%xmm2, %xmm0
	psllq	$32, %xmm0
	paddq	%xmm7, %xmm0
	paddq	%xmm1, %xmm0
	movdqa	%xmm0, %xmm7
	paddq	%xmm8, %xmm7
	movdqu	%xmm0, (%r12,%rdx,8)
	movdqu	%xmm7, 16(%r12,%rdx,8)
	movdqa	%xmm0, %xmm7
	paddq	%xmm4, %xmm7
	paddq	%xmm5, %xmm0
	movdqu	%xmm7, 32(%r12,%rdx,8)
	movdqu	%xmm0, 48(%r12,%rdx,8)
	addq	$8, %rdx
	paddq	%xmm6, %xmm3
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %cl
	je	LBB0_11
LBB0_10:
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [24,24]
	movdqa	%xmm3, %xmm2
	pmuludq	%xmm1, %xmm2
	paddq	%xmm0, %xmm2
	psrlq	$32, %xmm3
	pmuludq	%xmm1, %xmm3
	psllq	$32, %xmm3
	paddq	%xmm2, %xmm3
	paddq	%xmm3, %xmm1
	paddq	LCPI0_6(%rip), %xmm3
	movdqu	%xmm1, (%r12,%rdx,8)
	movdqu	%xmm3, 16(%r12,%rdx,8)
LBB0_11:
	cmpq	%rsi, %rax
	jne	LBB0_12
LBB0_18:
	movq	_cmp_search_queries@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_qsort
	movl	(%r14), %r14d
	movq	%r13, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	testl	%r14d, %r14d
	jle	LBB0_22
## %bb.19:
	incq	%r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%r14), %r13d
	movq	(%r12,%r13,8), %rax
	movq	(%rax), %rdi
	callq	_strlen
	addl	$30, %eax
	cmpl	%r15d, %eax
	jg	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r12,%r13,8), %rax
	movl	20(%rax), %ecx
	movl	16(%rax), %r8d
	movq	(%rax), %rdx
	movq	8(%rax), %r9
	movq	_SEARCH_QUERY_EXPIRATION_TIME@GOTPCREL(%rip), %rax
	subq	(%rax), %r9
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	subl	%eax, %r15d
	decq	%r14
	cmpq	$1, %r14
	ja	LBB0_20
LBB0_22:
	subl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	testb	$1, %cl
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SQH_SIZE,4,2                   ## @SQH_SIZE
	.comm	_SQH,8,3                        ## @SQH
	.comm	_cmp_search_queries,4,2         ## @cmp_search_queries
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\t%.6lf\t%d\t%d\n"

	.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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function search_query_worst
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_search_query_worst
	.p2align	2
_search_query_worst:                    ; @search_query_worst
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _SQH_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SQH_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	w0, w8, #3
	bl	_alloca
	mov	x21, x0
	ldr	w1, [x22]
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.1:
Lloh2:
	adrp	x8, _SQH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQH@GOTPAGEOFF]
	cmp	w1, #8
	b.lo	LBB0_6
; %bb.2:
	add	x9, x21, x1, lsl #3
	add	x10, x8, #8
	cmp	x21, x10
	ccmp	x9, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	ld1r.2d	{ v0 }, [x8]
	mov	w9, #24
	dup.2d	v1, x9
	and	x9, x1, #0xfffffff8
	add.2d	v0, v0, v1
Lloh4:
	adrp	x10, lCPI0_0@PAGE
Lloh5:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	add	x10, x21, #32
	mov	w11, #144
	dup.2d	v2, x11
	mov	w11, #96
	dup.2d	v3, x11
	mov	w11, #48
	dup.2d	v4, x11
	mov	w11, #8
	dup.2d	v5, x11
	mov	x11, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fmov	x12, d1
	add	x12, x12, x12, lsl #1
	lsl	x12, x12, #3
	fmov	d6, x12
	mov.d	x12, v1[1]
	add	x12, x12, x12, lsl #1
	lsl	x12, x12, #3
	mov.d	v6[1], x12
	add.2d	v7, v0, v6
	add.2d	v6, v6, v0
	add.2d	v16, v6, v4
	add.2d	v17, v6, v3
	add.2d	v6, v6, v2
	stp	q7, q16, [x10, #-32]
	stp	q17, q6, [x10], #64
	add.2d	v1, v1, v5
	subs	x11, x11, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x1
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x9, #0
LBB0_7:
	mov	w10, #24
	orr	x11, xzr, #0x18
	madd	x10, x9, x10, x11
	add	x11, x21, x9, lsl #3
	sub	x9, x1, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	add	x12, x12, x10
	str	x12, [x11], #8
	add	x10, x10, #24
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
Lloh6:
	adrp	x8, _cmp_search_queries@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cmp_search_queries@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_qsort
	ldr	w8, [x22]
	mov	x22, x19
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.10:
	add	x24, x8, #1
Lloh9:
	adrp	x25, _SEARCH_QUERY_EXPIRATION_TIME@GOTPAGE
Lloh10:
	ldr	x25, [x25, _SEARCH_QUERY_EXPIRATION_TIME@GOTPAGEOFF]
	mov	x22, x19
Lloh11:
	adrp	x23, l_.str@PAGE
Lloh12:
	add	x23, x23, l_.str@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	w26, w24, #2
	ldr	x8, [x21, w26, uxtw #3]
	ldr	x0, [x8]
	bl	_strlen
	add	w8, w0, #30
	cmp	w8, w20
	b.gt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21, x26, lsl #3]
	ldp	w4, w3, [x8, #16]
	ldp	x2, x8, [x8]
	ldr	x9, [x25]
	sub	x5, x8, x9
	mov	x0, x22
	mov	x1, x23
	bl	_sprintf
	add	x22, x22, w0, sxtw
	sub	w20, w20, w0
	sub	x24, x24, #1
	cmp	x24, #1
	b.hi	LBB0_11
LBB0_13:
	sub	w0, w22, w19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SQH_SIZE,4,2                   ; @SQH_SIZE
	.comm	_SQH,8,3                        ; @SQH
	.comm	_cmp_search_queries,4,2         ; @cmp_search_queries
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\t%.6lf\t%d\t%d\n"

	.comm	_SEARCH_QUERY_EXPIRATION_TIME,8,3 ; @SEARCH_QUERY_EXPIRATION_TIME
.subsections_via_symbols
