	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mga_dma_dispatch_iload
_mga_dma_dispatch_iload:                ## @mga_dma_dispatch_iload
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	32(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r14d
	orl	(%rsi), %r14d
	movq	_MGA_SRCMAP_SYSMEM@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	24(%rsi), %esi
	movq	8(%r13), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	shrl	$6, %r12d
	movl	$5, %edi
	callq	_BEGIN_DMA
	movq	_MGA_DMAPAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MGA_DWGSYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%esi, %esi
	movq	%rdi, %rdx
	xorl	%ecx, %ecx
	movl	$28928, %r9d                    ## imm = 0x7100
	pushq	$28672                          ## imm = 0x7000
	pushq	%r8
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	_MGA_DSTORG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MGA_MACCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_MGA_SRCORG@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_MGA_AR5@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movl	%r14d, %r9d
	pushq	$64
	pushq	(%rax)
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	_MGA_PITCH@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_MGA_PLNWT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_MGA_DMAPAD@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_MGA_DWGCTL@GOTPCREL(%rip), %r10
	movq	_MGA_DWGCTL_COPY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	$64, %esi
	movl	$-1, %ecx
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	(%r10)
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	_MGA_AR0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MGA_AR3@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_MGA_FXBNDRY@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_MGA_YDSTLEN@GOTPCREL(%rip), %rsi
	movq	_MGA_EXEC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	addq	(%rsi), %rax
	movl	$63, %esi
	xorl	%ecx, %ecx
	movl	$4128768, %r9d                  ## imm = 0x3F0000
	pushq	%r12
	pushq	%rax
	callq	_DMA_BLOCK
	addq	$16, %rsp
	movq	(%rbx), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_MGA_SRCORG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%r14), %r8
	movl	4(%r15), %ecx
	movl	8(%r15), %r9d
	pushq	$28672                          ## imm = 0x7000
	movq	_MGA_DWGSYNC@GOTPCREL(%rip), %rax
	pushq	(%rax)
	callq	_DMA_BLOCK
	addq	$16, %rsp
	xorl	%eax, %eax
	callq	_ADVANCE_DMA
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_AGE_BUFFER
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r13)
	movq	$0, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_mga_freelist_put
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FLUSH_DMA                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MGA_SRCMAP_SYSMEM,4,2          ## @MGA_SRCMAP_SYSMEM
	.comm	_DMA_LOCALS,4,2                 ## @DMA_LOCALS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buf=%d used=%d\n"

	.comm	_MGA_DMAPAD,8,3                 ## @MGA_DMAPAD
	.comm	_MGA_DWGSYNC,8,3                ## @MGA_DWGSYNC
	.comm	_MGA_DSTORG,8,3                 ## @MGA_DSTORG
	.comm	_MGA_MACCESS,8,3                ## @MGA_MACCESS
	.comm	_MGA_SRCORG,8,3                 ## @MGA_SRCORG
	.comm	_MGA_AR5,8,3                    ## @MGA_AR5
	.comm	_MGA_PITCH,8,3                  ## @MGA_PITCH
	.comm	_MGA_PLNWT,8,3                  ## @MGA_PLNWT
	.comm	_MGA_DWGCTL,8,3                 ## @MGA_DWGCTL
	.comm	_MGA_DWGCTL_COPY,4,2            ## @MGA_DWGCTL_COPY
	.comm	_MGA_AR0,8,3                    ## @MGA_AR0
	.comm	_MGA_AR3,8,3                    ## @MGA_AR3
	.comm	_MGA_FXBNDRY,8,3                ## @MGA_FXBNDRY
	.comm	_MGA_YDSTLEN,8,3                ## @MGA_YDSTLEN
	.comm	_MGA_EXEC,8,3                   ## @MGA_EXEC
	.no_dead_strip	_mga_dma_dispatch_iload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mga_dma_dispatch_iload
