	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_get_pkt_id_ss4_v2
_alps_get_pkt_id_ss4_v2:                ## @alps_get_pkt_id_ss4_v2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	3(%rdi), %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movq	_SS4_PACKET_ID_TWO@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_1:
	callq	_SS4_IS_IDLE_V2
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	movq	_SS4_PACKET_ID_ONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SS4_PACKET_ID_STICK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_SS4_PACKET_ID_MULTI@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_SS4_PACKET_ID_IDLE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_SS4_PACKET_ID_IDLE,4,2         ## @SS4_PACKET_ID_IDLE
	.comm	_SS4_PACKET_ID_ONE,4,2          ## @SS4_PACKET_ID_ONE
	.comm	_SS4_PACKET_ID_TWO,4,2          ## @SS4_PACKET_ID_TWO
	.comm	_SS4_PACKET_ID_STICK,4,2        ## @SS4_PACKET_ID_STICK
	.comm	_SS4_PACKET_ID_MULTI,4,2        ## @SS4_PACKET_ID_MULTI
	.no_dead_strip	_alps_get_pkt_id_ss4_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_get_pkt_id_ss4_v2
_alps_get_pkt_id_ss4_v2:                ; @alps_get_pkt_id_ss4_v2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldrb	w8, [x0, #3]
	ubfx	w9, w8, #4, #2
Lloh0:
	adrp	x8, _SS4_PACKET_ID_TWO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SS4_PACKET_ID_TWO@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_1
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_1:
	bl	_SS4_IS_IDLE_V2
Lloh4:
	adrp	x8, _SS4_PACKET_ID_IDLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SS4_PACKET_ID_IDLE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _SS4_PACKET_ID_ONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SS4_PACKET_ID_ONE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _SS4_PACKET_ID_STICK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SS4_PACKET_ID_STICK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _SS4_PACKET_ID_MULTI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SS4_PACKET_ID_MULTI@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
                                        ; -- End function
	.comm	_SS4_PACKET_ID_IDLE,4,2         ; @SS4_PACKET_ID_IDLE
	.comm	_SS4_PACKET_ID_ONE,4,2          ; @SS4_PACKET_ID_ONE
	.comm	_SS4_PACKET_ID_TWO,4,2          ; @SS4_PACKET_ID_TWO
	.comm	_SS4_PACKET_ID_STICK,4,2        ; @SS4_PACKET_ID_STICK
	.comm	_SS4_PACKET_ID_MULTI,4,2        ; @SS4_PACKET_ID_MULTI
	.no_dead_strip	_alps_get_pkt_id_ss4_v2
.subsections_via_symbols
