	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_process_packet_v1_v2
_alps_process_packet_v1_v2:             ## @alps_process_packet_v1_v2
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r9
	movq	(%rdi), %r10
	movq	(%r9), %rax
	movq	_ALPS_PROTO_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movzbl	2(%r10), %r8d
	movl	%r8d, %r11d
	andl	$16, %r11d
	movl	%r8d, %r12d
	andl	$8, %r12d
	movzbl	1(%r10), %ecx
	movzbl	(%r10), %r15d
	andl	$7, %r15d
	shll	$7, %r15d
	orl	%ecx, %r15d
	movzbl	4(%r10), %edx
	movzbl	3(%r10), %ecx
	movl	%ecx, %r13d
	andl	$7, %r13d
	shll	$7, %r13d
	orl	%edx, %r13d
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_2:
	movzbl	3(%r10), %ecx
	movl	%ecx, %r11d
	andl	$1, %r11d
	movl	%ecx, %r12d
	andl	$2, %r12d
	movl	%ecx, %esi
	andl	$4, %esi
	movzbl	1(%r10), %edx
	movzbl	2(%r10), %r8d
	movl	%r8d, %r15d
	andl	$120, %r15d
	shll	$4, %r15d
	orl	%edx, %r15d
	movzbl	4(%r10), %edx
	movl	%ecx, %r13d
	andl	$112, %r13d
	shll	$3, %r13d
	orl	%edx, %r13d
LBB0_3:
	movl	8(%r9), %edx
	movq	_ALPS_FW_BK_1@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.5:
	movb	(%r10), %bl
	andb	$16, %bl
	movl	%r8d, %esi
	andb	$4, %sil
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
LBB0_6:
	movq	_ALPS_FW_BK_2@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_8
## %bb.7:
	andb	$4, %cl
	movl	%r8d, %eax
	andb	$4, %al
	movzbl	%al, %esi
	andb	%cl, %al
	shrb	$2, %al
	movzbl	%al, %eax
	movzbl	%cl, %ebx
	xorl	%ecx, %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testb	%al, %al
	cmovnel	%ecx, %ebx
	cmovnel	%ecx, %esi
LBB0_8:
	movzbl	5(%r10), %ecx
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	16(%r9), %r14
	movq	_ALPS_DUALPOINT@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_11
## %bb.9:
	cmpb	$127, %cl
	jne	LBB0_11
## %bb.10:
	movq	_REL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r15b, %edx
	movq	%r14, %rdi
	movl	%r11d, %ebx
	callq	_input_report_rel
	movq	_REL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	negb	%r13b
	movzbl	%r13b, %edx
	movq	%r14, %rdi
	callq	_input_report_rel
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_alps_report_buttons
	jmp	LBB0_28
LBB0_11:
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	movzbl	%r8b, %r12d
	movq	_ALPS_STICK_BITS@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_12
## %bb.13:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax), %eax
	movl	%eax, %ecx
	andl	$1, %ecx
	orl	%ecx, %r11d
	movl	%eax, %edx
	andl	$2, %edx
	movl	%edi, %ecx
	orl	%edx, %ecx
	andl	$4, %eax
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	orl	%eax, %r8d
	jmp	LBB0_14
LBB0_12:
	movl	%edi, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_14:
	movl	%r12d, %eax
	andl	$2, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r11d, %edx
	callq	_alps_report_buttons
	andl	$3, %r12d
	cmpl	$1, %r12d
	movl	$40, %eax
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	cmovel	%eax, %ebx
	cmpl	$3, %r12d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_17
## %bb.15:
	cmpl	$0, 12(%r14)
	jne	LBB0_17
## %bb.16:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_input_report_abs
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_input_report_abs
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	%r12, %rdi
	callq	_input_sync
LBB0_17:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r14)
	cmpl	$31, %ebx
	jb	LBB0_19
## %bb.18:
	movl	%ebx, %r12d
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_input_report_key
	jmp	LBB0_21
LBB0_19:
	movl	%ebx, %r12d
	cmpl	$24, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	ja	LBB0_21
