	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv_lock_vga_crtc_shadow
_nv_lock_vga_crtc_shadow:               ## @nv_lock_vga_crtc_shadow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ecx
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testl	%edx, %edx
	jns	LBB0_2
## %bb.1:
	movq	_NV_CIO_CRE_21@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_NVReadVgaCrtc
	movl	%eax, %ecx
	orl	$250, %ecx
LBB0_2:
	movq	_NV_CIO_CRE_21@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_NVWriteVgaCrtc                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_CIO_CRE_21,4,2              ## @NV_CIO_CRE_21
	.no_dead_strip	_nv_lock_vga_crtc_shadow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv_lock_vga_crtc_shadow
_nv_lock_vga_crtc_shadow:               ; @nv_lock_vga_crtc_shadow
	.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	x3, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _NV_CIO_CRE_21@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NV_CIO_CRE_21@GOTPAGEOFF]
	tbz	w2, #31, LBB0_2
; %bb.1:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_NVReadVgaCrtc
	mov	w8, #250
	orr	w3, w0, w8
LBB0_2:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	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	_NVWriteVgaCrtc
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_CIO_CRE_21,4,2              ; @NV_CIO_CRE_21
	.no_dead_strip	_nv_lock_vga_crtc_shadow
.subsections_via_symbols
