	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_tnt_64             ## -- Begin function pt_pkt_read_tnt_64
	.p2align	4, 0x90
_pt_pkt_read_tnt_64:                    ## @pt_pkt_read_tnt_64
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.4:
	movq	_ptps_tnt_64@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	leaq	(%rsi,%rax,4), %rax
	cmpq	%rax, (%rdx)
	jae	LBB0_6
## %bb.5:
	movq	_pte_eos@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%rdi, %rbx
	movq	_pt_opcs_tnt_64@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %rdi
	movq	_pt_pl_tnt_64_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pt_pkt_read_value
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pt_pkt_read_tnt
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	movl	(%r14), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_ptps_tnt_64,4,2                ## @ptps_tnt_64
	.comm	_pte_eos,4,2                    ## @pte_eos
	.comm	_pt_opcs_tnt_64,4,2             ## @pt_opcs_tnt_64
	.comm	_pt_pl_tnt_64_size,4,2          ## @pt_pl_tnt_64_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_tnt_64             ; -- Begin function pt_pkt_read_tnt_64
	.p2align	2
_pt_pkt_read_tnt_64:                    ; @pt_pkt_read_tnt_64
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_4
; %bb.1:
	cbz	x2, LBB0_4
; %bb.2:
	ldr	x8, [x2]
Lloh0:
	adrp	x20, _ptps_tnt_64@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ptps_tnt_64@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x9, x1, x9, lsl #2
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _pte_eos@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _pte_internal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	x19, x0
Lloh6:
	adrp	x8, _pt_opcs_tnt_64@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pt_opcs_tnt_64@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x0, x1, x8, lsl #2
Lloh9:
	adrp	x8, _pt_pl_tnt_64_size@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pt_pl_tnt_64_size@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_pt_pkt_read_value
	mov	x1, x0
	mov	x0, x19
	bl	_pt_pkt_read_tnt
	ldr	w8, [x20]
	cmp	w0, #0
	csel	w0, w0, w8, lt
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptps_tnt_64,4,2                ; @ptps_tnt_64
	.comm	_pte_eos,4,2                    ; @pte_eos
	.comm	_pt_opcs_tnt_64,4,2             ; @pt_opcs_tnt_64
	.comm	_pt_pl_tnt_64_size,4,2          ; @pt_pl_tnt_64_size
.subsections_via_symbols
