	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_output_paths
_parse_output_paths:                    ## @parse_output_paths
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	32(%rbx), %r14
	movq	48(%r14), %rax
	movq	%rax, 48(%r15)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_fill_and_eval_dacs
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_27
## %bb.3:
	leaq	40(%rbx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	48(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	64(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	72(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_debug_badness
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_debug_show_configs
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r14), %rax
	movq	%rax, 48(%r15)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_fill_and_eval_dacs
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_debug_badness
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_debug_show_configs
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r14), %rax
	movq	%rax, 48(%r15)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_fill_and_eval_dacs
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_debug_badness
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_debug_show_configs
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r14), %rax
	movq	%rax, 48(%r15)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_fill_and_eval_dacs
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_debug_badness
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_debug_show_configs
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jge	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r14), %rax
	movq	%rax, 48(%r15)
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	32(%r14), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	xorl	%ebx, %ebx
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%rsi)
	jle	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rsi, %r15
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	_AUTO_PIN_SPEAKER_OUT@GOTPCREL(%rip), %r13
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rdx
	je	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jle	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdx
	movq	%rsi, %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %r13
	movq	_AUTO_PIN_SPEAKER_OUT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	56(%rbx), %rdx
	movq	%rdx, (%rax)
	movq	(%rcx), %rdi
	movq	80(%rbx), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	(%r15), %rax
	movq	%rax, 56(%rbx)
	movq	80(%rbx), %rdi
	movq	(%r12), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	$0, (%r15)
	movq	(%r12), %rdi
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	%rax, 32(%rbx)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_fill_and_eval_dacs
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jns	LBB0_4
LBB0_27:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_50
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_50
LBB0_7:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug_badness
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	32(%r15), %xmm2
	movups	%xmm0, (%r14)
	movups	%xmm1, 16(%r14)
	movups	%xmm2, 32(%r14)
	movq	48(%r15), %rax
	movq	%rax, 48(%r14)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_fill_and_eval_dacs
	movl	%ebx, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_20:
	movl	%ebx, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_29:
	movq	32(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_debug_badness
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_debug_show_configs
	movq	80(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.30:
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_snd_hda_get_path_from_idx
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_look_for_out_vol_nid
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_35
LBB0_34:
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	16(%rbx), %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_snd_hda_set_vmaster_tlv
LBB0_35:
	cmpq	$0, 8(%rbx)
	jne	LBB0_38
## %bb.36:
	movq	(%r14), %rax
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
LBB0_38:
	movq	_PIN_HP@GOTPCREL(%rip), %rax
LBB0_39:
	movl	(%rax), %ecx
	movq	56(%rbx), %rsi
	movq	80(%rbx), %rdx
	movq	%r12, %rdi
	callq	_set_pin_targets
	movq	32(%rbx), %rax
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_41
## %bb.40:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	_PIN_HP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_set_pin_targets
	movq	(%r14), %rax
LBB0_41:
	movq	_AUTO_PIN_SPEAKER_OUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_46
## %bb.42:
	cmpq	$0, 8(%rbx)
	jne	LBB0_43
## %bb.44:
	movq	_PIN_OUT@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_43:
	movq	_PIN_HP@GOTPCREL(%rip), %rax
LBB0_45:
	movl	(%rax), %ecx
	movq	40(%rbx), %rsi
	movq	64(%rbx), %rdx
	movq	%r12, %rdi
	callq	_set_pin_targets
LBB0_46:
	cmpq	$0, (%rbx)
	je	LBB0_49
## %bb.47:
	movq	%r12, %rdi
	callq	_indep_hp_possible
	testl	%eax, %eax
	jne	LBB0_49
## %bb.48:
	movq	$0, (%rbx)
LBB0_49:
	movq	%r15, %rdi
	callq	_kfree
	xorl	%r13d, %r13d
LBB0_50:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movl	20(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_34
	jmp	LBB0_35
LBB0_37:
	movq	_PIN_OUT@GOTPCREL(%rip), %rax
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"==> lo_type=%d, wired=%d, mio=%d, badness=0x%x\n"

	.comm	_AUTO_PIN_HP_OUT,8,3            ## @AUTO_PIN_HP_OUT
	.comm	_AUTO_PIN_SPEAKER_OUT,8,3       ## @AUTO_PIN_SPEAKER_OUT
L_.str.1:                               ## @.str.1
	.asciz	"==> restoring best_cfg\n"

L_.str.2:                               ## @.str.2
	.asciz	"==> Best config: lo_type=%d, wired=%d, mio=%d\n"

	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.comm	_PIN_HP,4,2                     ## @PIN_HP
	.comm	_PIN_OUT,4,2                    ## @PIN_OUT
	.no_dead_strip	_parse_output_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_output_paths
_parse_output_paths:                    ; @parse_output_paths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x0
	ldr	x26, [x0]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_24
; %bb.1:
	mov	x19, x0
	add	x21, x26, #32
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	ldr	x8, [x21, #48]
	str	x8, [x0, #48]
	stp	q1, q2, [x0, #16]
	str	q0, [x0]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_fill_and_eval_dacs
	mov	x25, x0
	tbnz	w0, #31, LBB0_26
; %bb.2:
	add	x9, x26, #40
	add	x10, x26, #48
	add	x8, x26, #64
	stp	x9, x8, [sp, #32]               ; 16-byte Folded Spill
	add	x8, x26, #72
	stp	x8, x10, [sp, #48]              ; 16-byte Folded Spill
	mov	w23, #1
	mov	w27, #1
	mov	x28, x23
	mov	x22, x23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	stp	x23, x25, [sp, #16]
	stp	x8, x23, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug_badness
	mov	x0, x20
	mov	x1, x21
	bl	_debug_show_configs
	cmp	w25, w24
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	ldr	x8, [x21, #48]
	str	x8, [x19, #48]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
	mov	w22, #1
	mov	x24, x25
	mov	w28, #1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w25, LBB0_28
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_fill_and_eval_dacs
	mov	x25, x0
	tbnz	w0, #31, LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	stp	xzr, x25, [sp, #16]
	stp	x8, x23, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug_badness
	mov	x0, x20
	mov	x1, x21
	bl	_debug_show_configs
	cmp	w25, w24
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	ldr	x8, [x21, #48]
	str	x8, [x19, #48]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
	mov	w22, #1
	mov	x24, x25
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w25, LBB0_28
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_fill_and_eval_dacs
	mov	x25, x0
	tbnz	w0, #31, LBB0_25
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	stp	x23, x25, [sp, #16]
	stp	x8, xzr, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug_badness
	mov	x0, x20
	mov	x1, x21
	bl	_debug_show_configs
	cmp	w25, w24
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	ldr	x8, [x21, #48]
	str	x8, [x19, #48]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
	mov	w28, #1
	mov	x24, x25
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w25, LBB0_28
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_fill_and_eval_dacs
	mov	x25, x0
	tbnz	w0, #31, LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	stp	xzr, x25, [sp, #16]
	stp	x8, xzr, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug_badness
	mov	x0, x20
	mov	x1, x21
	bl	_debug_show_configs
	cmp	w25, w24
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
	mov	w28, #0
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	ldr	x8, [x21, #48]
	str	x8, [x19, #48]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
	mov	x24, x25
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [sp, #32]                  ; 8-byte Folded Reload
	cbz	w25, LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x28
	mov	x28, x22
	tbz	w27, #0, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x12]
	cmp	x8, #1
	b.lt	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x21]
	ldp	x9, x8, [sp, #48]               ; 16-byte Folded Reload
Lloh14:
	adrp	x11, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	mov	x27, x12
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
Lloh17:
	adrp	x25, _AUTO_PIN_SPEAKER_OUT@GOTPAGE
Lloh18:
	ldr	x25, [x25, _AUTO_PIN_SPEAKER_OUT@GOTPAGEOFF]
	cmp	x10, x11
	b.eq	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x21]
	mov	x8, x12
	ldp	x9, x22, [sp, #40]              ; 16-byte Folded Reload
Lloh19:
	adrp	x11, _AUTO_PIN_SPEAKER_OUT@GOTPAGE
Lloh20:
	ldr	x11, [x11, _AUTO_PIN_SPEAKER_OUT@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
Lloh22:
	adrp	x25, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh23:
	ldr	x25, [x25, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
	cmp	x10, x11
	b.ne	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x26, #56]
	str	x10, [x8]
	ldr	x0, [x9]
	ldr	x1, [x26, #80]
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x27]
	str	x8, [x26, #56]
	ldr	x0, [x26, #80]
	ldr	x1, [x22]
	mov	w2, #8
	bl	_memcpy
	str	xzr, [x27]
	ldr	x0, [x22]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x25]
	str	x8, [x26, #32]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_fill_and_eval_dacs
	mov	x25, x0
	mov	w27, #0
	mov	x22, x28
	mov	x28, x23
	mov	w23, #1
	tbz	w0, #31, LBB0_3
	b	LBB0_26
LBB0_24:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_42
LBB0_25:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_26:
	mov	x0, x19
	bl	_kfree
	b	LBB0_42
LBB0_27:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug_badness
	ldp	q1, q0, [x19, #16]
	ldr	x8, [x19, #48]
	ldr	q2, [x19]
	str	x8, [x21, #48]
	stp	q1, q0, [x21, #16]
	str	q2, [x21]
	mov	x0, x20
	mov	x22, x28
	mov	x1, x22
	mov	x28, x23
	mov	x2, x28
	bl	_fill_and_eval_dacs
LBB0_28:
	ldr	x8, [x26, #32]
	stp	x22, x28, [sp, #8]
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug_badness
	mov	x0, x20
	mov	x1, x21
	bl	_debug_show_configs
	ldr	x8, [x26, #80]
	ldr	x8, [x8]
	cbz	x8, LBB0_32
; %bb.29:
	ldr	x8, [x26, #24]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_hda_get_path_from_idx
	cbz	x0, LBB0_43
; %bb.30:
	mov	x1, x0
	mov	x0, x20
	bl	_look_for_out_vol_nid
	mov	x1, x0
	str	w0, [x26, #20]
	cbz	w1, LBB0_32
LBB0_31:
Lloh31:
	adrp	x8, _HDA_OUTPUT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HDA_OUTPUT@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	ldr	w3, [x26, #16]
	mov	x0, x20
	bl	_snd_hda_set_vmaster_tlv
LBB0_32:
	ldr	x9, [x26, #8]
Lloh34:
	adrp	x22, _PIN_HP@GOTPAGE
Lloh35:
	ldr	x22, [x22, _PIN_HP@GOTPAGEOFF]
	mov	x8, x22
	cbnz	x9, LBB0_34
; %bb.33:
	ldr	x8, [x21]
Lloh36:
	adrp	x9, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
Lloh39:
	adrp	x10, _PIN_OUT@GOTPAGE
Lloh40:
	ldr	x10, [x10, _PIN_OUT@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x22, x10, eq
LBB0_34:
	ldr	w3, [x8]
	ldr	x1, [x26, #56]
	ldr	x2, [x26, #80]
	mov	x0, x20
	bl	_set_pin_targets
	ldr	x8, [x26, #32]
Lloh41:
	adrp	x9, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_36
; %bb.35:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x1, [x8]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x2, [x8]
	ldr	w3, [x22]
	mov	x0, x20
	bl	_set_pin_targets
	ldr	x8, [x21]
LBB0_36:
Lloh44:
	adrp	x9, _AUTO_PIN_SPEAKER_OUT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _AUTO_PIN_SPEAKER_OUT@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_38
; %bb.37:
Lloh47:
	adrp	x8, _PIN_OUT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _PIN_OUT@GOTPAGEOFF]
	ldr	x9, [x26, #8]
	cmp	x9, #0
	csel	x8, x8, x22, eq
	ldr	w3, [x8]
	ldr	x1, [x26, #40]
	ldr	x2, [x26, #64]
	mov	x0, x20
	bl	_set_pin_targets
LBB0_38:
	ldr	x8, [x26]
	cbz	x8, LBB0_41
; %bb.39:
	mov	x0, x20
	bl	_indep_hp_possible
	cbnz	w0, LBB0_41
; %bb.40:
	str	xzr, [x26]
LBB0_41:
	mov	x0, x19
	bl	_kfree
	mov	w25, #0
LBB0_42:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_43:
	ldr	w1, [x26, #20]
	cbnz	w1, LBB0_31
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"==> lo_type=%d, wired=%d, mio=%d, badness=0x%x\n"

	.comm	_AUTO_PIN_HP_OUT,8,3            ; @AUTO_PIN_HP_OUT
	.comm	_AUTO_PIN_SPEAKER_OUT,8,3       ; @AUTO_PIN_SPEAKER_OUT
l_.str.1:                               ; @.str.1
	.asciz	"==> restoring best_cfg\n"

l_.str.2:                               ; @.str.2
	.asciz	"==> Best config: lo_type=%d, wired=%d, mio=%d\n"

	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.comm	_PIN_HP,4,2                     ; @PIN_HP
	.comm	_PIN_OUT,4,2                    ; @PIN_OUT
	.no_dead_strip	_parse_output_paths
.subsections_via_symbols
