	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_dfp_disable               ## -- Begin function nv04_dfp_disable
	.p2align	4, 0x90
_nv04_dfp_disable:                      ## @nv04_dfp_disable
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_nv04_display
	movq	(%rax), %r15
	movq	_NV_PRAMDAC_FP_TG_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_NVReadRAMDAC
	movq	_FP_TG_CONTROL_ON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edx
	movq	_FP_TG_CONTROL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_NVWriteRAMDAC
	movl	$50, %edi
	callq	_msleep
LBB0_2:
	movq	_FP_TG_CONTROL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%r14d, %rcx
	shlq	$4, %rcx
	movl	%eax, 8(%r15,%rcx)
	movq	_NV_CIO_CRE_LCD_ROUTE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r15,%rcx), %rcx
	movq	_NV_CIO_CRE_LCD__INDEX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	%eax, (%rcx,%rdx,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_PRAMDAC_FP_TG_CONTROL,4,2   ## @NV_PRAMDAC_FP_TG_CONTROL
	.comm	_FP_TG_CONTROL_ON,4,2           ## @FP_TG_CONTROL_ON
	.comm	_FP_TG_CONTROL_OFF,4,2          ## @FP_TG_CONTROL_OFF
	.comm	_NV_CIO_CRE_LCD_ROUTE_MASK,4,2  ## @NV_CIO_CRE_LCD_ROUTE_MASK
	.comm	_NV_CIO_CRE_LCD__INDEX,8,3      ## @NV_CIO_CRE_LCD__INDEX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_dfp_disable               ; -- Begin function nv04_dfp_disable
	.p2align	2
_nv04_dfp_disable:                      ; @nv04_dfp_disable
	.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	x19, x1
	mov	x20, x0
	bl	_nv04_display
	ldr	x21, [x0]
Lloh0:
	adrp	x23, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NV_PRAMDAC_FP_TG_CONTROL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_NVReadRAMDAC
Lloh2:
	adrp	x8, _FP_TG_CONTROL_ON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FP_TG_CONTROL_ON@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x22, _FP_TG_CONTROL_OFF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FP_TG_CONTROL_OFF@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [x23]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_NVWriteRAMDAC
	mov	w0, #50
	bl	_msleep
LBB0_2:
	ldr	w8, [x22]
	add	x9, x21, w19, sxtw #4
Lloh7:
	adrp	x10, _NV_CIO_CRE_LCD_ROUTE_MASK@GOTPAGE
Lloh8:
	ldr	x10, [x10, _NV_CIO_CRE_LCD_ROUTE_MASK@GOTPAGEOFF]
	str	w8, [x9, #8]
Lloh9:
	ldr	w8, [x10]
	ldr	x9, [x9]
Lloh10:
	adrp	x10, _NV_CIO_CRE_LCD__INDEX@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NV_CIO_CRE_LCD__INDEX@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_PRAMDAC_FP_TG_CONTROL,4,2   ; @NV_PRAMDAC_FP_TG_CONTROL
	.comm	_FP_TG_CONTROL_ON,4,2           ; @FP_TG_CONTROL_ON
	.comm	_FP_TG_CONTROL_OFF,4,2          ; @FP_TG_CONTROL_OFF
	.comm	_NV_CIO_CRE_LCD_ROUTE_MASK,4,2  ; @NV_CIO_CRE_LCD_ROUTE_MASK
	.comm	_NV_CIO_CRE_LCD__INDEX,8,3      ; @NV_CIO_CRE_LCD__INDEX
.subsections_via_symbols