## %bb.20:
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	testl	%r12d, %r12d
	je	LBB0_22
LBB0_21:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_input_report_abs
	movb	$1, %bl
LBB0_22:
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_input_report_abs
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_input_report_key
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %eax
	movq	_ALPS_WHEEL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_24
## %bb.23:
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r15), %al
	movb	2(%r15), %cl
	addb	%cl, %cl
	andb	$8, %cl
	shrb	$4, %al
	andb	$7, %al
	subb	%al, %cl
	movzbl	%cl, %edx
	movq	%r14, %rdi
	callq	_input_report_rel
	movl	8(%rbx), %eax
LBB0_24:
	movq	_ALPS_FW_BK_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ALPS_FW_BK_1@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_26
## %bb.25:
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-60(%rbp), %edx                 ## 1-byte Folded Reload
	movq	%r14, %rdi
	callq	_input_report_key
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-64(%rbp), %edx                 ## 1-byte Folded Reload
	movq	%r14, %rdi
	callq	_input_report_key
	movl	8(%rbx), %eax
LBB0_26:
	movq	_ALPS_FOUR_BUTTONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	movq	_BTN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	2(%r15), %edx
	andl	$4, %edx
	movq	%r14, %rdi
	callq	_input_report_key
	movq	_BTN_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	(%r15), %edx
	andl	$16, %edx
	movq	%r14, %rdi
	callq	_input_report_key
	movq	_BTN_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	3(%r15), %edx
	andl	$4, %edx
	movq	%r14, %rdi
	callq	_input_report_key
	movq	_BTN_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	(%r15), %edx
	andl	$32, %edx
	movq	%r14, %rdi
	callq	_input_report_key
LBB0_28:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALPS_PROTO_V1,8,3              ## @ALPS_PROTO_V1
	.comm	_ALPS_FW_BK_1,4,2               ## @ALPS_FW_BK_1
	.comm	_ALPS_FW_BK_2,4,2               ## @ALPS_FW_BK_2
	.comm	_ALPS_DUALPOINT,4,2             ## @ALPS_DUALPOINT
	.comm	_REL_X,4,2                      ## @REL_X
	.comm	_REL_Y,4,2                      ## @REL_Y
	.comm	_ALPS_STICK_BITS,4,2            ## @ALPS_STICK_BITS
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ALPS_WHEEL,4,2                 ## @ALPS_WHEEL
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_BTN_FORWARD,4,2                ## @BTN_FORWARD
	.comm	_BTN_BACK,4,2                   ## @BTN_BACK
	.comm	_ALPS_FOUR_BUTTONS,4,2          ## @ALPS_FOUR_BUTTONS
	.comm	_BTN_0,4,2                      ## @BTN_0
	.comm	_BTN_1,4,2                      ## @BTN_1
	.comm	_BTN_2,4,2                      ## @BTN_2
	.comm	_BTN_3,4,2                      ## @BTN_3
	.no_dead_strip	_alps_process_packet_v1_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_process_packet_v1_v2
