	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7146_write_out_dma          ## -- Begin function saa7146_write_out_dma
	.p2align	4, 0x90
_saa7146_write_out_dma:                 ## @saa7146_write_out_dma
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	leal	-4(%rsi), %eax
	cmpl	$-3, %eax
	jae	LBB0_2
## %bb.1:
	retq
LBB0_2:
	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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r15
	movl	%esi, %r14d
	decl	%r14d
	leal	-8(,%rsi,8), %r13d
	leal	(%r13,%r13,2), %ebx
	movl	(%rdx), %edx
	movl	%ebx, %esi
	callq	_saa7146_write
	orl	$4, %ebx
	movl	4(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_saa7146_write
	leal	8(%r13,%r13,2), %esi
	movl	8(%r12), %edx
	movq	%r15, %rdi
	callq	_saa7146_write
	leal	12(%r13,%r13,2), %esi
	movl	12(%r12), %edx
	movq	%r15, %rdi
	callq	_saa7146_write
	leal	16(%r13,%r13,2), %esi
	movl	16(%r12), %edx
	movq	%r15, %rdi
	callq	_saa7146_write
	leal	20(%r13,%r13,2), %esi
	movl	20(%r12), %edx
	movq	%r15, %rdi
	callq	_saa7146_write
	movq	_MC2@GOTPCREL(%rip), %rax
	movq	_MASK_02@GOTPCREL(%rip), %rcx
	movq	_MASK_18@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movl	%r14d, %ecx
	shll	%cl, %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_saa7146_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC2,4,2                        ## @MC2
	.comm	_MASK_02,4,2                    ## @MASK_02
	.comm	_MASK_18,4,2                    ## @MASK_18
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7146_write_out_dma          ; -- Begin function saa7146_write_out_dma
	.p2align	2
_saa7146_write_out_dma:                 ; @saa7146_write_out_dma
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #4
	cmn	w8, #3
	b.hs	LBB0_2
; %bb.1:
	ret
LBB0_2:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
	sub	w22, w1, #1
	add	w23, w22, w22, lsl #1
	lsl	w21, w23, #3
	ldr	w2, [x2]
	mov	x1, x21
	bl	_saa7146_write
	mov	w1, #4
	bfi	w1, w23, #3, #29
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_saa7146_write
	add	w1, w21, #8
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_saa7146_write
	add	w1, w21, #12
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_saa7146_write
	add	w1, w21, #16
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_saa7146_write
	add	w1, w21, #20
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_saa7146_write
Lloh0:
	adrp	x8, _MC2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MASK_02@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MASK_02@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MASK_18@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MASK_18@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	lsl	w2, w8, w22
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_saa7146_write
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC2,4,2                        ; @MC2
	.comm	_MASK_02,4,2                    ; @MASK_02
	.comm	_MASK_18,4,2                    ; @MASK_18
.subsections_via_symbols
