	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10_mute
_a10_mute:                              ## @a10_mute
	.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	%rdi, %r14
	movq	_PCMDIR_PLAY@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_A10_DAC_ACTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_CODEC_READ
	movq	_A10_DACAREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movq	_A10_DACALEN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_A10_DACPAS@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_5:
	movq	_A10_ADC_ACTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_CODEC_READ
	movq	_A10_ADCREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	_A10_ADCLEN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_A10_PREG1EN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_A10_VMICEN@GOTPCREL(%rip), %rdx
LBB0_3:
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	jmp	LBB0_9
LBB0_4:
	orl	%eax, %ecx
	movq	_A10_DACALEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_A10_DACPAS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	orl	%eax, %ecx
	movq	_A10_ADCLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_A10_PREG1EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_A10_VMICEN@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %ecx
	movl	%ecx, %eax
LBB0_9:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CODEC_WRITE                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCMDIR_PLAY,4,2                ## @PCMDIR_PLAY
	.comm	_A10_DAC_ACTL,4,2               ## @A10_DAC_ACTL
	.comm	_A10_DACAREN,4,2                ## @A10_DACAREN
	.comm	_A10_DACALEN,4,2                ## @A10_DACALEN
	.comm	_A10_DACPAS,4,2                 ## @A10_DACPAS
	.comm	_A10_ADC_ACTL,4,2               ## @A10_ADC_ACTL
	.comm	_A10_ADCREN,4,2                 ## @A10_ADCREN
	.comm	_A10_ADCLEN,4,2                 ## @A10_ADCLEN
	.comm	_A10_PREG1EN,4,2                ## @A10_PREG1EN
	.comm	_A10_VMICEN,4,2                 ## @A10_VMICEN
	.no_dead_strip	_a10_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10_mute
_a10_mute:                              ; @a10_mute
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PCMDIR_PLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCMDIR_PLAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _A10_DAC_ACTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _A10_DAC_ACTL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CODEC_READ
Lloh6:
	adrp	x8, _A10_DACAREN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _A10_DACAREN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w20, LBB0_5
; %bb.2:
Lloh9:
	adrp	x9, _A10_DACALEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _A10_DACALEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _A10_DACPAS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _A10_DACPAS@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w2, w0, w8
	b	LBB0_6
LBB0_3:
Lloh15:
	adrp	x8, _A10_ADC_ACTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _A10_ADC_ACTL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CODEC_READ
Lloh18:
	adrp	x8, _A10_ADCREN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _A10_ADCREN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbz	w20, LBB0_7
; %bb.4:
Lloh21:
	adrp	x9, _A10_ADCLEN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _A10_ADCLEN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _A10_PREG1EN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _A10_PREG1EN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _A10_VMICEN@GOTPAGE
Lloh28:
	ldr	x10, [x10, _A10_VMICEN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh29:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w2, w0, w8
	b	LBB0_8
LBB0_5:
	orr	w8, w8, w0
Lloh30:
	adrp	x9, _A10_DACALEN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _A10_DACALEN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _A10_DACPAS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _A10_DACPAS@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w8, w9
LBB0_6:
Lloh36:
	adrp	x8, _A10_DAC_ACTL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _A10_DAC_ACTL@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	orr	w8, w8, w0
Lloh38:
	adrp	x9, _A10_ADCLEN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _A10_ADCLEN@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _A10_PREG1EN@GOTPAGE
Lloh42:
	ldr	x9, [x9, _A10_PREG1EN@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _A10_VMICEN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _A10_VMICEN@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w2, w8, w9
LBB0_8:
Lloh47:
	adrp	x8, _A10_ADC_ACTL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _A10_ADC_ACTL@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CODEC_WRITE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_PCMDIR_PLAY,4,2                ; @PCMDIR_PLAY
	.comm	_A10_DAC_ACTL,4,2               ; @A10_DAC_ACTL
	.comm	_A10_DACAREN,4,2                ; @A10_DACAREN
	.comm	_A10_DACALEN,4,2                ; @A10_DACALEN
	.comm	_A10_DACPAS,4,2                 ; @A10_DACPAS
	.comm	_A10_ADC_ACTL,4,2               ; @A10_ADC_ACTL
	.comm	_A10_ADCREN,4,2                 ; @A10_ADCREN
	.comm	_A10_ADCLEN,4,2                 ; @A10_ADCLEN
	.comm	_A10_PREG1EN,4,2                ; @A10_PREG1EN
	.comm	_A10_VMICEN,4,2                 ; @A10_VMICEN
	.no_dead_strip	_a10_mute
.subsections_via_symbols
