	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_mixer_state
_save_mixer_state:                      ## @save_mixer_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpl	$0, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r12
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r15
	movq	_CM_SAVED_MIXERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movl	16(%r12), %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_snd_ctl_notify
	movq	_CM_SAVED_MIXERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movl	%eax, %ecx
	cmpq	%rcx, %r14
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*24(%rbx)
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	8(%r12), %rdx
	movq	%rcx, (%rdx,%r14,8)
	movq	_cm_saved_mixer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	%rcx, (%rax)
	movq	_SNDRV_CTL_EVENT_MASK_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	cmpq	%rcx, (%rdx,%r14,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*16(%rbx)
	movq	_SNDRV_CTL_EVENT_MASK_VALUE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_7
LBB0_9:
	movq	%r15, %rdi
	callq	_kfree
	movl	$1, (%r12)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CM_SAVED_MIXERS,4,2            ## @CM_SAVED_MIXERS
	.comm	_cm_saved_mixer,8,3             ## @cm_saved_mixer
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ## @SNDRV_CTL_EVENT_MASK_INFO
	.comm	_SNDRV_CTL_EVENT_MASK_VALUE,4,2 ## @SNDRV_CTL_EVENT_MASK_VALUE
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ## @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.no_dead_strip	_save_mixer_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_mixer_state
_save_mixer_state:                      ; @save_mixer_state
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kmalloc
	cbz	x0, LBB0_11
; %bb.3:
	mov	x20, x0
Lloh3:
	adrp	x23, _CM_SAVED_MIXERS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CM_SAVED_MIXERS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_10
; %bb.4:
	mov	x24, #0
Lloh5:
	adrp	x25, _cm_saved_mixer@GOTPAGE
Lloh6:
	ldr	x25, [x25, _cm_saved_mixer@GOTPAGEOFF]
Lloh7:
	adrp	x26, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGE
Lloh8:
	ldr	x26, [x26, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGEOFF]
Lloh9:
	adrp	x27, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGEOFF]
Lloh11:
	adrp	x28, _SNDRV_CTL_EVENT_MASK_VALUE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _SNDRV_CTL_EVENT_MASK_VALUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	ldr	x9, [x21, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	w0, [x19, #16]
	mov	x1, x22
	mov	x2, x21
	bl	_snd_ctl_notify
	ldr	w8, [x23]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, uxtw
	b.hs	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x21, [x9, x24, lsl #3]
	cbz	x21, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x21, #24]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	ldr	x8, [x20]
	ldr	x9, [x8]
	ldr	x10, [x19, #8]
	lsl	x11, x24, #3
	str	x9, [x10, x11]
	ldr	x9, [x25]
	ldr	x9, [x9, x11]
	str	x9, [x8]
	ldr	w22, [x26]
	ldr	x8, [x10, x11]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #16]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	ldr	w8, [x28]
	orr	w22, w8, w22
	b	LBB0_5
LBB0_10:
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_12
LBB0_11:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CM_SAVED_MIXERS,4,2            ; @CM_SAVED_MIXERS
	.comm	_cm_saved_mixer,8,3             ; @cm_saved_mixer
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ; @SNDRV_CTL_EVENT_MASK_INFO
	.comm	_SNDRV_CTL_EVENT_MASK_VALUE,4,2 ; @SNDRV_CTL_EVENT_MASK_VALUE
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ; @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.no_dead_strip	_save_mixer_state
.subsections_via_symbols
