	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hotkey_notify_usrevent
_hotkey_notify_usrevent:                ## @hotkey_notify_usrevent
	.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
	movl	$1, (%rsi)
	movl	$0, (%rdx)
	addl	$-128, %edi
	cmpl	$6, %edi
	ja	LBB0_5
## %bb.1:
	movl	$1, %r14d
	movl	$112, %eax
	btl	%edi, %eax
	jb	LBB0_4
## %bb.2:
	movl	$3, %eax
	btl	%edi, %eax
	jae	LBB0_6
## %bb.3:
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_tpacpi_input_send_tabletsw
	xorl	%eax, %eax
	callq	_hotkey_tablet_mode_notify_change
	movl	$0, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movl	$1, (%rdx)
	jmp	LBB0_6
LBB0_5:
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hotkey_notify_usrevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hotkey_notify_usrevent
_hotkey_notify_usrevent:                ; @hotkey_notify_usrevent
	.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	x8, x0
	mov	w0, #1
	str	w0, [x1]
	str	wzr, [x2]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.1:
	lsl	w9, w0, w8
	tst	w9, #0x70
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0x3
	b.eq	LBB0_6
; %bb.3:
	mov	x19, x1
	bl	_tpacpi_input_send_tabletsw
	bl	_hotkey_tablet_mode_notify_change
	str	wzr, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	w0, #1
	str	w0, [x2]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hotkey_notify_usrevent
.subsections_via_symbols
