	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_video_packetize
_hdmi_video_packetize:                  ## @hdmi_video_packetize
	.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, %rbx
	movq	_HDMI_VP_REMAP_YCC422_16bit@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_PP@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movl	4(%rdi), %edi
	callq	_hdmi_bus_fmt_is_rgb
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	4(%rbx), %edi
	callq	_hdmi_bus_fmt_is_yuv444
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	callq	_hdmi_bus_fmt_is_yuv420
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	4(%rbx), %edi
	callq	_hdmi_bus_fmt_color_depth
                                        ## kill: def $eax killed $eax def $rax
	addl	$-8, %eax
	cmpl	$8, %eax
	ja	LBB0_8
## %bb.4:
	movl	$5, %edx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$4, %edx
	jmp	LBB0_14
LBB0_8:
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r14d
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_6:
	movl	$6, %edx
	jmp	LBB0_14
LBB0_7:
	movl	$7, %edx
LBB0_14:
	movq	_HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_HDMI_VP_PR_CD_COLOR_DEPTH_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movl	(%rbx), %esi
	movq	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	orl	%edx, %esi
	movq	_HDMI_VP_PR_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_VP_STUFF_PR_STUFFING_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_VP_STUFF@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_VP_CONF_PR_EN_ENABLE@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_CONF_PR_EN_DISABLE@GOTPCREL(%rip), %rcx
	movq	_HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %edx
	orl	(%rcx), %esi
	cmpl	$2, (%rbx)
	cmovael	%edx, %esi
	movq	_HDMI_VP_CONF_PR_EN_MASK@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_CONF_BYPASS_SELECT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_HDMI_VP_CONF@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	_HDMI_VP_STUFF_IDEFAULT_PHASE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_VP_REMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_hdmi_writeb
	movq	_HDMI_VP_CONF_YCC422_EN_DISABLE@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_CONF_BYPASS_EN_DISABLE@GOTPCREL(%rip), %rcx
	cmpl	(%r15), %r14d
	jne	LBB0_16
## %bb.15:
	movq	_HDMI_VP_CONF_PP_EN_ENABLE@GOTPCREL(%rip), %rdx
	jmp	LBB0_20
LBB0_16:
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPCREL(%rip), %rsi
	movq	_HDMI_VP_CONF_PP_EN_DISABLE@GOTPCREL(%rip), %rdx
	cmpl	(%rsi), %r14d
	jne	LBB0_18
## %bb.17:
	movq	_HDMI_VP_CONF_YCC422_EN_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jne	LBB0_21
## %bb.19:
	movq	_HDMI_VP_CONF_BYPASS_EN_ENABLE@GOTPCREL(%rip), %rcx
LBB0_20:
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_HDMI_VP_CONF_BYPASS_EN_MASK@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_CONF_PP_EN_ENMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_HDMI_VP_CONF_YCC422_EN_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_HDMI_VP_STUFF_PP_STUFFING_MASK@GOTPCREL(%rip), %rax
	movq	_HDMI_VP_STUFF_YCC422_STUFFING_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_modb                      ## TAILCALL
LBB0_9:
	movl	4(%rbx), %edi
	callq	_hdmi_bus_fmt_is_yuv422
	testq	%rax, %rax
	je	LBB0_21
## %bb.10:
	movl	4(%rbx), %edi
	callq	_hdmi_bus_fmt_color_depth
	rorl	%eax
	cmpl	$6, %eax
	ja	LBB0_21
