	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_keypad_scan_matrix
_w90p910_keypad_scan_matrix:            ## @w90p910_keypad_scan_matrix
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	movl	%esi, %edi
	callq	_KGET_RAW
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_KGET_COLUMN
	movq	_W90P910_ROW_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_MATRIX_SCAN_CODE
	movl	%eax, %r15d
	movq	(%r14), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %r14d
	movq	_EV_MSC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_MSC_SCAN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_input_event
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_input_report_key
	movq	%r12, %rdi
	callq	_input_sync
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_input_event
	movq	%r12, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_W90P910_ROW_SHIFT,4,2          ## @W90P910_ROW_SHIFT
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SCAN,4,2                   ## @MSC_SCAN
	.no_dead_strip	_w90p910_keypad_scan_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_keypad_scan_matrix
_w90p910_keypad_scan_matrix:            ; @w90p910_keypad_scan_matrix
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x1
	bl	_KGET_RAW
	mov	x22, x0
	mov	x0, x20
	bl	_KGET_COLUMN
	mov	x1, x0
Lloh0:
	adrp	x8, _W90P910_ROW_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W90P910_ROW_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_MATRIX_SCAN_CODE
	mov	x20, x0
	ldr	x8, [x21]
	ldr	w21, [x8, w0, uxtw #2]
Lloh3:
	adrp	x22, _EV_MSC@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EV_MSC@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x23, _MSC_SCAN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MSC_SCAN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x20
	bl	_input_event
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_input_report_key
	mov	x0, x19
	bl	_input_sync
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x20
	bl	_input_event
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_input_report_key
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_W90P910_ROW_SHIFT,4,2          ; @W90P910_ROW_SHIFT
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SCAN,4,2                   ; @MSC_SCAN
	.no_dead_strip	_w90p910_keypad_scan_matrix
.subsections_via_symbols
