	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv17_dac_sample_load           ## -- Begin function nv17_dac_sample_load
	.p2align	4, 0x90
_nv17_dac_sample_load:                  ## @nv17_dac_sample_load
	.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, %r13
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_nouveau_drm
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_nouveau_drm
	addq	$8, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nvxx_gpio
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_nouveau_encoder
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_nv04_dac_output_offset
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	_DCB_OUTPUT_TV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movl	16(%r14), %ecx
	testl	%ecx, %ecx
	movl	$167936160, %edx                ## imm = 0xA0280A0
	jmp	LBB0_3
LBB0_2:
	movl	20(%r14), %ecx
	testl	%ecx, %ecx
	movl	$335872320, %edx                ## imm = 0x14050140
LBB0_3:
	cmovnel	%ecx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rbx
	movslq	%eax, %r14
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movq	_NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	andl	%eax, %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVWriteRAMDAC
	movq	_NV_PBUS_POWERCTRL_2@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nvif_rd32
	movl	(%r13), %esi
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	andl	$-671088641, %edx               ## imm = 0xD7FFFFFF
	movq	%rbx, %rdi
	callq	_nvif_wr32
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	cmpl	$104, %r14d
	jne	LBB0_5
## %bb.4:
	movq	_NV_PBUS_POWERCTRL_4@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_nvif_rd32
	movl	(%rbx), %esi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	andl	$-49, %edx
	movq	%r13, %rdi
	callq	_nvif_wr32
LBB0_5:
	movl	$0, %r13d
	testq	%r12, %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.6:
	movq	_DCB_GPIO_TVDAC1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_get
	movl	%eax, %r13d
	movq	_DCB_GPIO_TVDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_get
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	xorl	%r8d, %r8d
	movq	_DCB_OUTPUT_TV@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	sete	%r8b
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_set
	movq	_DCB_GPIO_TVDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rax
	xorl	%r8d, %r8d
	cmpq	(%r12), %rax
	sete	%r8b
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_set
LBB0_7:
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movl	$4, %edi
	callq	_msleep
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, %r13d
	movl	%eax, %ebx
	shrl	$8, %ebx
	andl	$1, %ebx
	movq	_NV_CIO_CRE_RPC1_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_NVReadVgaCrtc
	xorl	%r12d, %r12d
	testb	$-64, %al
	sete	%r12b
	xorl	%ebx, %r12d
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	andl	$-306, %r13d                    ## imm = 0xFECE
	movl	%r12d, %ecx
	shll	$8, %ecx
	orl	%r13d, %ecx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NV_DEVICE_INFO_V0_CURIE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_11
## %bb.8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_DCB_OUTPUT_TV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_10
## %bb.9:
	orl	$1703936, %ecx                  ## imm = 0x1A0000
	jmp	LBB0_11
LBB0_10:
	andl	$-1703986, %ecx                 ## imm = 0xFFE5FFCE
LBB0_11:
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rax, %rbx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVWriteRAMDAC
	movl	$1, %edi
	callq	_msleep
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	orl	$1, %eax
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_TESTPOINT_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_NVReadRAMDAC
	movq	(%rbx), %rdx
	movq	_NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_NVWriteRAMDAC
	movl	$5, %edi
	callq	_msleep
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, %r13d
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_NVReadRAMDAC
	movq	(%rbx), %rdx
	movq	_NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_TESTPOINT_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	(%rbx), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	cmpl	$104, %r14d
	jne	LBB0_13
## %bb.12:
	movq	_NV_PBUS_POWERCTRL_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_nvif_wr32
LBB0_13:
	movq	_NV_PBUS_POWERCTRL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_nvif_wr32
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:
	movq	_DCB_GPIO_TVDAC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	movl	-84(%rbp), %r8d                 ## 4-byte Reload
	callq	_nvkm_gpio_set
	movq	_DCB_GPIO_TVDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_nvkm_gpio_set
LBB0_15:
	andl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCB_OUTPUT_TV,8,3              ## @DCB_OUTPUT_TV
	.comm	_NV_PRAMDAC_TEST_CONTROL,8,3    ## @NV_PRAMDAC_TEST_CONTROL
	.comm	_NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF,4,2 ## @NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF
	.comm	_NV_PBUS_POWERCTRL_2,4,2        ## @NV_PBUS_POWERCTRL_2
	.comm	_NV_PBUS_POWERCTRL_4,4,2        ## @NV_PBUS_POWERCTRL_4
	.comm	_DCB_GPIO_TVDAC1,4,2            ## @DCB_GPIO_TVDAC1
	.comm	_DCB_GPIO_TVDAC0,4,2            ## @DCB_GPIO_TVDAC0
	.comm	_NV_PRAMDAC_DACCLK,8,3          ## @NV_PRAMDAC_DACCLK
	.comm	_NV_CIO_CRE_RPC1_INDEX,4,2      ## @NV_CIO_CRE_RPC1_INDEX
	.comm	_NV_DEVICE_INFO_V0_CURIE,8,3    ## @NV_DEVICE_INFO_V0_CURIE
	.comm	_NV_PRAMDAC_TESTPOINT_DATA,8,3  ## @NV_PRAMDAC_TESTPOINT_DATA
	.comm	_NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK,4,2 ## @NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK
	.comm	_NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED,4,2 ## @NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv17_dac_sample_load           ; -- Begin function nv17_dac_sample_load
	.p2align	2