## %bb.11:
	movl	$113, %ecx
	btl	%eax, %ecx
	jb	LBB0_12
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cltq
	leaq	l_switch.table.hdmi_video_packetize(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_HDMI_VP_REMAP_YCC422_16bit,4,2 ## @HDMI_VP_REMAP_YCC422_16bit
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_PP,4,2 ## @HDMI_VP_CONF_OUTPUT_SELECTOR_PP
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS,4,2 ## @HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS
	.comm	_HDMI_VP_REMAP_YCC422_20bit,4,2 ## @HDMI_VP_REMAP_YCC422_20bit
	.comm	_HDMI_VP_REMAP_YCC422_24bit,4,2 ## @HDMI_VP_REMAP_YCC422_24bit
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422,4,2 ## @HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422
	.comm	_HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET,4,2 ## @HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET
	.comm	_HDMI_VP_PR_CD_COLOR_DEPTH_MASK,4,2 ## @HDMI_VP_PR_CD_COLOR_DEPTH_MASK
	.comm	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET,4,2 ## @HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET
	.comm	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK,4,2 ## @HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK
	.comm	_HDMI_VP_PR_CD,4,2              ## @HDMI_VP_PR_CD
	.comm	_HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE,4,2 ## @HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_PR_STUFFING_MASK,4,2 ## @HDMI_VP_STUFF_PR_STUFFING_MASK
	.comm	_HDMI_VP_STUFF,4,2              ## @HDMI_VP_STUFF
	.comm	_HDMI_VP_CONF_PR_EN_ENABLE,4,2  ## @HDMI_VP_CONF_PR_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER,4,2 ## @HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER
	.comm	_HDMI_VP_CONF_PR_EN_DISABLE,4,2 ## @HDMI_VP_CONF_PR_EN_DISABLE
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER,4,2 ## @HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER
	.comm	_HDMI_VP_CONF_PR_EN_MASK,4,2    ## @HDMI_VP_CONF_PR_EN_MASK
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_MASK,4,2 ## @HDMI_VP_CONF_BYPASS_SELECT_MASK
	.comm	_HDMI_VP_CONF,4,2               ## @HDMI_VP_CONF
	.comm	_HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET,4,2 ## @HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET
	.comm	_HDMI_VP_STUFF_IDEFAULT_PHASE_MASK,4,2 ## @HDMI_VP_STUFF_IDEFAULT_PHASE_MASK
	.comm	_HDMI_VP_REMAP,4,2              ## @HDMI_VP_REMAP
	.comm	_HDMI_VP_CONF_BYPASS_EN_DISABLE,4,2 ## @HDMI_VP_CONF_BYPASS_EN_DISABLE
	.comm	_HDMI_VP_CONF_PP_EN_ENABLE,4,2  ## @HDMI_VP_CONF_PP_EN_ENABLE
	.comm	_HDMI_VP_CONF_YCC422_EN_DISABLE,4,2 ## @HDMI_VP_CONF_YCC422_EN_DISABLE
	.comm	_HDMI_VP_CONF_PP_EN_DISABLE,4,2 ## @HDMI_VP_CONF_PP_EN_DISABLE
	.comm	_HDMI_VP_CONF_YCC422_EN_ENABLE,4,2 ## @HDMI_VP_CONF_YCC422_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_EN_ENABLE,4,2 ## @HDMI_VP_CONF_BYPASS_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_EN_MASK,4,2 ## @HDMI_VP_CONF_BYPASS_EN_MASK
	.comm	_HDMI_VP_CONF_PP_EN_ENMASK,4,2  ## @HDMI_VP_CONF_PP_EN_ENMASK
	.comm	_HDMI_VP_CONF_YCC422_EN_MASK,4,2 ## @HDMI_VP_CONF_YCC422_EN_MASK
	.comm	_HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE,4,2 ## @HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE,4,2 ## @HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_PP_STUFFING_MASK,4,2 ## @HDMI_VP_STUFF_PP_STUFFING_MASK
	.comm	_HDMI_VP_STUFF_YCC422_STUFFING_MASK,4,2 ## @HDMI_VP_STUFF_YCC422_STUFFING_MASK
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_MASK,4,2 ## @HDMI_VP_CONF_OUTPUT_SELECTOR_MASK
	.no_dead_strip	_hdmi_video_packetize
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.hdmi_video_packetize
l_switch.table.hdmi_video_packetize:
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_20bit
	.quad	_HDMI_VP_REMAP_YCC422_24bit

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_video_packetize
_hdmi_video_packetize:                  ; @hdmi_video_packetize
	.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	x19, x0
Lloh0:
	adrp	x8, _HDMI_VP_REMAP_YCC422_16bit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_VP_REMAP_YCC422_16bit@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x22, _HDMI_VP_CONF_OUTPUT_SELECTOR_PP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _HDMI_VP_CONF_OUTPUT_SELECTOR_PP@GOTPAGEOFF]
	ldr	w20, [x22]
	ldr	w0, [x0, #4]
	bl	_hdmi_bus_fmt_is_rgb
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_hdmi_bus_fmt_is_yuv444
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_hdmi_bus_fmt_is_yuv420
	cbz	x0, LBB0_18
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_hdmi_bus_fmt_color_depth
	sub	w9, w0, #8
	cmp	w9, #8
	b.hi	LBB0_6
; %bb.4:
	mov	w8, #5
Lloh5:
	adrp	x10, lJTI0_0@PAGE
Lloh6:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh7:
	adrp	x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	w8, #4
	b	LBB0_10
LBB0_6:
	mov	w8, #0
Lloh10:
	adrp	x9, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGEOFF]
