	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv17_tv_update_rescaler        ## -- Begin function nv17_tv_update_rescaler
	.p2align	4, 0x90
_nv17_tv_update_rescaler:               ## @nv17_tv_update_rescaler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	callq	_to_tv_enc
	movq	%rax, %rbx
	leaq	4(%rax), %r12
	movl	(%rax), %edi
	callq	_calc_overscan
	shll	$8, %eax
	orl	$64, %eax
	movl	%eax, 4(%rbx)
	movq	%r15, %rdi
	callq	_tv_setup_filter
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$208, %edx
	callq	_nv_load_ptv
	movq	_NV_PTV_HFILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	callq	_tv_load_filter
	movq	_NV_PTV_HFILTER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	callq	_tv_load_filter
	movq	_NV_PTV_VFILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tv_load_filter                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_PTV_HFILTER,4,2             ## @NV_PTV_HFILTER
	.comm	_NV_PTV_HFILTER2,4,2            ## @NV_PTV_HFILTER2
	.comm	_NV_PTV_VFILTER,4,2             ## @NV_PTV_VFILTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv17_tv_update_rescaler        ; -- Begin function nv17_tv_update_rescaler
	.p2align	2
_nv17_tv_update_rescaler:               ; @nv17_tv_update_rescaler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x20, [x0]
	bl	_to_tv_enc
	mov	x21, x0
	ldr	w0, [x0]
	bl	_calc_overscan
	mov	w8, #64
	bfi	w8, w0, #8, #24
	str	w8, [x21, #4]!
	mov	x0, x19
	bl	_tv_setup_filter
	mov	x0, x20
	mov	x1, x21
	mov	w2, #208
	bl	_nv_load_ptv
Lloh0:
	adrp	x8, _NV_PTV_HFILTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV_PTV_HFILTER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21, #12]
	mov	x0, x20
	bl	_tv_load_filter
Lloh3:
	adrp	x8, _NV_PTV_HFILTER2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NV_PTV_HFILTER2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	mov	x0, x20
	bl	_tv_load_filter
Lloh6:
	adrp	x8, _NV_PTV_VFILTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NV_PTV_VFILTER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tv_load_filter
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_PTV_HFILTER,4,2             ; @NV_PTV_HFILTER
	.comm	_NV_PTV_HFILTER2,4,2            ; @NV_PTV_HFILTER2
	.comm	_NV_PTV_VFILTER,4,2             ; @NV_PTV_VFILTER
.subsections_via_symbols
