	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_add_vmaster_hook       ## -- Begin function snd_hda_add_vmaster_hook
	.p2align	4, 0x90
_snd_hda_add_vmaster_hook:              ## @snd_hda_add_vmaster_hook
	.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, %rbx
	movl	16(%rsi), %esi
	xorl	%r15d, %r15d
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movl	20(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.2:
	movl	%edx, %r12d
	movq	%r14, %rdx
	callq	_snd_ctl_add_vmaster_hook
	movq	%r14, 8(%rbx)
	movq	_HDA_VMUTE_FOLLOW_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.3:
	movq	_vmaster_mute_mode@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_snd_ctl_new1
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_ctl_add                ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_VMUTE_FOLLOW_MASTER,4,2    ## @HDA_VMUTE_FOLLOW_MASTER
	.comm	_vmaster_mute_mode,4,2          ## @vmaster_mute_mode
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_add_vmaster_hook       ; -- Begin function snd_hda_add_vmaster_hook
	.p2align	2
_snd_hda_add_vmaster_hook:              ; @snd_hda_add_vmaster_hook
	.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	x20, x1
	ldr	w1, [x1, #16]
	cbz	w1, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20, #20]
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x2
	mov	x2, x19
	bl	_snd_ctl_add_vmaster_hook
	str	x19, [x20, #8]
Lloh0:
	adrp	x8, _HDA_VMUTE_FOLLOW_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_VMUTE_FOLLOW_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	cbz	w21, LBB0_5
; %bb.3:
Lloh3:
	adrp	x0, _vmaster_mute_mode@GOTPAGE
Lloh4:
	ldr	x0, [x0, _vmaster_mute_mode@GOTPAGEOFF]
	mov	x1, x20
	bl	_snd_ctl_new1
	cbz	x0, LBB0_7
; %bb.4:
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	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	_snd_hda_ctl_add
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
LBB0_7:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_VMUTE_FOLLOW_MASTER,4,2    ; @HDA_VMUTE_FOLLOW_MASTER
	.comm	_vmaster_mute_mode,4,2          ; @vmaster_mute_mode
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
