	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_alc650_specific
_patch_alc650_specific:                 ## @patch_alc650_specific
	.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
	movq	%rdi, %r14
	movq	_snd_ac97_controls_alc650@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_patch_build_controls
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movq	_AC97_EI_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_snd_ac97_spdif_controls_alc650@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_patch_build_controls
	testl	%eax, %eax
	js	LBB0_6
LBB0_3:
	movq	8(%r14), %rax
	movq	_AC97_ID_ALC650F@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	_db_scale_5bit_3db_max@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_reset_tlv
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_ac97_controls_alc650,4,2   ## @snd_ac97_controls_alc650
	.comm	_AC97_EI_SPDIF,4,2              ## @AC97_EI_SPDIF
	.comm	_snd_ac97_spdif_controls_alc650,4,2 ## @snd_ac97_spdif_controls_alc650
	.comm	_AC97_ID_ALC650F,8,3            ## @AC97_ID_ALC650F
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master Playback Volume"

	.comm	_db_scale_5bit_3db_max,4,2      ## @db_scale_5bit_3db_max
	.no_dead_strip	_patch_alc650_specific
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_alc650_specific
_patch_alc650_specific:                 ; @patch_alc650_specific
	.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, _snd_ac97_controls_alc650@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_ac97_controls_alc650@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_patch_build_controls
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _AC97_EI_SPDIF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97_EI_SPDIF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _snd_ac97_spdif_controls_alc650@GOTPAGE
Lloh7:
	ldr	x8, [x8, _snd_ac97_spdif_controls_alc650@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_patch_build_controls
	tbnz	w0, #31, LBB0_6
LBB0_3:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _AC97_ID_ALC650F@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AC97_ID_ALC650F@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _db_scale_5bit_3db_max@GOTPAGE
Lloh13:
	ldr	x8, [x8, _db_scale_5bit_3db_max@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_reset_tlv
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_ac97_controls_alc650,4,2   ; @snd_ac97_controls_alc650
	.comm	_AC97_EI_SPDIF,4,2              ; @AC97_EI_SPDIF
	.comm	_snd_ac97_spdif_controls_alc650,4,2 ; @snd_ac97_spdif_controls_alc650
	.comm	_AC97_ID_ALC650F,8,3            ; @AC97_ID_ALC650F
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master Playback Volume"

	.comm	_db_scale_5bit_3db_max,4,2      ; @db_scale_5bit_3db_max
	.no_dead_strip	_patch_alc650_specific
.subsections_via_symbols
