	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_wolfson13
_patch_wolfson13:                       ## @patch_wolfson13
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_patch_wolfson_wm9713_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rdi)
	movq	_AC97_HAS_NO_REC_GAIN@GOTPCREL(%rip), %rax
	movq	_AC97_STEREO_MUTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_PHONE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_PC_BEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_VIDEO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_CD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_TONE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AC97_HAS_NO_STD_PCM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%rdi)
	movq	_AC97_SCAP_MODEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rdi)
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$55808, %edx                    ## imm = 0xDA00
	callq	_snd_ac97_write_cache
	movq	_AC97_EXTENDED_MSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$14352, %edx                    ## imm = 0x3810
	callq	_snd_ac97_write_cache
	movq	_AC97_POWERDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_snd_ac97_write_cache
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_patch_wolfson_wm9713_ops,4,2   ## @patch_wolfson_wm9713_ops
	.comm	_AC97_HAS_NO_REC_GAIN,4,2       ## @AC97_HAS_NO_REC_GAIN
	.comm	_AC97_STEREO_MUTES,4,2          ## @AC97_STEREO_MUTES
	.comm	_AC97_HAS_NO_PHONE,4,2          ## @AC97_HAS_NO_PHONE
	.comm	_AC97_HAS_NO_PC_BEEP,4,2        ## @AC97_HAS_NO_PC_BEEP
	.comm	_AC97_HAS_NO_VIDEO,4,2          ## @AC97_HAS_NO_VIDEO
	.comm	_AC97_HAS_NO_CD,4,2             ## @AC97_HAS_NO_CD
	.comm	_AC97_HAS_NO_TONE,4,2           ## @AC97_HAS_NO_TONE
	.comm	_AC97_HAS_NO_STD_PCM,4,2        ## @AC97_HAS_NO_STD_PCM
	.comm	_AC97_SCAP_MODEM,4,2            ## @AC97_SCAP_MODEM
	.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	_patch_wolfson13
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_wolfson13
_patch_wolfson13:                       ; @patch_wolfson13
	.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	x19, x0
Lloh0:
	adrp	x8, _patch_wolfson_wm9713_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _patch_wolfson_wm9713_ops@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AC97_HAS_NO_REC_GAIN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AC97_HAS_NO_REC_GAIN@GOTPAGEOFF]
	str	x8, [x0, #8]
Lloh4:
	ldr	w8, [x9]
Lloh5:
	adrp	x9, _AC97_STEREO_MUTES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AC97_STEREO_MUTES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _AC97_HAS_NO_PHONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AC97_HAS_NO_PHONE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _AC97_HAS_NO_PC_BEEP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AC97_HAS_NO_PC_BEEP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _AC97_HAS_NO_VIDEO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AC97_HAS_NO_VIDEO@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _AC97_HAS_NO_CD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AC97_HAS_NO_CD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _AC97_HAS_NO_TONE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AC97_HAS_NO_TONE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _AC97_HAS_NO_STD_PCM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AC97_HAS_NO_STD_PCM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	w9, w10, [x0]
	orr	w8, w8, w9
	str	w8, [x0]
Lloh26:
	adrp	x8, _AC97_SCAP_MODEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AC97_SCAP_MODEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	bic	w8, w10, w8
	str	w8, [x0, #4]
Lloh29:
	adrp	x8, _AC97_EXTENDED_MID@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AC97_EXTENDED_MID@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w2, #55808
	bl	_snd_ac97_write_cache
Lloh32:
	adrp	x8, _AC97_EXTENDED_MSTATUS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AC97_EXTENDED_MSTATUS@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #14352
	bl	_snd_ac97_write_cache
Lloh35:
	adrp	x8, _AC97_POWERDOWN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AC97_POWERDOWN@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_snd_ac97_write_cache
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_patch_wolfson_wm9713_ops,4,2   ; @patch_wolfson_wm9713_ops
	.comm	_AC97_HAS_NO_REC_GAIN,4,2       ; @AC97_HAS_NO_REC_GAIN
	.comm	_AC97_STEREO_MUTES,4,2          ; @AC97_STEREO_MUTES
	.comm	_AC97_HAS_NO_PHONE,4,2          ; @AC97_HAS_NO_PHONE
	.comm	_AC97_HAS_NO_PC_BEEP,4,2        ; @AC97_HAS_NO_PC_BEEP
	.comm	_AC97_HAS_NO_VIDEO,4,2          ; @AC97_HAS_NO_VIDEO
	.comm	_AC97_HAS_NO_CD,4,2             ; @AC97_HAS_NO_CD
	.comm	_AC97_HAS_NO_TONE,4,2           ; @AC97_HAS_NO_TONE
	.comm	_AC97_HAS_NO_STD_PCM,4,2        ; @AC97_HAS_NO_STD_PCM
	.comm	_AC97_SCAP_MODEM,4,2            ; @AC97_SCAP_MODEM
	.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	_patch_wolfson13
.subsections_via_symbols
