	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_cpu_read                    ## -- Begin function pt_cpu_read
	.p2align	4, 0x90
_pt_cpu_read:                           ## @pt_cpu_read
	.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.2:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_cpu_vendor
	movl	%eax, 12(%r15)
	xorl	%eax, %eax
	callq	_cpu_info
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%eax, %edx
	shrl	$20, %edx
	andl	$15, %edx
	addl	$15, %edx
	movl	%eax, %esi
	shrl	$4, %esi
	andl	$15, %esi
	movl	%eax, %edi
	shrl	$12, %edi
	andl	$240, %edi
	cmpl	$15, %ecx
	cmovnel	%ecx, %edx
	movl	$0, %ebx
	cmovel	%edi, %ebx
	movl	%edx, (%r15)
	cmpl	$6, %ecx
	cmovel	%edi, %ebx
	orl	%esi, %ebx
	movl	%ebx, 4(%r15)
	andl	$15, %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_3
LBB0_1:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_cpu_read                    ; -- Begin function pt_cpu_read
	.p2align	2
_pt_cpu_read:                           ; @pt_cpu_read
	.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	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_cpu_vendor
	str	w0, [x19, #12]
	bl	_cpu_info
	mov	x8, x0
	mov	w0, #0
	ubfx	w9, w8, #8, #4
	ubfx	w10, w8, #20, #4
	add	w10, w10, #15
	cmp	w9, #15
	csel	w10, w10, w9, eq
	ccmp	w9, #6, #4, ne
	lsr	w9, w8, #12
	and	w9, w9, #0xf0
	csel	w9, w9, wzr, eq
	bfxil	w9, w8, #4, #4
	stp	w10, w9, [x19]
	and	w8, w8, #0xf
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
.subsections_via_symbols
