	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ctl_make_virtual_master    ## -- Begin function snd_ctl_make_virtual_master
	.p2align	4, 0x90
_snd_ctl_make_virtual_master:           ## @snd_ctl_make_virtual_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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rbx, -56(%rbp)
	movq	_master_info@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	%rax, 32(%r12)
	movq	_master_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_master_put@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_master_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	testq	%r14, %r14
	je	LBB0_8
## %bb.4:
	movl	(%r14), %eax
	movq	_SNDRV_CTL_TLVT_DB_SCALE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.5:
	movq	_SNDRV_CTL_TLVT_DB_MINMAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_SNDRV_CTL_TLVT_DB_MINMAX_MUTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
LBB0_7:
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	orl	%eax, (%rcx)
	movl	(%r15), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r15), %eax
	movl	%eax, (%r12)
	jmp	LBB0_8
LBB0_2:
	movq	%r15, %rdi
	callq	_kfree
	xorl	%r12d, %r12d
LBB0_8:
	movq	%r12, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,4,2 ## @SNDRV_CTL_ELEM_IFACE_MIXER
	.comm	_master_info,8,3                ## @master_info
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_master_get,4,2                 ## @master_get
	.comm	_master_put,4,2                 ## @master_put
	.comm	_master_free,4,2                ## @master_free
	.comm	_SNDRV_CTL_TLVT_DB_SCALE,4,2    ## @SNDRV_CTL_TLVT_DB_SCALE
	.comm	_SNDRV_CTL_TLVT_DB_MINMAX,4,2   ## @SNDRV_CTL_TLVT_DB_MINMAX
	.comm	_SNDRV_CTL_TLVT_DB_MINMAX_MUTE,4,2 ## @SNDRV_CTL_TLVT_DB_MINMAX_MUTE
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ## @SNDRV_CTL_ELEM_ACCESS_TLV_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ctl_make_virtual_master    ; -- Begin function snd_ctl_make_virtual_master
	.p2align	2
_snd_ctl_make_virtual_master:           ; @snd_ctl_make_virtual_master
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x22, _master_info@GOTPAGE
Lloh4:
	ldr	x22, [x22, _master_info@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x20, x8, [sp, #8]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	add	x0, x0, #4
	bl	_INIT_LIST_HEAD
	add	x0, sp, #8
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x22]
	str	x8, [x21, #32]
Lloh8:
	adrp	x8, _master_get@GOTPAGE
Lloh9:
	ldr	x8, [x8, _master_get@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x21, #24]
Lloh11:
	adrp	x8, _master_put@GOTPAGE
Lloh12:
	ldr	x8, [x8, _master_put@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _master_free@GOTPAGE
Lloh15:
	ldr	x9, [x9, _master_free@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	cbz	x19, LBB0_9
; %bb.3:
	ldr	w8, [x19]
Lloh17:
	adrp	x9, _SNDRV_CTL_TLVT_DB_SCALE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SNDRV_CTL_TLVT_DB_SCALE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.4:
Lloh20:
	adrp	x9, _SNDRV_CTL_TLVT_DB_MINMAX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SNDRV_CTL_TLVT_DB_MINMAX@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x9, _SNDRV_CTL_TLVT_DB_MINMAX_MUTE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SNDRV_CTL_TLVT_DB_MINMAX_MUTE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
LBB0_6:
Lloh26:
	adrp	x8, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	w0, [x20]
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x21]
	b	LBB0_9
LBB0_7:
	mov	x21, #0
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_kfree
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,4,2 ; @SNDRV_CTL_ELEM_IFACE_MIXER
	.comm	_master_info,8,3                ; @master_info
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_master_get,4,2                 ; @master_get
	.comm	_master_put,4,2                 ; @master_put
	.comm	_master_free,4,2                ; @master_free
	.comm	_SNDRV_CTL_TLVT_DB_SCALE,4,2    ; @SNDRV_CTL_TLVT_DB_SCALE
	.comm	_SNDRV_CTL_TLVT_DB_MINMAX,4,2   ; @SNDRV_CTL_TLVT_DB_MINMAX
	.comm	_SNDRV_CTL_TLVT_DB_MINMAX_MUTE,4,2 ; @SNDRV_CTL_TLVT_DB_MINMAX_MUTE
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ; @SNDRV_CTL_ELEM_ACCESS_TLV_READ
.subsections_via_symbols
