	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsi_dai_trigger
_fsi_dai_trigger:                       ## @fsi_dai_trigger
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_fsi_get
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	sete	%al
	jne	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	cmpl	$128, %r12d
	je	LBB0_5
## %bb.3:
	cmpl	$129, %r12d
	jne	LBB0_6
## %bb.4:
	movq	8(%r15), %rbx
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_frames_to_bytes
	movl	%eax, %r12d
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_frames_to_bytes
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_fsi_stream_push
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fsi_data_push                  ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movb	%al, %sil
	movq	%r14, %rdi
	callq	_fsi_irq_disable
	movq	%r14, %rdi
	callq	_fsi_stream_pop
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_fsi_dai_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsi_dai_trigger
_fsi_dai_trigger:                       ; @fsi_dai_trigger
	.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	x21, x1
	mov	x20, x0
	bl	_fsi_get
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w1, eq
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	cmp	w21, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #129
	b.ne	LBB0_6
; %bb.3:
	ldr	x21, [x20, #8]
	ldr	w1, [x21, #4]
	mov	x0, x21
	bl	_frames_to_bytes
	mov	x22, x0
	ldr	w1, [x21]
	mov	x0, x21
	bl	_frames_to_bytes
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_fsi_stream_push
	mov	x0, x19
	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	_fsi_data_push
LBB0_4:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_fsi_irq_disable
	mov	x0, x19
	bl	_fsi_stream_pop
LBB0_6:
	mov	w0, #0
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_fsi_dai_trigger
.subsections_via_symbols
