	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_amp_vals
_print_amp_vals:                        ## @print_amp_vals
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_AC_AMP_GET_OUTPUT@GOTPCREL(%rip), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_4
	jmp	LBB0_8
LBB0_1:
	movq	_AC_AMP_GET_INPUT@GOTPCREL(%rip), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_8
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_AC_VERB_GET_AMP_GAIN_MUTE@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_snd_iprintf
	incl	%r14d
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	(%r12), %ecx
	movl	%r14d, %r15d
	orl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	movq	_AC_AMP_GET_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	%r15d, %r8d
	movq	%rbx, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_snd_hda_codec_read
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_snd_iprintf
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %ecx
	movq	_AC_AMP_GET_RIGHT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%r15d, %r8d
	callq	_snd_hda_codec_read
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_snd_iprintf
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_iprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.comm	_AC_AMP_GET_OUTPUT,4,2          ## @AC_AMP_GET_OUTPUT
	.comm	_AC_AMP_GET_INPUT,4,2           ## @AC_AMP_GET_INPUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ["

	.comm	_AC_VERB_GET_AMP_GAIN_MUTE,4,2  ## @AC_VERB_GET_AMP_GAIN_MUTE
	.comm	_AC_AMP_GET_LEFT,4,2            ## @AC_AMP_GET_LEFT
L_.str.1:                               ## @.str.1
	.asciz	"0x%02x"

	.comm	_AC_AMP_GET_RIGHT,4,2           ## @AC_AMP_GET_RIGHT
L_.str.2:                               ## @.str.2
	.asciz	" 0x%02x"

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

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_print_amp_vals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_amp_vals
_print_amp_vals:                        ; @print_amp_vals
	.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	x21, x0
Lloh0:
	adrp	x8, _HDA_OUTPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_OUTPUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AC_AMP_GET_OUTPUT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AC_AMP_GET_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _AC_AMP_GET_INPUT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AC_AMP_GET_INPUT@GOTPAGEOFF]
	cmp	w8, w3
	csel	x8, x9, x10, eq
	cmp	w5, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x22, x2
	mov	x23, x1
	mov	w28, #0
	ldr	w27, [x8]
Lloh7:
	adrp	x24, _AC_VERB_GET_AMP_GAIN_MUTE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _AC_VERB_GET_AMP_GAIN_MUTE@GOTPAGEOFF]
Lloh9:
	adrp	x26, l_.str.3@PAGE
Lloh10:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x26
	bl	_snd_iprintf
	add	w28, w28, #1
	cmp	w19, w28
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_snd_iprintf
	ldr	w3, [x24]
Lloh13:
	adrp	x8, _AC_AMP_GET_LEFT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC_AMP_GET_LEFT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w25, w28, w27
	orr	w4, w25, w8
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_snd_hda_codec_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_snd_iprintf
	cbz	w20, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w3, [x24]
Lloh18:
	adrp	x8, _AC_AMP_GET_RIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AC_AMP_GET_RIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w4, w25, w8
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_snd_hda_codec_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_snd_iprintf
	b	LBB0_2
LBB0_5:
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	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
	b	_snd_iprintf
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.comm	_AC_AMP_GET_OUTPUT,4,2          ; @AC_AMP_GET_OUTPUT
	.comm	_AC_AMP_GET_INPUT,4,2           ; @AC_AMP_GET_INPUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ["

	.comm	_AC_VERB_GET_AMP_GAIN_MUTE,4,2  ; @AC_VERB_GET_AMP_GAIN_MUTE
	.comm	_AC_AMP_GET_LEFT,4,2            ; @AC_AMP_GET_LEFT
l_.str.1:                               ; @.str.1
	.asciz	"0x%02x"

	.comm	_AC_AMP_GET_RIGHT,4,2           ; @AC_AMP_GET_RIGHT
l_.str.2:                               ; @.str.2
	.asciz	" 0x%02x"

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

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_print_amp_vals
.subsections_via_symbols
