	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v10_0_set_vga_render_state
_dce_v10_0_set_vga_render_state:        ## @dce_v10_0_set_vga_render_state
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_mmVGA_HDP_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	setne	%bl
	sete	%cl
	movq	_VGA_HDP_CONTROL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_VGA_MEMORY_DISABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %edi
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmVGA_RENDER_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	movq	_VGA_RENDER_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_VGA_VSTATUS_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmVGA_HDP_CONTROL,4,2          ## @mmVGA_HDP_CONTROL
	.comm	_VGA_HDP_CONTROL,4,2            ## @VGA_HDP_CONTROL
	.comm	_VGA_MEMORY_DISABLE,4,2         ## @VGA_MEMORY_DISABLE
	.comm	_mmVGA_RENDER_CONTROL,4,2       ## @mmVGA_RENDER_CONTROL
	.comm	_VGA_RENDER_CONTROL,4,2         ## @VGA_RENDER_CONTROL
	.comm	_VGA_VSTATUS_CNTL,4,2           ## @VGA_VSTATUS_CNTL
	.no_dead_strip	_dce_v10_0_set_vga_render_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v10_0_set_vga_render_state
_dce_v10_0_set_vga_render_state:        ; @dce_v10_0_set_vga_render_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _mmVGA_HDP_CONTROL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mmVGA_HDP_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	cmp	w19, #0
	cset	w19, ne
	cset	w3, eq
Lloh2:
	adrp	x8, _VGA_HDP_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VGA_HDP_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _VGA_MEMORY_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VGA_MEMORY_DISABLE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	w0, [x20]
	bl	_WREG32
Lloh8:
	adrp	x20, _mmVGA_RENDER_CONTROL@GOTPAGE
Lloh9:
	ldr	x20, [x20, _mmVGA_RENDER_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh10:
	adrp	x8, _VGA_RENDER_CONTROL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VGA_RENDER_CONTROL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _VGA_VSTATUS_CNTL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VGA_VSTATUS_CNTL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mmVGA_HDP_CONTROL,4,2          ; @mmVGA_HDP_CONTROL
	.comm	_VGA_HDP_CONTROL,4,2            ; @VGA_HDP_CONTROL
	.comm	_VGA_MEMORY_DISABLE,4,2         ; @VGA_MEMORY_DISABLE
	.comm	_mmVGA_RENDER_CONTROL,4,2       ; @mmVGA_RENDER_CONTROL
	.comm	_VGA_RENDER_CONTROL,4,2         ; @VGA_RENDER_CONTROL
	.comm	_VGA_VSTATUS_CNTL,4,2           ; @VGA_VSTATUS_CNTL
	.no_dead_strip	_dce_v10_0_set_vga_render_state
.subsections_via_symbols
