	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4281_trigger
_snd_cs4281_trigger:                    ## @snd_cs4281_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %r15
	callq	_snd_pcm_substream_chip
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_BA0_DMR_DMA@GOTPCREL(%rip), %rax
	movq	_BA0_DMR_POLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 8(%r15)
	movq	_BA0_DCR_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_6
LBB0_7:
	movl	20(%r15), %esi
	movq	_BA0_DMR_DMA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	notl	%edx
	andl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_snd_cs4281_pokeBA0
	movl	(%rbx), %eax
	orl	%eax, 8(%r15)
	movq	_BA0_DCR_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	jmp	LBB0_3
LBB0_9:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movq	_BA0_DCR_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_3:
	movq	_BA0_FCR_FEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
	jmp	LBB0_4
LBB0_5:
	movq	_BA0_DCR_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_6:
	movq	_BA0_FCR_FEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r15)
LBB0_4:
	movl	8(%r15), %edx
	movl	20(%r15), %esi
	movq	%r14, %rdi
	callq	_snd_cs4281_pokeBA0
	movl	4(%r15), %edx
	movl	16(%r15), %esi
	movq	%r14, %rdi
	callq	_snd_cs4281_pokeBA0
	movl	(%r15), %edx
	movl	12(%r15), %esi
	movq	%r14, %rdi
	callq	_snd_cs4281_pokeBA0
	movq	%r14, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_BA0_DCR_MSK,4,2                ## @BA0_DCR_MSK
	.comm	_BA0_FCR_FEN,4,2                ## @BA0_FCR_FEN
	.comm	_BA0_DMR_DMA,4,2                ## @BA0_DMR_DMA
	.comm	_BA0_DMR_POLL,4,2               ## @BA0_DMR_POLL
	.comm	_BA0_FCR0,4,2                   ## @BA0_FCR0
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_cs4281_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs4281_trigger
_snd_cs4281_trigger:                    ; @snd_cs4281_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	x20, x1
	ldr	x8, [x0]
	ldr	x21, [x8]
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	bl	_spin_lock
	sub	w8, w20, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _BA0_DMR_DMA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BA0_DMR_DMA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BA0_DMR_POLL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BA0_DMR_POLL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _BA0_DCR_MSK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BA0_DCR_MSK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	w10, [x21]
	orr	w9, w10, w9
	str	w9, [x21]
Lloh11:
	adrp	x9, _BA0_FCR_FEN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BA0_FCR_FEN@GOTPAGEOFF]
Lloh13:
	ldr	s0, [x9]
	mov.s	v0[1], w8
	ldur	d1, [x21, #4]
	bic.8b	v0, v1, v0
	stur	d0, [x21, #4]
	b	LBB0_8
LBB0_3:
	ldr	w1, [x21, #20]
	ldr	w8, [x21, #8]
Lloh14:
	adrp	x20, _BA0_DMR_DMA@GOTPAGE
Lloh15:
	ldr	x20, [x20, _BA0_DMR_DMA@GOTPAGEOFF]
	ldr	w9, [x20]
	bic	w2, w8, w9
	mov	x0, x19
	bl	_snd_cs4281_pokeBA0
	ldr	w8, [x20]
	ldp	w11, w9, [x21, #4]
Lloh16:
	adrp	x10, _BA0_DCR_MSK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _BA0_DCR_MSK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh18:
	ldr	w9, [x10]
	ldr	w10, [x21]
	bic	w9, w10, w9
	str	w9, [x21]
Lloh19:
	adrp	x9, _BA0_FCR_FEN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BA0_FCR_FEN@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w9, w11, w9
	stp	w9, w8, [x21, #4]
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_5:
Lloh25:
	adrp	x8, _BA0_DCR_MSK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BA0_DCR_MSK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldp	w9, w10, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
Lloh28:
	adrp	x8, _BA0_FCR_FEN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BA0_FCR_FEN@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	orr	w8, w10, w8
	b	LBB0_7
LBB0_6:
Lloh31:
	adrp	x8, _BA0_DCR_MSK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BA0_DCR_MSK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldp	w9, w10, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
Lloh34:
	adrp	x8, _BA0_FCR_FEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BA0_FCR_FEN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	bic	w8, w10, w8
LBB0_7:
	str	w8, [x21, #4]
LBB0_8:
	ldr	w1, [x21, #20]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_snd_cs4281_pokeBA0
	ldr	w1, [x21, #16]
	ldr	w2, [x21, #4]
	mov	x0, x19
	bl	_snd_cs4281_pokeBA0
	ldr	w1, [x21, #12]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_snd_cs4281_pokeBA0
	mov	x0, x19
	bl	_spin_unlock
	mov	w0, #0
LBB0_9:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_BA0_DCR_MSK,4,2                ; @BA0_DCR_MSK
	.comm	_BA0_FCR_FEN,4,2                ; @BA0_FCR_FEN
	.comm	_BA0_DMR_DMA,4,2                ; @BA0_DMR_DMA
	.comm	_BA0_DMR_POLL,4,2               ; @BA0_DMR_POLL
	.comm	_BA0_FCR0,4,2                   ; @BA0_FCR0
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_cs4281_trigger
.subsections_via_symbols
