	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_dma_update_pointers
_fsl_dma_update_pointers:               ## @fsl_dma_update_pointers
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rax
	movq	40(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	shlq	$4, %rsi
	cmpq	(%rdx), %rcx
	leaq	(%rax,%rsi), %rcx
	leaq	8(%rax,%rsi), %r14
	cmovneq	%rcx, %r14
	callq	_cpu_to_be32
	movq	%rax, (%r14)
	movq	8(%rbx), %rax
	addq	16(%rbx), %rax
	movq	%rax, 8(%rbx)
	cmpq	24(%rbx), %rax
	jl	LBB0_2
## %bb.1:
	movq	32(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_2:
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	movq	_NUM_DMA_LINKS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	cmovbq	%rax, %rdx
	movq	%rdx, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_NUM_DMA_LINKS,8,3              ## @NUM_DMA_LINKS
	.no_dead_strip	_fsl_dma_update_pointers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_dma_update_pointers
_fsl_dma_update_pointers:               ; @fsl_dma_update_pointers
	.cfi_startproc
; %bb.0:
	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	x19, x0
	ldp	x8, x20, [x0, #40]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldp	x23, x0, [x0]
	bl	_cpu_to_be32
	add	x8, x20, x23, lsl #4
	add	x9, x8, #8
	cmp	x21, x22
	csel	x8, x9, x8, eq
	str	x0, [x8]
	ldp	x9, x8, [x19, #8]
	ldr	x10, [x19, #24]
	add	x8, x9, x8
	cmp	x8, x10
	str	x8, [x19, #8]
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #32]
	str	x8, [x19, #8]
LBB0_2:
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
Lloh3:
	adrp	x10, _NUM_DMA_LINKS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NUM_DMA_LINKS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	csinc	x8, xzr, x8, hs
	str	x8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_NUM_DMA_LINKS,8,3              ; @NUM_DMA_LINKS
	.no_dead_strip	_fsl_dma_update_pointers
.subsections_via_symbols
