	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_enc_get_offset              ## -- Begin function pt_enc_get_offset
	.p2align	4, 0x90
_pt_enc_get_offset:                     ## @pt_enc_get_offset
	.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_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.7:
	subq	%rcx, %rax
	sarq	$2, %rax
	movq	%rax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_internal,4,2               ## @pte_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_enc_get_offset              ; -- Begin function pt_enc_get_offset
	.p2align	2
_pt_enc_get_offset:                     ; @pt_enc_get_offset
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x1, LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x9, [x0]
	cbz	x9, LBB0_6
; %bb.4:
	mov	w0, #0
	sub	x8, x8, x9
	asr	x8, x8, #2
	str	x8, [x1]
	ret
LBB0_5:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_7:
	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_internal,4,2               ; @pte_internal
.subsections_via_symbols
