	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_ovf              ## -- Begin function pt_qry_decode_ovf
	.p2align	4, 0x90
_pt_qry_decode_ovf:                     ## @pt_qry_decode_ovf
	.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
	callq	_pt_qry_process_pending_psb_events
	testl	%eax, %eax
	js	LBB0_19
## %bb.3:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.4:
	movl	36(%r14), %eax
	movl	40(%r14), %ebx
	movl	%eax, -24(%rbp)
	movq	%r14, %rdi
	callq	_pt_qry_reset
	movl	%ebx, 40(%r14)
	cmpq	$0, 24(%r14)
	je	LBB0_7
## %bb.5:
	leaq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_pt_tcal_update_ovf
	testl	%eax, %eax
	js	LBB0_19
## %bb.6:
	movl	-24(%rbp), %eax
	movl	%eax, 36(%r14)
LBB0_7:
	movq	_ptps_ovf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, 32(%r14)
	movq	%r14, %rdi
	callq	_pt_qry_find_ovf_fup
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_8
## %bb.16:
	cmpq	$0, (%r14)
	je	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pt_qry_handle_apl12
	testl	%eax, %eax
	jle	LBB0_19
LBB0_18:
	movq	%r14, %rdi
	callq	_pt_qry_event_ovf_enabled
	jmp	LBB0_19
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_8:
	cmpq	$0, 16(%r14)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_pt_qry_handle_skd010
	testl	%eax, %eax
	jle	LBB0_19
LBB0_10:
	cmpq	$0, 8(%r14)
	je	LBB0_13
## %bb.11:
	movq	_pte_bad_context@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_pt_qry_handle_apl11
	testl	%eax, %eax
	jle	LBB0_19
LBB0_13:
	testl	%ebx, %ebx
	jns	LBB0_15
## %bb.14:
	movq	_pte_eos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_20
LBB0_15:
	movq	%r14, %rdi
	callq	_pt_qry_event_ovf_disabled
LBB0_19:
	movl	%eax, %ebx
LBB0_20:
	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	_ptps_ovf,8,3                   ## @ptps_ovf
	.comm	_pte_bad_context,4,2            ## @pte_bad_context
	.comm	_pte_eos,4,2                    ## @pte_eos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_ovf              ; -- Begin function pt_qry_decode_ovf
	.p2align	2
_pt_qry_decode_ovf:                     ; @pt_qry_decode_ovf
	.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_4
; %bb.1:
	mov	x19, x0
	bl	_pt_qry_process_pending_psb_events
	mov	x20, x0
	tbnz	w0, #31, LBB0_21
; %bb.2:
	cbz	w20, LBB0_5
; %bb.3:
	mov	w20, #0
	b	LBB0_21
LBB0_4:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_21
LBB0_5:
	ldp	w8, w20, [x19, #36]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_pt_qry_reset
	str	w20, [x19, #40]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	add	x0, sp, #8
	mov	x1, x19
	bl	_pt_tcal_update_ovf
	tbnz	w0, #31, LBB0_20
; %bb.7:
	ldr	w8, [sp, #8]
	str	w8, [x19, #36]
LBB0_8:
Lloh3:
	adrp	x8, _ptps_ovf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptps_ovf@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	add	w8, w9, w8
	str	w8, [x19, #32]
	mov	x0, x19
	bl	_pt_qry_find_ovf_fup
	mov	x20, x0
	cmp	w0, #0
	b.le	LBB0_12
; %bb.9:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	bl	_pt_qry_handle_apl12
	cmp	w0, #1
	b.lt	LBB0_20
LBB0_11:
	mov	x0, x19
	bl	_pt_qry_event_ovf_enabled
	b	LBB0_20
LBB0_12:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_pt_qry_handle_skd010
	cmp	w0, #1
	b.lt	LBB0_20
LBB0_14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
; %bb.15:
Lloh6:
	adrp	x8, _pte_bad_context@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pte_bad_context@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_pt_qry_handle_apl11
	cmp	w0, #1
	b.lt	LBB0_20
LBB0_17:
	tbz	w20, #31, LBB0_19
; %bb.18:
Lloh9:
	adrp	x8, _pte_eos@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_21
LBB0_19:
	mov	x0, x19
	bl	_pt_qry_event_ovf_disabled
LBB0_20:
	mov	x20, x0
LBB0_21:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptps_ovf,8,3                   ; @ptps_ovf
	.comm	_pte_bad_context,4,2            ; @pte_bad_context
	.comm	_pte_eos,4,2                    ; @pte_eos
.subsections_via_symbols
