	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_cyc                ## -- Begin function pt_pkt_read_cyc
	.p2align	4, 0x90
_pt_pkt_read_cyc:                       ## @pt_pkt_read_cyc
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movl	(%rsi), %ebx
	movq	_pt_opm_cyc_shr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %r9d
	sarl	%cl, %r9d
	movq	_pt_opm_cyc_ext@GOTPCREL(%rip), %r8
	leaq	4(%rsi), %rax
	testl	%ebx, (%r8)
	je	LBB0_12
## %bb.6:
	movq	(%rdx), %r10
	movl	$8, %r11d
	movl	$8, %edx
	subl	%ecx, %edx
	movq	_pt_opm_cycx_shr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subl	%r8d, %r11d
	movq	_pt_opm_cycx_ext@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%r8d, %r15d
	negl	%r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r10
	jbe	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	(%r15,%rdx), %ecx
	addl	$8, %ecx
	cmpl	$33, %ecx
	jae	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %r12d
	movl	%r12d, %ebx
	movl	%r8d, %ecx
	sarl	%cl, %ebx
	movl	%edx, %ecx
	shll	%cl, %ebx
	orl	%ebx, %r9d
	addq	$4, %rax
	addl	%r11d, %edx
	testl	%r12d, %r14d
	jne	LBB0_7
LBB0_12:
	movl	%r9d, (%rdi)
	subq	%rsi, %rax
	shrq	$2, %rax
	jmp	LBB0_13
LBB0_3:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_pte_eos@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_10:
	movq	_pte_bad_packet@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pt_opm_cyc_ext,4,2             ## @pt_opm_cyc_ext
	.comm	_pt_opm_cyc_shr,4,2             ## @pt_opm_cyc_shr
	.comm	_pte_eos,4,2                    ## @pte_eos
	.comm	_pt_opm_cycx_ext,4,2            ## @pt_opm_cycx_ext
	.comm	_pt_opm_cycx_shr,4,2            ## @pt_opm_cycx_shr
	.comm	_pte_bad_packet,4,2             ## @pte_bad_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_cyc                ; -- Begin function pt_pkt_read_cyc
	.p2align	2
_pt_pkt_read_cyc:                       ; @pt_pkt_read_cyc
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	cbz	x1, LBB0_9
; %bb.2:
	cbz	x2, LBB0_9
; %bb.3:
	mov	x8, x1
	ldr	w10, [x8], #4
Lloh0:
	adrp	x9, _pt_opm_cyc_ext@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pt_opm_cyc_ext@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x9]
Lloh3:
	adrp	x9, _pt_opm_cyc_shr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pt_opm_cyc_shr@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x9]
	asr	w9, w10, w11
	tst	w12, w10
	b.eq	LBB0_8
; %bb.4:
	ldr	x10, [x2]
	mov	w13, #8
	sub	w11, w13, w11
Lloh6:
	adrp	x12, _pt_opm_cycx_shr@GOTPAGE
Lloh7:
	ldr	x12, [x12, _pt_opm_cycx_shr@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	sub	w13, w13, w12
Lloh9:
	adrp	x14, _pt_opm_cycx_ext@GOTPAGE
Lloh10:
	ldr	x14, [x14, _pt_opm_cycx_ext@GOTPAGEOFF]
Lloh11:
	ldr	w14, [x14]
	neg	w15, w12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	b.ls	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w16, w15, w11
	add	w16, w16, #8
	cmp	w16, #33
	b.hs	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w16, [x8], #4
	asr	w17, w16, w12
	lsl	w17, w17, w11
	orr	w9, w17, w9
	add	w11, w11, w13
	tst	w14, w16
	b.ne	LBB0_5
LBB0_8:
	str	w9, [x0]
	sub	x8, x8, x1
	lsr	x0, x8, #2
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_9:
Lloh12:
	adrp	x8, _pte_internal@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_11:
Lloh14:
	adrp	x8, _pte_eos@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
	b	LBB0_10
LBB0_12:
Lloh16:
	adrp	x8, _pte_bad_packet@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pte_bad_packet@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pt_opm_cyc_ext,4,2             ; @pt_opm_cyc_ext
	.comm	_pt_opm_cyc_shr,4,2             ; @pt_opm_cyc_shr
	.comm	_pte_eos,4,2                    ; @pte_eos
	.comm	_pt_opm_cycx_ext,4,2            ; @pt_opm_cycx_ext
	.comm	_pt_opm_cycx_shr,4,2            ; @pt_opm_cycx_shr
	.comm	_pte_bad_packet,4,2             ; @pte_bad_packet
.subsections_via_symbols
