	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_ad1981b
_patch_ad1981b:                         ## @patch_ad1981b
	.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
	callq	_patch_ad1881
	movq	_patch_ad1981b_build_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AC97_AD198X_MSPLT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_snd_ac97_update_bits
	movq	_AC97_STEREO_MUTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_check_ad1981_hp_jack_sense
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_patch_ad1981b_build_ops,4,2    ## @patch_ad1981b_build_ops
	.comm	_AC97_AD_MISC,4,2               ## @AC97_AD_MISC
	.comm	_AC97_AD198X_MSPLT,4,2          ## @AC97_AD198X_MSPLT
	.comm	_AC97_STEREO_MUTES,4,2          ## @AC97_STEREO_MUTES
	.no_dead_strip	_patch_ad1981b
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_ad1981b
_patch_ad1981b:                         ; @patch_ad1981b
	.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
	bl	_patch_ad1881
Lloh0:
	adrp	x8, _patch_ad1981b_build_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _patch_ad1981b_build_ops@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh2:
	adrp	x8, _AC97_AD_MISC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AC97_AD_MISC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _AC97_AD198X_MSPLT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AC97_AD198X_MSPLT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_snd_ac97_update_bits
Lloh8:
	adrp	x8, _AC97_STEREO_MUTES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AC97_STEREO_MUTES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	bl	_check_ad1981_hp_jack_sense
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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_ad1981b_build_ops,4,2    ; @patch_ad1981b_build_ops
	.comm	_AC97_AD_MISC,4,2               ; @AC97_AD_MISC
	.comm	_AC97_AD198X_MSPLT,4,2          ; @AC97_AD198X_MSPLT
	.comm	_AC97_STEREO_MUTES,4,2          ; @AC97_STEREO_MUTES
	.no_dead_strip	_patch_ad1981b
.subsections_via_symbols
