	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6000_pcm_trigger
_s6000_pcm_trigger:                     ## @s6000_pcm_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, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	xorl	%edx, %edx
	callq	*(%r15)
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	leal	-128(%r14), %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.2:
	movl	$28, %ecx
	movq	%rbx, %rdi
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.3:
	callq	_s6000_pcm_start
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_7
LBB0_4:
	callq	_s6000_pcm_stop
	testl	%eax, %eax
	js	LBB0_7
LBB0_8:
	movq	(%r15), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%eax, %eax
	jns	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_s6000_pcm_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6000_pcm_trigger
_s6000_pcm_trigger:                     ; @s6000_pcm_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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	ldr	x8, [x21]
	mov	w2, #0
	blr	x8
	tbnz	w0, #31, LBB0_7
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.2:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	x0, x20
	tst	w8, #0x1c
	b.eq	LBB0_4
; %bb.3:
	bl	_s6000_pcm_start
	tbz	w0, #31, LBB0_5
	b	LBB0_7
LBB0_4:
	bl	_s6000_pcm_stop
	tbnz	w0, #31, LBB0_7
LBB0_5:
	ldr	x3, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	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
	br	x3
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	tbz	w0, #31, LBB0_5
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
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_s6000_pcm_trigger
.subsections_via_symbols
