	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function a10codec_dmaconfig
LCPI0_0:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_a10codec_dmaconfig:                    ## @a10codec_dmaconfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [16,16,4,4]
	movaps	%xmm0, -48(%rbp)
	movq	(%rbx), %rax
	movq	_PCMDIR_PLAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, -32(%rbp)
	movq	(%r14), %rax
	leaq	4(%rax), %rcx
	jmp	LBB0_3
LBB0_2:
	movl	$1, -28(%rbp)
	movq	(%r14), %rcx
	leaq	4(%rcx), %rax
LBB0_3:
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	%ecx, -24(%rbp)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	leaq	-48(%rbp), %rdx
	callq	_SUNXI_DMA_SET_CONFIG
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCMDIR_PLAY,8,3                ## @PCMDIR_PLAY
	.no_dead_strip	_a10codec_dmaconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function a10codec_dmaconfig
lCPI0_0:
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_a10codec_dmaconfig:                    ; @a10codec_dmaconfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PCMDIR_PLAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PCMDIR_PLAY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #16]
	ldr	x8, [x20]
	add	x9, x8, #4
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [sp, #20]
	ldr	x9, [x20]
	add	x8, x9, #4
LBB0_3:
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w9, w8, [sp, #24]
	ldp	w1, w0, [x19, #8]
	mov	x2, sp
	bl	_SUNXI_DMA_SET_CONFIG
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCMDIR_PLAY,8,3                ; @PCMDIR_PLAY
	.no_dead_strip	_a10codec_dmaconfig
.subsections_via_symbols
