	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function notify_handler
_notify_handler:                        ## @notify_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	%edi, %r12d
	movq	%rdx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.1:
	cmpl	$192, %ebx
	je	LBB0_21
## %bb.2:
	cmpl	$206, %ebx
	je	LBB0_5
## %bb.3:
	movl	4(%r15), %edi
	testl	%edi, %edi
	je	LBB0_21
## %bb.4:
	movl	%ebx, %esi
	callq	_sparse_keymap_entry_from_scancode
	testl	%eax, %eax
	je	LBB0_22
LBB0_5:
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pm_wakeup_hard_event           ## TAILCALL
LBB0_6:
	movl	4(%r15), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.14:
	cmpl	$192, %ebx
	je	LBB0_17
## %bb.15:
	movslq	%ebx, %rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_sparse_keymap_report_event
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_16
LBB0_7:
	cmpl	$192, %ebx
	je	LBB0_17
## %bb.8:
	cmpl	$206, %ebx
	je	LBB0_11
## %bb.9:
	cmpl	$207, %ebx
	jne	LBB0_10
## %bb.13:
	movl	(%r15), %edi
	movq	_KEY_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_17:
	movq	_INTEL_HID_DSM_HDEM_FN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movl	%r12d, %edi
	callq	_intel_hid_evaluate_method
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	(%r15), %edi
	movq	-40(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_sparse_keymap_report_event
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	-40(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
LBB0_21:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_11:
	movl	(%r15), %edi
	movq	_KEY_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
LBB0_12:
	callq	_input_report_key
	movl	(%r15), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
LBB0_10:
	movslq	%ebx, %rbx
LBB0_16:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown event 0x%x\n"

	.comm	_KEY_POWER,4,2                  ## @KEY_POWER
	.comm	_INTEL_HID_DSM_HDEM_FN,4,2      ## @INTEL_HID_DSM_HDEM_FN
L_.str.1:                               ## @.str.1
	.asciz	"failed to get event index\n"

L_.str.2:                               ## @.str.2
	.asciz	"unknown event index 0x%llx\n"

	.no_dead_strip	_notify_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function notify_handler
_notify_handler:                        ; @notify_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	cmp	w21, #192
	b.eq	LBB0_17
; %bb.2:
	cmp	w21, #206
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x20, #4]
	cbz	w0, LBB0_17
; %bb.4:
	mov	x1, x21
	bl	_sparse_keymap_entry_from_scancode
	cbz	w0, LBB0_18
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_pm_wakeup_hard_event
LBB0_6:
	ldr	w0, [x20, #4]
	cbz	w0, LBB0_9
; %bb.7:
	cmp	w21, #192
	b.eq	LBB0_13
; %bb.8:
	sxtw	x20, w21
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	bl	_sparse_keymap_report_event
	cbnz	w0, LBB0_17
	b	LBB0_22
LBB0_9:
	cmp	w21, #192
	b.eq	LBB0_13
; %bb.10:
	cmp	w21, #206
	b.eq	LBB0_19
; %bb.11:
	cmp	w21, #207
	b.ne	LBB0_21
; %bb.12:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _KEY_POWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_POWER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	b	LBB0_20
LBB0_13:
Lloh3:
	adrp	x8, _INTEL_HID_DSM_HDEM_FN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_HID_DSM_HDEM_FN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x22
	bl	_intel_hid_evaluate_method
	cbz	w0, LBB0_16
; %bb.14:
	ldr	w0, [x20]
	ldr	x1, [sp, #8]
	mov	w2, #1
	mov	w3, #1
	bl	_sparse_keymap_report_event
	cbnz	w0, LBB0_17
; %bb.15:
	ldr	x2, [sp, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_17
LBB0_16:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_18:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_dev_info
LBB0_19:
	ldr	w0, [x20]
Lloh12:
	adrp	x8, _KEY_POWER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KEY_POWER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #1
LBB0_20:
	bl	_input_report_key
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_input_sync
LBB0_21:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x20, w21
LBB0_22:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_dev_dbg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown event 0x%x\n"

	.comm	_KEY_POWER,4,2                  ; @KEY_POWER
	.comm	_INTEL_HID_DSM_HDEM_FN,4,2      ; @INTEL_HID_DSM_HDEM_FN
l_.str.1:                               ; @.str.1
	.asciz	"failed to get event index\n"

l_.str.2:                               ; @.str.2
	.asciz	"unknown event index 0x%llx\n"

	.no_dead_strip	_notify_handler
.subsections_via_symbols