_nv17_dac_sample_load:                  ; @nv17_dac_sample_load
	.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
	ldr	x21, [x0]
	mov	x0, x21
	bl	_nouveau_drm
	mov	x28, x0
	mov	x0, x21
	bl	_nouveau_drm
	add	x23, x0, #8
	mov	x0, x28
	bl	_nvxx_gpio
	mov	x19, x0
	mov	x0, x22
	bl	_nouveau_encoder
	ldr	x20, [x0]
	mov	x0, x22
	bl	_nv04_dac_output_offset
	mov	x22, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DCB_OUTPUT_TV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCB_OUTPUT_TV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x28, #16]
	mov	w9, #32928
	movk	w9, #2562, lsl #16
	b	LBB0_3
LBB0_2:
	ldr	w8, [x28, #20]
	mov	w9, #320
	movk	w9, #5125, lsl #16
LBB0_3:
	cmp	w8, #0
	csel	w8, w9, w8, eq
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x25, _NV_PRAMDAC_TEST_CONTROL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NV_PRAMDAC_TEST_CONTROL@GOTPAGEOFF]
	ldr	x8, [x25]
	sxtw	x24, w22
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVReadRAMDAC
	ldr	x8, [x25]
	add	x2, x8, x24
Lloh5:
	adrp	x8, _NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	bic	w3, w0, w8
	mov	x0, x21
	mov	w1, #0
	bl	_NVWriteRAMDAC
Lloh8:
	adrp	x25, _NV_PBUS_POWERCTRL_2@GOTPAGE
Lloh9:
	ldr	x25, [x25, _NV_PBUS_POWERCTRL_2@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x23
	bl	_nvif_rd32
	ldr	w1, [x25]
	mov	w8, #-671088641
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	and	w2, w0, w8
	mov	x0, x23
	bl	_nvif_wr32
	mov	w26, #0
Lloh10:
	adrp	x25, _NV_PBUS_POWERCTRL_4@GOTPAGE
Lloh11:
	ldr	x25, [x25, _NV_PBUS_POWERCTRL_4@GOTPAGEOFF]
	cmp	w22, #104
	b.ne	LBB0_5
; %bb.4:
	ldr	w1, [x25]
	mov	x0, x23
	bl	_nvif_rd32
	mov	x26, x0
	ldr	w1, [x25]
	and	w2, w0, #0xffffffcf
	mov	x0, x23
	bl	_nvif_wr32
LBB0_5:
Lloh12:
	adrp	x27, _DCB_GPIO_TVDAC1@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DCB_GPIO_TVDAC1@GOTPAGEOFF]
Lloh14:
	adrp	x25, _DCB_GPIO_TVDAC0@GOTPAGE
