	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bsg_dev_idx_hash
_bsg_dev_idx_hash:                      ## @bsg_dev_idx_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bsg_device_list@GOTPCREL(%rip), %rcx
	movq	_BSG_LIST_ARRAY_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	decq	%rdx
	movslq	%edi, %rax
	andq	%rdx, %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bsg_device_list,8,3            ## @bsg_device_list
	.comm	_BSG_LIST_ARRAY_SIZE,4,2        ## @BSG_LIST_ARRAY_SIZE
	.no_dead_strip	_bsg_dev_idx_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bsg_dev_idx_hash
_bsg_dev_idx_hash:                      ; @bsg_dev_idx_hash
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _bsg_device_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bsg_device_list@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BSG_LIST_ARRAY_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BSG_LIST_ARRAY_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w9, w9, w0
	add	x0, x8, w9, sxtw #2
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_bsg_device_list,8,3            ; @bsg_device_list
	.comm	_BSG_LIST_ARRAY_SIZE,4,2        ; @BSG_LIST_ARRAY_SIZE
	.no_dead_strip	_bsg_dev_idx_hash
.subsections_via_symbols
