	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk20a_volt_ctor                ## -- Begin function gk20a_volt_ctor
	.p2align	4, 0x90
_gk20a_volt_ctor:                       ## @gk20a_volt_ctor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	callq	*(%rax)
	movq	%rax, %r12
	movq	_gk20a_volt@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movq	%r15, %rcx
	callq	_nvkm_volt_ctor
	movl	4(%r12), %edi
	callq	_regulator_get_voltage
	leaq	16(%r15), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nvkm_debug
	movl	4(%r12), %eax
	movl	%eax, 24(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	%r14d, (%rax,%r14,8)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_gk20a_volt_calc_voltage
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_max
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx,%r14,8)
	movl	(%rcx,%r14,8), %ecx
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_nvkm_debug
	incq	%r14
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gk20a_volt,4,2                 ## @gk20a_volt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the default voltage is %duV\n"

L_.str.1:                               ## @.str.1
	.asciz	"%2d: vid=%d, uv=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk20a_volt_ctor                ; -- Begin function gk20a_volt_ctor
	.p2align	2
_gk20a_volt_ctor:                       ; @gk20a_volt_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x23, x1
	mov	x25, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	mov	x22, x0
Lloh0:
	adrp	x0, _gk20a_volt@GOTPAGE
Lloh1:
	ldr	x0, [x0, _gk20a_volt@GOTPAGEOFF]
	mov	x1, x25
	mov	x2, x23
	mov	x3, x19
	bl	_nvkm_volt_ctor
	ldr	w0, [x22, #4]
	bl	_regulator_get_voltage
	mov	x2, x0
	add	x23, x19, #16
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_nvkm_debug
	ldr	w8, [x22, #4]
	str	w8, [x19, #24]
	str	w24, [x19]
	cmp	w24, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, #0
	mov	x24, #0
Lloh4:
	adrp	x25, l_.str.1@PAGE
Lloh5:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	str	w24, [x8, x26]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_gk20a_volt_calc_voltage
	mov	x1, x20
	bl	_max
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #8]
	add	x8, x8, x26
	str	w0, [x8, #4]
	ldr	w8, [x8]
	stp	x8, x0, [sp]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_nvkm_debug
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x21, x21, #4
	add	x26, x26, #8
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_gk20a_volt,4,2                 ; @gk20a_volt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the default voltage is %duV\n"

l_.str.1:                               ; @.str.1
	.asciz	"%2d: vid=%d, uv=%d\n"

.subsections_via_symbols
