	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme32_playback_fd_ack
_snd_rme32_playback_fd_ack:             ## @snd_rme32_playback_fd_ack
	.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
	movq	%rdi, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_RME32_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	(%rbx), %ecx
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %ecx
	jae	LBB0_2
## %bb.1:
	subl	8(%rbx), %eax
	movl	%eax, 32(%rbx)
LBB0_2:
	addq	$24, %rbx
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_snd_rme32_pb_trans_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_snd_pcm_indirect_playback_transfer
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME32_BUFFER_SIZE,4,2          ## @RME32_BUFFER_SIZE
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_snd_rme32_pb_trans_copy,4,2    ## @snd_rme32_pb_trans_copy
	.no_dead_strip	_snd_rme32_playback_fd_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme32_playback_fd_ack
_snd_rme32_playback_fd_ack:             ; @snd_rme32_playback_fd_ack
	.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	x21, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock
Lloh0:
	adrp	x8, _RME32_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RME32_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	ldr	w9, [x21]
Lloh3:
	adrp	x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_2
; %bb.1:
	ldr	w9, [x21, #8]
	sub	w8, w8, w9
	str	w8, [x21, #32]
LBB0_2:
	add	x21, x21, #24
	mov	x0, x20
	bl	_spin_unlock
Lloh6:
	adrp	x8, _snd_rme32_pb_trans_copy@GOTPAGE
Lloh7:
	ldr	x8, [x8, _snd_rme32_pb_trans_copy@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_snd_pcm_indirect_playback_transfer
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RME32_BUFFER_SIZE,4,2          ; @RME32_BUFFER_SIZE
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_snd_rme32_pb_trans_copy,4,2    ; @snd_rme32_pb_trans_copy
	.no_dead_strip	_snd_rme32_playback_fd_ack
.subsections_via_symbols
