	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndisc_next_useropt
_ndisc_next_useropt:                    ## @ndisc_next_useropt
	.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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	%rsi, %rdi
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	shll	$3, %eax
	cltq
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ndisc_is_useropt
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	cmpq	%r14, %rbx
	jbe	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_ndisc_is_useropt
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	movq	%rbx, %rax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ndisc_next_useropt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndisc_next_useropt
_ndisc_next_useropt:                    ; @ndisc_next_useropt
	.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
	mov	x19, x0
	mov	x0, #0
	cbz	x19, LBB0_7
; %bb.1:
	mov	x20, x1
	cmp	x19, x1
	b.hs	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	lsl	w8, w8, #3
	add	x19, x19, w8, sxtw
	cmp	x19, x20
	b.hs	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ndisc_is_useropt
	cbz	x0, LBB0_2
LBB0_4:
	cmp	x19, x20
	b.ls	LBB0_6
; %bb.5:
	mov	x0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_ndisc_is_useropt
	cmp	x0, #0
	csel	x0, xzr, x19, eq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ndisc_next_useropt
.subsections_via_symbols
