	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_nl_seq
_update_nl_seq:                         ## @update_nl_seq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdx), %rax
	movslq	%ecx, %r15
	movl	(%rax,%r15,4), %ecx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	8(%r14), %rdx
	movq	(%rdx,%r15,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rdx,%rsi,8)
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_3
LBB0_4:
	movq	_NUM_SEQ_TO_REMEMBER@GOTPCREL(%rip), %rsi
	movq	8(%r14), %rdx
	movq	(%rdx,%r15,8), %rdx
	cmpl	(%rsi), %ecx
	jae	LBB0_6
## %bb.5:
	leal	1(%rcx), %esi
	movl	%esi, (%rax,%r15,4)
	leaq	(%rdx,%rcx,8), %r12
	jmp	LBB0_8
LBB0_6:
	movq	(%rdx), %rdi
	movq	8(%rdx), %rsi
	callq	_before
	xorl	%r12d, %r12d
	testq	%rax, %rax
	sete	%r12b
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax,%r12,8), %rsi
	movq	%rbx, %rdi
	callq	_after
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	8(%r14), %rax
	shlq	$3, %r12
	addq	(%rax,%r15,8), %r12
LBB0_8:
	movq	%rbx, (%r12)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_SEQ_TO_REMEMBER,4,2        ## @NUM_SEQ_TO_REMEMBER
	.no_dead_strip	_update_nl_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_nl_seq
_update_nl_seq:                         ; @update_nl_seq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x2]
	sxtw	x21, w3
	ldr	w9, [x8, w3, sxtw #2]
	cbz	w9, LBB0_4
; %bb.1:
	ldr	x10, [x20, #8]
	ldr	x10, [x10, x21, lsl #3]
	mov	x11, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cmp	x12, x19
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #8
	subs	x11, x11, #1
	b.ne	LBB0_2
LBB0_4:
Lloh0:
	adrp	x10, _NUM_SEQ_TO_REMEMBER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NUM_SEQ_TO_REMEMBER@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x10]
	ldr	x10, [x20, #8]
	ldr	x10, [x10, x21, lsl #3]
	cmp	w9, w11
	b.hs	LBB0_6
; %bb.5:
	add	w11, w9, #1
	str	w11, [x8, x21, lsl #2]
	add	x8, x10, x9, lsl #3
	b	LBB0_8
LBB0_6:
	ldp	x0, x1, [x10]
	bl	_before
	cmp	x0, #0
	cset	w22, eq
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x1, [x8, w22, uxtw #3]
	mov	x0, x19
	bl	_after
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	add	x8, x8, x22, lsl #3
LBB0_8:
	str	x19, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_SEQ_TO_REMEMBER,4,2        ; @NUM_SEQ_TO_REMEMBER
	.no_dead_strip	_update_nl_seq
.subsections_via_symbols
