	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hideep_parse_and_report
_hideep_parse_and_report:               ## @hideep_parse_and_report
	.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
	movq	%rdi, %r15
	movq	_HIDEEP_TOUCH_EVENT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rdi), %r12
	movq	24(%rdi), %rdi
	movq	_HIDEEP_KEY_EVENT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ebx
	movl	8(%r12), %r8d
	movl	%r8d, %r14d
	andl	$15, %r14d
	andl	$240, %r8d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_dev_dbg
	movq	_HIDEEP_MT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_min
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	leaq	(%r12,%r13,8), %rbx
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	callq	_hideep_report_slot
	addq	$4, %rbx
	decq	%r13
	jne	LBB0_2
LBB0_3:
	movq	_HIDEEP_KEY_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_min
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r12,%rcx,8), %r14
	movl	%eax, %r12d
	shlq	$4, %r12
	xorl	%ebx, %ebx
	movq	_HIDEEP_KEY_PRESSED_MASK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx), %rdx
	movl	8(%r15), %edi
	movq	16(%r15), %rax
	movq	_HIDEEP_KEY_IDX_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rdx, %rcx
	movl	(%rax,%rcx,4), %esi
	andq	(%r13), %rdx
	callq	_input_report_key
	addq	$16, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
LBB0_6:
	movl	8(%r15), %edi
	callq	_input_mt_sync_frame
	movl	8(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDEEP_TOUCH_EVENT_INDEX,8,3   ## @HIDEEP_TOUCH_EVENT_INDEX
	.comm	_HIDEEP_KEY_EVENT_INDEX,8,3     ## @HIDEEP_KEY_EVENT_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mt = %d, key = %d, lpm = %02x"

	.comm	_HIDEEP_MT_MAX,4,2              ## @HIDEEP_MT_MAX
	.comm	_HIDEEP_KEY_MAX,4,2             ## @HIDEEP_KEY_MAX
	.comm	_HIDEEP_KEY_IDX_MASK,8,3        ## @HIDEEP_KEY_IDX_MASK
	.comm	_HIDEEP_KEY_PRESSED_MASK,8,3    ## @HIDEEP_KEY_PRESSED_MASK
	.no_dead_strip	_hideep_parse_and_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hideep_parse_and_report
_hideep_parse_and_report:               ; @hideep_parse_and_report
	.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	x19, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _HIDEEP_TOUCH_EVENT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIDEEP_TOUCH_EVENT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _HIDEEP_KEY_EVENT_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HIDEEP_KEY_EVENT_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	ldr	w21, [x22]
	ldr	w8, [x22, #8]
	and	w20, w8, #0xf
	and	w4, w8, #0xf0
	ldr	x0, [x0, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_dev_dbg
Lloh8:
	adrp	x8, _HIDEEP_MT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HIDEEP_MT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_min
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	add	x21, x22, x24, lsl #3
	mov	w24, w0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_hideep_report_slot
	add	x21, x21, #4
	subs	x24, x24, #1
	b.ne	LBB0_2
LBB0_3:
Lloh11:
	adrp	x8, _HIDEEP_KEY_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HIDEEP_KEY_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_min
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	add	x20, x22, x23, lsl #3
Lloh14:
	adrp	x21, _HIDEEP_KEY_IDX_MASK@GOTPAGE
Lloh15:
	ldr	x21, [x21, _HIDEEP_KEY_IDX_MASK@GOTPAGEOFF]
Lloh16:
	adrp	x22, _HIDEEP_KEY_PRESSED_MASK@GOTPAGE
Lloh17:
	ldr	x22, [x22, _HIDEEP_KEY_PRESSED_MASK@GOTPAGEOFF]
	mov	w23, w0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20], #16
	ldr	w0, [x19, #8]
	ldr	x9, [x19, #16]
	ldr	x10, [x21]
	and	x10, x10, x8
	ldr	w1, [x9, x10, lsl #2]
	ldr	x9, [x22]
	and	x2, x9, x8
	bl	_input_report_key
	subs	x23, x23, #1
	b.ne	LBB0_5
LBB0_6:
	ldr	w0, [x19, #8]
	bl	_input_mt_sync_frame
	ldr	w0, [x19, #8]
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDEEP_TOUCH_EVENT_INDEX,8,3   ; @HIDEEP_TOUCH_EVENT_INDEX
	.comm	_HIDEEP_KEY_EVENT_INDEX,8,3     ; @HIDEEP_KEY_EVENT_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mt = %d, key = %d, lpm = %02x"

	.comm	_HIDEEP_MT_MAX,4,2              ; @HIDEEP_MT_MAX
	.comm	_HIDEEP_KEY_MAX,4,2             ; @HIDEEP_KEY_MAX
	.comm	_HIDEEP_KEY_IDX_MASK,8,3        ; @HIDEEP_KEY_IDX_MASK
	.comm	_HIDEEP_KEY_PRESSED_MASK,8,3    ; @HIDEEP_KEY_PRESSED_MASK
	.no_dead_strip	_hideep_parse_and_report
.subsections_via_symbols
