	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_codec_resume_amp       ## -- Begin function snd_hda_codec_resume_amp
	.p2align	4, 0x90
_snd_hda_codec_resume_amp:              ## @snd_hda_codec_resume_amp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	$0, 8(%rbx)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%rbx)
	jle	LBB0_9
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r13
	xorl	%ebx, %ebx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_snd_array_elem
	cmpq	$0, 24(%rax)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 24(%rax)
	movl	16(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %r14
	movl	8(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	20(%rax), %r13d
	movzbl	%r12b, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	shrl	$16, %eax
	movzbl	%al, %r15d
	shrl	$24, %r12d
	xorl	%edi, %edi
	callq	_INFO_AMP_VOL
	testl	%r13d, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %r13
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	(%r13), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	callq	_put_vol_mute
	movq	%r14, %rdi
	movq	%r13, %r14
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	callq	_mutex_lock
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	$1, %edi
	callq	_INFO_AMP_VOL
	testl	%r13d, %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_mutex_unlock
	movl	4(%r14), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	$1, %ecx
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_put_vol_mute
	movq	%r13, %rdi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	callq	_mutex_lock
	jmp	LBB0_8
LBB0_9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_codec_resume_amp       ; -- Begin function snd_hda_codec_resume_amp
	.p2align	2
_snd_hda_codec_resume_amp:              ; @snd_hda_codec_resume_amp
	.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
	mov	x19, x0
	bl	_mutex_lock
	mov	x20, x19
	ldr	w8, [x20, #4]!
	stur	xzr, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_snd_array_elem
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x0, #24]
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x0]
	ldr	w22, [x0, #8]
	and	w24, w8, #0xff
	ubfx	w23, w8, #16, #8
	lsr	w25, w8, #24
	ldr	w27, [x0, #20]
	mov	w0, #0
	bl	_INFO_AMP_VOL
	tst	w0, w27
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_mutex_unlock
	ldr	w6, [x26]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	w3, #0
	mov	x4, x25
	mov	x5, x23
	bl	_put_vol_mute
	mov	x0, x19
	bl	_mutex_lock
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_INFO_AMP_VOL
	tst	w0, w27
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_mutex_unlock
	ldr	w6, [x26, #4]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	w3, #1
	mov	x4, x25
	mov	x5, x23
	bl	_put_vol_mute
	mov	x0, x19
	bl	_mutex_lock
	b	LBB0_2
LBB0_9:
	mov	x0, x19
	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
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
