	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function smu10_get_clock_voltage_dependency_table
LCPI0_0:
	.long	100                             ## 0x64
	.long	100                             ## 0x64
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_smu10_get_clock_voltage_dependency_table: ## @smu10_get_clock_voltage_dependency_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edx, %edi
	shll	$4, %edi
	orl	$4, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r15d, (%rax)
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.3:
	movq	8(%rax), %rsi
	movl	%r15d, %r9d
	cmpl	$4, %r15d
	jae	LBB0_5
## %bb.4:
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_5:
	movl	%r9d, %r8d
	andl	$-4, %r8d
	leaq	(%rbx,%r8,8), %rdx
	leaq	(,%r9,8), %rdi
	andq	$-32, %rdi
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <100,100,u,u>
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rcx), %xmm1
	movdqu	16(%rbx,%rcx), %xmm2
	pshufd	$232, %xmm1, %xmm3              ## xmm3 = xmm1[0,2,2,3]
	pshufd	$232, %xmm2, %xmm4              ## xmm4 = xmm2[0,2,2,3]
	pmulld	%xmm0, %xmm3
	pmulld	%xmm0, %xmm4
	pmovzxdq	%xmm3, %xmm3                    ## xmm3 = xmm3[0],zero,xmm3[1],zero
	pblendw	$204, %xmm1, %xmm3              ## xmm3 = xmm3[0,1],xmm1[2,3],xmm3[4,5],xmm1[6,7]
	movdqu	%xmm3, (%rsi,%rcx)
	pmovzxdq	%xmm4, %xmm1                    ## xmm1 = xmm4[0],zero,xmm4[1],zero
	pblendw	$204, %xmm2, %xmm1              ## xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5],xmm2[6,7]
	movdqu	%xmm1, 16(%rsi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_6
## %bb.7:
	cmpq	%r9, %r8
	je	LBB0_10
LBB0_8:
	leaq	(%rsi,%r8,8), %rcx
	addq	$4, %rcx
	subq	%r8, %r9
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	imull	$100, (%rdx,%rsi,8), %edi
	movl	%edi, -4(%rcx,%rsi,8)
	movl	4(%rdx,%rsi,8), %edi
	movl	%edi, (%rcx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_9
LBB0_10:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_smu10_get_clock_voltage_dependency_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_get_clock_voltage_dependency_table
_smu10_get_clock_voltage_dependency_table: ; @smu10_get_clock_voltage_dependency_table
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	w0, #4
	bfi	w0, w2, #4, #28
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	str	w21, [x0]
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	x10, [x0, #8]
	mov	w9, w21
	cmp	w21, #8
	b.hs	LBB0_5
; %bb.3:
	mov	x11, #0
	mov	x8, x20
	b	LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_11
LBB0_5:
	and	x11, x9, #0xfffffff8
	add	x8, x20, x11, lsl #3
	add	x12, x20, #32
	add	x13, x10, #32
	movi.4s	v0, #100
	mov	x14, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x15, x12, #32
	ld2.4s	{ v1, v2 }, [x15]
	ld2.4s	{ v3, v4 }, [x12]
	mul.4s	v1, v1, v0
	sub	x15, x13, #32
	st2.4s	{ v1, v2 }, [x15]
	mul.4s	v3, v3, v0
	st2.4s	{ v3, v4 }, [x13]
	add	x12, x12, #64
	add	x13, x13, #64
	subs	x14, x14, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x11, x9
	b.eq	LBB0_10
LBB0_8:
	add	x10, x10, x11, lsl #3
	add	x10, x10, #4
	sub	x9, x9, x11
	mov	w11, #100
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w12, w13, [x8], #8
	mul	w12, w12, w11
	stp	w12, w13, [x10, #-4]
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	mov	w8, #0
	str	x0, [x19]
LBB0_11:
	mov	x0, x8
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_smu10_get_clock_voltage_dependency_table
.subsections_via_symbols