_mga_dma_dispatch_iload:                ; @mga_dma_dispatch_iload
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x25, [x0]
	ldr	x21, [x1, #32]
	ldr	x26, [x25, #16]
	ldr	w8, [x1]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh0:
	adrp	x9, _MGA_SRCMAP_SYSMEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MGA_SRCMAP_SYSMEM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w24, w8, w9
	ldr	w1, [x1, #24]
	ldr	x2, [x19, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	lsr	w22, w22, #6
	mov	w0, #5
	bl	_BEGIN_DMA
Lloh5:
	adrp	x27, _MGA_DMAPAD@GOTPAGE
Lloh6:
	ldr	x27, [x27, _MGA_DMAPAD@GOTPAGEOFF]
	ldr	x0, [x27]
Lloh7:
	adrp	x8, _MGA_DWGSYNC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MGA_DWGSYNC@GOTPAGEOFF]
Lloh9:
	ldr	x4, [x8]
	mov	w1, #0
	mov	x2, x0
	mov	w3, #0
	mov	w5, #28928
	mov	x6, x4
	mov	w7, #28672
	bl	_DMA_BLOCK
Lloh10:
	adrp	x8, _MGA_DSTORG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MGA_DSTORG@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _MGA_MACCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MGA_MACCESS@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
Lloh16:
	adrp	x28, _MGA_SRCORG@GOTPAGE
Lloh17:
	ldr	x28, [x28, _MGA_SRCORG@GOTPAGEOFF]
	ldr	x4, [x28]
Lloh18:
	adrp	x8, _MGA_AR5@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MGA_AR5@GOTPAGEOFF]
Lloh20:
	ldr	x6, [x8]
	mov	x1, x23
	mov	w3, #0
	mov	x5, x24
	mov	w7, #64
	bl	_DMA_BLOCK
Lloh21:
	adrp	x23, _MGA_PITCH@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MGA_PITCH@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh23:
	adrp	x24, _MGA_PLNWT@GOTPAGE
Lloh24:
	ldr	x24, [x24, _MGA_PLNWT@GOTPAGEOFF]
	ldr	x2, [x24]
	ldr	x4, [x27]
Lloh25:
	adrp	x8, _MGA_DWGCTL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MGA_DWGCTL@GOTPAGEOFF]
Lloh27:
	ldr	x6, [x8]
Lloh28:
	adrp	x8, _MGA_DWGCTL_COPY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MGA_DWGCTL_COPY@GOTPAGEOFF]
Lloh30:
	ldr	w7, [x8]
	mov	w1, #64
	mov	w3, #-1
	mov	w5, #0
	bl	_DMA_BLOCK
Lloh31:
	adrp	x8, _MGA_AR0@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MGA_AR0@GOTPAGEOFF]
Lloh33:
	adrp	x9, _MGA_AR3@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MGA_AR3@GOTPAGEOFF]
Lloh35:
	ldr	x0, [x8]
Lloh36:
	ldr	x2, [x9]
Lloh37:
	adrp	x8, _MGA_FXBNDRY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MGA_FXBNDRY@GOTPAGEOFF]
Lloh39:
	adrp	x9, _MGA_YDSTLEN@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MGA_YDSTLEN@GOTPAGEOFF]
Lloh41:
	ldr	x4, [x8]
Lloh42:
	ldr	x8, [x9]
Lloh43:
	adrp	x9, _MGA_EXEC@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MGA_EXEC@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	add	x6, x9, x8
	mov	w1, #63
	mov	w3, #0
	mov	w5, #4128768
	mov	x7, x22
	bl	_DMA_BLOCK
	ldr	x0, [x24]
	ldr	w1, [x26]
	ldr	x2, [x28]
	ldr	x4, [x23]
	ldp	w3, w5, [x25, #4]
Lloh46:
	adrp	x8, _MGA_DWGSYNC@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MGA_DWGSYNC@GOTPAGEOFF]
Lloh48:
	ldr	x6, [x8]
	mov	w7, #28672
	bl	_DMA_BLOCK
	bl	_ADVANCE_DMA
	mov	x0, x21
	bl	_AGE_BUFFER
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_mga_freelist_put
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_FLUSH_DMA
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh41
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MGA_SRCMAP_SYSMEM,4,2          ; @MGA_SRCMAP_SYSMEM
	.comm	_DMA_LOCALS,4,2                 ; @DMA_LOCALS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buf=%d used=%d\n"

	.comm	_MGA_DMAPAD,8,3                 ; @MGA_DMAPAD
	.comm	_MGA_DWGSYNC,8,3                ; @MGA_DWGSYNC
	.comm	_MGA_DSTORG,8,3                 ; @MGA_DSTORG
	.comm	_MGA_MACCESS,8,3                ; @MGA_MACCESS
	.comm	_MGA_SRCORG,8,3                 ; @MGA_SRCORG
	.comm	_MGA_AR5,8,3                    ; @MGA_AR5
	.comm	_MGA_PITCH,8,3                  ; @MGA_PITCH
	.comm	_MGA_PLNWT,8,3                  ; @MGA_PLNWT
	.comm	_MGA_DWGCTL,8,3                 ; @MGA_DWGCTL
	.comm	_MGA_DWGCTL_COPY,4,2            ; @MGA_DWGCTL_COPY
	.comm	_MGA_AR0,8,3                    ; @MGA_AR0
	.comm	_MGA_AR3,8,3                    ; @MGA_AR3
	.comm	_MGA_FXBNDRY,8,3                ; @MGA_FXBNDRY
	.comm	_MGA_YDSTLEN,8,3                ; @MGA_YDSTLEN
	.comm	_MGA_EXEC,8,3                   ; @MGA_EXEC
	.no_dead_strip	_mga_dma_dispatch_iload
.subsections_via_symbols
