	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mga_g200_emit_pipe
_mga_g200_emit_pipe:                    ## @mga_g200_emit_pipe
	.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, %r12
	movq	16(%rdi), %rax
	movl	(%rax), %r14d
	movl	$3, %edi
	callq	_BEGIN_DMA
	movq	_MGA_WIADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_MGA_WMODE_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MGA_WVRTXSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MGA_WFLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MGA_WR24@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$7, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rax
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	_MGA_WR25@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MGA_WR34@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MGA_WR42@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MGA_WR60@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$256, %esi                      ## imm = 0x100
	xorl	%ecx, %ecx
	movl	$65535, %r9d                    ## imm = 0xFFFF
	pushq	$65535                          ## imm = 0xFFFF
	pushq	%rax
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	_MGA_DMAPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %eax
	movq	(%r12), %rcx
	movq	_MGA_WMODE_START@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx,%r14,4), %ebx
	orl	8(%r12), %ebx
	movl	$-1, %esi
	movl	%edi, %edx
	movl	$-1, %ecx
	movl	%edi, %r8d
	movl	$-1, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_DMA_BLOCK
	addq	$16, %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ADVANCE_DMA                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_LOCALS,4,2                 ## @DMA_LOCALS
	.comm	_MGA_WIADDR,4,2                 ## @MGA_WIADDR
	.comm	_MGA_WMODE_SUSPEND,4,2          ## @MGA_WMODE_SUSPEND
	.comm	_MGA_WVRTXSZ,4,2                ## @MGA_WVRTXSZ
	.comm	_MGA_WFLAG,4,2                  ## @MGA_WFLAG
	.comm	_MGA_WR24,4,2                   ## @MGA_WR24
	.comm	_MGA_WR25,4,2                   ## @MGA_WR25
	.comm	_MGA_WR34,4,2                   ## @MGA_WR34
	.comm	_MGA_WR42,4,2                   ## @MGA_WR42
	.comm	_MGA_WR60,4,2                   ## @MGA_WR60
	.comm	_MGA_DMAPAD,4,2                 ## @MGA_DMAPAD
	.comm	_MGA_WMODE_START,4,2            ## @MGA_WMODE_START
	.no_dead_strip	_mga_g200_emit_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mga_g200_emit_pipe
_mga_g200_emit_pipe:                    ; @mga_g200_emit_pipe
	.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	x8, [x0, #16]
	ldr	w20, [x8]
	mov	w0, #3
	bl	_BEGIN_DMA
Lloh0:
	adrp	x21, _MGA_WIADDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MGA_WIADDR@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _MGA_WMODE_SUSPEND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MGA_WMODE_SUSPEND@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _MGA_WVRTXSZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MGA_WVRTXSZ@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _MGA_WFLAG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MGA_WFLAG@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x8, _MGA_WR24@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MGA_WR24@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	w3, #7
	mov	w5, #0
	mov	w7, #0
	bl	_DMA_BLOCK
Lloh14:
	adrp	x8, _MGA_WR25@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MGA_WR25@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _MGA_WR34@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MGA_WR34@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _MGA_WR42@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MGA_WR42@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _MGA_WR60@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MGA_WR60@GOTPAGEOFF]
Lloh25:
	ldr	w6, [x8]
	mov	w1, #256
	mov	w3, #0
	mov	w5, #65535
	mov	w7, #65535
	bl	_DMA_BLOCK
Lloh26:
	adrp	x8, _MGA_DMAPAD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MGA_DMAPAD@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w6, [x21]
	ldr	x8, [x19]
	ldr	w8, [x8, x20, lsl #2]
Lloh29:
	adrp	x9, _MGA_WMODE_START@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MGA_WMODE_START@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w7, w8, w9
	mov	w1, #-1
	mov	x2, x0
	mov	w3, #-1
	mov	x4, x0
	mov	w5, #-1
	bl	_DMA_BLOCK
	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	_ADVANCE_DMA
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_LOCALS,4,2                 ; @DMA_LOCALS
	.comm	_MGA_WIADDR,4,2                 ; @MGA_WIADDR
	.comm	_MGA_WMODE_SUSPEND,4,2          ; @MGA_WMODE_SUSPEND
	.comm	_MGA_WVRTXSZ,4,2                ; @MGA_WVRTXSZ
	.comm	_MGA_WFLAG,4,2                  ; @MGA_WFLAG
	.comm	_MGA_WR24,4,2                   ; @MGA_WR24
	.comm	_MGA_WR25,4,2                   ; @MGA_WR25
	.comm	_MGA_WR34,4,2                   ; @MGA_WR34
	.comm	_MGA_WR42,4,2                   ; @MGA_WR42
	.comm	_MGA_WR60,4,2                   ; @MGA_WR60
	.comm	_MGA_DMAPAD,4,2                 ; @MGA_DMAPAD
	.comm	_MGA_WMODE_START,4,2            ; @MGA_WMODE_START
	.no_dead_strip	_mga_g200_emit_pipe
.subsections_via_symbols
