	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_header_fup              ## -- Begin function pt_qry_header_fup
	.p2align	4, 0x90
_pt_qry_header_fup:                     ## @pt_qry_header_fup
	.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_1
## %bb.2:
	movq	%rdi, %rbx
	movl	20(%rdi), %esi
	leaq	8(%rdi), %r15
	leaq	-32(%rbp), %rdi
	movq	%r15, %rdx
	callq	_pt_pkt_read_ip
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_12
## %bb.3:
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.4:
	cmpl	$0, (%rbx)
	je	LBB0_5
LBB0_7:
	leaq	16(%rbx), %rdi
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdx
	callq	_pt_last_ip_update_ip
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	-32(%rbp), %rax
	movq	_pt_ipc_suppressed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movl	$1, (%rbx)
	jmp	LBB0_10
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_5:
	movl	20(%rbx), %edi
	addl	%r14d, %edi
	movq	%r15, %rsi
	callq	_check_erratum_bdm70
	testl	%eax, %eax
	js	LBB0_11
## %bb.6:
	je	LBB0_7
LBB0_10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pt_qry_consume_fup
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
	.comm	_pt_ipc_suppressed,8,3          ## @pt_ipc_suppressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_header_fup              ; -- Begin function pt_qry_header_fup
	.p2align	2
_pt_qry_header_fup:                     ; @pt_qry_header_fup
	.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_7
; %bb.1:
	mov	x20, x0
	ldr	w1, [x0, #20]
	add	x21, x0, #8
	add	x0, sp, #8
	mov	x2, x21
	bl	_pt_pkt_read_ip
	mov	x19, x0
	tbnz	w0, #31, LBB0_12
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	cbz	w8, LBB0_8
LBB0_4:
	add	x0, x20, #16
	add	x1, sp, #8
	mov	x2, x21
	bl	_pt_last_ip_update_ip
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _pt_ipc_suppressed@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pt_ipc_suppressed@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.6:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_10
LBB0_7:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_12
LBB0_8:
	ldr	w8, [x20, #20]
	add	w0, w8, w19
	mov	x1, x21
	bl	_check_erratum_bdm70
	tbnz	w0, #31, LBB0_11
; %bb.9:
	cbz	w0, LBB0_4
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_pt_qry_consume_fup
LBB0_11:
	mov	x19, x0
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pt_ipc_suppressed,8,3          ; @pt_ipc_suppressed
.subsections_via_symbols
