	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function powernv_timebase_freq
_powernv_timebase_freq:                 ## @powernv_timebase_freq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$-1, -64(%rbp)
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_OF_peer
	movq	%rax, %rdi
	callq	_OF_child
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	-56(%rbp), %r15
	leaq	L_.str.1(%rip), %r12
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_OF_peer
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_OF_getprop
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rdi
	callq	_OF_child
	movl	$512000000, %r14d               ## imm = 0x1E848000
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %r15
	leaq	-56(%rbp), %r12
	leaq	L_.str.3(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_OF_peer
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$8, %ecx
	callq	_OF_getprop
	testl	%eax, %eax
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_OF_getencprop
	movq	-64(%rbp), %r14
	testq	%r14, %r14
	jg	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	callq	_panic
	movq	-64(%rbp), %r14
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

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

L_.str.2:                               ## @.str.2
	.asciz	"device_type"

L_.str.3:                               ## @.str.3
	.asciz	"cpu"

L_.str.4:                               ## @.str.4
	.asciz	"timebase-frequency"

L_.str.5:                               ## @.str.5
	.asciz	"Unable to determine timebase frequency!"

	.no_dead_strip	_powernv_timebase_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function powernv_timebase_freq
_powernv_timebase_freq:                 ; @powernv_timebase_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x8, #-1
	str	x8, [sp, #8]
	mov	x0, #0
	bl	_OF_peer
	bl	_OF_child
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_OF_peer
	mov	x20, x0
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	mov	w3, #8
	bl	_OF_getprop
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #16
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_2
LBB0_5:
	mov	w19, #32768
	movk	w19, #7812, lsl #16
	mov	x0, x20
	bl	_OF_child
	cbz	x0, LBB0_12
; %bb.6:
	mov	x20, x0
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh9:
	adrp	x22, l_.str.3@PAGE
Lloh10:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_OF_peer
	mov	x20, x0
	cbz	x0, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x21
	mov	w3, #8
	bl	_OF_getprop
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.10:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #8
	bl	_OF_getencprop
	ldr	x19, [sp, #8]
	cmp	x19, #0
	b.gt	LBB0_12
; %bb.11:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_panic
	ldr	x19, [sp, #8]
LBB0_12:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

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

l_.str.2:                               ; @.str.2
	.asciz	"device_type"

l_.str.3:                               ; @.str.3
	.asciz	"cpu"

l_.str.4:                               ; @.str.4
	.asciz	"timebase-frequency"

l_.str.5:                               ; @.str.5
	.asciz	"Unable to determine timebase frequency!"

	.no_dead_strip	_powernv_timebase_freq
.subsections_via_symbols
