	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSL_BSP_DriverHandleGet        ## -- Begin function DSL_BSP_DriverHandleGet
	.p2align	4, 0x90
_DSL_BSP_DriverHandleGet:               ## @DSL_BSP_DriverHandleGet
	.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	_BSP_MAX_DEVICES@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_4
## %bb.2:
	movq	_dsl_devices@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%esi, %rbx
	movl	4(%r14,%rbx,8), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	(%r14,%rbx,8), %rax
	incl	(%r14,%rbx,8)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSP_MAX_DEVICES,4,2            ## @BSP_MAX_DEVICES
	.comm	_dsl_devices,8,3                ## @dsl_devices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSL_BSP_DriverHandleGet        ; -- Begin function DSL_BSP_DriverHandleGet
	.p2align	2
_DSL_BSP_DriverHandleGet:               ; @DSL_BSP_DriverHandleGet
	.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, _BSP_MAX_DEVICES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSP_MAX_DEVICES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x8, _dsl_devices@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dsl_devices@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	add	x8, x20, w1, sxtw #3
	ldr	w0, [x8, #4]
	bl	_try_module_get
	cbz	w0, LBB0_3
; %bb.2:
	sxtw	x8, w19
	add	x0, x20, x8, lsl #3
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BSP_MAX_DEVICES,4,2            ; @BSP_MAX_DEVICES
	.comm	_dsl_devices,8,3                ; @dsl_devices
.subsections_via_symbols
