	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_capture_source
_parse_capture_source:                  ## @parse_capture_source
	.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
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	leaq	40(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	40(%r15), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movl	%ebx, %r12d
	cmpq	%r13, -104(%rbp)                ## 8-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_is_reachable_path
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_snd_hda_add_new_path
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_print_nid_path
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_snd_hda_get_path_idx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	32(%r15), %rcx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%r13,4)
	movl	$1, %ebx
	testl	%r12d, %r12d
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	40(%r15), %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, 8(%r15)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, 16(%r15)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cltq
	movq	24(%r15), %rcx
	movq	%rdx, (%rcx,%rax,8)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_snd_hda_add_imux_item
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	addq	$72, %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
	.asciz	"input"

	.no_dead_strip	_parse_capture_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_capture_source
_parse_capture_source:                  ; @parse_capture_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x4, [sp, #24]                   ; 8-byte Folded Spill
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	cmp	w3, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x5
	mov	x22, x1
	mov	x23, x0
	mov	x27, #0
	mov	w21, #0
	ldr	x28, [x0]
	add	x8, x28, #40
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldrsw	x24, [x28, #40]
	mov	w20, w3
Lloh0:
	adrp	x25, l_.str@PAGE
Lloh1:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w8
	ldr	x9, [x28, #24]
	str	x22, [x9, x8, lsl #3]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	mov	x3, #0
	bl	_snd_hda_add_imux_item
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	cmp	x20, x27
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	ldr	x26, [x8, x27, lsl #3]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x26
	bl	_is_reachable_path
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x26
	mov	x3, x19
	bl	_snd_hda_add_new_path
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	mov	x0, x25
	mov	x1, x26
	bl	_print_nid_path
	mov	x0, x23
	mov	x1, x26
	bl	_snd_hda_get_path_idx
	ldr	x8, [x28, #32]
	ldr	x8, [x8, x24, lsl #3]
	str	w0, [x8, x27, lsl #2]
	cbnz	w21, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x28, #8]
	ldr	w8, [x28, #40]
	cmp	x9, x22
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w8, [x28, #16]
	b	LBB0_2
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input"

	.no_dead_strip	_parse_capture_source
.subsections_via_symbols
