	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collector_strpos
_collector_strpos:                      ## @collector_strpos
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %eax
	movq	(%rsi), %r15
	cmpq	8(%rsi), %r15
	jl	LBB0_18
## %bb.1:
	movq	16(%rsi), %r14
	movq	48(%rsi), %r9
	cmpl	%eax, (%r9,%r14,8)
	jne	LBB0_6
## %bb.2:
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movq	%r15, 24(%rsi)
LBB0_4:
	leaq	1(%r14), %rdx
	movq	%rdx, 16(%rsi)
	cmpq	32(%rsi), %rdx
	jb	LBB0_18
## %bb.5:
	leaq	24(%rsi), %r8
	movq	24(%rsi), %rdi
	movq	%rdi, 40(%rsi)
	movq	%r14, 16(%rsi)
	jmp	LBB0_8
LBB0_6:
	testq	%r14, %r14
	je	LBB0_18
## %bb.7:
	leaq	24(%rsi), %r8
	movq	24(%rsi), %rdi
LBB0_8:
	leaq	1(%rdi), %r11
	leal	-1(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_15
## %bb.9:
	leal	-2(%r14), %ebx
	leaq	(%rdi,%rbx), %r10
	addq	$2, %r10
	movl	$4, %ebx
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r9, %rdi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rbx), %ecx
	cmpl	(%rdi), %ecx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	addq	$4, %rdi
	decl	%edx
	testl	%edx, %edx
	jg	LBB0_11
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	decq	%r14
	movq	%r14, 16(%rsi)
	incq	%r11
	leal	-1(%r14), %edx
	addq	$4, %rbx
	testl	%edx, %edx
	jg	LBB0_10
## %bb.14:
	movq	%r10, %r11
LBB0_15:
	movq	%r9, %rdi
LBB0_16:
	movq	%r11, (%r8)
	cmpl	%eax, (%rdi)
	je	LBB0_18
## %bb.17:
	movq	$0, 16(%rsi)
LBB0_18:
	incq	%r15
	movq	%r15, (%rsi)
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_collector_strpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collector_strpos
_collector_strpos:                      ; @collector_strpos
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x1]
	cmp	x8, x9
	b.lt	LBB0_18
; %bb.1:
	ldr	x9, [x1, #48]
	ldr	x10, [x1, #16]
	ldr	x11, [x9, x10, lsl #3]
	cmp	w11, w0
	b.ne	LBB0_6
; %bb.2:
	cbnz	x10, LBB0_4
; %bb.3:
	str	x8, [x1, #24]
LBB0_4:
	add	x11, x10, #1
	str	x11, [x1, #16]
	ldr	x12, [x1, #32]
	cmp	x11, x12
	b.lo	LBB0_18
; %bb.5:
	mov	x11, x1
	ldr	x13, [x11, #24]!
	str	x13, [x11, #16]
	stur	x10, [x11, #-8]
	b	LBB0_8
LBB0_6:
	cbz	x10, LBB0_18
; %bb.7:
	mov	x11, x1
	ldr	x13, [x11, #24]!
LBB0_8:
	add	x12, x13, #1
	sub	w14, w10, #1
	cmp	w14, #1
	b.lt	LBB0_15
; %bb.9:
	sub	w15, w10, #2
	add	x13, x13, x15
	add	x13, x13, #2
	mov	w15, #4
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x16, x9
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w17, [x16, x15]
	ldr	w2, [x16]
	cmp	w17, w2
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x16, x16, #4
	sub	w14, w14, #1
	cmp	w14, #0
	b.gt	LBB0_11
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x10, x10, #1
	str	x10, [x1, #16]
	add	x12, x12, #1
	sub	w14, w10, #1
	add	x15, x15, #4
	cmp	w14, #0
	b.gt	LBB0_10
; %bb.14:
	mov	x12, x13
LBB0_15:
	mov	x16, x9
LBB0_16:
	str	x12, [x11]
	ldr	w9, [x16]
	cmp	w9, w0
	b.eq	LBB0_18
; %bb.17:
	str	xzr, [x1, #16]
LBB0_18:
	add	x8, x8, #1
	str	x8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_collector_strpos
.subsections_via_symbols
