	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_nid_array
_print_nid_array:                       ## @print_nid_array
	.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
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rcx)
	jle	LBB0_6
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	8(%rcx), %rbx
	addq	$24, %rbx
	xorl	%r12d, %r12d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	addq	$32, %rbx
	cmpq	%rax, %r12
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, -24(%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rbx), %rcx
	movq	(%rbx), %r13
	movl	(%r13), %r8d
	movl	16(%r13), %edx
	addq	8(%r13), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDA_NID_ITEM_AMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -16(%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_get_amp_channels
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_get_amp_direction
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %r15
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r15
	movq	%r13, %rdi
	callq	_get_amp_index
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_get_amp_offset
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r14d, %r8d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_snd_iprintf
	jmp	LBB0_5
LBB0_6:
	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
	.asciz	"  Control: name=\"%s\", index=%i, device=%i\n"

	.comm	_HDA_NID_ITEM_AMP,4,2           ## @HDA_NID_ITEM_AMP
L_.str.1:                               ## @.str.1
	.asciz	"    ControlAmp: chs=%lu, dir=%s, idx=%lu, ofs=%lu\n"

L_.str.2:                               ## @.str.2
	.asciz	"Out"

L_.str.3:                               ## @.str.3
	.asciz	"In"

	.no_dead_strip	_print_nid_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_nid_array
_print_nid_array:                       ; @print_nid_array
	.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
	ldr	w8, [x3]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	x28, #0
	ldr	x8, [x3, #8]
	add	x23, x8, #16
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x19]
	add	x23, x23, #32
	cmp	x28, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x23, #-16]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x24, [x23]
	ldr	w2, [x24, #16]
	ldr	x9, [x24, #8]
	add	x3, x8, x9
	ldr	w4, [x24]
	mov	x0, x21
	mov	x1, x22
	bl	_snd_iprintf
	ldur	w8, [x23, #-8]
Lloh2:
	adrp	x9, _HDA_NID_ITEM_AMP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HDA_NID_ITEM_AMP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_get_amp_channels
	mov	x25, x0
	mov	x0, x24
	bl	_get_amp_direction
	cmp	x0, #0
Lloh5:
	adrp	x8, l_.str.2@PAGE
Lloh6:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh7:
	adrp	x9, l_.str.3@PAGE
Lloh8:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x26, x9, x8, eq
	mov	x0, x24
	bl	_get_amp_index
	mov	x27, x0
	mov	x0, x24
	bl	_get_amp_offset
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	bl	_snd_iprintf
	b	LBB0_2
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  Control: name=\"%s\", index=%i, device=%i\n"

	.comm	_HDA_NID_ITEM_AMP,4,2           ; @HDA_NID_ITEM_AMP
l_.str.1:                               ; @.str.1
	.asciz	"    ControlAmp: chs=%lu, dir=%s, idx=%lu, ofs=%lu\n"

l_.str.2:                               ; @.str.2
	.asciz	"Out"

l_.str.3:                               ; @.str.3
	.asciz	"In"

	.no_dead_strip	_print_nid_array
.subsections_via_symbols
