	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_notify
_acpi_notify:                           ## @acpi_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_acpi_handle_debug
	movq	_inited@GOTPCREL(%rip), %rax
	movq	_INIT_SPARSE_KEYMAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_wmi_input_dev@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$128, %esi
	callq	_sparse_keymap_entry_from_scancode
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rcx
	movq	_KE_KEY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.4:
	movl	(%rbx), %edi
	movq	%rax, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sparse_keymap_report_entry     ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"notify: %d\n"

	.comm	_inited,4,2                     ## @inited
	.comm	_INIT_SPARSE_KEYMAP,4,2         ## @INIT_SPARSE_KEYMAP
	.comm	_wmi_input_dev,4,2              ## @wmi_input_dev
	.comm	_KE_KEY,8,3                     ## @KE_KEY
	.no_dead_strip	_acpi_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_notify
_acpi_notify:                           ; @acpi_notify
	.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	x2, x1
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_acpi_handle_debug
Lloh2:
	adrp	x8, _inited@GOTPAGE
Lloh3:
	ldr	x8, [x8, _inited@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _INIT_SPARSE_KEYMAP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INIT_SPARSE_KEYMAP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh8:
	adrp	x19, _wmi_input_dev@GOTPAGE
Lloh9:
	ldr	x19, [x19, _wmi_input_dev@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #128
	bl	_sparse_keymap_entry_from_scancode
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
	ldr	x8, [x0]
Lloh10:
	adrp	x9, _KE_KEY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _KE_KEY@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	mov	w2, #1
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sparse_keymap_report_entry
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"notify: %d\n"

	.comm	_inited,4,2                     ; @inited
	.comm	_INIT_SPARSE_KEYMAP,4,2         ; @INIT_SPARSE_KEYMAP
	.comm	_wmi_input_dev,4,2              ; @wmi_input_dev
	.comm	_KE_KEY,8,3                     ; @KE_KEY
	.no_dead_strip	_acpi_notify
.subsections_via_symbols
