	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpc_get_attention_status
_hpc_get_attention_status:              ## @hpc_get_attention_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	8(%rdi), %rbx
	movl	(%rdi), %edi
	callq	_SLOT_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_shpc_readl
	movq	_ATN_LED_STATE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ATN_LED_STATE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	addl	$-128, %eax
	movl	$255, %ecx
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.hpc_get_attention_status(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_2:
	movl	%ecx, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATN_LED_STATE_MASK,4,2         ## @ATN_LED_STATE_MASK
	.comm	_ATN_LED_STATE_SHIFT,4,2        ## @ATN_LED_STATE_SHIFT
	.no_dead_strip	_hpc_get_attention_status
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.hpc_get_attention_status
l_switch.table.hpc_get_attention_status:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpc_get_attention_status
_hpc_get_attention_status:              ; @hpc_get_attention_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, x1
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
	bl	_SLOT_REG
	mov	x1, x0
	mov	x0, x20
	bl	_shpc_readl
Lloh0:
	adrp	x8, _ATN_LED_STATE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATN_LED_STATE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _ATN_LED_STATE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATN_LED_STATE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.hpc_get_attention_status@PAGE
Lloh7:
	add	x9, x9, l_switch.table.hpc_get_attention_status@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w8, #255
LBB0_3:
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ATN_LED_STATE_MASK,4,2         ; @ATN_LED_STATE_MASK
	.comm	_ATN_LED_STATE_SHIFT,4,2        ; @ATN_LED_STATE_SHIFT
	.no_dead_strip	_hpc_get_attention_status
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.hpc_get_attention_status
l_switch.table.hpc_get_attention_status:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	2                               ; 0x2

.subsections_via_symbols
