	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc_update_knob_master
_alc_update_knob_master:                ## @alc_update_knob_master
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_snd_hda_find_mixer_ctl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movl	(%r12), %esi
	movq	_AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movq	_HDA_AMP_VOLMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%eax, 4(%rcx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*(%r14)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master Playback Volume"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_AC_VERB_GET_VOLUME_KNOB_CONTROL,4,2 ## @AC_VERB_GET_VOLUME_KNOB_CONTROL
	.comm	_HDA_AMP_VOLMASK,4,2            ## @HDA_AMP_VOLMASK
	.no_dead_strip	_alc_update_knob_master
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc_update_knob_master
_alc_update_knob_master:                ; @alc_update_knob_master
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_snd_hda_find_mixer_ctl
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
Lloh8:
	adrp	x8, _HDA_AMP_VOLMASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HDA_AMP_VOLMASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	x9, [x20]
	stp	w8, w8, [x9]
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master Playback Volume"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_AC_VERB_GET_VOLUME_KNOB_CONTROL,4,2 ; @AC_VERB_GET_VOLUME_KNOB_CONTROL
	.comm	_HDA_AMP_VOLMASK,4,2            ; @HDA_AMP_VOLMASK
	.no_dead_strip	_alc_update_knob_master
.subsections_via_symbols
