	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function which_dev
_which_dev:                             ## @which_dev
	.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
	movq	%rsi, %r14
	movl	(%rdi), %ebx
	movl	4(%rdi), %edi
	callq	_rcu_dereference
	cmpl	$1, %ebx
	jle	LBB0_1
## %bb.2:
	decl	%ebx
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%edx
	movl	%edx, %ecx
	cmpl	%ecx, %ebx
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rbx), %esi
	movl	%esi, %edx
	shrl	$31, %edx
	addl	%esi, %edx
	sarl	%edx
	movslq	%edx, %rsi
	cmpq	%r14, (%rax,%rsi,8)
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %ebx
	cmpl	%ecx, %ebx
	jg	LBB0_3
LBB0_7:
	movslq	%ecx, %rcx
	jmp	LBB0_8
LBB0_1:
	movq	(%rax), %rax
	xorl	%ecx, %ecx
LBB0_8:
	leaq	(%rax,%rcx,8), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_which_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function which_dev
_which_dev:                             ; @which_dev
	.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, x1
	ldp	w20, w0, [x0]
	bl	_rcu_dereference
	subs	w9, w20, #1
	b.le	LBB0_4
; %bb.1:
	mov	w10, #0
	ldr	x8, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w10, w9
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	ldr	x12, [x8, w11, sxtw #3]
	cmp	x12, x19
	csel	w9, w11, w9, gt
	csinc	w10, w10, w11, gt
	cmp	w9, w10
	b.gt	LBB0_2
; %bb.3:
	sxtw	x9, w10
	b	LBB0_5
LBB0_4:
	mov	x9, #0
	ldr	x8, [x0]
LBB0_5:
	add	x0, x8, x9, lsl #3
	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	_which_dev
.subsections_via_symbols
