	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___snd_hda_add_vmaster          ## -- Begin function __snd_hda_add_vmaster
	.p2align	4, 0x90
___snd_hda_add_vmaster:                 ## @__snd_hda_add_vmaster
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rax)
LBB0_2:
	movq	_check_slave_present@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_map_slaves
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_snd_ctl_make_virtual_master
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_snd_hda_ctl_add
	testl	%eax, %eax
	js	LBB0_12
## %bb.5:
	movq	_snd_ctl_add_slave@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %r8
	callq	_map_slaves
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_put_kctl_with_value
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.7:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.8:
	movq	_init_slave_unmute@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_snd_printdd
	jmp	LBB0_17
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_17
LBB0_12:
	movl	%eax, %r13d
	jmp	LBB0_17
LBB0_13:
	movq	_init_slave_0dB@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %r8
	callq	_map_slaves
LBB0_15:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%rbx, (%rax)
LBB0_17:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_check_slave_present,4,2        ## @check_slave_present
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No slave found for %s\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_snd_ctl_add_slave,8,3          ## @snd_ctl_add_slave
	.comm	_init_slave_0dB,4,2             ## @init_slave_0dB
	.comm	_init_slave_unmute,4,2          ## @init_slave_unmute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___snd_hda_add_vmaster          ; -- Begin function __snd_hda_add_vmaster
	.p2align	2
___snd_hda_add_vmaster:                 ; @__snd_hda_add_vmaster
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x24, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x25, x1
	mov	x22, x0
	cbz	x6, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
Lloh0:
	adrp	x8, _check_slave_present@GOTPAGE
Lloh1:
	ldr	x8, [x8, _check_slave_present@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, #0
	bl	_map_slaves
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x25
	mov	x1, x23
	bl	_snd_ctl_make_virtual_master
	cbz	x0, LBB0_11
; %bb.4:
	mov	x25, x0
	mov	x0, x22
	mov	w1, #0
	mov	x2, x25
	bl	_snd_hda_ctl_add
	tbnz	w0, #31, LBB0_12
; %bb.5:
Lloh3:
	adrp	x8, _snd_ctl_add_slave@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_ctl_add_slave@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x25
	bl	_map_slaves
	tbnz	w0, #31, LBB0_12
; %bb.6:
	mov	x0, x25
	mov	w1, #0
	bl	_put_kctl_with_value
	cbz	w24, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _init_slave_0dB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _init_slave_0dB@GOTPAGEOFF]
Lloh8:
	adrp	x9, _init_slave_unmute@GOTPAGE
Lloh9:
	ldr	x9, [x9, _init_slave_unmute@GOTPAGEOFF]
	cmp	x23, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x25
	bl	_map_slaves
LBB0_8:
	mov	w0, #0
	cbz	x19, LBB0_12
; %bb.9:
	str	x25, [x19]
	b	LBB0_12
LBB0_10:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	bl	_snd_printdd
	mov	w0, #0
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_check_slave_present,4,2        ; @check_slave_present
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No slave found for %s\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_snd_ctl_add_slave,8,3          ; @snd_ctl_add_slave
	.comm	_init_slave_0dB,4,2             ; @init_slave_0dB
	.comm	_init_slave_unmute,4,2          ; @init_slave_unmute
.subsections_via_symbols
