	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hotkey_read
_hotkey_read:                           ## @hotkey_read
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_tp_features@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_hotkey_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock_killable
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	jmp	LBB0_11
LBB0_4:
	leaq	-20(%rbp), %rdi
	callq	_hotkey_status_get
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	_hotkey_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
	callq	_hotkey_mask_get
	movl	%eax, %ebx
	movq	_hotkey_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_7
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	-20(%rbp), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_enabled
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_hotkey_all_mask@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_hotkey_user_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_tp_features,4,2                ## @tp_features
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status:\t\tnot supported\n"

	.comm	_hotkey_mutex,4,2               ## @hotkey_mutex
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
L_.str.1:                               ## @.str.1
	.asciz	"status:\t\t%s\n"

	.comm	_hotkey_all_mask,8,3            ## @hotkey_all_mask
L_.str.2:                               ## @.str.2
	.asciz	"mask:\t\t0x%08x\n"

	.comm	_hotkey_user_mask,4,2           ## @hotkey_user_mask
L_.str.3:                               ## @.str.3
	.asciz	"commands:\tenable, disable, reset, <mask>\n"

L_.str.4:                               ## @.str.4
	.asciz	"mask:\t\tnot supported\n"

L_.str.5:                               ## @.str.5
	.asciz	"commands:\tenable, disable, reset\n"

	.no_dead_strip	_hotkey_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hotkey_read
_hotkey_read:                           ; @hotkey_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _tp_features@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tp_features@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, _hotkey_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _hotkey_mutex@GOTPAGEOFF]
	bl	_mutex_lock_killable
	cbz	x0, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_seq_printf
	mov	w20, #0
	b	LBB0_8
LBB0_5:
	add	x0, sp, #12
	bl	_hotkey_status_get
	cbz	w0, LBB0_7
; %bb.6:
	mov	x20, x0
Lloh10:
	adrp	x0, _hotkey_mutex@GOTPAGE
Lloh11:
	ldr	x0, [x0, _hotkey_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	b	LBB0_8
LBB0_7:
	bl	_hotkey_mask_get
	mov	x20, x0
Lloh12:
	adrp	x0, _hotkey_mutex@GOTPAGE
Lloh13:
	ldr	x0, [x0, _hotkey_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	cbz	w20, LBB0_9
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	ldr	w0, [sp, #12]
	mov	w1, #0
	bl	_enabled
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh16:
	adrp	x8, _hotkey_all_mask@GOTPAGE
Lloh17:
	ldr	x8, [x8, _hotkey_all_mask@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, _hotkey_user_mask@GOTPAGE
Lloh20:
	ldr	x8, [x8, _hotkey_user_mask@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_11:
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_tp_features,4,2                ; @tp_features
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status:\t\tnot supported\n"

	.comm	_hotkey_mutex,4,2               ; @hotkey_mutex
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
l_.str.1:                               ; @.str.1
	.asciz	"status:\t\t%s\n"

	.comm	_hotkey_all_mask,8,3            ; @hotkey_all_mask
l_.str.2:                               ; @.str.2
	.asciz	"mask:\t\t0x%08x\n"

	.comm	_hotkey_user_mask,4,2           ; @hotkey_user_mask
l_.str.3:                               ; @.str.3
	.asciz	"commands:\tenable, disable, reset, <mask>\n"

l_.str.4:                               ; @.str.4
	.asciz	"mask:\t\tnot supported\n"

l_.str.5:                               ; @.str.5
	.asciz	"commands:\tenable, disable, reset\n"

	.no_dead_strip	_hotkey_read
.subsections_via_symbols
