	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_subpos
_find_subpos:                           ## @find_subpos
	.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
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	16(%rbp), %r15
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %eax
	testb	%al, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %al
	je	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %esi
	callq	_strchrnul
	movq	%rax, %rdi
	cmpb	$1, (%rax)
	sbbq	$-1, %rdi
	jmp	LBB0_1
LBB0_5:
	movq	%rdi, %r12
	movq	24(%rbp), %rbx
	jmp	LBB0_6
LBB0_3:
	movq	24(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdi), %r12
	cmpb	$10, 1(%rdi)
	movq	%r12, %rdi
	je	LBB0_4
LBB0_6:
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_parse_signature
	movslq	%eax, %rdi
	addq	%r12, %rdi
	movq	%rdi, (%r15)
	callq	_strlen
	movq	%rax, (%rbx)
	movq	%r12, (%r14)
	cmpq	(%r15), %r12
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$10, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_strchrnul
	movq	%rax, %r12
	cmpb	$1, (%rax)
	sbbq	$-1, %r12
	cmpq	(%r15), %r12
	jb	LBB0_8
LBB0_11:
	movq	(%r14), %rcx
	movq	%r12, %rax
	subq	%rcx, %rax
	movq	%rax, (%r13)
	je	LBB0_12
## %bb.13:
	cmpb	$10, -1(%rcx,%rax)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_16
## %bb.14:
	decq	%rax
	jmp	LBB0_15
LBB0_7:
	xorl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_15:
	movq	%rax, (%r13)
	jmp	LBB0_16
LBB0_12:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	decq	%r12
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	cmpb	$10, 1(%r12)
	leaq	1(%r12), %r12
	je	LBB0_17
## %bb.18:
	movq	%r12, (%rax)
	movq	%r12, %rdi
	callq	_strlen
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%r15), %rax
	subq	%rbx, %rax
	movq	%rax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_subpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_subpos
_find_subpos:                           ; @find_subpos
	.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	x26, x7
	mov	x20, x6
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x24, x0
	ldrb	w8, [x24]
	cbz	w8, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #10
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x24
	mov	w1, #10
	bl	_strchrnul
	mov	x8, x0
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x24, x0, x8, eq
	ldrb	w8, [x24]
	cbnz	w8, LBB0_1
	b	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24, #1]!
	cmp	w8, #10
	b.eq	LBB0_3
LBB0_4:
	mov	x0, x24
	bl	_strlen
	mov	x1, x0
	mov	x0, x24
	bl	_parse_signature
	add	x0, x24, w0, sxtw
	str	x0, [x20]
	bl	_strlen
	str	x0, [x26]
	str	x24, [x25]
	ldr	x8, [x20]
	cmp	x24, x8
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	w1, #10
	bl	_strchrnul
	mov	x8, x0
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x24, x0, x8, eq
	ldr	x8, [x20]
	cmp	x24, x8
	b.lo	LBB0_5
LBB0_7:
	ldr	x9, [x25]
	subs	x8, x24, x9
	str	x8, [x23]
	b.eq	LBB0_11
; %bb.8:
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #10
	b.eq	LBB0_10
	b	LBB0_11
LBB0_9:
	mov	x8, #0
LBB0_10:
	str	x8, [x23]
LBB0_11:
	sub	x0, x24, #1
	mov	x23, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	add	x23, x23, #1
	cmp	w8, #10
	b.eq	LBB0_12
; %bb.13:
	str	x0, [x22]
	bl	_strlen
	str	x0, [x21]
	ldr	x8, [x20]
	sub	x8, x8, x23
	str	x8, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_subpos
.subsections_via_symbols
