	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_populate_clock_stretcher_table
_vega10_populate_clock_stretcher_table: ## @vega10_populate_clock_stretcher_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %r8
	cmpq	$0, (%r8)
	je	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	movq	8(%r8), %rsi
	movq	(%rax), %r9
	movq	8(%rax), %rcx
	xorl	%edi, %edi
	movq	_VOLTAGE_VID_OFFSET_SCALE2@GOTPCREL(%rip), %r10
	movq	_VOLTAGE_VID_OFFSET_SCALE1@GOTPCREL(%rip), %r11
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rsi,%rdi,8), %eax
	movl	%eax, (%rcx,%rdi,4)
	movl	(%r10), %eax
	imull	(%rsi,%rdi,8), %eax
	cltd
	idivl	(%r11)
	cltq
	movq	%rax, (%r9,%rdi,8)
	incq	%rdi
	cmpq	(%r8), %rdi
	jb	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOLTAGE_VID_OFFSET_SCALE2,4,2  ## @VOLTAGE_VID_OFFSET_SCALE2
	.comm	_VOLTAGE_VID_OFFSET_SCALE1,4,2  ## @VOLTAGE_VID_OFFSET_SCALE1
	.no_dead_strip	_vega10_populate_clock_stretcher_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_populate_clock_stretcher_table
_vega10_populate_clock_stretcher_table: ; @vega10_populate_clock_stretcher_table
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x11, [x0, #8]
	ldr	x12, [x8, #8]
	ldp	x11, x10, [x11]
	add	x12, x12, #4
Lloh0:
	adrp	x13, _VOLTAGE_VID_OFFSET_SCALE2@GOTPAGE
Lloh1:
	ldr	x13, [x13, _VOLTAGE_VID_OFFSET_SCALE2@GOTPAGEOFF]
Lloh2:
	adrp	x14, _VOLTAGE_VID_OFFSET_SCALE1@GOTPAGE
Lloh3:
	ldr	x14, [x14, _VOLTAGE_VID_OFFSET_SCALE1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x12]
	str	w15, [x10, x9, lsl #2]
	ldur	w15, [x12, #-4]
	ldr	w16, [x13]
	mul	w15, w16, w15
	ldr	w16, [x14]
	sdiv	w15, w15, w16
	sxtw	x15, w15
	str	x15, [x11, x9, lsl #3]
	add	x9, x9, #1
	ldr	x15, [x8]
	add	x12, x12, #8
	cmp	x9, x15
	b.lo	LBB0_2
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VOLTAGE_VID_OFFSET_SCALE2,4,2  ; @VOLTAGE_VID_OFFSET_SCALE2
	.comm	_VOLTAGE_VID_OFFSET_SCALE1,4,2  ; @VOLTAGE_VID_OFFSET_SCALE1
	.no_dead_strip	_vega10_populate_clock_stretcher_table
.subsections_via_symbols
