	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function alps_set_protocol
LCPI0_0:
	.long	2000                            ## 0x7d0
	.long	1400                            ## 0x578
	.long	15                              ## 0xf
	.long	11                              ## 0xb
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_alps_set_protocol:                     ## @alps_set_protocol
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, (%rdi)
	leaq	88(%rsi), %rdi
	movq	_alps_flush_packet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	movl	(%rbx), %ecx
	movl	%ecx, (%r12)
	movl	12(%rbx), %eax
	movl	%eax, 84(%r12)
	movl	8(%rbx), %eax
	movl	%eax, 80(%r12)
	movl	4(%rbx), %eax
	movl	%eax, 76(%r12)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2000,1400,15,11]
	movups	%xmm0, 4(%r12)
	addl	$-128, %ecx
	cmpl	$8, %ecx
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_alps_hw_init_v1_v2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_v1_v2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_set_abs_params_st@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movabsq	$3294239917055, %rax            ## imm = 0x2FF000003FF
	movq	%rax, 4(%r12)
	movq	_alps_dmi_has_separate_stick_buttons@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dmi_check_system
	testl	%eax, %eax
	je	LBB0_17
## %bb.3:
	movq	_ALPS_STICK_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 76(%r12)
	jmp	LBB0_17
LBB0_14:
	movq	_alps_hw_init_ss4_v2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_ss4_v2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_decode_ss4_v2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	_alps_set_abs_params_ss4_v2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_v3_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_PSMOUSE_CMD_RESET_WRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_alps_set_defaults_ss4_v2
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_11:
	movq	_alps_hw_init_v7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%r12)
	movq	_alps_process_packet_v7@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%r12)
	movq	_alps_decode_packet_v7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%r12)
	movq	_alps_set_abs_params_v7@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%r12)
	movq	_alps_v3_nibble_commands@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%r12)
	movq	_PSMOUSE_CMD_RESET_WRAP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%r12)
	movabsq	$8791798059007, %rcx            ## imm = 0x7FF00000FFF
	movq	%rcx, 4(%r12)
	movq	24(%r12), %rcx
	cmpl	$186, 4(%rcx)
	je	LBB0_13
## %bb.12:
	movq	_ALPS_BUTTONPAD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 76(%r12)
LBB0_13:
	movq	_ALPS_REG_BASE_V7@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_alps_hw_init_v6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_v6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_set_abs_params_st@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_v6_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movabsq	$6592774801407, %rax            ## imm = 0x5FF000007FF
	movq	%rax, 4(%r12)
	jmp	LBB0_17
