	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_cyc              ## -- Begin function pt_qry_decode_cyc
	.p2align	4, 0x90
_pt_qry_decode_cyc:                     ## @pt_qry_decode_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	leaq	16(%rdi), %r15
	movl	(%rdi), %esi
	leaq	-32(%rbp), %rdi
	movq	%r15, %rdx
	callq	_pt_pkt_read_cyc
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_12
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.3:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_check_erratum_skd007
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	je	LBB0_7
## %bb.5:
	incl	(%rbx)
	jmp	LBB0_9
LBB0_6:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_7:
	leaq	8(%rbx), %rdi
	leaq	4(%rbx), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rcx
	callq	_pt_qry_apply_cyc
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	addl	%r14d, (%rbx)
LBB0_9:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_11:
	movl	%eax, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_cyc              ; -- Begin function pt_qry_decode_cyc
	.p2align	2
_pt_qry_decode_cyc:                     ; @pt_qry_decode_cyc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x21, x0
	ldr	w1, [x21], #16
	add	x0, sp, #8
	mov	x2, x21
	bl	_pt_pkt_read_cyc
	mov	x19, x0
	tbnz	w0, #31, LBB0_11
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_check_erratum_skd007
	tbnz	w0, #31, LBB0_10
; %bb.4:
	cbz	w0, LBB0_7
; %bb.5:
	mov	w19, #0
	ldr	w8, [x20]
	add	w8, w8, #1
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_11
LBB0_7:
	add	x0, x20, #8
	add	x1, x20, #4
	add	x2, sp, #8
	mov	x3, x21
	bl	_pt_qry_apply_cyc
	tbnz	w0, #31, LBB0_10
; %bb.8:
	ldr	w8, [x20]
	add	w8, w8, w19
	mov	w19, #0
LBB0_9:
	str	w8, [x20]
	b	LBB0_11
LBB0_10:
	mov	x19, x0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
.subsections_via_symbols
