	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bw_calcs_data_update_from_pplib
_bw_calcs_data_update_from_pplib:       ## @bw_calcs_data_update_from_pplib
	.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
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -128(%rbp)
	movaps	%xmm0, -48(%rbp)
	movq	_MEMORY_TYPE_MULTIPLIER_CZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movq	_bw_def_hbm@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_MEMORY_TYPE_HBM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_3:
	movl	(%r12), %edi
	movq	_DM_PP_CLOCK_TYPE_ENGINE_CLK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-80(%rbp), %rdx
	callq	_dm_pp_get_clock_levels_by_type_with_latency
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rax
	movslq	-80(%rbp), %rcx
	movl	-4(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 88(%rcx)
	movl	-80(%rbp), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	-72(%rbp), %rax
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 80(%rcx)
	movl	-80(%rbp), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	-72(%rbp), %rax
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 72(%rcx)
	movl	-80(%rbp), %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-72(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 64(%rcx)
	movq	-72(%rbp), %rax
	movl	-80(%rbp), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 56(%rcx)
	movl	-80(%rbp), %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rax,4), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-72(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 48(%rcx)
	movl	-80(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-72(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 40(%rcx)
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 32(%rcx)
	movl	(%r12), %edi
	movq	_DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	callq	_dm_pp_get_clock_levels_by_type_with_latency
	movq	-104(%rbp), %rax
	movl	(%rax), %edi
	imull	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	-104(%rbp), %rax
	movl	-112(%rbp), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	imull	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	-104(%rbp), %rax
	movslq	-112(%rbp), %rcx
	imull	-4(%rax,%rcx,4), %r14d
	movl	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx)
	movl	$4, -144(%rbp)
	movq	_WM_SET_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-136(%rbp), %rax
	movl	%ecx, 16(%rax)
	movq	-72(%rbp), %rdx
	movl	(%rdx), %r8d
	movl	%r8d, (%rax)
	movl	-80(%rbp), %esi
	leal	(%rsi,%rsi,2), %edi
	leal	(%rsi,%rsi,2), %esi
	addl	$7, %esi
	testl	%edi, %edi
	cmovnsl	%edi, %esi
	sarl	$3, %esi
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,4), %edx
	leal	-1(%rdx), %r9d
	movl	%r9d, 4(%rax)
	movq	-104(%rbp), %rdi
	movl	(%rdi), %ecx
	movl	%ecx, 8(%rax)
	movl	-112(%rbp), %ebx
	sarl	%ebx
	movslq	%ebx, %rbx
	movl	(%rdi,%rbx,4), %edi
	leal	-1(%rdi), %ebx
	movl	%ebx, 12(%rax)
	movq	_WM_SET_B@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 36(%rax)
	movl	%edx, 20(%rax)
	movl	$5000000, 24(%rax)              ## imm = 0x4C4B40
	movl	%ecx, 28(%rax)
	movl	%ebx, 32(%rax)
	movq	_WM_SET_C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movl	%r8d, 40(%rax)
	movl	%r9d, 44(%rax)
	movl	%edi, 48(%rax)
	movl	$5000000, 52(%rax)              ## imm = 0x4C4B40
	movq	_WM_SET_D@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 76(%rax)
	movl	%edx, 60(%rax)
	movl	$5000000, 64(%rax)              ## imm = 0x4C4B40
	movl	%edi, 68(%rax)
	movl	$5000000, 72(%rax)              ## imm = 0x4C4B40
	movl	(%r12), %edi
	leaq	-144(%rbp), %rsi
	callq	_dm_pp_notify_wm_clock_changes
	jmp	LBB0_6
LBB0_4:
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdx
	callq	_dm_pp_get_clock_levels_by_type
	movq	-48(%rbp), %rax
	movslq	-40(%rbp), %rcx
	movl	-4(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 88(%rcx)
	movl	-40(%rbp), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	-48(%rbp), %rax
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 80(%rcx)
	movl	-40(%rbp), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	-48(%rbp), %rax
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 72(%rcx)
	movl	-40(%rbp), %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-48(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 64(%rcx)
	movq	-48(%rbp), %rax
	movl	-40(%rbp), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 56(%rcx)
	movl	-40(%rbp), %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rax,4), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-48(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 48(%rcx)
	movl	-40(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	-48(%rbp), %rcx
	sarl	$3, %eax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 40(%rcx)
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 32(%rcx)
	movl	(%r12), %edi
	movq	_DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_dm_pp_get_clock_levels_by_type
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	imull	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	-48(%rbp), %rax
	movl	-40(%rbp), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	imull	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	-48(%rbp), %rax
	movslq	-40(%rbp), %rcx
	imull	-4(%rax,%rcx,4), %r14d
	movl	%r14d, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_bw_frc_to_fixed
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx)
LBB0_6:
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ## @MEMORY_TYPE_MULTIPLIER_CZ
	.comm	_bw_def_hbm,8,3                 ## @bw_def_hbm
	.comm	_MEMORY_TYPE_HBM,4,2            ## @MEMORY_TYPE_HBM
	.comm	_DM_PP_CLOCK_TYPE_ENGINE_CLK,4,2 ## @DM_PP_CLOCK_TYPE_ENGINE_CLK
	.comm	_DM_PP_CLOCK_TYPE_MEMORY_CLK,4,2 ## @DM_PP_CLOCK_TYPE_MEMORY_CLK
	.comm	_WM_SET_A,4,2                   ## @WM_SET_A
	.comm	_WM_SET_B,4,2                   ## @WM_SET_B
	.comm	_WM_SET_C,4,2                   ## @WM_SET_C
	.comm	_WM_SET_D,4,2                   ## @WM_SET_D
	.no_dead_strip	_bw_calcs_data_update_from_pplib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bw_calcs_data_update_from_pplib
_bw_calcs_data_update_from_pplib:       ; @bw_calcs_data_update_from_pplib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
	stp	xzr, xzr, [x29, #-56]
	stur	xzr, [x29, #-40]
	stp	xzr, xzr, [sp, #48]
	str	xzr, [sp, #64]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	stp	xzr, xzr, [sp, #8]
Lloh0:
	adrp	x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _bw_def_hbm@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bw_def_hbm@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MEMORY_TYPE_HBM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MEMORY_TYPE_HBM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w20, w10, w20, eq
LBB0_2:
	ldr	w0, [x19]
Lloh9:
	adrp	x21, _DM_PP_CLOCK_TYPE_ENGINE_CLK@GOTPAGE
Lloh10:
	ldr	x21, [x21, _DM_PP_CLOCK_TYPE_ENGINE_CLK@GOTPAGEOFF]
	ldr	w1, [x21]
	sub	x2, x29, #56
	bl	_dm_pp_get_clock_levels_by_type_with_latency
	cbz	w0, LBB0_4
; %bb.3:
	ldur	x8, [x29, #-48]
	ldursw	x9, [x29, #-56]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #88]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #80]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #72]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	add	w9, w9, w9, lsl #1
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #64]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #56]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	add	w9, w9, w9, lsl #2
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #48]
	ldur	x8, [x29, #-48]
	ldur	w9, [x29, #-56]
	add	w9, w9, w9, lsl #1
	lsl	w9, w9, #1
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #40]
	ldur	x8, [x29, #-48]
	ldr	w0, [x8]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #32]
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #48
	bl	_dm_pp_get_clock_levels_by_type_with_latency
	ldr	x8, [sp, #56]
	ldr	w8, [x8]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #24]
	ldr	x8, [sp, #56]
	ldr	w9, [sp, #48]
	asr	w9, w9, #1
	ldr	w8, [x8, w9, sxtw #2]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	ldr	x8, [sp, #56]
	ldrsw	x9, [sp, #48]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	mov	w8, #4
	str	w8, [sp, #24]
Lloh14:
	adrp	x8, _WM_SET_A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WM_SET_A@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	x9, [sp, #32]
	str	w8, [x9, #16]
	ldur	x8, [x29, #-48]
	ldr	w10, [x8]
	str	w10, [x9]
	ldur	w11, [x29, #-56]
	add	w11, w11, w11, lsl #1
	add	w12, w11, #7
	cmp	w11, #0
	csel	w11, w12, w11, lt
	asr	w11, w11, #3
	ldr	w8, [x8, w11, sxtw #2]
	sub	w11, w8, #1
	str	w11, [x9, #4]
	ldr	x12, [sp, #56]
	ldr	w13, [x12]
	str	w13, [x9, #8]
	ldr	w14, [sp, #48]
	asr	w14, w14, #1
	ldr	w12, [x12, w14, sxtw #2]
	sub	w14, w12, #1
	str	w14, [x9, #12]
Lloh17:
	adrp	x15, _WM_SET_B@GOTPAGE
Lloh18:
	ldr	x15, [x15, _WM_SET_B@GOTPAGEOFF]
Lloh19:
	ldr	w15, [x15]
	mov	w16, #19264
	movk	w16, #76, lsl #16
	stp	w8, w16, [x9, #20]
	stp	w13, w14, [x9, #28]
Lloh20:
	adrp	x13, _WM_SET_C@GOTPAGE
Lloh21:
	ldr	x13, [x13, _WM_SET_C@GOTPAGEOFF]
Lloh22:
	ldr	w13, [x13]
	stp	w15, w10, [x9, #36]
	stp	w11, w12, [x9, #44]
	stp	w16, w13, [x9, #52]
Lloh23:
	adrp	x10, _WM_SET_D@GOTPAGE
Lloh24:
	ldr	x10, [x10, _WM_SET_D@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	stp	w16, w10, [x9, #72]
	stp	w8, w16, [x9, #60]
	str	w12, [x9, #68]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_dm_pp_notify_wm_clock_changes
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_dm_pp_get_clock_levels_by_type
	ldr	x8, [sp, #8]
	ldrsw	x9, [sp, #16]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #88]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #80]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #72]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	add	w9, w9, w9, lsl #1
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #64]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #56]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	add	w9, w9, w9, lsl #2
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #48]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	add	w9, w9, w9, lsl #1
	lsl	w9, w9, #1
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	ldr	w0, [x8, w9, sxtw #2]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #40]
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #32]
	ldr	w0, [x19]
Lloh26:
	adrp	x8, _DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DM_PP_CLOCK_TYPE_MEMORY_CLK@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_dm_pp_get_clock_levels_by_type
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #24]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #16]
	asr	w9, w9, #1
	ldr	w8, [x8, w9, sxtw #2]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	ldr	x8, [sp, #8]
	ldrsw	x9, [sp, #16]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	mul	w0, w8, w20
	mov	w1, #1000
	bl	_bw_frc_to_fixed
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ; @MEMORY_TYPE_MULTIPLIER_CZ
	.comm	_bw_def_hbm,8,3                 ; @bw_def_hbm
	.comm	_MEMORY_TYPE_HBM,4,2            ; @MEMORY_TYPE_HBM
	.comm	_DM_PP_CLOCK_TYPE_ENGINE_CLK,4,2 ; @DM_PP_CLOCK_TYPE_ENGINE_CLK
	.comm	_DM_PP_CLOCK_TYPE_MEMORY_CLK,4,2 ; @DM_PP_CLOCK_TYPE_MEMORY_CLK
	.comm	_WM_SET_A,4,2                   ; @WM_SET_A
	.comm	_WM_SET_B,4,2                   ; @WM_SET_B
	.comm	_WM_SET_C,4,2                   ; @WM_SET_C
	.comm	_WM_SET_D,4,2                   ; @WM_SET_D
	.no_dead_strip	_bw_calcs_data_update_from_pplib
.subsections_via_symbols
