	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda998x_audio_mute
_tda998x_audio_mute:                    ## @tda998x_audio_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
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_REG_SOFTRESET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_SOFTRESET_AUDIO@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_reg_set
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_reg_clear
	movq	_REG_AIP_CNTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AIP_CNTRL_0_RST_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_set                        ## TAILCALL
LBB0_2:
	movq	_REG_AIP_CNTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AIP_CNTRL_0_RST_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_clear                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SOFTRESET,4,2              ## @REG_SOFTRESET
	.comm	_SOFTRESET_AUDIO,4,2            ## @SOFTRESET_AUDIO
	.comm	_REG_AIP_CNTRL_0,4,2            ## @REG_AIP_CNTRL_0
	.comm	_AIP_CNTRL_0_RST_FIFO,4,2       ## @AIP_CNTRL_0_RST_FIFO
	.no_dead_strip	_tda998x_audio_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda998x_audio_mute
_tda998x_audio_mute:                    ; @tda998x_audio_mute
	.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, x0
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _REG_SOFTRESET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_SOFTRESET@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _SOFTRESET_AUDIO@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SOFTRESET_AUDIO@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_reg_set
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_reg_clear
Lloh4:
	adrp	x8, _REG_AIP_CNTRL_0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REG_AIP_CNTRL_0@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _AIP_CNTRL_0_RST_FIFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AIP_CNTRL_0_RST_FIFO@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	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	_reg_set
LBB0_2:
Lloh10:
	adrp	x8, _REG_AIP_CNTRL_0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_AIP_CNTRL_0@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _AIP_CNTRL_0_RST_FIFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AIP_CNTRL_0_RST_FIFO@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	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	_reg_clear
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SOFTRESET,4,2              ; @REG_SOFTRESET
	.comm	_SOFTRESET_AUDIO,4,2            ; @SOFTRESET_AUDIO
	.comm	_REG_AIP_CNTRL_0,4,2            ; @REG_AIP_CNTRL_0
	.comm	_AIP_CNTRL_0_RST_FIFO,4,2       ; @AIP_CNTRL_0_RST_FIFO
	.no_dead_strip	_tda998x_audio_mute
.subsections_via_symbols
