	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mga_g200wb_commit
_mga_g200wb_commit:                     ## @mga_g200wb_commit
	.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	_MGAREG_CRTCEXT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_WREG8
	movq	_MGAREG_CRTCEXT_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG8
	movl	(%rbx), %edi
	orl	$136, %eax
	movl	%eax, %esi
	callq	_WREG8
	movq	_DAC_INDEX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_MGA1064_REMHEADCTL2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_WREG8
	movq	_DAC_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG8
	movl	%eax, %ebx
	movl	%eax, %esi
	orl	$8, %esi
	movl	(%r15), %edi
	callq	_WREG8
	movl	$10, %edi
	callq	_udelay
	andl	$-9, %ebx
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_WREG8
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_WREG8
	movl	(%r14), %edi
	movq	_MGA1064_SPAREREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WREG8
	movl	(%r15), %edi
	callq	_RREG8
	andl	$-129, %eax
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_WREG8
	movl	(%r14), %edi
	movq	_MGA1064_GEN_IO_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_WREG8
	movl	(%r15), %edi
	callq	_RREG8
	andl	$-17, %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG_DAC                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MGAREG_CRTCEXT_INDEX,4,2       ## @MGAREG_CRTCEXT_INDEX
	.comm	_MGAREG_CRTCEXT_DATA,4,2        ## @MGAREG_CRTCEXT_DATA
	.comm	_DAC_INDEX,4,2                  ## @DAC_INDEX
	.comm	_MGA1064_REMHEADCTL2,4,2        ## @MGA1064_REMHEADCTL2
	.comm	_DAC_DATA,4,2                   ## @DAC_DATA
	.comm	_MGA1064_SPAREREG,4,2           ## @MGA1064_SPAREREG
	.comm	_MGA1064_GEN_IO_DATA,4,2        ## @MGA1064_GEN_IO_DATA
	.no_dead_strip	_mga_g200wb_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mga_g200wb_commit
_mga_g200wb_commit:                     ; @mga_g200wb_commit
	.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
Lloh0:
	adrp	x8, _MGAREG_CRTCEXT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MGAREG_CRTCEXT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_WREG8
Lloh3:
	adrp	x19, _MGAREG_CRTCEXT_DATA@GOTPAGE
Lloh4:
	ldr	x19, [x19, _MGAREG_CRTCEXT_DATA@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG8
	ldr	w8, [x19]
	mov	w9, #136
	orr	w1, w0, w9
	mov	x0, x8
	bl	_WREG8
Lloh5:
	adrp	x20, _DAC_INDEX@GOTPAGE
Lloh6:
	ldr	x20, [x20, _DAC_INDEX@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	adrp	x22, _MGA1064_REMHEADCTL2@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MGA1064_REMHEADCTL2@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_WREG8
Lloh9:
	adrp	x21, _DAC_DATA@GOTPAGE
Lloh10:
	ldr	x21, [x21, _DAC_DATA@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG8
	mov	x19, x0
	orr	w1, w0, #0x8
	ldr	w0, [x21]
	bl	_WREG8
	mov	w0, #10
	bl	_udelay
	and	w19, w19, #0xfffffff7
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_WREG8
	ldr	w0, [x21]
	mov	x1, x19
	bl	_WREG8
	ldr	w0, [x20]
Lloh11:
	adrp	x8, _MGA1064_SPAREREG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MGA1064_SPAREREG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_WREG8
	ldr	w0, [x21]
	bl	_RREG8
	and	w1, w0, #0xffffff7f
	ldr	w0, [x21]
	bl	_WREG8
	ldr	w0, [x20]
Lloh14:
	adrp	x19, _MGA1064_GEN_IO_DATA@GOTPAGE
Lloh15:
	ldr	x19, [x19, _MGA1064_GEN_IO_DATA@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_WREG8
	ldr	w0, [x21]
	bl	_RREG8
	and	w1, w0, #0xffffffef
	ldr	w0, [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	_WREG_DAC
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MGAREG_CRTCEXT_INDEX,4,2       ; @MGAREG_CRTCEXT_INDEX
	.comm	_MGAREG_CRTCEXT_DATA,4,2        ; @MGAREG_CRTCEXT_DATA
	.comm	_DAC_INDEX,4,2                  ; @DAC_INDEX
	.comm	_MGA1064_REMHEADCTL2,4,2        ; @MGA1064_REMHEADCTL2
	.comm	_DAC_DATA,4,2                   ; @DAC_DATA
	.comm	_MGA1064_SPAREREG,4,2           ; @MGA1064_SPAREREG
	.comm	_MGA1064_GEN_IO_DATA,4,2        ; @MGA1064_GEN_IO_DATA
	.no_dead_strip	_mga_g200wb_commit
.subsections_via_symbols
