	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_query_heapify_front
_search_query_heapify_front:            ## @search_query_heapify_front
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r12
	leal	(%rsi,%rsi), %ebx
	movq	_SQH_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	jle	LBB0_2
LBB0_8:
	movl	%esi, %r13d
	jmp	LBB0_9
LBB0_2:
	movq	_SQH@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rax
	movq	(%rcx,%rax,8), %rax
	movl	%ebx, %r13d
	orl	$1, %r13d
	movslq	%r13d, %rdx
	cmpq	(%rcx,%rdx,8), %rax
	jg	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movslq	%r13d, %rbx
	cmpq	(%rcx,%rbx,8), %rax
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rcx,%rbx,8), %rax
	movslq	%esi, %rdx
	leaq	(%rcx,%rdx,8), %rdi
	movq	%rax, %rsi
	callq	_search_query_copy
	addl	%ebx, %ebx
	movl	(%r14), %eax
	movl	%r13d, %esi
	cmpl	%eax, %ebx
	jle	LBB0_3
LBB0_9:
	movq	_SQH@GOTPCREL(%rip), %rax
	movslq	%r13d, %rdi
	shlq	$3, %rdi
	addq	(%rax), %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_search_query_copy              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SQH_SIZE,4,2                   ## @SQH_SIZE
	.comm	_SQH,8,3                        ## @SQH
	.no_dead_strip	_search_query_heapify_front
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_query_heapify_front
_search_query_heapify_front:            ; @search_query_heapify_front
	.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	x19, x0
	lsl	w8, w1, #1
Lloh0:
	adrp	x21, _SQH_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SQH_SIZE@GOTPAGEOFF]
	ldr	w10, [x21]
Lloh2:
	adrp	x20, _SQH@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SQH@GOTPAGEOFF]
	cmp	w8, w10
	b.le	LBB0_2
LBB0_1:
	mov	x22, x1
	b	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	w8, w10
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, w8, sxtw #3]
	sxtw	x11, w8
	orr	x11, x11, #0x1
	ldr	x12, [x9, x11, lsl #3]
	cmp	x10, x12
	csel	w22, w11, w8, gt
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x19]
	add	x8, x9, w22, sxtw #3
	ldr	x11, [x8]
	cmp	x10, x11
	b.le	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x9, w1, sxtw #3
	mov	x1, x8
	bl	_search_query_copy
	lsl	w8, w22, #1
	ldr	w10, [x21]
	mov	x1, x22
	cmp	w8, w10
	b.le	LBB0_2
LBB0_7:
	ldr	x8, [x20]
	add	x0, x8, w22, sxtw #3
	mov	x1, 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_copy
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SQH_SIZE,4,2                   ; @SQH_SIZE
	.comm	_SQH,8,3                        ; @SQH
	.no_dead_strip	_search_query_heapify_front
.subsections_via_symbols
