	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_pos
_find_pos:                              ## @find_pos
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r11d
	movl	24(%rbp), %r10d
	movl	16(%rbp), %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	movl	%r8d, %eax
	testl	%r10d, %r10d
	je	LBB0_3
## %bb.2:
	movl	(%rsi), %eax
	subl	(%rdx), %eax
LBB0_3:
	movl	(%rsi), %r14d
	cmpl	%r14d, %eax
	cmovbl	%eax, %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.5:
	movq	8(%rsi), %rax
	movl	%r14d, %r12d
	cmpl	$4, %r14d
	jae	LBB0_8
## %bb.6:
	xorl	%r9d, %r9d
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_8:
	movq	%r11, %r13
	movq	%rsi, %r11
	movl	%r12d, %r9d
	andl	$-4, %r9d
	leaq	-4(%r9), %r10
	movq	%r10, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$12, %r10
	jae	LBB0_10
## %bb.9:
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	jmp	LBB0_12
LBB0_10:
	andq	$-4, %rsi
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rbx,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rax,%rbx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rax,%rbx,8), %xmm1
	movdqu	48(%rax,%rbx,8), %xmm3
	movdqu	64(%rax,%rbx,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	80(%rax,%rbx,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	96(%rax,%rbx,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	112(%rax,%rbx,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rbx
	addq	$-4, %rsi
	jne	LBB0_11
LBB0_12:
	testq	%r8, %r8
	je	LBB0_15
## %bb.13:
	leaq	(%rax,%rbx,8), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rbx), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	(%rsi,%rbx), %xmm2
	paddq	%xmm2, %xmm1
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_14
LBB0_15:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %r15
	cmpq	%r12, %r9
	movq	%r11, %rsi
	movl	24(%rbp), %r10d
	movl	16(%rbp), %ebx
	movq	%r13, %r11
	je	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addq	(%rax,%r9,8), %r15
	incq	%r9
	cmpq	%r9, %r12
	jne	LBB0_7
LBB0_16:
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	subq	$8, %rsp
	movq	%r15, %r8
	movq	%rdi, %r13
	movq	%rdx, %r12
	movl	%r14d, %r9d
	pushq	%r10
	pushq	%rbx
	pushq	%r11
	movq	%r11, %rbx
	callq	_match_fragment
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movl	%r14d, %ecx
	jmp	LBB0_31
LBB0_18:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%r14d, %r13d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rbx), %rax
	movslq	%r14d, %rcx
	addq	(%rax,%rcx,8), %r15
	incl	%r14d
	movq	%r15, %r8
	movl	%r14d, %eax
LBB0_30:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incl	%r12d
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r10
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_match_fragment
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	$32, %rsp
	testq	%rax, %rax
	jne	LBB0_31
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	24(%rbp), %r10d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=2
	cmpl	%eax, %r14d
	jne	LBB0_29
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=2
	incl	%r12d
LBB0_20:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r13d, %r13d
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	testb	$1, %r12b
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rbx), %eax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rbx), %eax
	cmpl	%eax, %r14d
	je	LBB0_22
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	testb	$1, %r12b
	je	LBB0_28
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rbx), %rax
	movslq	%r13d, %rcx
	decl	%r13d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	subq	-8(%rax,%rcx,8), %r8
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%r13d, %eax
	jmp	LBB0_30
LBB0_22:
	movl	$-1, %ecx
LBB0_31:
	movl	%ecx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_pos
_find_pos:                              ; @find_pos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	cbz	w6, LBB0_2
; %bb.1:
	mov	w4, #0
	b	LBB0_4
LBB0_2:
	cbz	w19, LBB0_4
; %bb.3:
	ldr	w8, [x24]
	ldr	w9, [x23]
	sub	w4, w8, w9
LBB0_4:
	ldr	w8, [x24]
	cmp	w4, w8
	csel	w26, w4, w8, lo
	cmp	w26, #1
	b.lt	LBB0_7
; %bb.5:
	ldr	x8, [x24, #8]
	cmp	w26, #8
	b.hs	LBB0_8
; %bb.6:
	mov	x9, #0
	mov	x27, #0
	b	LBB0_11
LBB0_7:
	mov	x27, #0
	b	LBB0_13
LBB0_8:
	and	x9, x26, #0xfffffff8
	add	x10, x8, #32
	movi.2d	v0, #0000000000000000
	mov	x11, x9
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10], #64
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x11, x11, #8
	b.ne	LBB0_9
; %bb.10:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x27, d0
	cmp	x9, x26
	b.eq	LBB0_13
LBB0_11:
	add	x8, x8, x9, lsl #3
	sub	x9, x26, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	add	x27, x10, x27
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:
	str	w19, [sp]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x27
	mov	x5, x26
	mov	x6, x21
	mov	x7, x20
	bl	_match_fragment
	cbz	x0, LBB0_15
; %bb.14:
	mov	x25, x26
	b	LBB0_27
LBB0_15:
	stp	x25, x22, [sp, #8]              ; 16-byte Folded Spill
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	mov	w21, #0
	mov	x28, x26
	mov	x22, x27
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_20 Depth=1
	tbnz	w21, #0, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x24]
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	cmp	w26, w8
	b.ne	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	w21, w21, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w28, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x24]
	cmp	w26, w8
	b.eq	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	tbz	w21, #0, LBB0_18
	b	LBB0_19
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x24, #8]
	ldr	x8, [x8, w26, sxtw #3]
	add	x27, x8, x27
	add	w26, w26, #1
	mov	x4, x27
	mov	x25, x26
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	sxtw	x8, w28
	sub	x25, x8, #1
	ldr	x8, [x24, #8]
	ldr	x8, [x8, x25, lsl #3]
	sub	x22, x22, x8
	mov	x4, x22
	mov	x28, x25
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	add	w21, w21, #1
	str	w19, [sp]
	ldp	x0, x3, [sp, #8]                ; 16-byte Folded Reload
	mov	x1, x24
	mov	x2, x23
	mov	x5, x25
	ldr	w6, [sp, #28]                   ; 4-byte Folded Reload
	mov	x7, x20
	bl	_match_fragment
	cbz	x0, LBB0_20
	b	LBB0_27
LBB0_26:
	mov	w25, #-1
LBB0_27:
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_pos
.subsections_via_symbols
