	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb0899_get_mclk
_stb0899_get_mclk:                      ## @stb0899_get_mclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_STB0899_NCOARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stb0899_read_reg
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movq	8(%r14), %rdx
	imull	(%rdx), %ecx
	movslq	%ecx, %rcx
	imulq	$715827883, %rcx, %rbx          ## imm = 0x2AAAAAAB
	movq	%rbx, %rcx
	shrq	$63, %rcx
	shrq	$32, %rbx
	addl	%ecx, %ebx
	movl	(%r14), %edi
	movq	_FE_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	movl	%eax, %r8d
	movl	%ebx, %r9d
	callq	_dprintk
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STB0899_NCOARSE,4,2            ## @STB0899_NCOARSE
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"div=%d, mclk=%d"

	.no_dead_strip	_stb0899_get_mclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb0899_get_mclk
_stb0899_get_mclk:                      ; @stb0899_get_mclk
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STB0899_NCOARSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STB0899_NCOARSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_stb0899_read_reg
	mov	x4, x0
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	madd	w8, w8, w0, w8
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w20, w8, w9
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _FE_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FE_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	mov	x5, x20
	bl	_dprintk
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STB0899_NCOARSE,4,2            ; @STB0899_NCOARSE
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"div=%d, mclk=%d"

	.no_dead_strip	_stb0899_get_mclk
.subsections_via_symbols
