	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1938_playback2_trigger
_snd_es1938_playback2_trigger:          ## @snd_es1938_playback2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_snd_pcm_substream_chip
	leal	-128(%rbx), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	addl	$-130, %ebx
	cmpl	$1, %ebx
	ja	LBB0_3
## %bb.2:
	movq	_DAC1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movl	$5, %edx
	jmp	LBB0_5
LBB0_4:
	movq	_DAC1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	xorl	%edx, %edx
LBB0_5:
	movq	_ESS_CMD_DMACONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_snd_es1938_write
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC1,4,2                       ## @DAC1
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESS_CMD_DMACONTROL,4,2         ## @ESS_CMD_DMACONTROL
	.no_dead_strip	_snd_es1938_playback2_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1938_playback2_trigger
_snd_es1938_playback2_trigger:          ; @snd_es1938_playback2_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
	mov	x19, x1
	bl	_snd_pcm_substream_chip
	sub	w8, w19, #128
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w19, #130
	cmp	w8, #1
	b.hi	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _DAC1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAC1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	mov	w2, #5
	b	LBB0_4
LBB0_3:
	mov	w2, #0
Lloh3:
	adrp	x8, _DAC1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DAC1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
LBB0_4:
Lloh6:
	adrp	x8, _ESS_CMD_DMACONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ESS_CMD_DMACONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_snd_es1938_write
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DAC1,4,2                       ; @DAC1
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESS_CMD_DMACONTROL,4,2         ; @ESS_CMD_DMACONTROL
	.no_dead_strip	_snd_es1938_playback2_trigger
.subsections_via_symbols
