	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_fx8010_playback_pointer
_snd_emu10k1_fx8010_playback_pointer:   ## @snd_emu10k1_fx8010_playback_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	%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	%rdi, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movq	(%r14), %rax
	leaq	(%rax,%rax,2), %r13
	movq	16(%r12,%r13,8), %rsi
	addq	(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_snd_emu10k1_ptr_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	(%r12,%r13,8), %r15
	movq	8(%r12,%r13,8), %rsi
	addq	(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_snd_emu10k1_ptr_read
	shll	$2, %eax
	movslq	%eax, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_pcm_indirect_playback_pointer ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_emu10k1_fx8010_playback_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu10k1_fx8010_playback_pointer
_snd_emu10k1_fx8010_playback_pointer:   ; @snd_emu10k1_fx8010_playback_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
	mov	x19, x0
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x21, [x19]
	ldp	x8, x22, [x0]
	mov	w9, #24
	madd	x9, x21, x9, x22
	ldr	x9, [x9, #16]
	add	x1, x9, x8
	mov	w2, #0
	bl	_snd_emu10k1_ptr_read
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	mov	w9, #24
	madd	x21, x21, x9, x22
	ldr	x9, [x21, #8]
	add	x1, x9, x8
	mov	x0, x20
	mov	w2, #0
	bl	_snd_emu10k1_ptr_read
	lsl	w8, w0, #2
	sxtw	x2, w8
	mov	x0, x19
	mov	x1, x21
	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	_snd_pcm_indirect_playback_pointer
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_emu10k1_fx8010_playback_pointer
.subsections_via_symbols
