	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_audio_io
_print_audio_io:                        ## @print_audio_io
	.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	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_AC_VERB_GET_CONV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rsi, %rdi
	movl	%edx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %ebx
	movq	_AC_CONV_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_AC_CONV_STREAM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	_AC_CONV_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%ebx, %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_AC_WID_AUD_IN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_AC_CONV_CHANNEL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_AC_VERB_GET_SDI_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movq	_AC_SDI_SELECT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_iprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_GET_CONV,4,2           ## @AC_VERB_GET_CONV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  Converter: stream=%d, channel=%d\n"

	.comm	_AC_CONV_STREAM,4,2             ## @AC_CONV_STREAM
	.comm	_AC_CONV_STREAM_SHIFT,4,2       ## @AC_CONV_STREAM_SHIFT
	.comm	_AC_CONV_CHANNEL,4,2            ## @AC_CONV_CHANNEL
	.comm	_AC_WID_AUD_IN,4,2              ## @AC_WID_AUD_IN
	.comm	_AC_VERB_GET_SDI_SELECT,4,2     ## @AC_VERB_GET_SDI_SELECT
L_.str.1:                               ## @.str.1
	.asciz	"  SDI-Select: %d\n"

	.comm	_AC_SDI_SELECT,4,2              ## @AC_SDI_SELECT
	.no_dead_strip	_print_audio_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_audio_io
_print_audio_io:                        ; @print_audio_io
	.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	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AC_VERB_GET_CONV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_GET_CONV@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	mov	x22, x0
Lloh3:
	adrp	x8, _AC_CONV_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_CONV_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _AC_CONV_STREAM_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AC_CONV_STREAM_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w2, w8, w9
Lloh9:
	adrp	x24, _AC_CONV_CHANNEL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _AC_CONV_CHANNEL@GOTPAGEOFF]
	ldr	w8, [x24]
	and	w8, w8, w0
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh13:
	adrp	x8, _AC_WID_AUD_IN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC_WID_AUD_IN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_3
LBB0_2:
	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
LBB0_3:
Lloh16:
	adrp	x8, _AC_VERB_GET_SDI_SELECT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AC_VERB_GET_SDI_SELECT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
Lloh19:
	adrp	x8, _AC_SDI_SELECT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AC_SDI_SELECT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	and	w2, w8, w0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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
	b	_snd_iprintf
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_GET_CONV,4,2           ; @AC_VERB_GET_CONV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  Converter: stream=%d, channel=%d\n"

	.comm	_AC_CONV_STREAM,4,2             ; @AC_CONV_STREAM
	.comm	_AC_CONV_STREAM_SHIFT,4,2       ; @AC_CONV_STREAM_SHIFT
	.comm	_AC_CONV_CHANNEL,4,2            ; @AC_CONV_CHANNEL
	.comm	_AC_WID_AUD_IN,4,2              ; @AC_WID_AUD_IN
	.comm	_AC_VERB_GET_SDI_SELECT,4,2     ; @AC_VERB_GET_SDI_SELECT
l_.str.1:                               ; @.str.1
	.asciz	"  SDI-Select: %d\n"

	.comm	_AC_SDI_SELECT,4,2              ; @AC_SDI_SELECT
	.no_dead_strip	_print_audio_io
.subsections_via_symbols
