	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inno_hdmi_config_video_avi
_inno_hdmi_config_video_avi:            ## @inno_hdmi_config_video_avi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	leaq	8(%rdi), %rsi
	leaq	-16(%rbp), %rdi
	callq	_drm_hdmi_avi_infoframe_from_display_mode
	movq	(%rbx), %rcx
	movq	_HDMI_COLORSPACE_YUV444@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_HDMI_COLORSPACE_YUV422@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	_HDMI_COLORSPACE_RGB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_3:
	movq	%rcx, -16(%rbp)
	movq	_INFOFRAME_AVI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$0, (%rsp)
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_inno_hdmi_upload_frame
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_COLORSPACE_YUV444,8,3     ## @HDMI_COLORSPACE_YUV444
	.comm	_HDMI_COLORSPACE_YUV422,8,3     ## @HDMI_COLORSPACE_YUV422
	.comm	_HDMI_COLORSPACE_RGB,8,3        ## @HDMI_COLORSPACE_RGB
	.comm	_INFOFRAME_AVI,4,2              ## @INFOFRAME_AVI
	.no_dead_strip	_inno_hdmi_config_video_avi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inno_hdmi_config_video_avi
_inno_hdmi_config_video_avi:            ; @inno_hdmi_config_video_avi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x2, x1
	mov	x19, x0
	add	x1, x0, #8
	add	x0, sp, #8
	bl	_drm_hdmi_avi_infoframe_from_display_mode
	mov	x1, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _HDMI_COLORSPACE_YUV444@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMI_COLORSPACE_YUV444@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _HDMI_COLORSPACE_YUV422@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HDMI_COLORSPACE_YUV422@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _HDMI_COLORSPACE_RGB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_COLORSPACE_RGB@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
LBB0_3:
	str	x8, [sp, #8]
Lloh9:
	adrp	x8, _INFOFRAME_AVI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INFOFRAME_AVI@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_inno_hdmi_upload_frame
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_COLORSPACE_YUV444,8,3     ; @HDMI_COLORSPACE_YUV444
	.comm	_HDMI_COLORSPACE_YUV422,8,3     ; @HDMI_COLORSPACE_YUV422
	.comm	_HDMI_COLORSPACE_RGB,8,3        ; @HDMI_COLORSPACE_RGB
	.comm	_INFOFRAME_AVI,4,2              ; @INFOFRAME_AVI
	.no_dead_strip	_inno_hdmi_config_video_avi
.subsections_via_symbols
