	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv42_tv_sample_load
_nv42_tv_sample_load:                   ## @nv42_tv_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_nouveau_drm
	movq	%rax, %r15
	leaq	4(%rax), %rdi
	callq	_nvxx_gpio
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_nv04_dac_output_offset
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	movl	$136555650, %edx                ## imm = 0x823AC82
	cmovnel	%ecx, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r14d, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shrl	$8, %r15d
	andl	$1, %r15d
	movq	_DCB_GPIO_TVDAC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_get
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_DCB_GPIO_TVDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_nvkm_gpio_get
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_FP_HTOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_FP_HSYNC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rax, %r13
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_FP_HSYNC_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_FP_TG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r14d, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818844, %edx                  ## imm = 0x680C1C
	callq	_NVReadRAMDAC
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818836, %edx                  ## imm = 0x680C14
	callq	_NVReadRAMDAC
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818924, %edx                  ## imm = 0x680C6C
	callq	_NVReadRAMDAC
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_DCB_GPIO_TVDAC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	movl	$1, %r8d
	callq	_nvkm_gpio_set
	movq	_DCB_GPIO_TVDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	movl	$1, %r8d
	callq	_nvkm_gpio_set
	movq	_NV_PRAMDAC_FP_HTOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$1343, %ecx                     ## imm = 0x53F
	callq	_NVWriteRAMDAC
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$1047, %ecx                     ## imm = 0x417
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_HSYNC_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$1183, %ecx                     ## imm = 0x49F
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS@GOTPCREL(%rip), %rax
	movq	_NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NV_PRAMDAC_FP_TG_CONTROL_READ_PROG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NV_PRAMDAC_FP_TG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r14d, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	addl	%r14d, %edx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	andl	$-256, %ebx
	leal	34(%rbx), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_NVWriteRAMDAC
	movl	$1, %edi
	callq	_msleep
	movl	(%r13), %edx
	addl	%r14d, %edx
	orl	$33, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	callq	_NVWriteRAMDAC
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818844, %edx                  ## imm = 0x680C1C
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_NVWriteRAMDAC
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818836, %edx                  ## imm = 0x680C14
	movl	$262144, %ecx                   ## imm = 0x40000
	callq	_NVWriteRAMDAC
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	shrl	$10, %ecx
	andl	$1023, %ecx                     ## imm = 0x3FF
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818924, %edx                  ## imm = 0x680C6C
	callq	_NVWriteRAMDAC
	movl	$20, %edi
	callq	_msleep
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	addl	%r14d, %edx
	movl	%r14d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, %r14d
	andl	$1073741824, %r14d              ## imm = 0x40000000
	movl	%ebx, %ecx
	andl	$1023, %ecx                     ## imm = 0x3FF
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818924, %edx                  ## imm = 0x680C6C
	callq	_NVWriteRAMDAC
	movl	$20, %edi
	callq	_msleep
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ebx
	addl	%r13d, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_NVReadRAMDAC
	movl	%eax, %r13d
	andl	$-1610612736, %r13d             ## imm = 0xA0000000
	orl	%r14d, %r13d
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818844, %edx                  ## imm = 0x680C1C
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818836, %edx                  ## imm = 0x680C14
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$6818924, %edx                  ## imm = 0x680C6C
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_DACCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%ebx, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_TEST_CONTROL@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_TG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_HSYNC_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_HSYNC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_NV_PRAMDAC_FP_HTOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	callq	_NVWriteRAMDAC
	movq	_DCB_GPIO_TVDAC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	movl	-88(%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	-84(%rbp), %r8d                 ## 4-byte Reload
	callq	_nvkm_gpio_set
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_PRAMDAC_DACCLK,4,2          ## @NV_PRAMDAC_DACCLK
	.comm	_DCB_GPIO_TVDAC1,4,2            ## @DCB_GPIO_TVDAC1
	.comm	_DCB_GPIO_TVDAC0,4,2            ## @DCB_GPIO_TVDAC0
	.comm	_NV_PRAMDAC_FP_HTOTAL,4,2       ## @NV_PRAMDAC_FP_HTOTAL
	.comm	_NV_PRAMDAC_FP_HSYNC_START,4,2  ## @NV_PRAMDAC_FP_HSYNC_START
	.comm	_NV_PRAMDAC_FP_HSYNC_END,4,2    ## @NV_PRAMDAC_FP_HSYNC_END
	.comm	_NV_PRAMDAC_FP_TG_CONTROL,4,2   ## @NV_PRAMDAC_FP_TG_CONTROL
	.comm	_NV_PRAMDAC_TEST_CONTROL,4,2    ## @NV_PRAMDAC_TEST_CONTROL
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS,4,2 ## @NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12,4,2 ## @NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_READ_PROG,4,2 ## @NV_PRAMDAC_FP_TG_CONTROL_READ_PROG
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS,4,2 ## @NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS,4,2 ## @NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS
	.no_dead_strip	_nv42_tv_sample_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv42_tv_sample_load
_nv42_tv_sample_load:                   ; @nv42_tv_sample_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_nouveau_drm
	mov	x22, x0
	add	x0, x0, #4
	bl	_nvxx_gpio
	mov	x19, x0
	mov	x0, x21
	bl	_nv04_dac_output_offset
	mov	x24, x0
	ldr	w8, [x22]
	mov	w9, #44162
	movk	w9, #2083, lsl #16
	cmp	w8, #0
	csel	w8, w9, w8, eq
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _NV_PRAMDAC_DACCLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV_PRAMDAC_DACCLK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w2, w8, w0
	mov	x0, x20
	mov	w1, #0
	bl	_NVReadRAMDAC
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ubfx	w21, w0, #8, #1
Lloh3:
	adrp	x8, _DCB_GPIO_TVDAC1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCB_GPIO_TVDAC1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_get
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _DCB_GPIO_TVDAC0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCB_GPIO_TVDAC0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_nvkm_gpio_get
	str	w0, [sp, #56]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x26, _NV_PRAMDAC_FP_HTOTAL@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NV_PRAMDAC_FP_HTOTAL@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x21
	bl	_NVReadRAMDAC
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
Lloh11:
	adrp	x28, _NV_PRAMDAC_FP_HSYNC_START@GOTPAGE
Lloh12:
	ldr	x28, [x28, _NV_PRAMDAC_FP_HSYNC_START@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x20
	mov	x1, x21
	bl	_NVReadRAMDAC
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
Lloh13:
	adrp	x22, _NV_PRAMDAC_FP_HSYNC_END@GOTPAGE
Lloh14:
	ldr	x22, [x22, _NV_PRAMDAC_FP_HSYNC_END@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_NVReadRAMDAC
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_NVReadRAMDAC
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
Lloh18:
	adrp	x8, _NV_PRAMDAC_TEST_CONTROL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NV_PRAMDAC_TEST_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	bl	_NVReadRAMDAC
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	w23, #3180
	movk	w23, #104, lsl #16
	sub	w25, w23, #80
	mov	x0, x20
	mov	x1, x21
	mov	x2, x25
	bl	_NVReadRAMDAC
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	sub	w27, w23, #88
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	bl	_NVReadRAMDAC
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3180
	movk	w2, #104, lsl #16
	bl	_NVReadRAMDAC
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
Lloh21:
	adrp	x8, _DCB_GPIO_TVDAC1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DCB_GPIO_TVDAC1@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	mov	w4, #1
	bl	_nvkm_gpio_set
Lloh24:
	adrp	x8, _DCB_GPIO_TVDAC0@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DCB_GPIO_TVDAC0@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	mov	w4, #1
	bl	_nvkm_gpio_set
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1343
	bl	_NVWriteRAMDAC
	ldr	w2, [x28]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1047
	bl	_NVWriteRAMDAC
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1183
	bl	_NVWriteRAMDAC
Lloh27:
	adrp	x8, _NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS@GOTPAGEOFF]
Lloh29:
	adrp	x9, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x9]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _NV_PRAMDAC_FP_TG_CONTROL_READ_PROG@GOTPAGE
Lloh37:
	ldr	x9, [x9, _NV_PRAMDAC_FP_TG_CONTROL_READ_PROG@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x20
	mov	x1, x21
	bl	_NVWriteRAMDAC
Lloh45:
	adrp	x19, _NV_PRAMDAC_TEST_CONTROL@GOTPAGE
Lloh46:
	ldr	x19, [x19, _NV_PRAMDAC_TEST_CONTROL@GOTPAGEOFF]
	ldr	w8, [x19]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	bl	_NVWriteRAMDAC
Lloh47:
	adrp	x22, _NV_PRAMDAC_DACCLK@GOTPAGE
Lloh48:
	ldr	x22, [x22, _NV_PRAMDAC_DACCLK@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w2, w8, w24
	ldr	w28, [sp, #4]                   ; 4-byte Folded Reload
	and	w23, w28, #0xffffff00
	mov	w8, #34
	orr	w3, w23, w8
	mov	x0, x20
	mov	w1, #0
	bl	_NVWriteRAMDAC
	mov	w0, #1
	bl	_msleep
	ldr	w8, [x22]
	add	w2, w8, w24
	mov	w8, #33
	orr	w3, w23, w8
	mov	x0, x20
	mov	w1, #0
	bl	_NVWriteRAMDAC
	mov	x0, x20
	mov	x1, x21
	mov	x2, x25
	mov	w3, #1048576
	bl	_NVWriteRAMDAC
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	mov	w3, #262144
	bl	_NVWriteRAMDAC
	ldr	w26, [sp, #20]                  ; 4-byte Folded Reload
	ubfx	w3, w26, #10, #10
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3180
	movk	w2, #104, lsl #16
	bl	_NVWriteRAMDAC
	mov	w0, #20
	bl	_msleep
	ldr	w8, [x19]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	bl	_NVReadRAMDAC
	and	w23, w0, #0x40000000
	and	w3, w26, #0x3ff
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3180
	movk	w2, #104, lsl #16
	bl	_NVWriteRAMDAC
	mov	w0, #20
	bl	_msleep
	ldr	w8, [x19]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	bl	_NVReadRAMDAC
	mov	w8, #-1610612736
	and	w8, w0, w8
	orr	w23, w8, w23
	mov	x0, x20
	mov	x1, x21
	mov	x2, x25
	ldr	w3, [sp, #16]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3180
	movk	w2, #104, lsl #16
	ldr	w3, [sp, #8]                    ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
	ldr	w8, [x22]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	mov	x3, x28
	bl	_NVWriteRAMDAC
	ldr	w8, [x19]
	add	w2, w8, w24
	mov	x0, x20
	mov	w1, #0
	ldr	w3, [sp, #36]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
Lloh49:
	adrp	x8, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	ldr	w3, [sp, #40]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
Lloh52:
	adrp	x8, _NV_PRAMDAC_FP_HSYNC_END@GOTPAGE
Lloh53:
	ldr	x8, [x8, _NV_PRAMDAC_FP_HSYNC_END@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
Lloh55:
	adrp	x8, _NV_PRAMDAC_FP_HSYNC_START@GOTPAGE
Lloh56:
	ldr	x8, [x8, _NV_PRAMDAC_FP_HSYNC_START@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
Lloh58:
	adrp	x8, _NV_PRAMDAC_FP_HTOTAL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _NV_PRAMDAC_FP_HTOTAL@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	ldr	w3, [sp, #52]                   ; 4-byte Folded Reload
	bl	_NVWriteRAMDAC
Lloh61:
	adrp	x8, _DCB_GPIO_TVDAC1@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DCB_GPIO_TVDAC1@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	ldr	w4, [sp, #60]                   ; 4-byte Folded Reload
	bl	_nvkm_gpio_set
Lloh64:
	adrp	x8, _DCB_GPIO_TVDAC0@GOTPAGE
Lloh65:
	ldr	x8, [x8, _DCB_GPIO_TVDAC0@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	ldr	w4, [sp, #56]                   ; 4-byte Folded Reload
	bl	_nvkm_gpio_set
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh32
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_PRAMDAC_DACCLK,4,2          ; @NV_PRAMDAC_DACCLK
	.comm	_DCB_GPIO_TVDAC1,4,2            ; @DCB_GPIO_TVDAC1
	.comm	_DCB_GPIO_TVDAC0,4,2            ; @DCB_GPIO_TVDAC0
	.comm	_NV_PRAMDAC_FP_HTOTAL,4,2       ; @NV_PRAMDAC_FP_HTOTAL
	.comm	_NV_PRAMDAC_FP_HSYNC_START,4,2  ; @NV_PRAMDAC_FP_HSYNC_START
	.comm	_NV_PRAMDAC_FP_HSYNC_END,4,2    ; @NV_PRAMDAC_FP_HSYNC_END
	.comm	_NV_PRAMDAC_FP_TG_CONTROL,4,2   ; @NV_PRAMDAC_FP_TG_CONTROL
	.comm	_NV_PRAMDAC_TEST_CONTROL,4,2    ; @NV_PRAMDAC_TEST_CONTROL
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS,4,2 ; @NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12,4,2 ; @NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_READ_PROG,4,2 ; @NV_PRAMDAC_FP_TG_CONTROL_READ_PROG
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS,4,2 ; @NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS
	.comm	_NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS,4,2 ; @NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS
	.no_dead_strip	_nv42_tv_sample_load
.subsections_via_symbols
