	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_wmi_process_key
_dell_wmi_process_key:                  ## @dell_wmi_process_key
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movl	(%rax), %edi
	movl	%ebx, %esi
	shll	$16, %esi
	orl	%r12d, %esi
	callq	_sparse_keymap_entry_from_scancode
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_pr_debug
	movq	(%r15), %rax
	movq	_KEY_BRIGHTNESSUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_KEY_BRIGHTNESSDOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_acpi_video_handles_brightness_key_presses
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.5:
	cmpl	$57381, %r12d                   ## imm = 0xE025
	jne	LBB0_7
## %bb.6:
	movq	_wmi_requires_smbios_request@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
LBB0_7:
	movq	(%r15), %rax
	movq	_KEY_KBDILLUMTOGGLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_dell_laptop_call_notifier
LBB0_9:
	movl	(%r14), %edi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sparse_keymap_report_entry     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown key with type 0x%04x and code 0x%04x pressed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Key with type 0x%04x and code 0x%04x pressed\n"

	.comm	_KEY_BRIGHTNESSUP,8,3           ## @KEY_BRIGHTNESSUP
	.comm	_KEY_BRIGHTNESSDOWN,8,3         ## @KEY_BRIGHTNESSDOWN
	.comm	_wmi_requires_smbios_request,4,2 ## @wmi_requires_smbios_request
	.comm	_KEY_KBDILLUMTOGGLE,8,3         ## @KEY_KBDILLUMTOGGLE
	.comm	_DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED,4,2 ## @DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED
	.no_dead_strip	_dell_wmi_process_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_wmi_process_key
_dell_wmi_process_key:                  ; @dell_wmi_process_key
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x22, x1
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	w0, [x0]
	orr	w1, w21, w22, lsl #16
	bl	_sparse_keymap_entry_from_scancode
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	mov	x2, x21
	bl	_pr_debug
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _KEY_BRIGHTNESSUP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KEY_BRIGHTNESSUP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _KEY_BRIGHTNESSDOWN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _KEY_BRIGHTNESSDOWN@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	bl	_acpi_video_handles_brightness_key_presses
	cbnz	x0, LBB0_6
LBB0_3:
	cbnz	w22, LBB0_8
; %bb.4:
	mov	w8, #57381
	cmp	w21, w8
	b.ne	LBB0_8
; %bb.5:
Lloh8:
	adrp	x8, _wmi_requires_smbios_request@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wmi_requires_smbios_request@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_info
LBB0_8:
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _KEY_KBDILLUMTOGGLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _KEY_KBDILLUMTOGGLE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
Lloh16:
	adrp	x8, _DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_dell_laptop_call_notifier
LBB0_10:
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sparse_keymap_report_entry
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown key with type 0x%04x and code 0x%04x pressed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Key with type 0x%04x and code 0x%04x pressed\n"

	.comm	_KEY_BRIGHTNESSUP,8,3           ; @KEY_BRIGHTNESSUP
	.comm	_KEY_BRIGHTNESSDOWN,8,3         ; @KEY_BRIGHTNESSDOWN
	.comm	_wmi_requires_smbios_request,4,2 ; @wmi_requires_smbios_request
	.comm	_KEY_KBDILLUMTOGGLE,8,3         ; @KEY_KBDILLUMTOGGLE
	.comm	_DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED,4,2 ; @DELL_LAPTOP_KBD_BACKLIGHT_BRIGHTNESS_CHANGED
	.no_dead_strip	_dell_wmi_process_key
.subsections_via_symbols
