	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hotkey_mask_get
_hotkey_mask_get:                       ## @hotkey_mask_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_tp_features@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movl	$0, -4(%rbp)
	movq	_hkey_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	leaq	-4(%rbp), %rsi
	callq	_acpi_evalf
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	-4(%rbp), %eax
	jmp	LBB0_5
LBB0_4:
	movq	_hotkey_all_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	_hotkey_acpi_mask@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_hotkey_source_mask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_hotkey_user_mask@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tp_features,8,3                ## @tp_features
	.comm	_hkey_handle,4,2                ## @hkey_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DHKN"

L_.str.1:                               ## @.str.1
	.asciz	"d"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_hotkey_acpi_mask,4,2           ## @hotkey_acpi_mask
	.comm	_hotkey_all_mask,4,2            ## @hotkey_all_mask
	.comm	_hotkey_source_mask,4,2         ## @hotkey_source_mask
	.comm	_hotkey_user_mask,4,2           ## @hotkey_user_mask
	.no_dead_strip	_hotkey_mask_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hotkey_mask_get
_hotkey_mask_get:                       ; @hotkey_mask_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _tp_features@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tp_features@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	stur	wzr, [x29, #-4]
Lloh3:
	adrp	x8, _hkey_handle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hkey_handle@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	sub	x1, x29, #4
	bl	_acpi_evalf
	cbz	w0, LBB0_5
; %bb.2:
	ldur	w8, [x29, #-4]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _hotkey_all_mask@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hotkey_all_mask@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
LBB0_4:
Lloh13:
	adrp	x9, _hotkey_acpi_mask@GOTPAGE
Lloh14:
	ldr	x9, [x9, _hotkey_acpi_mask@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	mov	w0, #0
Lloh16:
	adrp	x9, _hotkey_source_mask@GOTPAGE
Lloh17:
	ldr	x9, [x9, _hotkey_source_mask@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _hotkey_user_mask@GOTPAGE
Lloh20:
	ldr	x9, [x9, _hotkey_user_mask@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w8, w10, w8
	str	w8, [x9]
	b	LBB0_6
LBB0_5:
Lloh21:
	adrp	x8, _EIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_tp_features,8,3                ; @tp_features
	.comm	_hkey_handle,4,2                ; @hkey_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DHKN"

l_.str.1:                               ; @.str.1
	.asciz	"d"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_hotkey_acpi_mask,4,2           ; @hotkey_acpi_mask
	.comm	_hotkey_all_mask,4,2            ; @hotkey_all_mask
	.comm	_hotkey_source_mask,4,2         ; @hotkey_source_mask
	.comm	_hotkey_user_mask,4,2           ; @hotkey_user_mask
	.no_dead_strip	_hotkey_mask_get
.subsections_via_symbols
