	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function best_seq
_best_seq:                              ## @best_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_NSINDEX_SEQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, %ebx
	andl	%eax, %r14d
	je	LBB0_5
## %bb.1:
	cmpl	%ebx, %r14d
	je	LBB0_5
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	movl	%r14d, %edi
	callq	_nd_inc_seq
	cmpl	%ebx, %eax
	cmovnel	%r14d, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NSINDEX_SEQ_MASK,4,2           ## @NSINDEX_SEQ_MASK
	.no_dead_strip	_best_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function best_seq
_best_seq:                              ; @best_seq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _NSINDEX_SEQ_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NSINDEX_SEQ_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w20, w8, w0
	and	w19, w8, w1
	cmp	w20, #0
	ccmp	w20, w19, #4, ne
	b.eq	LBB0_4
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_nd_inc_seq
	cmp	w0, w19
	csel	w19, w19, w20, eq
	b	LBB0_4
LBB0_3:
	mov	x19, x20
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NSINDEX_SEQ_MASK,4,2           ; @NSINDEX_SEQ_MASK
	.no_dead_strip	_best_seq
.subsections_via_symbols
