	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_patch_voltage_dependency_tables_with_lookup_table
_vega10_patch_voltage_dependency_tables_with_lookup_table: ## @vega10_patch_voltage_dependency_tables_with_lookup_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	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r13
	movq	72(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	80(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%r13), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	32(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	40(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	48(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	56(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	64(%r13), %rdi
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r12
                                        ## implicit-def: $rdx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$6, %ebx
	je	LBB0_3
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	cmpl	$5, %ebx
	ja	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %eax
	movslq	(%r12,%rax,4), %rdx
	addq	%r12, %rdx
	movq	%rdi, %rax
	jmpq	*%rdx
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rdx
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rdx), %r10
	testq	%r10, %r10
	je	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdx), %rsi
	movq	16(%r13), %rax
	movq	(%rax), %r8
	cmpq	$1, %r10
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r9d, %r9d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r10, %rax
	andq	$-2, %rax
	leaq	72(%rsi), %r11
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%r11), %r14
	movq	-32(%r11), %r15
	movl	(%r8,%r14,4), %ecx
	movl	%ecx, -40(%r11)
	movl	(%r8,%r15,4), %ecx
	movl	%ecx, (%r11)
	addq	$2, %r9
	addq	$80, %r11
	cmpq	%r9, %rax
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r9,%r9,4), %rax
	movq	(%rsi,%rax,8), %rcx
	movl	(%r8,%rcx,4), %ecx
	movl	%ecx, 32(%rsi,%rax,8)
	jmp	LBB0_25
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	testq	%r9, %r9
	je	LBB0_8
## %bb.4:
	movq	8(%rax), %r8
	movq	16(%r13), %rax
	movq	(%rax), %rsi
	cmpq	$1, %r9
	jne	LBB0_26
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_26:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	24(%r8), %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	-24(%rbx), %rcx
	movq	-8(%rbx), %rdx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -16(%rbx)
	movl	(%rsi,%rdx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$2, %rax
	addq	$32, %rbx
	cmpq	%rax, %rdi
	jne	LBB0_27
LBB0_6:
	testb	$1, %r9b
	je	LBB0_8
## %bb.7:
	shlq	$4, %rax
	movq	(%r8,%rax), %rdx
	movl	(%rsi,%rdx,4), %edx
	movl	%edx, 8(%r8,%rax)
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	8(%rcx), %rcx
	movq	16(%r13), %rdx
	movq	(%rdx), %r8
	movq	(%r13), %rdi
	movq	8(%r13), %rsi
	movq	(%rsi), %rsi
	movq	(%rdi), %rdi
	addq	$32, %rcx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-32(%rcx), %rbx
	movq	-24(%rcx), %rdx
	movl	(%r8,%rbx,4), %ebx
	movl	%ebx, (%rcx)
	movl	(%rsi,%rdx,4), %edx
	movl	%edx, -4(%rcx)
	movq	-16(%rcx), %rdx
	movl	(%rdi,%rdx,4), %edx
	movl	%edx, -8(%rcx)
	addq	$40, %rcx
	decq	%rax
	jne	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_vega10_patch_voltage_dependency_tables_with_lookup_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_patch_voltage_dependency_tables_with_lookup_table
_vega10_patch_voltage_dependency_tables_with_lookup_table: ; @vega10_patch_voltage_dependency_tables_with_lookup_table
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	mov	w10, #0
	ldr	x8, [x0]
	add	x12, x8, #24
	ldp	x9, x11, [x8, #72]
	add	x13, x8, #32
	add	x14, x8, #40
	add	x15, x8, #48
	add	x16, x8, #56
	add	x17, x8, #64
	mov	w0, #40
Lloh0:
	adrp	x1, lJTI0_0@PAGE
Lloh1:
	add	x1, x1, lJTI0_0@PAGEOFF
                                        ; implicit-def: $x2
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w10, w10, #1
	cmp	w10, #6
	b.eq	LBB0_18
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	cmp	w10, #5
	b.hi	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w2, w10
	adr	x3, LBB0_4
	ldrb	w4, [x1, x2]
	add	x3, x3, x4, lsl #2
	mov	x2, x17
	br	x3
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x16
	b	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x15
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x14
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x13
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x12
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x2]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x4, [x2]
	cbz	x4, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x5, [x2, #8]
	ldr	x3, [x8, #16]
	ldr	x3, [x3]
	cmp	x4, #4
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x6, #0
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	and	x6, x4, #0xfffffffffffffffc
	add	x7, x5, #80
	mov	x19, x6
LBB0_14:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x20, [x7, #-80]
	ldur	x21, [x7, #-40]
	ldr	x22, [x7]
	ldr	x23, [x7, #40]
	ldr	w20, [x3, x20, lsl #2]
	ldr	w21, [x3, x21, lsl #2]
	ldr	w22, [x3, x22, lsl #2]
	ldr	w23, [x3, x23, lsl #2]
	stur	w20, [x7, #-48]
	stur	w21, [x7, #-8]
	str	w22, [x7, #32]
	str	w23, [x7, #72]
	add	x7, x7, #160
	subs	x19, x19, #4
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x4, x6
	b.eq	LBB0_1
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x4, x4, x6
	madd	x5, x6, x0, x5
	add	x5, x5, #32
LBB0_17:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x6, [x5, #-32]
	ldr	w6, [x3, x6, lsl #2]
	str	w6, [x5], #40
	subs	x4, x4, #1
	b.ne	LBB0_17
	b	LBB0_1
LBB0_18:
	ldr	x12, [x11]
	cbz	x12, LBB0_26
; %bb.19:
	ldr	x11, [x11, #8]
	ldr	x10, [x8, #16]
	ldr	x10, [x10]
	cmp	x12, #4
	b.hs	LBB0_21
; %bb.20:
	mov	x13, #0
	b	LBB0_24
LBB0_21:
	and	x13, x12, #0xfffffffffffffffc
	add	x14, x11, #32
	mov	x15, x13
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldur	x16, [x14, #-32]
	ldur	x17, [x14, #-16]
	ldr	x0, [x14]
	ldr	x1, [x14, #16]
	ldr	w16, [x10, x16, lsl #2]
	ldr	w17, [x10, x17, lsl #2]
	ldr	w0, [x10, x0, lsl #2]
	ldr	w1, [x10, x1, lsl #2]
	stur	w16, [x14, #-24]
	stur	w17, [x14, #-8]
	str	w0, [x14, #8]
	str	w1, [x14, #24]
	add	x14, x14, #64
	subs	x15, x15, #4
	b.ne	LBB0_22
; %bb.23:
	cmp	x12, x13
	b.eq	LBB0_26
LBB0_24:
	sub	x12, x12, x13
	add	x11, x11, x13, lsl #4
	add	x11, x11, #8
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldur	x13, [x11, #-8]
	ldr	w13, [x10, x13, lsl #2]
	str	w13, [x11], #16
	subs	x12, x12, #1
	b.ne	LBB0_25
LBB0_26:
	ldr	x10, [x9]
	cbz	x10, LBB0_29
; %bb.27:
	ldr	x12, [x9, #8]
	ldp	x11, x9, [x8, #8]
	ldr	x9, [x9]
	ldr	x13, [x8]
	ldr	x8, [x11]
	ldr	x11, [x13]
	add	x12, x12, #32
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x12, #-32]
	ldr	w13, [x9, x13, lsl #2]
	str	w13, [x12]
	ldr	w13, [x8, x14, lsl #2]
	ldur	x14, [x12, #-16]
	ldr	w14, [x11, x14, lsl #2]
	stp	w14, w13, [x12, #-8]
	add	x12, x12, #40
	subs	x10, x10, #1
	b.ne	LBB0_28
LBB0_29:
	mov	w0, #0
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.no_dead_strip	_vega10_patch_voltage_dependency_tables_with_lookup_table
.subsections_via_symbols
