	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ymfpci_playback_trigger
_snd_ymfpci_playback_trigger:           ## @snd_ymfpci_playback_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	%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
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	16(%r13), %rax
	movq	(%rax), %r15
	leaq	4(%r12), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	8(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	xorl	%esi, %esi
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	4(%rax), %edi
	callq	_cpu_to_le32
	movq	8(%r12), %rcx
	movq	8(%r15), %rdx
	movq	(%rdx), %rdx
	movslq	(%rdx), %rdx
	movq	%rax, 8(%rcx,%rdx,8)
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpl	$0, 16(%r15)
	jne	LBB0_6
## %bb.5:
	movl	4(%rax), %edi
	callq	_cpu_to_le32
	movq	8(%r12), %rcx
	movq	8(%r15), %rdx
	movq	8(%rdx), %rdx
	movslq	(%rdx), %rdx
	movq	%rax, 8(%rcx,%rdx,8)
LBB0_6:
	movl	$1, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %esi
	movl	%esi, %ebx
	jmp	LBB0_8
LBB0_11:
	movl	8(%r13), %ecx
	cmpl	24(%r12), %ecx
	jne	LBB0_14
## %bb.12:
	cmpl	$0, 16(%r15)
	je	LBB0_15
LBB0_14:
	xorl	%esi, %esi
	jmp	LBB0_16
LBB0_15:
	movq	16(%r12), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	_SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rsi), %rdx
	orl	%ecx, (%rdx)
LBB0_16:
	movq	%rsi, %r13
	movq	8(%r12), %rcx
	movslq	(%rax), %rax
	movq	$0, 8(%rcx,%rax,8)
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpl	$0, 16(%r15)
	jne	LBB0_19
## %bb.18:
	movq	8(%r12), %rcx
	movslq	(%rax), %rax
	movq	$0, 8(%rcx,%rax,8)
LBB0_19:
	movl	$0, (%r15)
	movq	%r14, %rdi
	callq	_spin_unlock
	xorl	%ebx, %ebx
	testq	%r13, %r13
	je	LBB0_9
## %bb.20:
	movq	%r13, %rdx
	movl	(%r12), %edi
	movq	_SNDRV_CTL_EVENT_MASK_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_snd_ctl_notify
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ## @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ## @SNDRV_CTL_EVENT_MASK_INFO
	.no_dead_strip	_snd_ymfpci_playback_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ymfpci_playback_trigger
_snd_ymfpci_playback_trigger:           ; @snd_ymfpci_playback_trigger
	.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	x21, x1
	mov	x22, x0
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x8, [x22, #16]
	ldr	x23, [x8]
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.1:
	sub	w9, w21, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	ldr	w0, [x8, #4]
	bl	_cpu_to_le32
	ldr	x8, [x20, #8]
	ldr	x9, [x23, #8]
	ldr	x9, [x9]
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #3
	str	x0, [x8, #8]
	ldr	x8, [x23, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w9, [x23, #16]
	cbnz	w9, LBB0_6
; %bb.5:
	ldr	w0, [x8, #4]
	bl	_cpu_to_le32
	ldr	x8, [x20, #8]
	ldr	x9, [x23, #8]
	ldr	x9, [x9, #8]
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #3
	str	x0, [x8, #8]
LBB0_6:
	mov	w20, #0
	mov	w8, #1
	str	w8, [x23]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock
	b	LBB0_19
LBB0_9:
	ldr	w9, [x22, #8]
	ldr	w10, [x20, #24]
	cmp	w9, w10
	b.ne	LBB0_11
; %bb.10:
	ldr	w9, [x23, #16]
	cbz	w9, LBB0_12
LBB0_11:
	mov	x21, #0
	b	LBB0_13
LBB0_12:
	ldr	x9, [x20, #16]
	ldr	x10, [x22]
	ldr	x21, [x9, x10, lsl #3]
Lloh5:
	adrp	x9, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	x10, [x21, #8]
	ldr	w11, [x10]
	orr	w9, w11, w9
	str	w9, [x10]
LBB0_13:
	ldr	x9, [x20, #8]
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #3
	str	xzr, [x8, #8]
	ldr	x8, [x23, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	w9, [x23, #16]
	cbnz	w9, LBB0_16
; %bb.15:
	ldr	x9, [x20, #8]
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #3
	str	xzr, [x8, #8]
LBB0_16:
	str	wzr, [x23]
	mov	x0, x19
	bl	_spin_unlock
	cbz	x21, LBB0_18
; %bb.17:
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_snd_ctl_notify
LBB0_18:
	mov	w20, #0
LBB0_19:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ; @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ; @SNDRV_CTL_EVENT_MASK_INFO
	.no_dead_strip	_snd_ymfpci_playback_trigger
.subsections_via_symbols
