	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1938_playback2_pointer
_snd_es1938_playback2_pointer:          ## @snd_es1938_playback2_pointer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_snd_pcm_substream_chip
	movq	%rax, %r14
	movq	_DMACOUNT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_SLDM_REG
	movl	%eax, %edi
	callq	_inw
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_SLDM_REG
	movl	%eax, %edi
	callq	_inw
	cmpq	%rbx, %rax
	jne	LBB0_1
## %bb.2:
	movslq	(%r14), %rax
	notq	%rbx
	addq	%rax, %rbx
	movb	16(%r14), %cl
	shrq	%cl, %rbx
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMACOUNT,4,2                   ## @DMACOUNT
	.comm	_DMAADDR,4,2                    ## @DMAADDR
	.no_dead_strip	_snd_es1938_playback2_pointer
.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_pointer
_snd_es1938_playback2_pointer:          ; @snd_es1938_playback2_pointer
	.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
	bl	_snd_pcm_substream_chip
	mov	x19, x0
Lloh0:
	adrp	x20, _DMACOUNT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DMACOUNT@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_SLDM_REG
	bl	_inw
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_SLDM_REG
	bl	_inw
	cmp	x0, x21
	b.ne	LBB0_1
; %bb.2:
	ldrsw	x8, [x19]
	mvn	x9, x21
	add	x8, x9, x8
	ldr	x9, [x19, #16]
	lsr	x0, x8, x9
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMACOUNT,4,2                   ; @DMACOUNT
	.comm	_DMAADDR,4,2                    ; @DMAADDR
	.no_dead_strip	_snd_es1938_playback2_pointer
.subsections_via_symbols
