	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SndMixerGetLineName            ## -- Begin function SndMixerGetLineName
	.p2align	4, 0x90
_SndMixerGetLineName:                   ## @SndMixerGetLineName
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r12d
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_8
LBB0_5:
	xorl	%r13d, %r13d
	testq	%r8, %r8
	setne	%r13b
	movl	8(%rbx,%r13,4), %edi
	callq	_lstrlen
	movq	%rax, %r12
	cmpl	%r15d, %r12d
	jge	LBB0_6
## %bb.7:
	leaq	8(,%r13,4), %rax
	movl	(%rbx,%rax), %esi
	leal	(,%r12,4), %edx
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%edi, %edi
	callq	__T
	movslq	%r12d, %rcx
	movl	%eax, (%r14,%rcx,4)
	jmp	LBB0_8
LBB0_6:
	incl	%r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SndMixerGetLineName            ; -- Begin function SndMixerGetLineName
	.p2align	2
_SndMixerGetLineName:                   ; @SndMixerGetLineName
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x22, [x0]
	cbz	x22, LBB0_5
; %bb.2:
	mov	x21, x3
	mov	x19, x2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, x1
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #16]
	cbnz	x22, LBB0_3
LBB0_5:
	mov	w20, #-1
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w8, #12
	mov	w9, #8
	cmp	x4, #0
	csel	x23, x9, x8, eq
	ldr	w0, [x22, x23]
	bl	_lstrlen
	mov	x20, x0
	cmp	w20, w21
	b.ge	LBB0_9
; %bb.8:
	ldr	w1, [x22, x23]
	lsl	w2, w20, #2
	mov	x0, x19
	bl	_memcpy
	mov	w0, #0
	bl	__T
	sbfiz	x8, x20, #2, #32
	str	w0, [x19, x8]
	b	LBB0_6
LBB0_9:
	add	w20, w20, #1
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
