	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6000_i2s_trigger
_s6000_i2s_trigger:                     ## @s6000_i2s_trigger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_6
## %bb.1:
	movl	$28, %eax
	btl	%esi, %eax
	jae	LBB0_4
## %bb.2:
	movl	(%rdi), %eax
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%al
	testl	%edx, %edx
	sete	%cl
	cmpb	%al, %cl
	je	LBB0_6
## %bb.3:
	callq	_s6000_i2s_start
	jmp	LBB0_6
LBB0_4:
	testl	%edx, %edx
	jne	LBB0_6
## %bb.5:
	callq	_s6000_i2s_stop
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ## @SNDRV_PCM_STREAM_CAPTURE
	.no_dead_strip	_s6000_i2s_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6000_i2s_trigger
_s6000_i2s_trigger:                     ; @s6000_i2s_trigger
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0x1c
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	cmp	w2, #0
	cset	w9, eq
	cmp	w9, w8
	b.eq	LBB0_6
; %bb.3:
	bl	_s6000_i2s_start
	b	LBB0_6
LBB0_4:
	cbnz	w2, LBB0_6
; %bb.5:
	bl	_s6000_i2s_stop
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ; @SNDRV_PCM_STREAM_CAPTURE
	.no_dead_strip	_s6000_i2s_trigger
.subsections_via_symbols
