	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm9713_soc_suspend
_wm9713_soc_suspend:                    ## @wm9713_soc_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_platform_get_drvdata
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ac97_read
	movl	(%r14), %esi
	orl	$32767, %eax                    ## imm = 0x7FFF
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_ac97_write
	movq	_AC97_EXTENDED_MSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ac97_write
	movq	_AC97_POWERDOWN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$28416, %edx                    ## imm = 0x6F00
	callq	_ac97_write
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ac97_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_EXTENDED_MID,4,2          ## @AC97_EXTENDED_MID
	.comm	_AC97_EXTENDED_MSTATUS,4,2      ## @AC97_EXTENDED_MSTATUS
	.comm	_AC97_POWERDOWN,4,2             ## @AC97_POWERDOWN
	.no_dead_strip	_wm9713_soc_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm9713_soc_suspend
_wm9713_soc_suspend:                    ; @wm9713_soc_suspend
	.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
	bl	_platform_get_drvdata
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x20, _AC97_EXTENDED_MID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AC97_EXTENDED_MID@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ac97_read
	ldr	w1, [x20]
	orr	w2, w0, #0x7fff
	mov	x0, x19
	bl	_ac97_write
Lloh2:
	adrp	x8, _AC97_EXTENDED_MSTATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AC97_EXTENDED_MSTATUS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65535
	bl	_ac97_write
Lloh5:
	adrp	x20, _AC97_POWERDOWN@GOTPAGE
Lloh6:
	ldr	x20, [x20, _AC97_POWERDOWN@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #28416
	bl	_ac97_write
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65535
	bl	_ac97_write
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_EXTENDED_MID,4,2          ; @AC97_EXTENDED_MID
	.comm	_AC97_EXTENDED_MSTATUS,4,2      ; @AC97_EXTENDED_MSTATUS
	.comm	_AC97_POWERDOWN,4,2             ; @AC97_POWERDOWN
	.no_dead_strip	_wm9713_soc_suspend
.subsections_via_symbols