_alps_process_packet_v1_v2:             ; @alps_process_packet_v1_v2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x0, #16]
	ldr	x28, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _ALPS_PROTO_V1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALPS_PROTO_V1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	ldrb	w23, [x28, #2]
	and	w24, w23, #0x10
	and	w25, w23, #0x8
	ldrb	w9, [x28, #1]
	ldrb	w10, [x28]
	and	w10, w10, #0x7
	orr	w16, w9, w10, lsl #7
	ldrb	w10, [x28, #4]
	ldrb	w9, [x28, #3]
	and	w11, w9, #0x7
	orr	w20, w10, w11, lsl #7
	b	LBB0_3
LBB0_2:
	ldrb	w9, [x28, #3]
	and	w24, w9, #0x1
	and	w25, w9, #0x2
	and	w8, w9, #0x4
	ldrb	w10, [x28, #1]
	ldrb	w23, [x28, #2]
	and	w11, w23, #0x78
	orr	w16, w10, w11, lsl #4
	ldrb	w10, [x28, #4]
	lsl	w11, w9, #3
	and	w11, w11, #0x380
	orr	w20, w11, w10
LBB0_3:
	ldr	x19, [x0, #8]
	ldr	x26, [x21, #16]
	ldr	w10, [x21, #8]
Lloh3:
	adrp	x11, _ALPS_FW_BK_1@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ALPS_FW_BK_1@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_5
; %bb.4:
	ldrb	w11, [x28]
	and	w11, w11, #0x10
	and	w12, w23, #0x4
	b	LBB0_6
LBB0_5:
	mov	w11, #0
	mov	w12, #0
LBB0_6:
	ldrb	w22, [x28, #5]
Lloh6:
	adrp	x13, _ALPS_FW_BK_2@GOTPAGE
Lloh7:
	ldr	x13, [x13, _ALPS_FW_BK_2@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x13]
	and	w9, w9, #0x4
	and	w14, w23, #0x4
	and	w15, w14, w9
	lsr	w15, w15, #2
	cmp	w15, #0
	csel	w9, wzr, w9, ne
	csel	w14, wzr, w14, ne
	tst	w13, w10
	csel	w27, w8, w15, eq
	csel	w9, w11, w9, eq
	csel	w11, w12, w14, eq
Lloh9:
	adrp	x8, _ALPS_DUALPOINT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALPS_DUALPOINT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_9
; %bb.7:
	cmp	w22, #127
	b.ne	LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _REL_X@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REL_X@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	and	w2, w16, #0xff
	mov	x0, x26
	bl	_input_report_rel
Lloh15:
	adrp	x8, _REL_Y@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REL_Y@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	neg	w8, w20
	and	w2, w8, #0xff
	mov	x0, x26
	bl	_input_report_rel
	mov	x0, x26
	mov	x1, x19
	mov	x2, x24
	mov	x3, x25
	mov	x4, x27
	bl	_alps_report_buttons
	b	LBB0_26
LBB0_9:
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	and	w20, w23, #0x2
Lloh18:
	adrp	x8, _ALPS_STICK_BITS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALPS_STICK_BITS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w10
	stp	w9, w16, [sp, #4]               ; 8-byte Folded Spill
	str	w11, [sp]                       ; 4-byte Folded Spill
	b.eq	LBB0_11
; %bb.10:
	ldrb	w8, [x28]
	and	w9, w8, #0x1
	orr	w24, w9, w24
	and	w9, w8, #0x2
	orr	w25, w9, w25
	and	w8, w8, #0x4
	orr	w27, w8, w27
LBB0_11:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x24
	mov	x3, x25
	mov	x4, x27
	bl	_alps_report_buttons
	and	w8, w23, #0x3
	mov	w9, #40
Lloh21:
	adrp	x27, _ABS_X@GOTPAGE
Lloh22:
	ldr	x27, [x27, _ABS_X@GOTPAGEOFF]
Lloh23:
	adrp	x26, _ABS_Y@GOTPAGE
Lloh24:
	ldr	x26, [x26, _ABS_Y@GOTPAGEOFF]
	cmp	w8, #1
	csel	w24, w9, w22, eq
Lloh25:
	adrp	x25, _ABS_PRESSURE@GOTPAGE
Lloh26:
	ldr	x25, [x25, _ABS_PRESSURE@GOTPAGEOFF]
Lloh27:
	adrp	x23, _BTN_TOOL_FINGER@GOTPAGE
Lloh28:
	ldr	x23, [x23, _BTN_TOOL_FINGER@GOTPAGEOFF]
	cmp	w8, #3
	b.ne	LBB0_14
; %bb.12:
	ldr	w8, [x21, #12]
	cbnz	w8, LBB0_14
; %bb.13:
	ldr	w1, [x27]
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_input_report_abs
	ldr	w1, [x26]
	mov	x0, x19
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_input_report_abs
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_input_report_abs
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_input_report_key
	mov	x0, x19
	bl	_input_sync
LBB0_14:
	str	w20, [x21, #12]
	cmp	w24, #31
	b.lo	LBB0_16
; %bb.15:
Lloh29:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_input_report_key
	b	LBB0_18
LBB0_16:
	cmp	w24, #24
	b.hi	LBB0_18
; %bb.17:
Lloh32:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_input_report_key
	cbz	w24, LBB0_27
LBB0_18:
	ldr	w1, [x27]
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_input_report_abs
	ldr	w1, [x26]
	mov	x0, x19
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_input_report_abs
	mov	w20, #1
LBB0_19:
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x24
	bl	_input_report_abs
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_input_report_key
	ldr	w8, [x21, #8]
Lloh35:
	adrp	x9, _ALPS_WHEEL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ALPS_WHEEL@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
Lloh38:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldrb	w8, [x28, #2]
	lsl	w8, w8, #1
	and	w8, w8, #0x8
	ldrb	w9, [x28]
	ubfx	w9, w9, #4, #3
	sub	w8, w8, w9
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_input_report_rel
	ldr	w8, [x21, #8]
LBB0_21:
Lloh41:
	adrp	x9, _ALPS_FW_BK_1@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ALPS_FW_BK_1@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _ALPS_FW_BK_2@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ALPS_FW_BK_2@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
Lloh47:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh48:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp]                        ; 4-byte Folded Reload
	bl	_input_report_key
Lloh50:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	bl	_input_report_key
	ldr	w8, [x21, #8]
LBB0_23:
Lloh53:
	adrp	x9, _ALPS_FOUR_BUTTONS@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ALPS_FOUR_BUTTONS@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
Lloh56:
	adrp	x8, _BTN_0@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BTN_0@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	ldrb	w8, [x28, #2]
	and	w2, w8, #0x4
	mov	x0, x19
	bl	_input_report_key
Lloh59:
	adrp	x8, _BTN_1@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BTN_1@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	ldrb	w8, [x28]
	and	w2, w8, #0x10
	mov	x0, x19
	bl	_input_report_key
Lloh62:
	adrp	x8, _BTN_2@GOTPAGE
Lloh63:
	ldr	x8, [x8, _BTN_2@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	ldrb	w8, [x28, #3]
	and	w2, w8, #0x4
	mov	x0, x19
	bl	_input_report_key
Lloh65:
	adrp	x8, _BTN_3@GOTPAGE
Lloh66:
	ldr	x8, [x8, _BTN_3@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	ldrb	w8, [x28]
	and	w2, w8, #0x20
	mov	x0, x19
	bl	_input_report_key
LBB0_25:
	mov	x26, x19
LBB0_26:
	mov	x0, x26
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_input_sync
LBB0_27:
	mov	w20, #0
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_ALPS_PROTO_V1,8,3              ; @ALPS_PROTO_V1
	.comm	_ALPS_FW_BK_1,4,2               ; @ALPS_FW_BK_1
	.comm	_ALPS_FW_BK_2,4,2               ; @ALPS_FW_BK_2
	.comm	_ALPS_DUALPOINT,4,2             ; @ALPS_DUALPOINT
	.comm	_REL_X,4,2                      ; @REL_X
	.comm	_REL_Y,4,2                      ; @REL_Y
	.comm	_ALPS_STICK_BITS,4,2            ; @ALPS_STICK_BITS
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ALPS_WHEEL,4,2                 ; @ALPS_WHEEL
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_BTN_FORWARD,4,2                ; @BTN_FORWARD
	.comm	_BTN_BACK,4,2                   ; @BTN_BACK
	.comm	_ALPS_FOUR_BUTTONS,4,2          ; @ALPS_FOUR_BUTTONS
	.comm	_BTN_0,4,2                      ; @BTN_0
	.comm	_BTN_1,4,2                      ; @BTN_1
	.comm	_BTN_2,4,2                      ; @BTN_2
	.comm	_BTN_3,4,2                      ; @BTN_3
	.no_dead_strip	_alps_process_packet_v1_v2
.subsections_via_symbols
