	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uda1380_pcm_shutdown
_uda1380_pcm_shutdown:                  ## @uda1380_pcm_shutdown
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	_UDA1380_CLK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_uda1380_read_reg_cache
	movl	%eax, %ebx
	movq	_R00_DAC_CLK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_UDA1380_PM@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_uda1380_read_reg_cache
	movl	(%r13), %esi
	movq	_R02_PON_PLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	callq	_uda1380_write
LBB0_2:
	movq	(%r15), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %r8
	movq	_R00_EN_DAC@GOTPCREL(%rip), %rdx
	movq	_R00_EN_ADC@GOTPCREL(%rip), %rsi
	movq	_R00_EN_INT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movq	_R00_EN_DEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %edi
	orl	(%rsi), %ecx
	cmpq	(%r8), %rax
	cmovel	%edi, %ecx
	notl	%ecx
	andl	%ecx, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uda1380_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UDA1380_CLK,4,2                ## @UDA1380_CLK
	.comm	_R00_DAC_CLK,4,2                ## @R00_DAC_CLK
	.comm	_UDA1380_PM,4,2                 ## @UDA1380_PM
	.comm	_R02_PON_PLL,4,2                ## @R02_PON_PLL
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_R00_EN_DAC,4,2                 ## @R00_EN_DAC
	.comm	_R00_EN_INT,4,2                 ## @R00_EN_INT
	.comm	_R00_EN_ADC,4,2                 ## @R00_EN_ADC
	.comm	_R00_EN_DEC,4,2                 ## @R00_EN_DEC
	.no_dead_strip	_uda1380_pcm_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uda1380_pcm_shutdown
_uda1380_pcm_shutdown:                  ; @uda1380_pcm_shutdown
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x19, [x8]
Lloh0:
	adrp	x22, _UDA1380_CLK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UDA1380_CLK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_uda1380_read_reg_cache
	mov	x20, x0
Lloh2:
	adrp	x8, _R00_DAC_CLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R00_DAC_CLK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x23, _UDA1380_PM@GOTPAGE
Lloh6:
	ldr	x23, [x23, _UDA1380_PM@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_uda1380_read_reg_cache
	ldr	w1, [x23]
Lloh7:
	adrp	x8, _R02_PON_PLL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _R02_PON_PLL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_uda1380_write
LBB0_2:
	ldr	x8, [x21]
Lloh10:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _R00_EN_DAC@GOTPAGE
Lloh14:
	ldr	x10, [x10, _R00_EN_DAC@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _R00_EN_ADC@GOTPAGE
Lloh17:
	ldr	x11, [x11, _R00_EN_ADC@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
Lloh19:
	adrp	x12, _R00_EN_INT@GOTPAGE
Lloh20:
	ldr	x12, [x12, _R00_EN_INT@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
Lloh22:
	adrp	x13, _R00_EN_DEC@GOTPAGE
Lloh23:
	ldr	x13, [x13, _R00_EN_DEC@GOTPAGEOFF]
Lloh24:
	ldr	w13, [x13]
	orr	w10, w12, w10
	orr	w11, w13, w11
	cmp	x8, x9
	csel	w8, w10, w11, eq
	bic	w2, w20, w8
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_uda1380_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UDA1380_CLK,4,2                ; @UDA1380_CLK
	.comm	_R00_DAC_CLK,4,2                ; @R00_DAC_CLK
	.comm	_UDA1380_PM,4,2                 ; @UDA1380_PM
	.comm	_R02_PON_PLL,4,2                ; @R02_PON_PLL
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_R00_EN_DAC,4,2                 ; @R00_EN_DAC
	.comm	_R00_EN_INT,4,2                 ; @R00_EN_INT
	.comm	_R00_EN_ADC,4,2                 ; @R00_EN_ADC
	.comm	_R00_EN_DEC,4,2                 ; @R00_EN_DEC
	.no_dead_strip	_uda1380_pcm_shutdown
.subsections_via_symbols
