	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_multi_out_analog_cleanup ## -- Begin function snd_hda_multi_out_analog_cleanup
	.p2align	4, 0x90
_snd_hda_multi_out_analog_cleanup:      ## @snd_hda_multi_out_analog_cleanup
	.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, %r15
	movq	%rdi, %r14
	cmpl	$0, (%rsi)
	jle	LBB0_3
## %bb.1:
	movq	48(%r15), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_snd_hda_codec_cleanup_stream
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	40(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_snd_hda_codec_cleanup_stream
LBB0_5:
	movq	32(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rdi
	movq	(%rdi,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_snd_hda_codec_cleanup_stream
	movq	32(%r15), %rdi
	jmp	LBB0_9
LBB0_10:
	movq	24(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_15
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rdi
	movq	(%rdi,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	callq	_snd_hda_codec_cleanup_stream
	movq	24(%r15), %rdi
	jmp	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.16:
	movq	8(%r15), %rax
	movq	_HDA_DIG_ANALOG_DUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	callq	_cleanup_dig_out_stream
	movq	$0, 8(%r15)
LBB0_18:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_DIG_ANALOG_DUP,8,3         ## @HDA_DIG_ANALOG_DUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_multi_out_analog_cleanup ; -- Begin function snd_hda_multi_out_analog_cleanup
	.p2align	2
_snd_hda_multi_out_analog_cleanup:      ; @snd_hda_multi_out_analog_cleanup
	.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
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	ldr	x22, [x20, #48]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, x21, lsl #3]
	mov	x0, x19
	bl	_snd_hda_codec_cleanup_stream
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x1, [x20, #40]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_snd_hda_codec_cleanup_stream
LBB0_5:
	ldr	x0, [x20, #32]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x21, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #32]
	ldr	x1, [x0, x21, lsl #3]
	cbz	x1, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_snd_hda_codec_cleanup_stream
	ldr	x0, [x20, #32]
	b	LBB0_7
LBB0_10:
	ldr	x0, [x20, #24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.11:
	mov	x21, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #24]
	ldr	x1, [x0, x21, lsl #3]
	cbz	x1, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_snd_hda_codec_cleanup_stream
	ldr	x0, [x20, #24]
	b	LBB0_12
LBB0_15:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_18
; %bb.16:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _HDA_DIG_ANALOG_DUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDA_DIG_ANALOG_DUP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_cleanup_dig_out_stream
	str	xzr, [x20, #8]
LBB0_18:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_DIG_ANALOG_DUP,8,3         ; @HDA_DIG_ANALOG_DUP
.subsections_via_symbols
