	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_aw2_saa7146_pcm_trigger_start_playback ## -- Begin function snd_aw2_saa7146_pcm_trigger_start_playback
	.p2align	4, 0x90
_snd_aw2_saa7146_pcm_trigger_start_playback: ## @snd_aw2_saa7146_pcm_trigger_start_playback
	.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	_ACON1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_READREG
	movl	%eax, %r14d
	cmpl	$1, %ebx
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.2:
	movq	_TR_E_A2_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shll	$16, %edi
	orl	%eax, %edi
	movq	_MC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WRITEREG
	movq	_WS2_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%edi, %edi
	jmp	LBB0_4
LBB0_3:
	movq	_TR_E_A1_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shll	$16, %edi
	orl	%eax, %edi
	movq	_MC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WRITEREG
	movq	_WS1_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_4:
	orl	%r14d, %edi
	movl	(%r15), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WRITEREG                       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACON1,4,2                      ## @ACON1
	.comm	_TR_E_A2_OUT,4,2                ## @TR_E_A2_OUT
	.comm	_MC1,4,2                        ## @MC1
	.comm	_WS2_CTRL,4,2                   ## @WS2_CTRL
	.comm	_TR_E_A1_OUT,4,2                ## @TR_E_A1_OUT
	.comm	_WS1_CTRL,4,2                   ## @WS1_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_aw2_saa7146_pcm_trigger_start_playback ; -- Begin function snd_aw2_saa7146_pcm_trigger_start_playback
	.p2align	2
_snd_aw2_saa7146_pcm_trigger_start_playback: ; @snd_aw2_saa7146_pcm_trigger_start_playback
	.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
Lloh0:
	adrp	x21, _ACON1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ACON1@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_READREG
	mov	x19, x0
	cmp	w20, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w20, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _TR_E_A2_OUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TR_E_A2_OUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w8, lsl #16
Lloh5:
	adrp	x8, _MC1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MC1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_WRITEREG
Lloh8:
	adrp	x8, _WS2_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WS2_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _TR_E_A1_OUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TR_E_A1_OUT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w0, w8, w8, lsl #16
Lloh14:
	adrp	x8, _MC1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MC1@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_WRITEREG
Lloh17:
	adrp	x8, _WS1_CTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WS1_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
LBB0_4:
	orr	w0, w8, w19
	ldr	w1, [x21]
	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
	b	_WRITEREG
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ACON1,4,2                      ; @ACON1
	.comm	_TR_E_A2_OUT,4,2                ; @TR_E_A2_OUT
	.comm	_MC1,4,2                        ; @MC1
	.comm	_WS2_CTRL,4,2                   ; @WS2_CTRL
	.comm	_TR_E_A1_OUT,4,2                ; @TR_E_A1_OUT
	.comm	_WS1_CTRL,4,2                   ; @WS1_CTRL
.subsections_via_symbols
