	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_parse_hdmi_vsdb_audio
_drm_parse_hdmi_vsdb_audio:             ## @drm_parse_hdmi_vsdb_audio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_cea_db_payload_len
	cmpl	$6, %eax
	jl	LBB0_9
## %bb.1:
	testb	$-128, 24(%r14)
	je	LBB0_3
## %bb.2:
	movq	_DRM_ELD_SUPPORTS_AI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	24(%rbx), %rdx
	movq	_DRM_ELD_SAD_COUNT_CONN_TYPE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	orl	%ecx, (%rdx,%rsi,4)
LBB0_3:
	cmpl	$8, %eax
	jb	LBB0_9
## %bb.4:
	movl	32(%r14), %ecx
	sarl	$7, %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	32(%r14), %ecx
	shrl	$6, %ecx
	andl	$1, %ecx
	movl	%ecx, 4(%rdx)
	cmpl	$8, %eax
	je	LBB0_9
## %bb.5:
	movl	36(%r14), %edx
	movq	8(%rbx), %rcx
	movl	%edx, (%rcx)
	cmpl	$10, %eax
	jb	LBB0_9
## %bb.6:
	movl	40(%r14), %esi
	movq	16(%rbx), %rdx
	movl	%esi, (%rdx)
	je	LBB0_9
## %bb.7:
	movl	44(%r14), %esi
	movl	%esi, 4(%rcx)
	cmpl	$12, %eax
	jb	LBB0_9
## %bb.8:
	movl	48(%r14), %eax
	movl	%eax, 4(%rdx)
LBB0_9:
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	movq	16(%rbx), %rax
	movl	(%rax), %r9d
	movl	4(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_ELD_SUPPORTS_AI,4,2        ## @DRM_ELD_SUPPORTS_AI
	.comm	_DRM_ELD_SAD_COUNT_CONN_TYPE,8,3 ## @DRM_ELD_SAD_COUNT_CONN_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMI: latency present %d %d, video latency %d %d, audio latency %d %d\n"

	.no_dead_strip	_drm_parse_hdmi_vsdb_audio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_parse_hdmi_vsdb_audio
_drm_parse_hdmi_vsdb_audio:             ; @drm_parse_hdmi_vsdb_audio
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_cea_db_payload_len
	cmp	w0, #6
	b.lt	LBB0_9
; %bb.1:
	ldrb	w8, [x20, #24]
	tbz	w8, #7, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _DRM_ELD_SUPPORTS_AI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_ELD_SUPPORTS_AI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19, #24]
Lloh3:
	adrp	x10, _DRM_ELD_SAD_COUNT_CONN_TYPE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRM_ELD_SAD_COUNT_CONN_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
LBB0_3:
	cmp	w0, #8
	b.lo	LBB0_9
; %bb.4:
	ldr	w8, [x20, #32]
	asr	w8, w8, #7
	ldr	x9, [x19]
	str	w8, [x9]
	ldr	w8, [x20, #32]
	ubfx	w8, w8, #6, #1
	str	w8, [x9, #4]
	cmp	w0, #8
	b.eq	LBB0_9
; %bb.5:
	ldr	w9, [x20, #36]
	ldr	x8, [x19, #8]
	str	w9, [x8]
	cmp	w0, #10
	b.lo	LBB0_9
; %bb.6:
	ldr	w10, [x20, #40]
	ldr	x9, [x19, #16]
	str	w10, [x9]
	cmp	w0, #10
	b.eq	LBB0_9
; %bb.7:
	ldr	w10, [x20, #44]
	str	w10, [x8, #4]
	cmp	w0, #12
	b.lo	LBB0_9
; %bb.8:
	ldr	w8, [x20, #48]
	str	w8, [x9, #4]
LBB0_9:
	ldp	x8, x9, [x19]
	ldp	w1, w2, [x8]
	ldp	w3, w4, [x9]
	ldr	x8, [x19, #16]
	ldp	w5, w6, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DRM_DEBUG_KMS
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_ELD_SUPPORTS_AI,4,2        ; @DRM_ELD_SUPPORTS_AI
	.comm	_DRM_ELD_SAD_COUNT_CONN_TYPE,8,3 ; @DRM_ELD_SAD_COUNT_CONN_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMI: latency present %d %d, video latency %d %d, audio latency %d %d\n"

	.no_dead_strip	_drm_parse_hdmi_vsdb_audio
.subsections_via_symbols
