	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inno_hdmi_config_video_timing
_inno_hdmi_config_video_timing:         ## @inno_hdmi_config_video_timing
	.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	%rsi, %r13
	movq	%rdi, %r14
	movl	$1, %edi
	callq	_v_EXTERANL_VIDEO
	movl	%eax, %r15d
	movq	_DRM_MODE_FLAG_PHSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r13), %eax
	setne	%dil
	callq	_v_HSYNC_POLARITY
	movl	%eax, %r12d
	movq	_DRM_MODE_FLAG_PVSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r13), %eax
	setne	%dil
	callq	_v_VSYNC_POLARITY
	movl	%eax, %ebx
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r13), %eax
	setne	%dil
	callq	_v_INETLACE
	orl	%r15d, %r12d
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_HDMI_VIDEO_TIMING_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_hdmi_writeb
	movl	4(%r13), %ebx
	movq	_HDMI_VIDEO_EXT_HTOTAL_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VIDEO_EXT_HTOTAL_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	4(%r13), %ebx
	subl	8(%r13), %ebx
	movq	_HDMI_VIDEO_EXT_HBLANK_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VIDEO_EXT_HBLANK_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	12(%r13), %ebx
	subl	8(%r13), %ebx
	movq	_HDMI_VIDEO_EXT_HDELAY_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VIDEO_EXT_HDELAY_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	16(%r13), %ebx
	subl	12(%r13), %ebx
	movq	_HDMI_VIDEO_EXT_HDURATION_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VIDEO_EXT_HDURATION_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	20(%r13), %ebx
	movq	_HDMI_VIDEO_EXT_VTOTAL_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VIDEO_EXT_VTOTAL_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	20(%r13), %eax
	subl	24(%r13), %eax
	movq	_HDMI_VIDEO_EXT_VBLANK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%al, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	28(%r13), %eax
	subl	24(%r13), %eax
	movq	_HDMI_VIDEO_EXT_VDELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%al, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	32(%r13), %eax
	subl	28(%r13), %eax
	movq	_HDMI_VIDEO_EXT_VDURATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%al, %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_PHY_PRE_DIV_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$30, %edx
	callq	_hdmi_writeb
	movq	_HDMI_PHY_FEEDBACK_DIV_RATIO_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$44, %edx
	callq	_hdmi_writeb
	movq	_HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_hdmi_writeb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_PHSYNC,4,2       ## @DRM_MODE_FLAG_PHSYNC
	.comm	_DRM_MODE_FLAG_PVSYNC,4,2       ## @DRM_MODE_FLAG_PVSYNC
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_HDMI_VIDEO_TIMING_CTL,4,2      ## @HDMI_VIDEO_TIMING_CTL
	.comm	_HDMI_VIDEO_EXT_HTOTAL_L,4,2    ## @HDMI_VIDEO_EXT_HTOTAL_L
	.comm	_HDMI_VIDEO_EXT_HTOTAL_H,4,2    ## @HDMI_VIDEO_EXT_HTOTAL_H
	.comm	_HDMI_VIDEO_EXT_HBLANK_L,4,2    ## @HDMI_VIDEO_EXT_HBLANK_L
	.comm	_HDMI_VIDEO_EXT_HBLANK_H,4,2    ## @HDMI_VIDEO_EXT_HBLANK_H
	.comm	_HDMI_VIDEO_EXT_HDELAY_L,4,2    ## @HDMI_VIDEO_EXT_HDELAY_L
	.comm	_HDMI_VIDEO_EXT_HDELAY_H,4,2    ## @HDMI_VIDEO_EXT_HDELAY_H
	.comm	_HDMI_VIDEO_EXT_HDURATION_L,4,2 ## @HDMI_VIDEO_EXT_HDURATION_L
	.comm	_HDMI_VIDEO_EXT_HDURATION_H,4,2 ## @HDMI_VIDEO_EXT_HDURATION_H
	.comm	_HDMI_VIDEO_EXT_VTOTAL_L,4,2    ## @HDMI_VIDEO_EXT_VTOTAL_L
	.comm	_HDMI_VIDEO_EXT_VTOTAL_H,4,2    ## @HDMI_VIDEO_EXT_VTOTAL_H
	.comm	_HDMI_VIDEO_EXT_VBLANK,4,2      ## @HDMI_VIDEO_EXT_VBLANK
	.comm	_HDMI_VIDEO_EXT_VDELAY,4,2      ## @HDMI_VIDEO_EXT_VDELAY
	.comm	_HDMI_VIDEO_EXT_VDURATION,4,2   ## @HDMI_VIDEO_EXT_VDURATION
	.comm	_HDMI_PHY_PRE_DIV_RATIO,4,2     ## @HDMI_PHY_PRE_DIV_RATIO
	.comm	_HDMI_PHY_FEEDBACK_DIV_RATIO_LOW,4,2 ## @HDMI_PHY_FEEDBACK_DIV_RATIO_LOW
	.comm	_HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH,4,2 ## @HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH
	.no_dead_strip	_inno_hdmi_config_video_timing
