	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm20b_volt_new                 ## -- Begin function gm20b_volt_new
	.p2align	4, 0x90
_gm20b_volt_new:                        ## @gm20b_volt_new
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	callq	*(%rax)
	movq	%rax, %r12
	movq	(%rax), %rbx
	movq	_speedo_to_vmin@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_1
## %bb.2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %r12d
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movq	_gm20b_na_cvb_coef@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_nvdev_error
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_gm20b_cvb_coef@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movl	%r12d, %r8d
	movq	%r15, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gk20a_volt_ctor                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_speedo_to_vmin,8,3             ## @speedo_to_vmin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported speedo %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_gm20b_na_cvb_coef,8,3          ## @gm20b_na_cvb_coef
	.comm	_gm20b_cvb_coef,8,3             ## @gm20b_cvb_coef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm20b_volt_new                 ; -- Begin function gm20b_volt_new
	.p2align	2
_gm20b_volt_new:                        ; @gm20b_volt_new
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	mov	x23, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x24, _speedo_to_vmin@GOTPAGE
Lloh1:
	ldr	x24, [x24, _speedo_to_vmin@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.hs	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	str	x0, [x22]
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	w22, [x8, x9, lsl #2]
	cbz	x9, LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _gm20b_na_cvb_coef@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gm20b_na_cvb_coef@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	ldr	x2, [x23]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvdev_error
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh13:
	adrp	x8, _gm20b_cvb_coef@GOTPAGE
Lloh14:
	ldr	x8, [x8, _gm20b_cvb_coef@GOTPAGEOFF]
LBB0_8:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x4, x22
	mov	x5, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gk20a_volt_ctor
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_speedo_to_vmin,8,3             ; @speedo_to_vmin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported speedo %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_gm20b_na_cvb_coef,8,3          ; @gm20b_na_cvb_coef
	.comm	_gm20b_cvb_coef,8,3             ; @gm20b_cvb_coef
.subsections_via_symbols
