	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hdmi_eld_update_pcm_info   ## -- Begin function snd_hdmi_eld_update_pcm_info
	.p2align	4, 0x90
_snd_hdmi_eld_update_pcm_info:          ## @snd_hdmi_eld_update_pcm_info
	.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
	movq	_SNDRV_PCM_RATE_32000@GOTPCREL(%rip), %rcx
	movq	_SNDRV_PCM_RATE_44100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_SNDRV_PCM_RATE_48000@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SNDRV_PCM_FMTBIT_S16_LE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r8
	movq	_AUDIO_CODING_TYPE_LPCM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r13
	movq	_AC_SUPPCM_BITS_20@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_SNDRV_PCM_FMTBIT_S32_LE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movq	_AC_SUPPCM_BITS_24@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %r15
	movl	$16, %esi
	movl	$2, %r12d
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	orl	(%r8,%rdi), %eax
	addq	$24, %rdi
	cmpq	%rdi, %r15
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r8,%rdi), %r14d
	cmpl	%r12d, %r14d
	cmoval	%r14d, %r12d
	cmpq	%r13, 8(%r8,%rdi)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r8,%rdi), %ecx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	andl	%ecx, %ebx
	cmpl	$21, %esi
	movl	$20, %edx
	cmovael	%esi, %edx
	testl	%ebx, %ebx
	cmovel	%esi, %edx
	andl	%r10d, %ecx
	orl	%ecx, %ebx
	movl	%r9d, %esi
	movl	$0, %ebx
	cmovel	%ebx, %esi
	orl	%esi, %r11d
	testl	%ecx, %ecx
	movl	$24, %ecx
	cmovnel	%ecx, %edx
	movl	%edx, %esi
	jmp	LBB0_5
LBB0_1:
	movl	$2, %r12d
	movl	$16, %esi
LBB0_6:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	andl	%eax, (%rbx)
	andl	%r11d, 24(%rbx)
	movq	16(%rbx), %rdi
	callq	_min
	movq	%rax, 16(%rbx)
	movq	8(%rbx), %rdi
	movl	%r12d, %esi
	callq	_min
	movq	%rax, 8(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_RATE_32000,4,2       ## @SNDRV_PCM_RATE_32000
	.comm	_SNDRV_PCM_RATE_44100,4,2       ## @SNDRV_PCM_RATE_44100
	.comm	_SNDRV_PCM_RATE_48000,4,2       ## @SNDRV_PCM_RATE_48000
	.comm	_SNDRV_PCM_FMTBIT_S16_LE,4,2    ## @SNDRV_PCM_FMTBIT_S16_LE
	.comm	_AUDIO_CODING_TYPE_LPCM,8,3     ## @AUDIO_CODING_TYPE_LPCM
	.comm	_AC_SUPPCM_BITS_20,4,2          ## @AC_SUPPCM_BITS_20
	.comm	_SNDRV_PCM_FMTBIT_S32_LE,4,2    ## @SNDRV_PCM_FMTBIT_S32_LE
	.comm	_AC_SUPPCM_BITS_24,4,2          ## @AC_SUPPCM_BITS_24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hdmi_eld_update_pcm_info   ; -- Begin function snd_hdmi_eld_update_pcm_info
	.p2align	2
_snd_hdmi_eld_update_pcm_info:          ; @snd_hdmi_eld_update_pcm_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _SNDRV_PCM_RATE_32000@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_RATE_32000@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SNDRV_PCM_RATE_44100@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_PCM_RATE_44100@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SNDRV_PCM_RATE_48000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNDRV_PCM_RATE_48000@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w8, w9
Lloh9:
	adrp	x8, _SNDRV_PCM_FMTBIT_S16_LE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_FMTBIT_S16_LE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x14, [x0, #8]
Lloh12:
	adrp	x11, _AUDIO_CODING_TYPE_LPCM@GOTPAGE
Lloh13:
	ldr	x11, [x11, _AUDIO_CODING_TYPE_LPCM@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
Lloh15:
	adrp	x12, _AC_SUPPCM_BITS_20@GOTPAGE
Lloh16:
	ldr	x12, [x12, _AC_SUPPCM_BITS_20@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
Lloh18:
	adrp	x13, _SNDRV_PCM_FMTBIT_S32_LE@GOTPAGE
Lloh19:
	ldr	x13, [x13, _SNDRV_PCM_FMTBIT_S32_LE@GOTPAGEOFF]
Lloh20:
	ldr	w13, [x13]
Lloh21:
	adrp	x15, _AC_SUPPCM_BITS_24@GOTPAGE
Lloh22:
	ldr	x15, [x15, _AC_SUPPCM_BITS_24@GOTPAGEOFF]
	add	x14, x14, #8
Lloh23:
	ldr	w15, [x15]
	mov	w1, #16
	mov	w20, #2
	mov	w16, #20
	mov	w17, #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w0, [x14, #-8]
	orr	w9, w0, w9
	add	x14, x14, #24
	subs	x10, x10, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x14, #-4]
	cmp	w0, w20
	csel	w20, w0, w20, hi
	ldr	x0, [x14]
	cmp	x0, x11
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x14, #8]
	cmp	w1, #20
	csel	w2, w1, w16, hi
	ands	w3, w12, w0
	csel	w1, w1, w2, eq
	ands	w0, w15, w0
	orr	w0, w0, w3
	csel	w1, w1, w17, eq
	cmp	w0, #0
	csel	w0, wzr, w13, eq
	orr	w8, w0, w8
	b	LBB0_2
LBB0_5:
	mov	w20, #2
	mov	w1, #16
LBB0_6:
	ldr	w10, [x19]
	and	w9, w10, w9
	str	w9, [x19]
	ldr	w9, [x19, #24]
	and	w8, w9, w8
	str	w8, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_min
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_min
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_RATE_32000,4,2       ; @SNDRV_PCM_RATE_32000
	.comm	_SNDRV_PCM_RATE_44100,4,2       ; @SNDRV_PCM_RATE_44100
	.comm	_SNDRV_PCM_RATE_48000,4,2       ; @SNDRV_PCM_RATE_48000
	.comm	_SNDRV_PCM_FMTBIT_S16_LE,4,2    ; @SNDRV_PCM_FMTBIT_S16_LE
	.comm	_AUDIO_CODING_TYPE_LPCM,8,3     ; @AUDIO_CODING_TYPE_LPCM
	.comm	_AC_SUPPCM_BITS_20,4,2          ; @AC_SUPPCM_BITS_20
	.comm	_SNDRV_PCM_FMTBIT_S32_LE,4,2    ; @SNDRV_PCM_FMTBIT_S32_LE
	.comm	_AC_SUPPCM_BITS_24,4,2          ; @AC_SUPPCM_BITS_24
.subsections_via_symbols
