	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_insert_s                       ## -- Begin function insert_s
	.p2align	4, 0x90
_insert_s:                              ## @insert_s
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-20(%rbp), %r9
	callq	_replace_s
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.1:
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	jl	LBB0_3
## %bb.2:
	addl	-20(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_3:
	movl	4(%rbx), %ecx
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	jl	LBB0_5
## %bb.4:
	addl	-20(%rbp), %ecx
	movl	%ecx, 4(%rbx)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_insert_s                       ; -- Begin function insert_s
	.p2align	2
_insert_s:                              ; @insert_s
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x5, sp, #12
	bl	_replace_s
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_7
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, w20
	b.lt	LBB0_4
; %bb.3:
	ldr	w9, [sp, #12]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, w20
	b.ge	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	ldr	w9, [sp, #12]
	add	w8, w9, w8
	str	w8, [x19, #4]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
