	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm9713_voice_shutdown
_wm9713_voice_shutdown:                 ## @wm9713_voice_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	_SND_SOC_DAPM_PRE_PMD@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%edx, (%rax)
	setne	%dil
	callq	_BUG_ON
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_ac97_read
	movl	%eax, %r14d
	orl	$4096, %r14d                    ## imm = 0x1000
	movq	_AC97_HANDSET_RATE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_ac97_read
	movl	%eax, %ebx
	andl	$61695, %ebx                    ## imm = 0xF0FF
	movl	(%r13), %esi
	leal	512(%rbx), %edx
	movq	%r15, %rdi
	callq	_ac97_write
	movl	$1, %edi
	callq	_msecs_to_jiffies
	movl	%eax, %edi
	callq	_schedule_timeout_interruptible
	movl	(%r13), %esi
	orl	$3840, %ebx                     ## imm = 0xF00
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ac97_write
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_ac97_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_SOC_DAPM_PRE_PMD,4,2       ## @SND_SOC_DAPM_PRE_PMD
	.comm	_AC97_EXTENDED_MID,4,2          ## @AC97_EXTENDED_MID
	.comm	_AC97_HANDSET_RATE,4,2          ## @AC97_HANDSET_RATE
	.no_dead_strip	_wm9713_voice_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm9713_voice_shutdown
_wm9713_voice_shutdown:                 ; @wm9713_voice_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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _SND_SOC_DAPM_PRE_PMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SND_SOC_DAPM_PRE_PMD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w0, ne
	bl	_BUG_ON
Lloh3:
	adrp	x21, _AC97_EXTENDED_MID@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AC97_EXTENDED_MID@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ac97_read
	orr	w20, w0, #0x1000
Lloh5:
	adrp	x22, _AC97_HANDSET_RATE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _AC97_HANDSET_RATE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ac97_read
	mov	w8, #61695
	and	w23, w0, w8
	ldr	w1, [x22]
	orr	w2, w23, #0x200
	mov	x0, x19
	bl	_ac97_write
	mov	w0, #1
	bl	_msecs_to_jiffies
	bl	_schedule_timeout_interruptible
	ldr	w1, [x22]
	orr	w2, w23, #0xf00
	mov	x0, x19
	bl	_ac97_write
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_ac97_write
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_SOC_DAPM_PRE_PMD,4,2       ; @SND_SOC_DAPM_PRE_PMD
	.comm	_AC97_EXTENDED_MID,4,2          ; @AC97_EXTENDED_MID
	.comm	_AC97_HANDSET_RATE,4,2          ; @AC97_HANDSET_RATE
	.no_dead_strip	_wm9713_voice_shutdown
.subsections_via_symbols
