	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_tnt_cache_query             ## -- Begin function pt_tnt_cache_query
	.p2align	4, 0x90
_pt_tnt_cache_query:                    ## @pt_tnt_cache_query
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	movl	4(%rdi), %edx
	andl	%ecx, %edx
	setne	%al
	sarl	%ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
LBB0_1:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_pte_bad_query@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_bad_query,4,2              ## @pte_bad_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_tnt_cache_query             ; -- Begin function pt_tnt_cache_query
	.p2align	2
_pt_tnt_cache_query:                    ; @pt_tnt_cache_query
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	w9, [x0]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	w10, [x8, #4]
	tst	w10, w9
	cset	w0, ne
	asr	w9, w9, #1
	str	w9, [x8]
	ret
LBB0_3:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _pte_bad_query@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_bad_query@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pte_bad_query,4,2              ; @pte_bad_query
.subsections_via_symbols
