	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hdmi_show_eld              ## -- Begin function snd_hdmi_show_eld
	.p2align	4, 0x90
_snd_hdmi_show_eld:                     ## @snd_hdmi_show_eld
	.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
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SND_PR_VERBOSE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movslq	32(%r13), %rdx
	movq	_eld_connection_type_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	__snd_printd
	cmpq	$0, 24(%r13)
	je	LBB0_2
## %bb.1:
	movq	%rsp, %rbx
	movq	_SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	24(%r13), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_snd_print_channel_allocation
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	__snd_printd
	movq	%rbx, %rsp
LBB0_2:
	cmpl	$0, 8(%r13)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	addq	%rbx, %rdi
	callq	_hdmi_show_short_audio_desc
	incq	%rbx
	movslq	8(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_PR_VERBOSE,4,2             ## @SND_PR_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMI: detected monitor %s at connection type %s\n"

	.comm	_eld_connection_type_names,8,3  ## @eld_connection_type_names
	.comm	_SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE,4,2 ## @SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE
L_.str.1:                               ## @.str.1
	.asciz	"HDMI: available speakers:%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hdmi_show_eld              ; -- Begin function snd_hdmi_show_eld
	.p2align	2
_snd_hdmi_show_eld:                     ; @snd_hdmi_show_eld
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _SND_PR_VERBOSE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SND_PR_VERBOSE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldrsw	x2, [x19, #32]
Lloh5:
	adrp	x8, _eld_connection_type_names@GOTPAGE
Lloh6:
	ldr	x8, [x8, _eld_connection_type_names@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp, #-16]!
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	__snd_printd
	add	sp, sp, #16
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x22, sp
Lloh10:
	adrp	x8, _SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x9, x2
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldr	x0, [x19, #24]
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_snd_print_channel_allocation
	ldr	w0, [x21]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	__snd_printd
	mov	sp, x22
LBB0_2:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x20, x8
	bl	_hdmi_show_short_audio_desc
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_PR_VERBOSE,4,2             ; @SND_PR_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMI: detected monitor %s at connection type %s\n"

	.comm	_eld_connection_type_names,8,3  ; @eld_connection_type_names
	.comm	_SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE,4,2 ; @SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE
l_.str.1:                               ; @.str.1
	.asciz	"HDMI: available speakers:%s\n"

.subsections_via_symbols
