	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_insert
_next_insert:                           ## @next_insert
	.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	%edx, -48(%rbp)                 ## 4-byte Spill
	movslq	%esi, %r15
	movb	(%rdi,%r15), %al
	testb	%al, %al
	je	LBB0_21
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r12
	addq	%rdi, %r15
	leaq	-1(%rdi), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r13d, %r13d
	testl	%edx, %edx
	sete	%r13b
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rax
	leaq	1(%rax), %rbx
	leaq	(%r12,%rax), %r15
	incq	%r15
	movb	1(%r12,%rax), %al
	movl	%r13d, %edx
	testb	%al, %al
	je	LBB0_21
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %al
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	$1, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$39, %al
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r13d
	testl	%edx, %edx
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$36, %al
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %r14
	movzbl	1(%r12,%r14), %edi
	callq	_isdigit
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r14), %edi
	incq	%r14
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r14), %edi
	callq	_isalpha
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r13d, %r13d
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_3
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$63, (%r15)
	jne	LBB0_3
	jmp	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r14), %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$95, (%r14)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_3
	jmp	LBB0_22
LBB0_21:
	movl	$-1, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_next_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_insert
_next_insert:                           ; @next_insert
	.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
	add	x24, x0, w1, sxtw
	ldrb	w9, [x24]
	cbz	w9, LBB0_21
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w8, #0
	sub	x23, x0, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #0
	cset	w8, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x9, w19
	add	x19, x9, #1
	add	x24, x22, x19
	ldrb	w9, [x24]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	cbz	w9, LBB0_21
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	cbnz	w20, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #92
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #39
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #36
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x19
	sxtw	x8, w8
	add	x25, x8, #1
	ldrb	w0, [x22, x25]
	bl	_isdigit
	cbz	x0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x23, x25
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x24, #1]!
	bl	_isdigit
	cbnz	x0, LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x24]
	bl	_isalpha
	cbnz	w0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x24]
	bl	_isascii
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #95
	b.eq	LBB0_20
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w21, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #63
	b.eq	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	b	LBB0_3
LBB0_21:
	mov	w19, #-1
LBB0_22:
	mov	x0, 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	_next_insert
.subsections_via_symbols