LBB0_9:
	movq	_alps_hw_init_dolphin_v1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_touchpad_packet_v3_v5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_decode_dolphin@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	_alps_set_abs_params_semi_mt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_v3_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_PSMOUSE_CMD_RESET_WRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	movabsq	$51539607575, %rax              ## imm = 0xC00000017
	movq	%rax, 12(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_alps_dolphin_get_device_area
	testl	%eax, %eax
	je	LBB0_17
LBB0_16:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_17
LBB0_8:
	movq	_alps_hw_init_v4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_v4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_set_abs_params_semi_mt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_v4_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_PSMOUSE_CMD_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	jmp	LBB0_17
LBB0_7:
	movq	_alps_hw_init_rushmore_v3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_v3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_set_abs_params_semi_mt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_decode_rushmore@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	_alps_v3_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_PSMOUSE_CMD_RESET_WRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	movabsq	$51539607568, %rax              ## imm = 0xC00000010
	movq	%rax, 12(%r12)
	movq	_ALPS_REG_BASE_RUSHMORE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_alps_hw_init_v3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_alps_process_packet_v3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_alps_set_abs_params_semi_mt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_alps_decode_pinnacle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	_alps_v3_nibble_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_PSMOUSE_CMD_RESET_WRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	movq	_ALPS_REG_BASE_PINNACLE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alps_probe_trackstick_v3_v7
	testl	%eax, %eax
	jns	LBB0_17
## %bb.6:
	movq	_ALPS_DUALPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 76(%r12)
LBB0_17:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_alps_flush_packet,4,2          ## @alps_flush_packet
	.comm	_alps_hw_init_v1_v2,4,2         ## @alps_hw_init_v1_v2
	.comm	_alps_process_packet_v1_v2,8,3  ## @alps_process_packet_v1_v2
	.comm	_alps_set_abs_params_st,8,3     ## @alps_set_abs_params_st
	.comm	_alps_dmi_has_separate_stick_buttons,4,2 ## @alps_dmi_has_separate_stick_buttons
	.comm	_ALPS_STICK_BITS,4,2            ## @ALPS_STICK_BITS
	.comm	_alps_hw_init_v3,4,2            ## @alps_hw_init_v3
	.comm	_alps_process_packet_v3,8,3     ## @alps_process_packet_v3
	.comm	_alps_set_abs_params_semi_mt,8,3 ## @alps_set_abs_params_semi_mt
	.comm	_alps_decode_pinnacle,4,2       ## @alps_decode_pinnacle
	.comm	_alps_v3_nibble_commands,8,3    ## @alps_v3_nibble_commands
	.comm	_PSMOUSE_CMD_RESET_WRAP,8,3     ## @PSMOUSE_CMD_RESET_WRAP
	.comm	_ALPS_REG_BASE_PINNACLE,4,2     ## @ALPS_REG_BASE_PINNACLE
	.comm	_ALPS_DUALPOINT,4,2             ## @ALPS_DUALPOINT
	.comm	_alps_hw_init_rushmore_v3,4,2   ## @alps_hw_init_rushmore_v3
	.comm	_alps_decode_rushmore,4,2       ## @alps_decode_rushmore
	.comm	_ALPS_REG_BASE_RUSHMORE,4,2     ## @ALPS_REG_BASE_RUSHMORE
	.comm	_alps_hw_init_v4,4,2            ## @alps_hw_init_v4
	.comm	_alps_process_packet_v4,8,3     ## @alps_process_packet_v4
	.comm	_alps_v4_nibble_commands,8,3    ## @alps_v4_nibble_commands
	.comm	_PSMOUSE_CMD_DISABLE,8,3        ## @PSMOUSE_CMD_DISABLE
	.comm	_alps_hw_init_dolphin_v1,4,2    ## @alps_hw_init_dolphin_v1
	.comm	_alps_process_touchpad_packet_v3_v5,8,3 ## @alps_process_touchpad_packet_v3_v5
	.comm	_alps_decode_dolphin,4,2        ## @alps_decode_dolphin
	.comm	_EIO,4,2                        ## @EIO
	.comm	_alps_hw_init_v6,4,2            ## @alps_hw_init_v6
	.comm	_alps_process_packet_v6,8,3     ## @alps_process_packet_v6
	.comm	_alps_v6_nibble_commands,8,3    ## @alps_v6_nibble_commands
	.comm	_alps_hw_init_v7,4,2            ## @alps_hw_init_v7
	.comm	_alps_process_packet_v7,8,3     ## @alps_process_packet_v7
	.comm	_alps_decode_packet_v7,4,2      ## @alps_decode_packet_v7
	.comm	_alps_set_abs_params_v7,8,3     ## @alps_set_abs_params_v7
	.comm	_ALPS_BUTTONPAD,4,2             ## @ALPS_BUTTONPAD
	.comm	_ALPS_REG_BASE_V7,4,2           ## @ALPS_REG_BASE_V7
	.comm	_alps_hw_init_ss4_v2,4,2        ## @alps_hw_init_ss4_v2
	.comm	_alps_process_packet_ss4_v2,8,3 ## @alps_process_packet_ss4_v2
	.comm	_alps_decode_ss4_v2,4,2         ## @alps_decode_ss4_v2
	.comm	_alps_set_abs_params_ss4_v2,8,3 ## @alps_set_abs_params_ss4_v2
	.no_dead_strip	_alps_set_protocol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function alps_set_protocol
lCPI0_0:
	.long	2000                            ; 0x7d0
	.long	1400                            ; 0x578
	.long	15                              ; 0xf
	.long	11                              ; 0xb
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	4095                            ; 0xfff
	.long	2047                            ; 0x7ff
lCPI0_2:
	.long	2047                            ; 0x7ff
	.long	1535                            ; 0x5ff
lCPI0_3:
	.long	23                              ; 0x17
	.long	12                              ; 0xc
lCPI0_4:
	.long	16                              ; 0x10
	.long	12                              ; 0xc
lCPI0_5:
	.long	1023                            ; 0x3ff
	.long	767                             ; 0x2ff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_alps_set_protocol:                     ; @alps_set_protocol
	.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	x19, x1
	mov	x20, x0
	str	x1, [x0]
	add	x0, x1, #88
Lloh0:
	adrp	x8, _alps_flush_packet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _alps_flush_packet@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	ldr	w8, [x21]
	str	w8, [x19]
	ldr	w9, [x21, #12]
	str	w9, [x19, #84]
	ldur	d0, [x21, #4]
	stur	d0, [x19, #76]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	stur	q1, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_15
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh7:
	adrp	x8, _alps_hw_init_v1_v2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _alps_hw_init_v1_v2@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh10:
	adrp	x8, _alps_process_packet_v1_v2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _alps_process_packet_v1_v2@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh13:
	adrp	x8, _alps_set_abs_params_st@GOTPAGE
Lloh14:
	ldr	x8, [x8, _alps_set_abs_params_st@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh16:
	adrp	x8, lCPI0_5@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_5@PAGEOFF]
	stur	d0, [x19, #4]
Lloh18:
	adrp	x8, _alps_dmi_has_separate_stick_buttons@GOTPAGE
Lloh19:
	ldr	x8, [x8, _alps_dmi_has_separate_stick_buttons@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_dmi_check_system
	cbz	w0, LBB0_18
; %bb.3:
	mov	w0, #0
Lloh21:
	adrp	x8, _ALPS_STICK_BITS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ALPS_STICK_BITS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x19, #76]
	orr	w8, w9, w8
	b	LBB0_17
LBB0_4:
Lloh24:
	adrp	x8, _alps_hw_init_ss4_v2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _alps_hw_init_ss4_v2@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh27:
	adrp	x8, _alps_process_packet_ss4_v2@GOTPAGE
Lloh28:
	ldr	x8, [x8, _alps_process_packet_ss4_v2@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh30:
	adrp	x8, _alps_decode_ss4_v2@GOTPAGE
Lloh31:
	ldr	x8, [x8, _alps_decode_ss4_v2@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh33:
	adrp	x8, _alps_set_abs_params_ss4_v2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _alps_set_abs_params_ss4_v2@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh36:
	adrp	x8, _alps_v3_nibble_commands@GOTPAGE
Lloh37:
	ldr	x8, [x8, _alps_v3_nibble_commands@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
Lloh39:
	adrp	x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	bl	_alps_set_defaults_ss4_v2
	cbnz	w0, LBB0_10
	b	LBB0_18
LBB0_5:
Lloh42:
	adrp	x8, _alps_hw_init_v7@GOTPAGE
Lloh43:
	ldr	x8, [x8, _alps_hw_init_v7@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh45:
	adrp	x8, _alps_process_packet_v7@GOTPAGE
Lloh46:
	ldr	x8, [x8, _alps_process_packet_v7@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh48:
	adrp	x8, _alps_decode_packet_v7@GOTPAGE
Lloh49:
	ldr	x8, [x8, _alps_decode_packet_v7@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh51:
	adrp	x8, _alps_set_abs_params_v7@GOTPAGE
Lloh52:
	ldr	x8, [x8, _alps_set_abs_params_v7@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh54:
	adrp	x8, _alps_v3_nibble_commands@GOTPAGE
Lloh55:
	ldr	x8, [x8, _alps_v3_nibble_commands@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
Lloh57:
	adrp	x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGE
Lloh58:
	ldr	x9, [x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
Lloh60:
	adrp	x8, lCPI0_1@PAGE
Lloh61:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	stur	d1, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
	cmp	w8, #186
	b.eq	LBB0_7
; %bb.6:
Lloh62:
	adrp	x8, _ALPS_BUTTONPAD@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ALPS_BUTTONPAD@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	fmov	w9, s0
	orr	w8, w8, w9
	str	w8, [x19, #76]
LBB0_7:
Lloh65:
	adrp	x8, _ALPS_REG_BASE_V7@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ALPS_REG_BASE_V7@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	mov	w0, #0
Lloh67:
	adrp	x8, _alps_hw_init_v6@GOTPAGE
Lloh68:
	ldr	x8, [x8, _alps_hw_init_v6@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh70:
	adrp	x8, _alps_process_packet_v6@GOTPAGE
Lloh71:
	ldr	x8, [x8, _alps_process_packet_v6@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh73:
	adrp	x8, _alps_set_abs_params_st@GOTPAGE
Lloh74:
	ldr	x8, [x8, _alps_set_abs_params_st@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
Lloh76:
	adrp	x9, _alps_v6_nibble_commands@GOTPAGE
Lloh77:
	ldr	x9, [x9, _alps_v6_nibble_commands@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #40]
Lloh79:
	adrp	x8, lCPI0_2@PAGE
Lloh80:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	stur	d0, [x19, #4]
	b	LBB0_18
LBB0_9:
Lloh81:
	adrp	x8, _alps_hw_init_dolphin_v1@GOTPAGE
Lloh82:
	ldr	x8, [x8, _alps_hw_init_dolphin_v1@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh84:
	adrp	x8, _alps_process_touchpad_packet_v3_v5@GOTPAGE
Lloh85:
	ldr	x8, [x8, _alps_process_touchpad_packet_v3_v5@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
Lloh87:
	adrp	x9, _alps_decode_dolphin@GOTPAGE
Lloh88:
	ldr	x9, [x9, _alps_decode_dolphin@GOTPAGEOFF]
	str	x8, [x19, #64]
Lloh89:
	ldr	w8, [x9]
	str	w8, [x19, #56]
Lloh90:
	adrp	x8, _alps_set_abs_params_semi_mt@GOTPAGE
Lloh91:
	ldr	x8, [x8, _alps_set_abs_params_semi_mt@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh93:
	adrp	x8, _alps_v3_nibble_commands@GOTPAGE
Lloh94:
	ldr	x8, [x8, _alps_v3_nibble_commands@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
Lloh96:
	adrp	x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGE
Lloh97:
	ldr	x9, [x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGEOFF]
Lloh98:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
Lloh99:
	adrp	x8, lCPI0_3@PAGE
Lloh100:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	stur	d0, [x19, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_alps_dolphin_get_device_area
	cbz	w0, LBB0_18
LBB0_10:
Lloh101:
	adrp	x8, _EIO@GOTPAGE
Lloh102:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_11:
	mov	w0, #0
Lloh104:
	adrp	x8, _alps_hw_init_v4@GOTPAGE
Lloh105:
	ldr	x8, [x8, _alps_hw_init_v4@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh107:
	adrp	x8, _alps_process_packet_v4@GOTPAGE
Lloh108:
	ldr	x8, [x8, _alps_process_packet_v4@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh110:
	adrp	x8, _alps_set_abs_params_semi_mt@GOTPAGE
Lloh111:
	ldr	x8, [x8, _alps_set_abs_params_semi_mt@GOTPAGEOFF]
Lloh112:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh113:
	adrp	x8, _alps_v4_nibble_commands@GOTPAGE
Lloh114:
	ldr	x8, [x8, _alps_v4_nibble_commands@GOTPAGEOFF]
Lloh115:
	ldr	x8, [x8]
Lloh116:
	adrp	x9, _PSMOUSE_CMD_DISABLE@GOTPAGE
Lloh117:
	ldr	x9, [x9, _PSMOUSE_CMD_DISABLE@GOTPAGEOFF]
Lloh118:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
	b	LBB0_18
LBB0_12:
Lloh119:
	adrp	x8, _alps_hw_init_rushmore_v3@GOTPAGE
Lloh120:
	ldr	x8, [x8, _alps_hw_init_rushmore_v3@GOTPAGEOFF]
Lloh121:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh122:
	adrp	x8, _alps_process_packet_v3@GOTPAGE
Lloh123:
	ldr	x8, [x8, _alps_process_packet_v3@GOTPAGEOFF]
Lloh124:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh125:
	adrp	x8, _alps_set_abs_params_semi_mt@GOTPAGE
Lloh126:
	ldr	x8, [x8, _alps_set_abs_params_semi_mt@GOTPAGEOFF]
Lloh127:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh128:
	adrp	x8, _alps_decode_rushmore@GOTPAGE
Lloh129:
	ldr	x8, [x8, _alps_decode_rushmore@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh131:
	adrp	x8, _alps_v3_nibble_commands@GOTPAGE
Lloh132:
	ldr	x8, [x8, _alps_v3_nibble_commands@GOTPAGEOFF]
Lloh133:
	ldr	x8, [x8]
Lloh134:
	adrp	x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGE
Lloh135:
	ldr	x9, [x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGEOFF]
Lloh136:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
Lloh137:
	adrp	x8, lCPI0_4@PAGE
Lloh138:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	stur	d0, [x19, #12]
Lloh139:
	adrp	x8, _ALPS_REG_BASE_RUSHMORE@GOTPAGE
Lloh140:
	ldr	x8, [x8, _ALPS_REG_BASE_RUSHMORE@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh141:
	adrp	x8, _alps_hw_init_v3@GOTPAGE
Lloh142:
	ldr	x8, [x8, _alps_hw_init_v3@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh144:
	adrp	x8, _alps_process_packet_v3@GOTPAGE
Lloh145:
	ldr	x8, [x8, _alps_process_packet_v3@GOTPAGEOFF]
Lloh146:
	ldr	x8, [x8]
Lloh147:
	adrp	x9, _alps_set_abs_params_semi_mt@GOTPAGE
Lloh148:
	ldr	x9, [x9, _alps_set_abs_params_semi_mt@GOTPAGEOFF]
	str	x8, [x19, #64]
Lloh149:
	ldr	x8, [x9]
	str	x8, [x19, #48]
Lloh150:
	adrp	x8, _alps_decode_pinnacle@GOTPAGE
Lloh151:
	ldr	x8, [x8, _alps_decode_pinnacle@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh153:
	adrp	x8, _alps_v3_nibble_commands@GOTPAGE
Lloh154:
	ldr	x8, [x8, _alps_v3_nibble_commands@GOTPAGEOFF]
Lloh155:
	ldr	x8, [x8]
Lloh156:
	adrp	x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGE
Lloh157:
	ldr	x9, [x9, _PSMOUSE_CMD_RESET_WRAP@GOTPAGEOFF]
Lloh158:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
Lloh159:
	adrp	x8, _ALPS_REG_BASE_PINNACLE@GOTPAGE
Lloh160:
	ldr	x8, [x8, _ALPS_REG_BASE_PINNACLE@GOTPAGEOFF]
LBB0_14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_alps_probe_trackstick_v3_v7
	tbnz	w0, #31, LBB0_16
LBB0_15:
	mov	w0, #0
	b	LBB0_18
LBB0_16:
	mov	w0, #0
Lloh161:
	adrp	x8, _ALPS_DUALPOINT@GOTPAGE
Lloh162:
	ldr	x8, [x8, _ALPS_DUALPOINT@GOTPAGEOFF]
Lloh163:
	ldr	w8, [x8]
	ldr	w9, [x19, #76]
	bic	w8, w9, w8
LBB0_17:
	str	w8, [x19, #76]
LBB0_18:
	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
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdr	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdr	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdr	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh139, Lloh140
	.loh AdrpAdrp	Lloh137, Lloh139
	.loh AdrpLdr	Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_alps_flush_packet,4,2          ; @alps_flush_packet
	.comm	_alps_hw_init_v1_v2,4,2         ; @alps_hw_init_v1_v2
	.comm	_alps_process_packet_v1_v2,8,3  ; @alps_process_packet_v1_v2
	.comm	_alps_set_abs_params_st,8,3     ; @alps_set_abs_params_st
	.comm	_alps_dmi_has_separate_stick_buttons,4,2 ; @alps_dmi_has_separate_stick_buttons
	.comm	_ALPS_STICK_BITS,4,2            ; @ALPS_STICK_BITS
	.comm	_alps_hw_init_v3,4,2            ; @alps_hw_init_v3
	.comm	_alps_process_packet_v3,8,3     ; @alps_process_packet_v3
	.comm	_alps_set_abs_params_semi_mt,8,3 ; @alps_set_abs_params_semi_mt
	.comm	_alps_decode_pinnacle,4,2       ; @alps_decode_pinnacle
	.comm	_alps_v3_nibble_commands,8,3    ; @alps_v3_nibble_commands
	.comm	_PSMOUSE_CMD_RESET_WRAP,8,3     ; @PSMOUSE_CMD_RESET_WRAP
	.comm	_ALPS_REG_BASE_PINNACLE,4,2     ; @ALPS_REG_BASE_PINNACLE
	.comm	_ALPS_DUALPOINT,4,2             ; @ALPS_DUALPOINT
	.comm	_alps_hw_init_rushmore_v3,4,2   ; @alps_hw_init_rushmore_v3
	.comm	_alps_decode_rushmore,4,2       ; @alps_decode_rushmore
	.comm	_ALPS_REG_BASE_RUSHMORE,4,2     ; @ALPS_REG_BASE_RUSHMORE
	.comm	_alps_hw_init_v4,4,2            ; @alps_hw_init_v4
	.comm	_alps_process_packet_v4,8,3     ; @alps_process_packet_v4
	.comm	_alps_v4_nibble_commands,8,3    ; @alps_v4_nibble_commands
	.comm	_PSMOUSE_CMD_DISABLE,8,3        ; @PSMOUSE_CMD_DISABLE
	.comm	_alps_hw_init_dolphin_v1,4,2    ; @alps_hw_init_dolphin_v1
	.comm	_alps_process_touchpad_packet_v3_v5,8,3 ; @alps_process_touchpad_packet_v3_v5
	.comm	_alps_decode_dolphin,4,2        ; @alps_decode_dolphin
	.comm	_EIO,4,2                        ; @EIO
	.comm	_alps_hw_init_v6,4,2            ; @alps_hw_init_v6
	.comm	_alps_process_packet_v6,8,3     ; @alps_process_packet_v6
	.comm	_alps_v6_nibble_commands,8,3    ; @alps_v6_nibble_commands
	.comm	_alps_hw_init_v7,4,2            ; @alps_hw_init_v7
	.comm	_alps_process_packet_v7,8,3     ; @alps_process_packet_v7
	.comm	_alps_decode_packet_v7,4,2      ; @alps_decode_packet_v7
	.comm	_alps_set_abs_params_v7,8,3     ; @alps_set_abs_params_v7
	.comm	_ALPS_BUTTONPAD,4,2             ; @ALPS_BUTTONPAD
	.comm	_ALPS_REG_BASE_V7,4,2           ; @ALPS_REG_BASE_V7
	.comm	_alps_hw_init_ss4_v2,4,2        ; @alps_hw_init_ss4_v2
	.comm	_alps_process_packet_ss4_v2,8,3 ; @alps_process_packet_ss4_v2
	.comm	_alps_decode_ss4_v2,4,2         ; @alps_decode_ss4_v2
	.comm	_alps_set_abs_params_ss4_v2,8,3 ; @alps_set_abs_params_ss4_v2
	.no_dead_strip	_alps_set_protocol
.subsections_via_symbols
