	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mixart_trigger
_snd_mixart_trigger:                    ## @snd_mixart_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_5
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mixart_set_stream_state
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_snd_printdd
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mixart_set_stream_state
	testl	%eax, %eax
	je	LBB0_13
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_6:
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_MIXART_STREAM_STATUS_RUNNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_9
LBB0_8:
	movq	_MIXART_STREAM_STATUS_PAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	leaq	L_.str.2(%rip), %rdi
LBB0_9:
	callq	_snd_printdd
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	_MIXART_STREAM_STATUS_OPEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	leaq	L_.str.1(%rip), %rdi
	callq	_snd_printdd
	jmp	LBB0_11
LBB0_13:
	movq	_MIXART_STREAM_STATUS_RUNNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SNDRV_PCM_TRIGGER_START\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MIXART_STREAM_STATUS_RUNNING,8,3 ## @MIXART_STREAM_STATUS_RUNNING
	.comm	_MIXART_STREAM_STATUS_OPEN,8,3  ## @MIXART_STREAM_STATUS_OPEN
L_.str.1:                               ## @.str.1
	.asciz	"SNDRV_PCM_TRIGGER_STOP\n"

	.comm	_MIXART_STREAM_STATUS_PAUSE,8,3 ## @MIXART_STREAM_STATUS_PAUSE
L_.str.2:                               ## @.str.2
	.asciz	"SNDRV_PCM_PAUSE_PUSH\n"

L_.str.3:                               ## @.str.3
	.asciz	"SNDRV_PCM_PAUSE_RELEASE\n"

	.no_dead_strip	_snd_mixart_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_mixart_trigger
_snd_mixart_trigger:                    ; @snd_mixart_trigger
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.1:
	ldr	x9, [x0]
	ldr	x19, [x9]
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:
	mov	x0, x19
	mov	w1, #0
	bl	_mixart_set_stream_state
	cbnz	w0, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _MIXART_STREAM_STATUS_OPEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MIXART_STREAM_STATUS_OPEN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	mov	x0, x19
	mov	w1, #1
	bl	_mixart_set_stream_state
	cbz	w0, LBB0_10
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _MIXART_STREAM_STATUS_RUNNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MIXART_STREAM_STATUS_RUNNING@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _MIXART_STREAM_STATUS_PAUSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MIXART_STREAM_STATUS_PAUSE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_snd_printdd
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh22:
	adrp	x8, _MIXART_STREAM_STATUS_RUNNING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MIXART_STREAM_STATUS_RUNNING@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SNDRV_PCM_TRIGGER_START\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MIXART_STREAM_STATUS_RUNNING,8,3 ; @MIXART_STREAM_STATUS_RUNNING
	.comm	_MIXART_STREAM_STATUS_OPEN,8,3  ; @MIXART_STREAM_STATUS_OPEN
l_.str.1:                               ; @.str.1
	.asciz	"SNDRV_PCM_TRIGGER_STOP\n"

	.comm	_MIXART_STREAM_STATUS_PAUSE,8,3 ; @MIXART_STREAM_STATUS_PAUSE
l_.str.2:                               ; @.str.2
	.asciz	"SNDRV_PCM_PAUSE_PUSH\n"

l_.str.3:                               ; @.str.3
	.asciz	"SNDRV_PCM_PAUSE_RELEASE\n"

	.no_dead_strip	_snd_mixart_trigger
.subsections_via_symbols
