	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_qry_read_psb_header
_pt_qry_read_psb_header:                ## @pt_qry_read_psb_header
	.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.3:
	movq	%rdi, %rbx
	addq	$16, %rdi
	callq	_pt_last_ip_init
	leaq	8(%rbx), %r14
	movq	_pdff_psbend@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_pt_df_fetch
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	*%rcx
	testl	%eax, %eax
	je	LBB0_4
	jmp	LBB0_11
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movq	_pte_bad_context@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pdff_psbend,4,2                ## @pdff_psbend
	.comm	_pte_bad_context,4,2            ## @pte_bad_context
	.no_dead_strip	_pt_qry_read_psb_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_qry_read_psb_header
_pt_qry_read_psb_header:                ; @pt_qry_read_psb_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	add	x0, x0, #16
	bl	_pt_last_ip_init
	add	x20, x19, #8
Lloh0:
	adrp	x21, _pdff_psbend@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pdff_psbend@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x19
	mov	x2, x20
	bl	_pt_df_fetch
	cbnz	w0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x8]
	ldr	w10, [x21]
	tst	w10, w9
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_2
	b	LBB0_11
LBB0_7:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x8, _pte_bad_context@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_bad_context@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pdff_psbend,4,2                ; @pdff_psbend
	.comm	_pte_bad_context,4,2            ; @pte_bad_context
	.no_dead_strip	_pt_qry_read_psb_header
.subsections_via_symbols
