	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_fg_nodes
_setup_fg_nodes:                        ## @setup_fg_nodes
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_AC_NODE_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_snd_hda_get_sub_nodes
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movl	%eax, %ebx
	movq	-32(%rbp), %rsi
	movq	_AC_PAR_FUNCTION_TYPE@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-32(%rbp), %rsi
	movq	%rsi, 16(%r14)
	movl	$128, 8(%r14)
	shrl	$8, %eax
	andl	$1, %eax
	movl	%eax, 12(%r14)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movq	%rsi, -32(%rbp)
	decl	%ebx
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_snd_hda_param_read
	cmpb	$-128, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-127, %al
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-32(%rbp), %rsi
	movq	%rsi, 24(%r14)
	movl	$129, (%r14)
	shrl	$8, %eax
	andl	$1, %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-32(%rbp), %rsi
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_NODE_ROOT,4,2               ## @AC_NODE_ROOT
	.comm	_AC_PAR_FUNCTION_TYPE,4,2       ## @AC_PAR_FUNCTION_TYPE
	.no_dead_strip	_setup_fg_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_fg_nodes
_setup_fg_nodes:                        ; @setup_fg_nodes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _AC_NODE_ROOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_NODE_ROOT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_snd_hda_get_sub_nodes
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x1, [sp, #8]
Lloh3:
	adrp	x21, _AC_PAR_FUNCTION_TYPE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AC_PAR_FUNCTION_TYPE@GOTPAGEOFF]
	mov	w22, #128
	mov	w23, #129
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
	ubfx	w9, w0, #8, #1
	stp	w22, w9, [x19, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x8, #1
	str	x1, [sp, #8]
	subs	w20, w20, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x19
	bl	_snd_hda_param_read
	and	w8, w0, #0xff
	cmp	w8, #128
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
	ubfx	w9, w0, #8, #1
	stp	w23, w9, [x19]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	b	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_NODE_ROOT,4,2               ; @AC_NODE_ROOT
	.comm	_AC_PAR_FUNCTION_TYPE,4,2       ; @AC_PAR_FUNCTION_TYPE
	.no_dead_strip	_setup_fg_nodes
.subsections_via_symbols
