	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function device_get_status
_device_get_status:                     ## @device_get_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.device_get_status(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DS_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DS_DOWN,4,2                    ## @DS_DOWN
	.comm	_DS_RUNNING,4,2                 ## @DS_RUNNING
	.comm	_DS_UNKNOWN,4,2                 ## @DS_UNKNOWN
	.no_dead_strip	_device_get_status
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.device_get_status
l_switch.table.device_get_status:
	.quad	_DS_DOWN
	.quad	_DS_RUNNING
	.quad	_DS_RUNNING
	.quad	_DS_DOWN

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function device_get_status
_device_get_status:                     ; @device_get_status
	.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
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.device_get_status@PAGE
Lloh1:
	add	x9, x9, l_switch.table.device_get_status@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _DS_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DS_UNKNOWN@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DS_DOWN,4,2                    ; @DS_DOWN
	.comm	_DS_RUNNING,4,2                 ; @DS_RUNNING
	.comm	_DS_UNKNOWN,4,2                 ; @DS_UNKNOWN
	.no_dead_strip	_device_get_status
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.device_get_status
l_switch.table.device_get_status:
	.quad	_DS_DOWN
	.quad	_DS_RUNNING
	.quad	_DS_RUNNING
	.quad	_DS_DOWN

.subsections_via_symbols
