	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pp_find_next_peer
_pp_find_next_peer:                     ## @pp_find_next_peer
	.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	%rdi, %r12
	movl	20(%rdi), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ntb_link_is_up
	movl	(%r12), %edi
	andl	%eax, %edi
	je	LBB0_2
## %bb.1:
	callq	___ffs64
	movl	%eax, %r14d
	movl	%eax, %edi
	incl	%edi
	jmp	LBB0_4
LBB0_2:
	andl	4(%r12), %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %edi
	callq	___ffs64
	movl	%eax, %edi
	movl	%eax, %r14d
LBB0_4:
	callq	_BIT_ULL
	movl	%eax, %r15d
	leaq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	%r14d, 8(%r12)
	movl	%r15d, 12(%r12)
	movq	%rbx, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_pp_find_next_peer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pp_find_next_peer
_pp_find_next_peer:                     ; @pp_find_next_peer
	.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
	mov	x19, x0
	ldr	w0, [x0, #20]
	mov	x1, #0
	mov	x2, #0
	bl	_ntb_link_is_up
	ldr	w8, [x19]
	ands	w8, w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x8
	bl	___ffs64
	mov	x20, x0
	add	w0, w0, #1
	b	LBB0_4
LBB0_2:
	ldr	w8, [x19, #4]
	ands	w0, w8, w0
	b.eq	LBB0_6
; %bb.3:
	bl	___ffs64
	mov	x20, x0
LBB0_4:
	bl	_BIT_ULL
	mov	x21, x0
	add	x22, x19, #16
	mov	x0, x22
	bl	_spin_lock
	stp	w20, w21, [x19, #8]
	mov	x0, x22
	bl	_spin_unlock
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_pp_find_next_peer
.subsections_via_symbols