LBB0_7:
	ldr	w20, [x9]
	b	LBB0_10
LBB0_8:
	mov	w8, #6
	b	LBB0_10
LBB0_9:
	mov	w8, #7
LBB0_10:
Lloh12:
	adrp	x9, _HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh15:
	adrp	x9, _HDMI_VP_PR_CD_COLOR_DEPTH_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HDMI_VP_PR_CD_COLOR_DEPTH_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w8, w9
	ldr	w9, [x19]
Lloh18:
	adrp	x10, _HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET@GOTPAGE
Lloh19:
	ldr	x10, [x10, _HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh21:
	adrp	x10, _HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w1, w9, w8
Lloh24:
	adrp	x8, _HDMI_VP_PR_CD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMI_VP_PR_CD@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
Lloh27:
	adrp	x8, _HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _HDMI_VP_STUFF_PR_STUFFING_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HDMI_VP_STUFF_PR_STUFFING_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x23, _HDMI_VP_STUFF@GOTPAGE
Lloh34:
	ldr	x23, [x23, _HDMI_VP_STUFF@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x19
	bl	_hdmi_modb
	ldr	w8, [x19]
Lloh35:
	adrp	x9, _HDMI_VP_CONF_PR_EN_ENABLE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HDMI_VP_CONF_PR_EN_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _HDMI_VP_CONF_PR_EN_DISABLE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _HDMI_VP_CONF_PR_EN_DISABLE@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
Lloh41:
	adrp	x11, _HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER@GOTPAGE
Lloh42:
	ldr	x11, [x11, _HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
Lloh44:
	adrp	x12, _HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER@GOTPAGE
Lloh45:
	ldr	x12, [x12, _HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER@GOTPAGEOFF]
Lloh46:
	ldr	w12, [x12]
	orr	w9, w11, w9
	orr	w10, w12, w10
	cmp	w8, #1
	csel	w1, w9, w10, hi
Lloh47:
	adrp	x8, _HDMI_VP_CONF_PR_EN_MASK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _HDMI_VP_CONF_PR_EN_MASK@GOTPAGEOFF]
Lloh49:
	adrp	x9, _HDMI_VP_CONF_BYPASS_SELECT_MASK@GOTPAGE
Lloh50:
	ldr	x9, [x9, _HDMI_VP_CONF_BYPASS_SELECT_MASK@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh53:
	adrp	x24, _HDMI_VP_CONF@GOTPAGE
Lloh54:
	ldr	x24, [x24, _HDMI_VP_CONF@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x19
	bl	_hdmi_modb
Lloh55:
	adrp	x8, _HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET@GOTPAGE
Lloh56:
	ldr	x8, [x8, _HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w1, w9, w8
Lloh58:
	adrp	x8, _HDMI_VP_STUFF_IDEFAULT_PHASE_MASK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HDMI_VP_STUFF_IDEFAULT_PHASE_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	bl	_hdmi_modb
Lloh61:
	adrp	x8, _HDMI_VP_REMAP@GOTPAGE
Lloh62:
	ldr	x8, [x8, _HDMI_VP_REMAP@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_hdmi_writeb
	ldr	w8, [x22]
	cmp	w20, w8
	b.ne	LBB0_12
; %bb.11:
Lloh64:
	adrp	x8, _HDMI_VP_CONF_YCC422_EN_DISABLE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _HDMI_VP_CONF_YCC422_EN_DISABLE@GOTPAGEOFF]
Lloh66:
	adrp	x9, _HDMI_VP_CONF_PP_EN_ENABLE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _HDMI_VP_CONF_PP_EN_ENABLE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh68:
	adrp	x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPAGE
Lloh69:
	ldr	x8, [x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_16
; %bb.13:
Lloh71:
	adrp	x8, _HDMI_VP_CONF_YCC422_EN_ENABLE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _HDMI_VP_CONF_YCC422_EN_ENABLE@GOTPAGEOFF]
Lloh73:
	adrp	x9, _HDMI_VP_CONF_PP_EN_DISABLE@GOTPAGE
Lloh74:
	ldr	x9, [x9, _HDMI_VP_CONF_PP_EN_DISABLE@GOTPAGEOFF]
LBB0_14:
Lloh75:
	adrp	x10, _HDMI_VP_CONF_BYPASS_EN_DISABLE@GOTPAGE
Lloh76:
	ldr	x10, [x10, _HDMI_VP_CONF_BYPASS_EN_DISABLE@GOTPAGEOFF]
LBB0_15:
	ldr	w10, [x10]
	ldr	w9, [x9]
	orr	w9, w9, w10
	ldr	w8, [x8]
	orr	w1, w9, w8
Lloh77:
	adrp	x8, _HDMI_VP_CONF_BYPASS_EN_MASK@GOTPAGE
Lloh78:
	ldr	x8, [x8, _HDMI_VP_CONF_BYPASS_EN_MASK@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
Lloh80:
	adrp	x9, _HDMI_VP_CONF_PP_EN_ENMASK@GOTPAGE
Lloh81:
	ldr	x9, [x9, _HDMI_VP_CONF_PP_EN_ENMASK@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh83:
	adrp	x9, _HDMI_VP_CONF_YCC422_EN_MASK@GOTPAGE
Lloh84:
	ldr	x9, [x9, _HDMI_VP_CONF_YCC422_EN_MASK@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w3, [x24]
	mov	x0, x19
	bl	_hdmi_modb
Lloh86:
	adrp	x8, _HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE@GOTPAGE
Lloh87:
	ldr	x8, [x8, _HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
Lloh89:
	adrp	x9, _HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE@GOTPAGE
Lloh90:
	ldr	x9, [x9, _HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh92:
	adrp	x8, _HDMI_VP_STUFF_PP_STUFFING_MASK@GOTPAGE
Lloh93:
	ldr	x8, [x8, _HDMI_VP_STUFF_PP_STUFFING_MASK@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
Lloh95:
	adrp	x9, _HDMI_VP_STUFF_YCC422_STUFFING_MASK@GOTPAGE
Lloh96:
	ldr	x9, [x9, _HDMI_VP_STUFF_YCC422_STUFFING_MASK@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w3, [x23]
	mov	x0, x19
	bl	_hdmi_modb
Lloh98:
	adrp	x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_MASK@GOTPAGE
Lloh99:
	ldr	x8, [x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_MASK@GOTPAGEOFF]
Lloh100:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x20
	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
	b	_hdmi_modb
LBB0_16:
Lloh101:
	adrp	x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGE
Lloh102:
	ldr	x8, [x8, _HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_21
; %bb.17:
Lloh104:
	adrp	x8, _HDMI_VP_CONF_YCC422_EN_DISABLE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _HDMI_VP_CONF_YCC422_EN_DISABLE@GOTPAGEOFF]
Lloh106:
	adrp	x9, _HDMI_VP_CONF_PP_EN_DISABLE@GOTPAGE
Lloh107:
	ldr	x9, [x9, _HDMI_VP_CONF_PP_EN_DISABLE@GOTPAGEOFF]
Lloh108:
	adrp	x10, _HDMI_VP_CONF_BYPASS_EN_ENABLE@GOTPAGE
Lloh109:
	ldr	x10, [x10, _HDMI_VP_CONF_BYPASS_EN_ENABLE@GOTPAGEOFF]
	b	LBB0_15
LBB0_18:
	ldr	w0, [x19, #4]
	bl	_hdmi_bus_fmt_is_yuv422
	cbz	x0, LBB0_21
; %bb.19:
	ldr	w0, [x19, #4]
	bl	_hdmi_bus_fmt_color_depth
	ror	w9, w0, #1
	cmp	w9, #6
	b.hi	LBB0_21
; %bb.20:
	mov	w8, #113
	lsr	w8, w8, w9
	tbnz	w8, #0, LBB0_22
LBB0_21:
	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
LBB0_22:
	mov	w8, #0
Lloh110:
	adrp	x10, l_switch.table.hdmi_video_packetize@PAGE
Lloh111:
	add	x10, x10, l_switch.table.hdmi_video_packetize@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	ldr	w21, [x9]
Lloh112:
	adrp	x9, _HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPAGE
Lloh113:
	ldr	x9, [x9, _HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh51
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.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 AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_HDMI_VP_REMAP_YCC422_16bit,4,2 ; @HDMI_VP_REMAP_YCC422_16bit
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_PP,4,2 ; @HDMI_VP_CONF_OUTPUT_SELECTOR_PP
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS,4,2 ; @HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS
	.comm	_HDMI_VP_REMAP_YCC422_20bit,4,2 ; @HDMI_VP_REMAP_YCC422_20bit
	.comm	_HDMI_VP_REMAP_YCC422_24bit,4,2 ; @HDMI_VP_REMAP_YCC422_24bit
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422,4,2 ; @HDMI_VP_CONF_OUTPUT_SELECTOR_YCC422
	.comm	_HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET,4,2 ; @HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET
	.comm	_HDMI_VP_PR_CD_COLOR_DEPTH_MASK,4,2 ; @HDMI_VP_PR_CD_COLOR_DEPTH_MASK
	.comm	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET,4,2 ; @HDMI_VP_PR_CD_DESIRED_PR_FACTOR_OFFSET
	.comm	_HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK,4,2 ; @HDMI_VP_PR_CD_DESIRED_PR_FACTOR_MASK
	.comm	_HDMI_VP_PR_CD,4,2              ; @HDMI_VP_PR_CD
	.comm	_HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE,4,2 ; @HDMI_VP_STUFF_PR_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_PR_STUFFING_MASK,4,2 ; @HDMI_VP_STUFF_PR_STUFFING_MASK
	.comm	_HDMI_VP_STUFF,4,2              ; @HDMI_VP_STUFF
	.comm	_HDMI_VP_CONF_PR_EN_ENABLE,4,2  ; @HDMI_VP_CONF_PR_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER,4,2 ; @HDMI_VP_CONF_BYPASS_SELECT_PIX_REPEATER
	.comm	_HDMI_VP_CONF_PR_EN_DISABLE,4,2 ; @HDMI_VP_CONF_PR_EN_DISABLE
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER,4,2 ; @HDMI_VP_CONF_BYPASS_SELECT_VID_PACKETIZER
	.comm	_HDMI_VP_CONF_PR_EN_MASK,4,2    ; @HDMI_VP_CONF_PR_EN_MASK
	.comm	_HDMI_VP_CONF_BYPASS_SELECT_MASK,4,2 ; @HDMI_VP_CONF_BYPASS_SELECT_MASK
	.comm	_HDMI_VP_CONF,4,2               ; @HDMI_VP_CONF
	.comm	_HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET,4,2 ; @HDMI_VP_STUFF_IDEFAULT_PHASE_OFFSET
	.comm	_HDMI_VP_STUFF_IDEFAULT_PHASE_MASK,4,2 ; @HDMI_VP_STUFF_IDEFAULT_PHASE_MASK
	.comm	_HDMI_VP_REMAP,4,2              ; @HDMI_VP_REMAP
	.comm	_HDMI_VP_CONF_BYPASS_EN_DISABLE,4,2 ; @HDMI_VP_CONF_BYPASS_EN_DISABLE
	.comm	_HDMI_VP_CONF_PP_EN_ENABLE,4,2  ; @HDMI_VP_CONF_PP_EN_ENABLE
	.comm	_HDMI_VP_CONF_YCC422_EN_DISABLE,4,2 ; @HDMI_VP_CONF_YCC422_EN_DISABLE
	.comm	_HDMI_VP_CONF_PP_EN_DISABLE,4,2 ; @HDMI_VP_CONF_PP_EN_DISABLE
	.comm	_HDMI_VP_CONF_YCC422_EN_ENABLE,4,2 ; @HDMI_VP_CONF_YCC422_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_EN_ENABLE,4,2 ; @HDMI_VP_CONF_BYPASS_EN_ENABLE
	.comm	_HDMI_VP_CONF_BYPASS_EN_MASK,4,2 ; @HDMI_VP_CONF_BYPASS_EN_MASK
	.comm	_HDMI_VP_CONF_PP_EN_ENMASK,4,2  ; @HDMI_VP_CONF_PP_EN_ENMASK
	.comm	_HDMI_VP_CONF_YCC422_EN_MASK,4,2 ; @HDMI_VP_CONF_YCC422_EN_MASK
	.comm	_HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE,4,2 ; @HDMI_VP_STUFF_PP_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE,4,2 ; @HDMI_VP_STUFF_YCC422_STUFFING_STUFFING_MODE
	.comm	_HDMI_VP_STUFF_PP_STUFFING_MASK,4,2 ; @HDMI_VP_STUFF_PP_STUFFING_MASK
	.comm	_HDMI_VP_STUFF_YCC422_STUFFING_MASK,4,2 ; @HDMI_VP_STUFF_YCC422_STUFFING_MASK
	.comm	_HDMI_VP_CONF_OUTPUT_SELECTOR_MASK,4,2 ; @HDMI_VP_CONF_OUTPUT_SELECTOR_MASK
	.no_dead_strip	_hdmi_video_packetize
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.hdmi_video_packetize
l_switch.table.hdmi_video_packetize:
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_16bit
	.quad	_HDMI_VP_REMAP_YCC422_20bit
	.quad	_HDMI_VP_REMAP_YCC422_24bit

.subsections_via_symbols
