	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hlfinditem
_hlfinditem:                            ## @hlfinditem
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_GETQUERY
	movq	%rax, %rbx
	movl	(%r13), %eax
	movl	4(%r13), %ecx
	movl	(%r12), %edx
	addl	%eax, %edx
	cmpl	%ecx, %edx
	jge	LBB0_2
## %bb.1:
	movq	8(%r13), %r14
	jmp	LBB0_4
LBB0_2:
	movq	8(%r13), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rcx), %eax
	movl	%eax, 4(%r13)
	shll	$4, %ecx
	leal	(%rcx,%rcx,2), %esi
	movq	%r14, %rdi
	callq	_repalloc
	movq	%rax, %r14
	movq	%rax, 8(%r13)
	movl	(%r13), %eax
	movl	4(%r13), %ecx
	movl	(%r12), %edx
	addl	%eax, %edx
	cmpl	%ecx, %edx
	jge	LBB0_3
LBB0_4:
	decl	%eax
	cltq
	leaq	(%rax,%rax,2), %r15
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_LIMITPOS
	movl	%eax, 16(%r14,%r15,8)
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.5:
	leaq	(%r14,%r15,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	xorl	%r15d, %r15d
	movq	_QI_VAL@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r13), %rax
	leaq	(%rax,%rax,2), %rdi
	shlq	$3, %rdi
	addq	8(%r13), %rdi
	movl	$24, %edx
	callq	_memcpy
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movq	%rbx, 8(%rax,%rdx,8)
	movl	$1, (%rax,%rdx,8)
	leal	1(%rcx), %eax
	movl	%eax, (%r13)
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	addq	$24, %rbx
	cmpl	(%r12), %r15d
	jge	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_GETOPERAND
	addq	8(%rbx), %rax
	movl	(%rbx), %r8d
	movl	4(%rbx), %esi
	movq	%rax, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_tsCompareString
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, 8(%rsi)
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, 8(%rsi)
	jmp	LBB0_11
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.no_dead_strip	_hlfinditem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hlfinditem
_hlfinditem:                            ; @hlfinditem
	.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, x4
	mov	x20, x3
	mov	x25, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_GETQUERY
	mov	x24, x0
	ldr	w10, [x21]
	ldp	w8, w9, [x22]
	add	w10, w10, w8
	cmp	w10, w9
	b.ge	LBB0_2
; %bb.1:
	ldr	x26, [x22, #8]
	b	LBB0_4
LBB0_2:
	ldr	x26, [x22, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w9, #1
	str	w8, [x22, #4]
	add	w8, w8, w9
	lsl	w1, w8, #4
	mov	x0, x26
	bl	_repalloc
	mov	x26, x0
	str	x0, [x22, #8]
	ldr	w10, [x21]
	ldp	w8, w9, [x22]
	add	w10, w10, w8
	cmp	w10, w9
	b.ge	LBB0_3
LBB0_4:
	sxtw	x8, w8
	sub	x28, x8, #1
	mov	w8, #24
	madd	x23, x28, x8, x26
	mov	x0, x25
	bl	_LIMITPOS
	str	w0, [x23, #16]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	mov	w25, #0
	mov	w27, #24
	madd	x8, x28, x27, x26
	add	x26, x8, #8
	add	x24, x24, #8
Lloh0:
	adrp	x28, _QI_VAL@GOTPAGE
Lloh1:
	ldr	x28, [x28, _QI_VAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	madd	x0, x9, x27, x8
	mov	x1, x23
	mov	w2, #24
	bl	_memcpy
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	madd	x8, x9, x27, x8
	str	x24, [x8, #8]
	mov	w10, #1
	str	w10, [x8]
	add	w8, w9, #1
	str	w8, [x22]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w25, w25, #1
	ldr	w8, [x21]
	add	x24, x24, #24
	cmp	w25, w8
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x24, #-8]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_GETOPERAND
	ldr	x8, [x24, #8]
	add	x0, x8, x0
	ldp	w4, w1, [x24]
	mov	x2, x20
	mov	x3, x19
	bl	_tsCompareString
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x26]
	cbnz	x8, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x24, [x26]
	b	LBB0_7
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.no_dead_strip	_hlfinditem
.subsections_via_symbols
