	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pt_pkt_read_value
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	64                              ## 0x40
	.long	64                              ## 0x40
	.long	64                              ## 0x40
	.long	64                              ## 0x40
LCPI0_4:
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	96                              ## 0x60
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pt_pkt_read_value:                     ## @pt_pkt_read_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	leal	-1(%rsi), %r8d
	xorl	%ecx, %ecx
	cmpl	$7, %r8d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	incq	%r8
	movq	%r8, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r9, %rax
	andq	$-2, %rax
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm6            ## xmm6 = [0,1,2,3]
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [32,32,32,32]
	movdqa	LCPI0_2(%rip), %xmm12           ## xmm12 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [64,64,64,64]
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = [96,96,96,96]
	movdqa	LCPI0_5(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm6, %xmm3
	pslld	$3, %xmm3
	movdqa	%xmm3, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm6, %xmm5
	pslld	$26, %xmm5
	paddd	%xmm12, %xmm5
	cvttps2dq	%xmm5, %xmm5
	movdqu	(%rdi,%rdx,4), %xmm7
	pmulld	%xmm5, %xmm7
	por	%xmm0, %xmm7
	movdqu	16(%rdi,%rdx,4), %xmm0
	movdqu	32(%rdi,%rdx,4), %xmm5
	movdqu	48(%rdi,%rdx,4), %xmm4
	pslld	$23, %xmm1
	paddd	%xmm12, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pmulld	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm3, %xmm0
	paddd	%xmm9, %xmm0
	paddd	%xmm10, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm12, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm5, %xmm0
	por	%xmm7, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm12, %xmm3
	cvttps2dq	%xmm3, %xmm2
	pmulld	%xmm4, %xmm2
	por	%xmm1, %xmm2
	addq	$16, %rdx
	paddd	%xmm11, %xmm6
	addq	$-2, %rax
	jne	LBB0_7
## %bb.8:
	testb	$1, %r9b
	je	LBB0_10
LBB0_9:
	movdqu	(%rdi,%rdx,4), %xmm1
	movdqa	%xmm6, %xmm3
	pslld	$3, %xmm3
	paddd	LCPI0_1(%rip), %xmm3
	movdqu	16(%rdi,%rdx,4), %xmm4
	pslld	$26, %xmm6
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm5, %xmm6
	cvttps2dq	%xmm6, %xmm6
	pmulld	%xmm1, %xmm6
	por	%xmm6, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm5, %xmm3
	cvttps2dq	%xmm3, %xmm1
	pmulld	%xmm4, %xmm1
	por	%xmm1, %xmm2
LBB0_10:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%rcx, %r8
	je	LBB0_14
## %bb.11:
	leaq	(%rdi,%rcx,4), %rdi
LBB0_12:
	subl	%ecx, %esi
	shll	$3, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %r8d
	shll	%cl, %r8d
	orl	%r8d, %eax
	incq	%rdx
	addl	$8, %ecx
	cmpl	%edx, %esi
	jne	LBB0_13
LBB0_14:
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm6            ## xmm6 = [0,1,2,3]
	xorl	%edx, %edx
	pxor	%xmm2, %xmm2
	testb	$1, %r9b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pt_pkt_read_value
.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 pt_pkt_read_value
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pt_pkt_read_value:                     ; @pt_pkt_read_value
	.cfi_startproc
; %bb.0:
	subs	w9, w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, x0
	cmp	w9, #15
	b.hs	LBB0_4
; %bb.2:
	mov	w10, #0
	mov	w0, #0
	mov	x9, x8
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	add	x11, x9, #1
	and	x10, x11, #0x1fffffff0
	add	x9, x8, x10, lsl #2
	movi.2d	v0, #0000000000000000
	movi.4s	v1, #32
Lloh0:
	adrp	x12, lCPI0_0@PAGE
Lloh1:
	ldr	q2, [x12, lCPI0_0@PAGEOFF]
	add	x8, x8, #32
	movi.4s	v3, #64
	movi.4s	v4, #96
	movi.4s	v5, #16
	mov	x12, x10
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q17, q18, [x8, #-32]
	ldp	q19, q20, [x8], #64
	shl.4s	v21, v2, #3
	add.4s	v22, v21, v1
	add.4s	v23, v21, v3
	add.4s	v24, v21, v4
	ushl.4s	v17, v17, v21
	ushl.4s	v18, v18, v22
	ushl.4s	v19, v19, v23
	ushl.4s	v20, v20, v24
	orr.16b	v0, v17, v0
	orr.16b	v6, v18, v6
	orr.16b	v7, v19, v7
	orr.16b	v16, v20, v16
	add.4s	v2, v2, v5
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v0, v6, v0
	orr.16b	v0, v7, v0
	orr.16b	v0, v16, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w8, s0
	mov.s	w12, v0[1]
	orr	w0, w8, w12
	cmp	x11, x10
	b.eq	LBB0_9
LBB0_7:
	sub	w8, w1, w10
	lsl	w10, w10, #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	lsl	w11, w11, w10
	orr	w0, w11, w0
	add	w10, w10, #8
	subs	w8, w8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pt_pkt_read_value
.subsections_via_symbols
