	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nouveau_volt_init
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_3:
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.space	4
	.space	4
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_nouveau_volt_init
	.p2align	4, 0x90
_nouveau_volt_init:                     ## @nouveau_volt_init
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_nouveau_drm
	movq	%rax, %r12
	movl	24(%rax), %edi
	callq	_nouveau_gpio
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nouveau_pm
	movq	%rax, %r13
	movq	(%r12), %rax
	movq	_NVBIOS_BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	leaq	-104(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$80, %esi
	callq	_bit_table
	testq	%rax, %rax
	jne	LBB0_50
## %bb.2:
	movl	-104(%rbp), %edx
	cmpl	$2, %edx
	je	LBB0_5
## %bb.3:
	cmpl	$1, %edx
	jne	LBB0_6
## %bb.4:
	movq	-96(%rbp), %rax
	movl	64(%rax), %esi
	jmp	LBB0_9
LBB0_7:
	movq	8(%r12), %rax
	movslq	16(%r12), %rcx
	cmpl	$38, 24(%rax,%rcx,4)
	jg	LBB0_8
## %bb.51:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NV_DEBUG                       ## TAILCALL
LBB0_8:
	movl	608(%rax,%rcx,4), %esi
LBB0_9:
	movq	%rbx, %rdi
	callq	_ROMPTR
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	(%rax), %edx
	leal	-16(%rdx), %ebx
	cmpl	$48, %ebx
	ja	LBB0_52
## %bb.12:
	movl	$3, %r8d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$5, %r10d
	movl	$4, %esi
	movl	$2, %r9d
	movl	$1, %edi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rbx
	addq	%rcx, %rbx
	jmpq	*%rbx
LBB0_13:
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$4, %r10d
	jmp	LBB0_15
LBB0_5:
	movq	-96(%rbp), %rax
	movl	48(%rax), %esi
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_NV_WARN
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_NV_DEBUG
	jmp	LBB0_50
LBB0_52:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_NV_WARN
	jmp	LBB0_50
LBB0_14:
	movl	$11, %r10d
LBB0_15:
	movl	$3, %r9d
	movl	$2, %r8d
LBB0_16:
	movq	%r10, %rsi
	movslq	4(%rax), %r10
	movq	%r8, %rdi
LBB0_17:
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rsi,4), %r14d
	movl	(%rax,%r9,4), %ecx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rax,%rdi,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, (%r13)
	testl	%r14d, %r14d
	je	LBB0_50
## %bb.18:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_nr_vidtag@GOTPCREL(%rip), %r13
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%r14d, %eax
	sarl	%eax
	incq	%rbx
	cmpl	$1, %r14d
	movl	%eax, %r14d
	jbe	LBB0_26
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jg	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	testq	%r15, %r15
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_vidtag@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	leaq	-112(%rbp), %r8
	callq	*(%r15)
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
LBB0_21:
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_NV_DEBUG
	jmp	LBB0_50
LBB0_26:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 4(%r14)
	cmpl	$63, %eax
	jg	LBB0_36
## %bb.27:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_50
## %bb.28:
	testl	%ebx, %ebx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jle	LBB0_49
## %bb.29:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %r9
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %rbx
	cmpl	$1, %r9d
	jne	LBB0_33
## %bb.30:
	xorl	%edx, %edx
	jmp	LBB0_31
