	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1938_playback2_setdma
_snd_es1938_playback2_setdma:           ## @snd_es1938_playback2_setdma
	.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, %r15
	movq	_DMACOMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SLDM_REG
	movl	$196, %edi
	movl	%eax, %esi
	callq	_outb
	movq	_DMACLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_outb
	movq	_DMAMASK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	movl	$1, %edi
	movl	%eax, %esi
	callq	_outb
	movq	_DMAMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	movl	$24, %edi
	movl	%eax, %esi
	callq	_outb
	movl	8(%r15), %r14d
	movq	_DMAADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_outl
	movq	(%r15), %rbx
	decq	%rbx
	movq	_DMACOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_outw
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_SLDM_REG
	xorl	%edi, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMACOMMAND,4,2                 ## @DMACOMMAND
	.comm	_DMACLEAR,4,2                   ## @DMACLEAR
	.comm	_DMAMASK,4,2                    ## @DMAMASK
	.comm	_DMAMODE,4,2                    ## @DMAMODE
	.comm	_DMAADDR,4,2                    ## @DMAADDR
	.comm	_DMACOUNT,4,2                   ## @DMACOUNT
	.no_dead_strip	_snd_es1938_playback2_setdma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1938_playback2_setdma
_snd_es1938_playback2_setdma:           ; @snd_es1938_playback2_setdma
	.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
Lloh0:
	adrp	x8, _DMACOMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMACOMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SLDM_REG
	mov	x1, x0
	mov	w0, #196
	bl	_outb
Lloh3:
	adrp	x8, _DMACLEAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMACLEAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	w0, #0
	bl	_outb
Lloh6:
	adrp	x21, _DMAMASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _DMAMASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	w0, #1
	bl	_outb
Lloh8:
	adrp	x8, _DMAMODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMAMODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	w0, #24
	bl	_outb
	ldr	w20, [x19, #8]
Lloh11:
	adrp	x8, _DMAADDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DMAADDR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	x0, x20
	bl	_outl
	ldr	x8, [x19]
	sub	x20, x8, #1
Lloh14:
	adrp	x8, _DMACOUNT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DMACOUNT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	x0, x20
	bl	_outw
	ldr	w1, [x21]
	mov	x0, x19
	bl	_SLDM_REG
	mov	x1, x0
	mov	w0, #0
	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	_outb
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMACOMMAND,4,2                 ; @DMACOMMAND
	.comm	_DMACLEAR,4,2                   ; @DMACLEAR
	.comm	_DMAMASK,4,2                    ; @DMAMASK
	.comm	_DMAMODE,4,2                    ; @DMAMODE
	.comm	_DMAADDR,4,2                    ; @DMAADDR
	.comm	_DMACOUNT,4,2                   ; @DMACOUNT
	.no_dead_strip	_snd_es1938_playback2_setdma
.subsections_via_symbols
