	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_pwre             ## -- Begin function pt_qry_decode_pwre
	.p2align	4, 0x90
_pt_qry_decode_pwre:                    ## @pt_qry_decode_pwre
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	(%rdi), %esi
	leaq	20(%rdi), %rdx
	leaq	-32(%rbp), %rdi
	callq	_pt_pkt_read_pwre
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	leaq	16(%r14), %rdi
	callq	_pt_evq_standalone
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	_ptev_pwre@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	-20(%rbp), %ecx
	movl	%ecx, 8(%rax)
	movl	-24(%rbp), %ecx
	movl	%ecx, 4(%rax)
	cmpq	$0, -32(%rbp)
	je	LBB0_6
## %bb.5:
	movl	$1, (%rax)
LBB0_6:
	movq	%rax, 8(%r14)
	addl	%ebx, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_ptev_pwre,4,2                  ## @ptev_pwre
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_pwre             ; -- Begin function pt_qry_decode_pwre
	.p2align	2
_pt_qry_decode_pwre:                    ; @pt_qry_decode_pwre
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x2, x0
	ldr	w1, [x2], #20
	mov	x0, sp
	bl	_pt_pkt_read_pwre
	mov	x19, x0
	tbnz	w0, #31, LBB0_7
; %bb.2:
	add	x0, x20, #16
	bl	_pt_evq_standalone
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _ptev_pwre@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptev_pwre@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	ldr	d0, [sp, #8]
	stur	d0, [x0, #4]
	ldr	x8, [sp]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x0]
LBB0_5:
	str	x0, [x20, #8]
	ldr	w8, [x20]
	add	w8, w8, w19
	str	w8, [x20]
	mov	w19, #0
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptev_pwre,4,2                  ; @ptev_pwre
.subsections_via_symbols