LBB0_36:
	movl	16(%r15), %edi
	callq	_ROM32
	movl	%eax, %ebx
	movl	32(%r15), %edi
	callq	_ROM16
	movq	%rax, %r15
	movl	(%r14), %edi
	incl	%edi
	movl	%edi, 8(%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_50
## %bb.37:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	js	LBB0_49
## %bb.38:
	movl	%ecx, %edx
	incq	%rcx
	cmpl	$3, %edx
	jae	LBB0_40
## %bb.39:
	xorl	%edx, %edx
	jmp	LBB0_48
LBB0_33:
                                        ## kill: def $r9d killed $r9d killed $r9 def $r9
	andl	$-2, %r9d
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	leaq	(,%r10,8), %r8
	shlq	$2, %r10
	xorl	%edx, %edx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	imull	$10000, (%rbx), %edi            ## imm = 0x2710
	movl	%edi, (%rax,%rdx,8)
	movl	4(%rbx), %ebx
	sarl	%cl, %ebx
	movl	%ebx, 4(%rax,%rdx,8)
	leaq	(%rsi,%r10), %rbx
	imull	$10000, (%rsi,%r10), %edi       ## imm = 0x2710
	movl	%edi, 8(%rax,%rdx,8)
	movl	4(%rsi,%r10), %edi
	sarl	%cl, %edi
	movl	%edi, 12(%rax,%rdx,8)
	addq	$2, %rdx
	addq	%r10, %rbx
	cmpq	%rdx, %r9
	jne	LBB0_34
## %bb.35:
	addq	%r8, %rsi
	movq	%rsi, %rbx
LBB0_31:
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_49
## %bb.32:
	imull	$10000, (%rbx), %esi            ## imm = 0x2710
	movl	%esi, (%rax,%rdx,8)
	movl	4(%rbx), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	movl	%esi, 4(%rax,%rdx,8)
	jmp	LBB0_49
LBB0_40:
	movl	%ecx, %edx
	andl	$-4, %edx
	movd	%ebx, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movd	%r15d, %xmm1
	pshufd	$81, %xmm1, %xmm1               ## xmm1 = xmm1[1,0,1,1]
	paddd	%xmm0, %xmm1
	leal	(%r15,%r15), %esi
	movd	%esi, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_41
## %bb.42:
	movq	%r8, %rdi
	andq	$-2, %rdi
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = <0,1,u,u>
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = <4,4,u,u>
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = <6,6,u,u>
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = <8,8,u,u>
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm7
	paddd	%xmm0, %xmm7
	movdqa	%xmm4, %xmm2
	paddd	%xmm8, %xmm2
	punpckldq	%xmm4, %xmm1            ## xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
	movdqu	%xmm1, (%rax,%rsi,8)
	movdqa	%xmm7, %xmm1
	punpckldq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
	movdqu	%xmm1, 16(%rax,%rsi,8)
	paddd	%xmm0, %xmm7
	movdqa	%xmm4, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm7, %xmm1
	paddd	%xmm0, %xmm1
	movdqa	%xmm4, %xmm3
	paddd	%xmm5, %xmm3
	punpckldq	%xmm2, %xmm7            ## xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
	movdqu	%xmm7, 32(%rax,%rsi,8)
	movdqa	%xmm1, %xmm2
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	movdqu	%xmm2, 48(%rax,%rsi,8)
	addq	$8, %rsi
	paddd	%xmm0, %xmm1
	paddd	%xmm6, %xmm4
	addq	$-2, %rdi
	jne	LBB0_43
	jmp	LBB0_44
LBB0_41:
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = <0,1,u,u>
	xorl	%esi, %esi
LBB0_44:
	testb	$1, %r8b
	je	LBB0_46
## %bb.45:
	paddd	%xmm1, %xmm0
	punpckldq	%xmm4, %xmm1            ## xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
	paddd	LCPI0_1(%rip), %xmm4
	punpckldq	%xmm4, %xmm0            ## xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
	leaq	(,%rsi,8), %rdi
	orq	$16, %rdi
	movdqu	%xmm1, (%rax,%rsi,8)
	movdqu	%xmm0, (%rax,%rdi)
LBB0_46:
	cmpq	%rcx, %rdx
	je	LBB0_49
## %bb.47:
	movl	%edx, %esi
	imull	%r15d, %esi
	addl	%esi, %ebx
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, (%rax,%rdx,8)
	movl	%edx, 4(%rax,%rdx,8)
	addl	%r15d, %ebx
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_48
LBB0_49:
	movl	$1, 12(%r14)
LBB0_50:
	addq	$72, %rsp
	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_52, LBB0_52-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_16
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_13
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_52
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_NVBIOS_BIT,8,3                 ## @NVBIOS_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown volt for BIT P %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"BMP version too old for voltage\n"

L_.str.2:                               ## @.str.2
	.asciz	"voltage table pointer invalid\n"

L_.str.3:                               ## @.str.3
	.asciz	"voltage table 0x%02x unknown\n"

	.comm	_nr_vidtag,4,2                  ## @nr_vidtag
L_.str.4:                               ## @.str.4
	.asciz	"vid bit %d unknown\n"

	.comm	_vidtag,8,3                     ## @vidtag
L_.str.5:                               ## @.str.5
	.asciz	"vid bit %d has no gpio tag\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function nouveau_volt_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_nouveau_volt_init
	.p2align	2
_nouveau_volt_init:                     ; @nouveau_volt_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x0
	bl	_nouveau_drm
	mov	x20, x0
	ldr	w0, [x0, #24]
	bl	_nouveau_gpio
	mov	x21, x0
	mov	x0, x22
	bl	_nouveau_pm
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _NVBIOS_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVBIOS_BIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	add	x2, sp, #24
	mov	x0, x22
	mov	w1, #80
	bl	_bit_table
	cbnz	x0, LBB0_42
; %bb.2:
	ldr	w2, [sp, #24]
	cmp	w2, #2
	b.eq	LBB0_8
; %bb.3:
	cmp	w2, #1
	b.ne	LBB0_13
; %bb.4:
	ldr	x8, [sp, #32]
	ldr	w1, [x8, #64]
	b	LBB0_9
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w9, [x20, #16]
	add	w10, w9, #6
	ldr	w10, [x8, w10, sxtw #2]
	cmp	w10, #38
	b.gt	LBB0_7
; %bb.6:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_NV_DEBUG
LBB0_7:
	add	w9, w9, #152
	ldr	w1, [x8, w9, sxtw #2]
	b	LBB0_9
LBB0_8:
	ldr	x8, [sp, #32]
	ldr	w1, [x8, #48]
LBB0_9:
	mov	x0, x22
	bl	_ROMPTR
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.10:
	ldr	w2, [x22]
	sub	w13, w2, #16
	cmp	w13, #48
	b.hi	LBB0_16
; %bb.11:
	mov	w9, #0
	mov	w24, #0
	mov	w10, #3
	mov	w17, #5
	mov	w11, #4
	mov	w8, #2
	mov	w12, #1
Lloh5:
	adrp	x14, lJTI0_0@PAGE
Lloh6:
	add	x14, x14, lJTI0_0@PAGEOFF
	adr	x15, LBB0_12
	ldrb	w16, [x14, x13]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_12:
	mov	w10, #2
	mov	w17, #4
	mov	w8, #3
	mov	w9, #2
	b	LBB0_18
LBB0_13:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_NV_WARN
LBB0_14:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_15:
	mov	x0, x20
	bl	_NV_DEBUG
	b	LBB0_42
LBB0_16:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_NV_WARN
	b	LBB0_42
LBB0_17:
	mov	w9, #0
	mov	w17, #11
	mov	w8, #3
	mov	w10, #2
LBB0_18:
	mov	x11, x17
	ldrsw	x17, [x22, #4]
	mov	x12, x10
	mov	x24, x9
LBB0_19:
	ldr	w28, [x22, x11, lsl #2]
	ldr	w23, [x22, x8, lsl #2]
	ldrsw	x8, [x22, x12, lsl #2]
	str	w28, [x19]
	cbz	w28, LBB0_42
; %bb.20:
	stp	x8, x17, [sp, #8]               ; 16-byte Folded Spill
	mov	x27, #0
Lloh13:
	adrp	x26, _nr_vidtag@GOTPAGE
Lloh14:
	ldr	x26, [x26, _nr_vidtag@GOTPAGEOFF]
Lloh15:
	adrp	x25, _vidtag@GOTPAGE
Lloh16:
	ldr	x25, [x25, _vidtag@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	asr	w8, w28, #1
	add	x27, x27, #1
	cmp	w28, #1
	mov	x28, x8
	b.ls	LBB0_27
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.gt	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	cbz	x21, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x25]
	ldr	w2, [x9, x27, lsl #2]
	add	x4, sp, #40
	mov	x0, x21
	mov	w1, #0
	mov	w3, #255
	blr	x8
	cbz	x0, LBB0_21
; %bb.25:
	str	x27, [sp]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_26:
	str	x27, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_27:
	ldr	w8, [x22]
	str	w8, [x19, #4]
	cmp	w8, #63
	b.gt	LBB0_32
; %bb.28:
	str	w23, [x19, #8]
Lloh21:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x23
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #16]
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	cbz	x0, LBB0_42
; %bb.29:
	cmp	w23, #1
	b.lt	LBB0_41
; %bb.30:
	add	x8, x0, #4
	add	x9, x22, x9, lsl #2
	add	x9, x9, #4
	lsl	x10, x10, #2
	mov	w11, #10000
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x9, #-4]
	mul	w12, w12, w11
	stur	w12, [x8, #-4]
	ldr	w12, [x9]
	asr	w12, w12, w24
	str	w12, [x8], #8
	add	x9, x9, x10
	subs	x23, x23, #1
	b.ne	LBB0_31
	b	LBB0_41
LBB0_32:
	ldr	w0, [x22, #16]
	bl	_ROM32
	mov	x21, x0
	ldr	w0, [x22, #32]
	bl	_ROM16
	mov	x20, x0
	ldr	w8, [x19]
	add	w0, w8, #1
	str	w0, [x19, #8]
Lloh24:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_42
; %bb.33:
	ldr	w9, [x19]
	tbnz	w9, #31, LBB0_41
; %bb.34:
	add	x8, x9, #1
	cmp	w9, #15
	b.hs	LBB0_36
; %bb.35:
	mov	x9, #0
	mov	x10, x21
	b	LBB0_39
LBB0_36:
	and	x9, x8, #0xfffffff0
	madd	w10, w9, w20, w21
	dup.4s	v0, w21
	dup.4s	v2, w20
Lloh27:
	adrp	x11, lCPI0_0@PAGE
Lloh28:
	ldr	q1, [x11, lCPI0_0@PAGEOFF]
	mla.4s	v0, v2, v1
	lsl	w11, w20, #2
	dup.4s	v2, w11
	add	x12, x0, #64
	movi.4s	v3, #4
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #16
	mov	x11, x9
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v16, v0, v2
	add.4s	v17, v1, v3
	add.4s	v18, v16, v2
	sub	x13, x12, #64
	st2.4s	{ v0, v1 }, [x13]
	add.4s	v19, v1, v4
	sub	x13, x12, #32
	st2.4s	{ v16, v17 }, [x13]
	add	x13, x12, #128
	st2.4s	{ v18, v19 }, [x12], #32
	add.4s	v16, v18, v2
	add.4s	v17, v1, v5
	st2.4s	{ v16, v17 }, [x12]
	add.4s	v0, v16, v2
	add.4s	v1, v1, v6
	mov	x12, x13
	subs	x11, x11, #16
	b.ne	LBB0_37
; %bb.38:
	cmp	x9, x8
	b.eq	LBB0_41
LBB0_39:
	add	x11, x0, x9, lsl #3
	add	x11, x11, #4
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	stp	w10, w9, [x11, #-4]
	add	w10, w10, w20
	add	x9, x9, #1
	add	x11, x11, #8
	cmp	x8, x9
	b.ne	LBB0_40
LBB0_41:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_42:
	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
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdr	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_18-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_17-LBB0_12)>>2
                                        ; -- End function
	.comm	_NVBIOS_BIT,8,3                 ; @NVBIOS_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown volt for BIT P %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"BMP version too old for voltage\n"

l_.str.2:                               ; @.str.2
	.asciz	"voltage table pointer invalid\n"

l_.str.3:                               ; @.str.3
	.asciz	"voltage table 0x%02x unknown\n"

	.comm	_nr_vidtag,4,2                  ; @nr_vidtag
l_.str.4:                               ; @.str.4
	.asciz	"vid bit %d unknown\n"

	.comm	_vidtag,8,3                     ; @vidtag
l_.str.5:                               ; @.str.5
	.asciz	"vid bit %d has no gpio tag\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