Lloh15:
	ldr	x25, [x25, _DCB_GPIO_TVDAC0@GOTPAGEOFF]
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	str	w26, [sp, #8]                   ; 4-byte Folded Spill
	cbz	x19, LBB0_7
; %bb.6:
	ldr	w2, [x27]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_get
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w2, [x25]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_get
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w2, [x27]
	ldr	x8, [x20]
Lloh16:
	adrp	x22, _DCB_OUTPUT_TV@GOTPAGE
Lloh17:
	ldr	x22, [x22, _DCB_OUTPUT_TV@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w4, eq
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_set
	ldr	w2, [x25]
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w4, eq
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_set
	b	LBB0_8
LBB0_7:
	stp	wzr, wzr, [sp, #12]             ; 8-byte Folded Spill
LBB0_8:
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	mov	w0, #4
	bl	_msleep
Lloh18:
	adrp	x22, _NV_PRAMDAC_DACCLK@GOTPAGE
Lloh19:
	ldr	x22, [x22, _NV_PRAMDAC_DACCLK@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVReadRAMDAC
	mov	x26, x0
	ubfx	w25, w0, #8, #1
Lloh20:
	adrp	x8, _NV_CIO_CRE_RPC1_INDEX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NV_CIO_CRE_RPC1_INDEX@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x25
	bl	_NVReadVgaCrtc
	tst	w0, #0xc0
	cset	w8, eq
	eor	w27, w25, w8
	mov	w8, #-306
	and	w3, w26, w8
	bfi	w3, w27, #8, #1
	ldr	x8, [x28]
Lloh23:
	adrp	x9, _NV_DEVICE_INFO_V0_CURIE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NV_DEVICE_INFO_V0_CURIE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_10
; %bb.9:
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _DCB_OUTPUT_TV@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DCB_OUTPUT_TV@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #65486
	movk	w8, #65509, lsl #16
	and	w8, w3, w8
	mov	w9, #1703936
	orr	w9, w3, w9
	csel	w3, w8, w9, ne
LBB0_10:
	ldr	x8, [x22]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVWriteRAMDAC
	mov	w0, #1
	bl	_msleep
	ldr	x8, [x22]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVReadRAMDAC
	ldr	x8, [x22]
	add	x2, x8, x24
	orr	w3, w0, #0x1
	mov	x0, x21
	mov	w1, #0
	bl	_NVWriteRAMDAC
Lloh29:
	adrp	x8, _NV_PRAMDAC_TESTPOINT_DATA@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NV_PRAMDAC_TESTPOINT_DATA@GOTPAGEOFF]
Lloh31:
	ldr	x2, [x8]
Lloh32:
	adrp	x8, _NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	orr	w3, w8, w9
	mov	x0, x21
	mov	x1, x27
	bl	_NVWriteRAMDAC
Lloh35:
	adrp	x20, _NV_PRAMDAC_TEST_CONTROL@GOTPAGE
Lloh36:
	ldr	x20, [x20, _NV_PRAMDAC_TEST_CONTROL@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x0, x21
	mov	x1, x27
	bl	_NVReadRAMDAC
	ldr	x2, [x20]
Lloh37:
	adrp	x23, _NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED@GOTPAGE
Lloh38:
	ldr	x23, [x23, _NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w3, w8, w0
	mov	x0, x21
	mov	x1, x27
	bl	_NVWriteRAMDAC
	mov	w0, #5
	bl	_msleep
	ldr	x8, [x20]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVReadRAMDAC
	mov	x28, x0
	ldr	x8, [x20]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	bl	_NVReadRAMDAC
	mov	x25, x0
	ldr	x2, [x20]
	mov	x0, x21
	mov	x1, x27
	bl	_NVReadRAMDAC
	ldr	x2, [x20]
	ldr	w8, [x23]
	bic	w3, w0, w8
	mov	x0, x21
	mov	x1, x27
	bl	_NVWriteRAMDAC
Lloh39:
	adrp	x8, _NV_PRAMDAC_TESTPOINT_DATA@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NV_PRAMDAC_TESTPOINT_DATA@GOTPAGEOFF]
Lloh41:
	ldr	x2, [x8]
	mov	x0, x21
	mov	x1, x27
	mov	w3, #0
	bl	_NVWriteRAMDAC
	ldr	x8, [x22]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	mov	x3, x26
	bl	_NVWriteRAMDAC
	ldr	x8, [x20]
	add	x2, x8, x24
	mov	x0, x21
	mov	w1, #0
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
	ldp	x8, x20, [sp, #32]              ; 16-byte Folded Reload
	cmp	w8, #104
	b.ne	LBB0_12
; %bb.11:
Lloh42:
	adrp	x8, _NV_PBUS_POWERCTRL_4@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NV_PBUS_POWERCTRL_4@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_nvif_wr32
LBB0_12:
Lloh45:
	adrp	x8, _NV_PBUS_POWERCTRL_2@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NV_PBUS_POWERCTRL_2@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_nvif_wr32
Lloh48:
	adrp	x8, _DCB_GPIO_TVDAC1@GOTPAGE
Lloh49:
	ldr	x8, [x8, _DCB_GPIO_TVDAC1@GOTPAGEOFF]
	cbz	x19, LBB0_14
; %bb.13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	bl	_nvkm_gpio_set
Lloh50:
	adrp	x8, _DCB_GPIO_TVDAC0@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DCB_GPIO_TVDAC0@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	ldr	w4, [sp, #16]                   ; 4-byte Folded Reload
	bl	_nvkm_gpio_set
LBB0_14:
	and	w0, w25, w28
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_DCB_OUTPUT_TV,8,3              ; @DCB_OUTPUT_TV
	.comm	_NV_PRAMDAC_TEST_CONTROL,8,3    ; @NV_PRAMDAC_TEST_CONTROL
	.comm	_NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF,4,2 ; @NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF
	.comm	_NV_PBUS_POWERCTRL_2,4,2        ; @NV_PBUS_POWERCTRL_2
	.comm	_NV_PBUS_POWERCTRL_4,4,2        ; @NV_PBUS_POWERCTRL_4
	.comm	_DCB_GPIO_TVDAC1,4,2            ; @DCB_GPIO_TVDAC1
	.comm	_DCB_GPIO_TVDAC0,4,2            ; @DCB_GPIO_TVDAC0
	.comm	_NV_PRAMDAC_DACCLK,8,3          ; @NV_PRAMDAC_DACCLK
	.comm	_NV_CIO_CRE_RPC1_INDEX,4,2      ; @NV_CIO_CRE_RPC1_INDEX
	.comm	_NV_DEVICE_INFO_V0_CURIE,8,3    ; @NV_DEVICE_INFO_V0_CURIE
	.comm	_NV_PRAMDAC_TESTPOINT_DATA,8,3  ; @NV_PRAMDAC_TESTPOINT_DATA
	.comm	_NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK,4,2 ; @NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK
	.comm	_NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED,4,2 ; @NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED
.subsections_via_symbols
