	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_audio_out_name
_fill_audio_out_name:                   ## @fill_audio_out_name
	.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
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_snd_hda_codec_get_pincfg
	movl	%eax, %edi
	callq	_snd_hda_get_input_pin_attr
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_INPUT_PIN_ATTR_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_check_output_pfx
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r9
	testq	%r13, %r13
	je	LBB0_6
## %bb.1:
	movq	16(%rbp), %rcx
	movl	16(%r13), %edx
	movl	20(%r13), %esi
	movl	%r15d, %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	callq	_check_output_sfx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %r9
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movl	%r15d, %edi
	movq	16(%rbp), %rcx
	callq	_check_output_sfx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %r9
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_get_hp_label_index
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	leaq	L_.str(%rip), %r9
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	xorl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	leaq	L_.str.2(%rip), %rax
	orl	%r12d, -56(%rbp)                ## 4-byte Folded Spill
	cmoveq	%rax, %r14
	leaq	L_.str.3(%rip), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_snprintf
	movl	$1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"Line Out"

	.comm	_INPUT_PIN_ATTR_INT,4,2         ## @INPUT_PIN_ATTR_INT
L_.str.2:                               ## @.str.2
	.asciz	"Speaker"

L_.str.3:                               ## @.str.3
	.asciz	"%s%s%s"

	.no_dead_strip	_fill_audio_out_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_audio_out_name
_fill_audio_out_name:                   ; @fill_audio_out_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x6
	str	w5, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x4
	mov	x21, x3
	mov	x28, x2
	mov	x26, x1
	mov	x27, x0
	bl	_snd_hda_codec_get_pincfg
	bl	_snd_hda_get_input_pin_attr
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	mov	x25, x0
Lloh2:
	adrp	x8, _INPUT_PIN_ATTR_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INPUT_PIN_ATTR_INT@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	mov	x0, x27
	mov	x1, x26
	bl	_check_output_pfx
	mov	x24, x0
	cbz	x28, LBB0_5
; %bb.1:
	ldp	w2, w1, [x28, #16]
	mov	x0, x26
	mov	x3, x22
	bl	_check_output_sfx
	mov	x5, x0
	cbnz	x0, LBB0_6
; %bb.2:
	ldp	w2, w1, [x28, #8]
	mov	x0, x26
	mov	x3, x22
	bl	_check_output_sfx
	mov	x5, x0
	cbnz	x0, LBB0_6
; %bb.3:
	ldp	w3, w2, [x28]
	mov	x0, x27
	mov	x1, x26
	bl	_get_hp_label_index
	tbnz	w0, #31, LBB0_5
; %bb.4:
	str	w0, [x22]
LBB0_5:
Lloh5:
	adrp	x5, l_.str@PAGE
Lloh6:
	add	x5, x5, l_.str@PAGEOFF
LBB0_6:
	cmp	w23, w19
	ccmp	w25, #0, #0, eq
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x4, x8, x21, eq
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, x24
	bl	_snprintf
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"Line Out"

	.comm	_INPUT_PIN_ATTR_INT,4,2         ; @INPUT_PIN_ATTR_INT
l_.str.2:                               ; @.str.2
	.asciz	"Speaker"

l_.str.3:                               ; @.str.3
	.asciz	"%s%s%s"

	.no_dead_strip	_fill_audio_out_name
.subsections_via_symbols
