	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psl_timebase_synced_show
_psl_timebase_synced_show:              ## @psl_timebase_synced_show
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_to_cxl_adapter
	movq	%rax, %r12
	movq	_CPU_FTR_HVMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_has_feature
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_mftb
	subq	%r15, %rax
	movq	%rax, %rbx
	negq	%rbx
	cmovsq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_tb_to_ns
	xorl	%ecx, %ecx
	cmpl	$16000, %eax                    ## imm = 0x3E80
	setl	%cl
	movl	%ecx, (%r12)
	movq	%rbx, %rdi
	callq	_tb_to_ns
	cmpl	$16000, %eax                    ## imm = 0x3E80
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r15
	cmovlq	%rax, %r15
	movq	%rbx, %rdi
	callq	_tb_to_ns
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_pr_devel
LBB0_2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ## @CPU_FTR_HVMODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PSL timebase %s - delta: 0x%016llx\n"

L_.str.1:                               ## @.str.1
	.asciz	"synchronized"

L_.str.2:                               ## @.str.2
	.asciz	"not synchronized"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"%i\n"

	.no_dead_strip	_psl_timebase_synced_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psl_timebase_synced_show
_psl_timebase_synced_show:              ; @psl_timebase_synced_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	bl	_to_cxl_adapter
	mov	x20, x0
Lloh0:
	adrp	x8, _CPU_FTR_HVMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_FTR_HVMODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_has_feature
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x21, x0
	bl	_mftb
	subs	x8, x0, x21
	cneg	x21, x8, mi
	mov	x0, x21
	bl	_tb_to_ns
	mov	w22, #16000
	cmp	w0, w22
	cset	w8, lt
	str	w8, [x20]
	mov	x0, x21
	bl	_tb_to_ns
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w0, w22
	csel	x22, x9, x8, lt
	mov	x0, x21
	bl	_tb_to_ns
	mov	x2, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_pr_devel
LBB0_2:
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_scnprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ; @CPU_FTR_HVMODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PSL timebase %s - delta: 0x%016llx\n"

l_.str.1:                               ; @.str.1
	.asciz	"synchronized"

l_.str.2:                               ; @.str.2
	.asciz	"not synchronized"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"%i\n"

	.no_dead_strip	_psl_timebase_synced_show
.subsections_via_symbols