.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_timing
_inno_hdmi_config_video_timing:         ; @inno_hdmi_config_video_timing
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	mov	w0, #1
	bl	_v_EXTERANL_VIDEO
	mov	x21, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _DRM_MODE_FLAG_PHSYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_FLAG_PHSYNC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_v_HSYNC_POLARITY
	mov	x22, x0
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _DRM_MODE_FLAG_PVSYNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_MODE_FLAG_PVSYNC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_v_VSYNC_POLARITY
	mov	x23, x0
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_v_INETLACE
	orr	w8, w22, w21
	orr	w8, w8, w23
	orr	w2, w8, w0
Lloh9:
	adrp	x8, _HDMI_VIDEO_TIMING_CTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_VIDEO_TIMING_CTL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w21, [x20, #4]
Lloh12:
	adrp	x8, _HDMI_VIDEO_EXT_HTOTAL_L@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HTOTAL_L@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh15:
	adrp	x8, _HDMI_VIDEO_EXT_HTOTAL_H@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HTOTAL_H@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w8, w9, [x20, #4]
	sub	w21, w8, w9
Lloh18:
	adrp	x8, _HDMI_VIDEO_EXT_HBLANK_L@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HBLANK_L@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh21:
	adrp	x8, _HDMI_VIDEO_EXT_HBLANK_H@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HBLANK_H@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w9, w8, [x20, #8]
	sub	w21, w8, w9
Lloh24:
	adrp	x8, _HDMI_VIDEO_EXT_HDELAY_L@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HDELAY_L@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh27:
	adrp	x8, _HDMI_VIDEO_EXT_HDELAY_H@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HDELAY_H@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w9, w8, [x20, #12]
	sub	w21, w8, w9
Lloh30:
	adrp	x8, _HDMI_VIDEO_EXT_HDURATION_L@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HDURATION_L@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh33:
	adrp	x8, _HDMI_VIDEO_EXT_HDURATION_H@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_HDURATION_H@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w21, [x20, #20]
Lloh36:
	adrp	x8, _HDMI_VIDEO_EXT_VTOTAL_L@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_VTOTAL_L@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh39:
	adrp	x8, _HDMI_VIDEO_EXT_VTOTAL_H@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HDMI_VIDEO_EXT_VTOTAL_H@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w8, w9, [x20, #20]
	sub	w8, w8, w9
Lloh42:
	adrp	x9, _HDMI_VIDEO_EXT_VBLANK@GOTPAGE
Lloh43:
	ldr	x9, [x9, _HDMI_VIDEO_EXT_VBLANK@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x9]
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w9, w8, [x20, #24]
	sub	w8, w8, w9
Lloh45:
	adrp	x9, _HDMI_VIDEO_EXT_VDELAY@GOTPAGE
Lloh46:
	ldr	x9, [x9, _HDMI_VIDEO_EXT_VDELAY@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x9]
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
	ldp	w9, w8, [x20, #28]
	sub	w8, w8, w9
Lloh48:
	adrp	x9, _HDMI_VIDEO_EXT_VDURATION@GOTPAGE
Lloh49:
	ldr	x9, [x9, _HDMI_VIDEO_EXT_VDURATION@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x9]
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_hdmi_writeb
Lloh51:
	adrp	x8, _HDMI_PHY_PRE_DIV_RATIO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _HDMI_PHY_PRE_DIV_RATIO@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #30
	bl	_hdmi_writeb
Lloh54:
	adrp	x8, _HDMI_PHY_FEEDBACK_DIV_RATIO_LOW@GOTPAGE
Lloh55:
	ldr	x8, [x8, _HDMI_PHY_FEEDBACK_DIV_RATIO_LOW@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #44
	bl	_hdmi_writeb
Lloh57:
	adrp	x8, _HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH@GOTPAGE
Lloh58:
	ldr	x8, [x8, _HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_hdmi_writeb
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_PHSYNC,4,2       ; @DRM_MODE_FLAG_PHSYNC
	.comm	_DRM_MODE_FLAG_PVSYNC,4,2       ; @DRM_MODE_FLAG_PVSYNC
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_HDMI_VIDEO_TIMING_CTL,4,2      ; @HDMI_VIDEO_TIMING_CTL
	.comm	_HDMI_VIDEO_EXT_HTOTAL_L,4,2    ; @HDMI_VIDEO_EXT_HTOTAL_L
	.comm	_HDMI_VIDEO_EXT_HTOTAL_H,4,2    ; @HDMI_VIDEO_EXT_HTOTAL_H
	.comm	_HDMI_VIDEO_EXT_HBLANK_L,4,2    ; @HDMI_VIDEO_EXT_HBLANK_L
	.comm	_HDMI_VIDEO_EXT_HBLANK_H,4,2    ; @HDMI_VIDEO_EXT_HBLANK_H
	.comm	_HDMI_VIDEO_EXT_HDELAY_L,4,2    ; @HDMI_VIDEO_EXT_HDELAY_L
	.comm	_HDMI_VIDEO_EXT_HDELAY_H,4,2    ; @HDMI_VIDEO_EXT_HDELAY_H
	.comm	_HDMI_VIDEO_EXT_HDURATION_L,4,2 ; @HDMI_VIDEO_EXT_HDURATION_L
	.comm	_HDMI_VIDEO_EXT_HDURATION_H,4,2 ; @HDMI_VIDEO_EXT_HDURATION_H
	.comm	_HDMI_VIDEO_EXT_VTOTAL_L,4,2    ; @HDMI_VIDEO_EXT_VTOTAL_L
	.comm	_HDMI_VIDEO_EXT_VTOTAL_H,4,2    ; @HDMI_VIDEO_EXT_VTOTAL_H
	.comm	_HDMI_VIDEO_EXT_VBLANK,4,2      ; @HDMI_VIDEO_EXT_VBLANK
	.comm	_HDMI_VIDEO_EXT_VDELAY,4,2      ; @HDMI_VIDEO_EXT_VDELAY
	.comm	_HDMI_VIDEO_EXT_VDURATION,4,2   ; @HDMI_VIDEO_EXT_VDURATION
	.comm	_HDMI_PHY_PRE_DIV_RATIO,4,2     ; @HDMI_PHY_PRE_DIV_RATIO
	.comm	_HDMI_PHY_FEEDBACK_DIV_RATIO_LOW,4,2 ; @HDMI_PHY_FEEDBACK_DIV_RATIO_LOW
	.comm	_HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH,4,2 ; @HDMI_PHY_FEEDBACK_DIV_RATIO_HIGH
	.no_dead_strip	_inno_hdmi_config_video_timing
.subsections_via_symbols
