	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_avi_info_frame
_set_avi_info_frame:                    ## @set_avi_info_frame
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movl	16(%r15), %r12d
	leaq	-192(%rbp), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$152, %edx
	callq	_memset
	movq	(%rbx), %r8
	movl	(%r8), %esi
	movq	_COLOR_SPACE_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_5
## %bb.1:
	cmpl	$131, 20(%r15)
	jne	LBB0_2
## %bb.3:
	movq	_COLOR_SPACE_SRGB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_COLOR_SPACE_YCBCR709@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
LBB0_5:
	movq	_HDMI_INFOFRAME_TYPE_AVI@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r9, -136(%rbp)
	movl	$2, -152(%rbp)
	movq	_HDMI_AVI_INFOFRAME_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -144(%rbp)
	movl	20(%r15), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_7
## %bb.6:
	cltq
	leaq	l_switch.table.set_avi_info_frame(%rip), %rdx
	movl	(%rdx,%rax,4), %r13d
LBB0_7:
	movl	%r13d, -192(%rbp)
	movq	_ACTIVE_FORMAT_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_BAR_INFO_BOTH_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_PICTURE_SCALING_UNIFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_SCANNING_TYPE_UNDERSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -188(%rbp)
	movq	_COLOR_SPACE_YCBCR709@GOTPCREL(%rip), %rdx
	movq	_COLORIMETRY_ITU709@GOTPCREL(%rip), %rax
	cmpl	(%rdx), %esi
	je	LBB0_12
## %bb.8:
	movq	_COLOR_SPACE_YCBCR709_LIMITED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %esi
	je	LBB0_12
## %bb.9:
	movq	_COLOR_SPACE_YCBCR601@GOTPCREL(%rip), %rdx
	movq	_COLOR_SPACE_YCBCR601_LIMITED@GOTPCREL(%rip), %rbx
	movq	_COLORIMETRY_ITU601@GOTPCREL(%rip), %rdi
	movq	%rdi, %rax
	cmpl	(%rbx), %esi
	je	LBB0_11
## %bb.10:
	movq	_COLORIMETRY_NO_DATA@GOTPCREL(%rip), %rax
LBB0_11:
	cmpl	(%rdx), %esi
	cmoveq	%rdi, %rax
LBB0_12:
	movq	(%rax), %rdi
	movq	%rdi, -184(%rbp)
	movq	_COLOR_SPACE_2020_RGB_FULLRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_COLOR_SPACE_2020_RGB_LIMITEDRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_COLORIMETRYEX_BT2020RGBYCBCR@GOTPCREL(%rip), %rax
	cmpl	%r11d, %esi
	je	LBB0_17
## %bb.13:
	cmpl	%r10d, %esi
	je	LBB0_17
## %bb.14:
	movq	_COLOR_SPACE_2020_YCBCR@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %esi
	je	LBB0_17
## %bb.15:
	movq	_COLOR_SPACE_ADOBERGB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_18
## %bb.16:
	movq	_COLORIMETRYEX_ADOBERGB@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	movq	%rax, -176(%rbp)
	movq	_COLORIMETRY_EXTENDED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -184(%rbp)
LBB0_18:
	movl	24(%r15), %eax
	xorl	%ebx, %ebx
	cmpl	$136, %eax
	movl	$0, %edx
	cmovel	%eax, %edx
	cmpl	$134, %eax
	cmovel	%eax, %edx
	movl	%edx, -168(%rbp)
	movq	_ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	cmpl	$0, 104(%r15)
	movb	$1, %al
	je	LBB0_26
## %bb.19:
	movq	_DISPLAY_CONTENT_TYPE_GRAPHICS@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_26
## %bb.20:
	movq	_DISPLAY_CONTENT_TYPE_PHOTO@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_21
## %bb.22:
	movq	_DISPLAY_CONTENT_TYPE_CINEMA@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_23
## %bb.24:
	movq	_DISPLAY_CONTENT_TYPE_GAME@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	cmpl	$1, 100(%r15)
	sete	%al
	leal	(%rax,%rax,2), %ebx
	jmp	LBB0_26
LBB0_21:
	xorl	%eax, %eax
	cmpl	$1, 92(%r15)
	sete	%al
	movl	%eax, %ebx
	jmp	LBB0_26
LBB0_23:
	xorl	%eax, %eax
	cmpl	$1, 96(%r15)
	sete	%al
	movl	%eax, %ebx
	addl	%eax, %ebx
LBB0_26:
	movzbl	%al, %eax
	movl	%ebx, -164(%rbp)
	movq	%rax, -64(%rbp)
	movq	_YYC_QUANTIZATION_LIMITED_RANGE@GOTPCREL(%rip), %rdx
	movq	_RGB_QUANTIZATION_DEFAULT_RANGE@GOTPCREL(%rip), %rax
	cmpl	$1, 4(%r15)
	jne	LBB0_33
## %bb.27:
	cmpl	$1, 8(%r15)
	jne	LBB0_33
## %bb.28:
	movq	_COLOR_SPACE_SRGB@GOTPCREL(%rip), %r13
	movq	_YYC_QUANTIZATION_FULL_RANGE@GOTPCREL(%rip), %rbx
	movq	_RGB_QUANTIZATION_FULL_RANGE@GOTPCREL(%rip), %rax
	cmpl	(%r13), %esi
	je	LBB0_34
## %bb.29:
	cmpl	%r11d, %esi
	je	LBB0_34
## %bb.30:
	movq	_COLOR_SPACE_SRGB_LIMITED@GOTPCREL(%rip), %r11
	movq	_RGB_QUANTIZATION_LIMITED_RANGE@GOTPCREL(%rip), %rbx
	movq	%rbx, %rax
	cmpl	%r10d, %esi
	je	LBB0_32
## %bb.31:
	movq	_RGB_QUANTIZATION_DEFAULT_RANGE@GOTPCREL(%rip), %rax
LBB0_32:
	cmpl	(%r11), %esi
	cmoveq	%rbx, %rax
LBB0_33:
	movq	%rdx, %rbx
LBB0_34:
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -80(%rbp)
	movl	28(%r15), %eax
	movq	_TIMING_3D_FORMAT_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_37
## %bb.35:
	movl	32(%r8), %eax
	decl	%eax
	cmpl	$3, %eax
	ja	LBB0_37
## %bb.36:
	cltq
	leaq	L_switch.table.set_avi_info_frame.1(%rip), %rdx
	movl	(%rdx,%rax,4), %eax
	movl	%eax, -160(%rbp)
	movl	$2, %eax
	jmp	LBB0_39
LBB0_37:
	movl	%r12d, -160(%rbp)
	movl	$2, %eax
	cmpl	$128, %r12d
	jb	LBB0_39
## %bb.38:
	movl	$3, -152(%rbp)
	movl	$3, %eax
LBB0_39:
	movq	_COLORIMETRY_EXTENDED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	jne	LBB0_42
## %bb.40:
	movq	-176(%rbp), %rdx
	movq	_COLORIMETRYEX_RESERVED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_42
## %bb.41:
	movl	$4, -152(%rbp)
	movq	$14, -144(%rbp)
	movl	$14, %ecx
	movl	$4, %eax
LBB0_42:
	movq	$0, -88(%rbp)
	movl	80(%r15), %edx
	movl	%edx, -96(%rbp)
	movq	72(%r15), %rdx
	subq	64(%r15), %rdx
	incq	%rdx
	movq	%rdx, -104(%rbp)
	movl	56(%r15), %edx
	movl	%edx, -112(%rbp)
	movq	48(%r15), %rdx
	subq	40(%r15), %rdx
	incq	%rdx
	movq	%rdx, -120(%rbp)
	movq	$0, -128(%rbp)
	movq	-192(%rbp), %rdx
	addq	%r9, %rcx
	movl	%eax, %eax
	addq	%rcx, %rax
	movq	%rax, (%rdx)
	cmpq	$0, -144(%rbp)
	jle	LBB0_45
## %bb.43:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	-192(%rbp), %rsi
	addq	8(%rsi,%rcx,8), %rax
	movq	%rax, (%rdx)
	incq	%rcx
	cmpq	-144(%rbp), %rcx
	jl	LBB0_44
LBB0_45:
	movl	$256, %ecx                      ## imm = 0x100
	subq	%rax, %rcx
	movq	%rcx, (%rdx)
	movl	-176(%rbp), %eax
	movl	%eax, 20(%r14)
	movl	-180(%rbp), %eax
	movl	%eax, 16(%r14)
	movl	-184(%rbp), %eax
	movl	%eax, 12(%r14)
	movq	(%r14), %rax
	movq	-192(%rbp), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	-192(%rbp), %rcx
	movq	8(%rcx), %rdx
	movq	%rdx, 8(%rax)
	movq	16(%rcx), %rdx
	movq	%rdx, 16(%rax)
	movq	24(%rcx), %rdx
	movq	%rdx, 24(%rax)
	movq	32(%rcx), %rdx
	movq	%rdx, 32(%rax)
	movq	40(%rcx), %rdx
	movq	%rdx, 40(%rax)
	movq	48(%rcx), %rdx
	movq	%rdx, 48(%rax)
	movq	56(%rcx), %rcx
	movq	%rcx, 56(%rax)
	movl	$1, 8(%r14)
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_SPACE_UNKNOWN,4,2        ## @COLOR_SPACE_UNKNOWN
	.comm	_SCANNING_TYPE_NODATA,4,2       ## @SCANNING_TYPE_NODATA
	.comm	_COLOR_SPACE_SRGB,4,2           ## @COLOR_SPACE_SRGB
	.comm	_COLOR_SPACE_YCBCR709,4,2       ## @COLOR_SPACE_YCBCR709
	.comm	_HDMI_INFOFRAME_TYPE_AVI,8,3    ## @HDMI_INFOFRAME_TYPE_AVI
	.comm	_HDMI_AVI_INFOFRAME_SIZE,8,3    ## @HDMI_AVI_INFOFRAME_SIZE
	.comm	_ACTIVE_FORMAT_VALID,4,2        ## @ACTIVE_FORMAT_VALID
	.comm	_BAR_INFO_BOTH_VALID,4,2        ## @BAR_INFO_BOTH_VALID
	.comm	_PICTURE_SCALING_UNIFORM,4,2    ## @PICTURE_SCALING_UNIFORM
	.comm	_SCANNING_TYPE_UNDERSCAN,4,2    ## @SCANNING_TYPE_UNDERSCAN
	.comm	_COLOR_SPACE_YCBCR709_LIMITED,4,2 ## @COLOR_SPACE_YCBCR709_LIMITED
	.comm	_COLORIMETRY_ITU709,8,3         ## @COLORIMETRY_ITU709
	.comm	_COLOR_SPACE_YCBCR601,4,2       ## @COLOR_SPACE_YCBCR601
	.comm	_COLOR_SPACE_YCBCR601_LIMITED,4,2 ## @COLOR_SPACE_YCBCR601_LIMITED
	.comm	_COLORIMETRY_ITU601,8,3         ## @COLORIMETRY_ITU601
	.comm	_COLORIMETRY_NO_DATA,8,3        ## @COLORIMETRY_NO_DATA
	.comm	_COLOR_SPACE_2020_RGB_FULLRANGE,4,2 ## @COLOR_SPACE_2020_RGB_FULLRANGE
	.comm	_COLOR_SPACE_2020_RGB_LIMITEDRANGE,4,2 ## @COLOR_SPACE_2020_RGB_LIMITEDRANGE
	.comm	_COLOR_SPACE_2020_YCBCR,4,2     ## @COLOR_SPACE_2020_YCBCR
	.comm	_COLORIMETRYEX_BT2020RGBYCBCR,8,3 ## @COLORIMETRYEX_BT2020RGBYCBCR
	.comm	_COLORIMETRY_EXTENDED,8,3       ## @COLORIMETRY_EXTENDED
	.comm	_COLOR_SPACE_ADOBERGB,4,2       ## @COLOR_SPACE_ADOBERGB
	.comm	_COLORIMETRYEX_ADOBERGB,8,3     ## @COLORIMETRYEX_ADOBERGB
	.comm	_ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE,4,2 ## @ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE
	.comm	_DISPLAY_CONTENT_TYPE_GRAPHICS,8,3 ## @DISPLAY_CONTENT_TYPE_GRAPHICS
	.comm	_DISPLAY_CONTENT_TYPE_PHOTO,8,3 ## @DISPLAY_CONTENT_TYPE_PHOTO
	.comm	_DISPLAY_CONTENT_TYPE_CINEMA,8,3 ## @DISPLAY_CONTENT_TYPE_CINEMA
	.comm	_DISPLAY_CONTENT_TYPE_GAME,8,3  ## @DISPLAY_CONTENT_TYPE_GAME
	.comm	_RGB_QUANTIZATION_FULL_RANGE,8,3 ## @RGB_QUANTIZATION_FULL_RANGE
	.comm	_YYC_QUANTIZATION_FULL_RANGE,8,3 ## @YYC_QUANTIZATION_FULL_RANGE
	.comm	_COLOR_SPACE_SRGB_LIMITED,4,2   ## @COLOR_SPACE_SRGB_LIMITED
	.comm	_RGB_QUANTIZATION_LIMITED_RANGE,8,3 ## @RGB_QUANTIZATION_LIMITED_RANGE
	.comm	_YYC_QUANTIZATION_LIMITED_RANGE,8,3 ## @YYC_QUANTIZATION_LIMITED_RANGE
	.comm	_RGB_QUANTIZATION_DEFAULT_RANGE,8,3 ## @RGB_QUANTIZATION_DEFAULT_RANGE
	.comm	_TIMING_3D_FORMAT_NONE,4,2      ## @TIMING_3D_FORMAT_NONE
	.comm	_COLORIMETRYEX_RESERVED,8,3     ## @COLORIMETRYEX_RESERVED
	.no_dead_strip	_set_avi_info_frame
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.set_avi_info_frame
l_switch.table.set_avi_info_frame:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	3                               ## 0x3

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.set_avi_info_frame.1
L_switch.table.set_avi_info_frame.1:
	.long	95                              ## 0x5f
	.long	94                              ## 0x5e
	.long	93                              ## 0x5d
	.long	98                              ## 0x62

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_avi_info_frame
_set_avi_info_frame:                    ; @set_avi_info_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x1]
	ldr	w22, [x21, #16]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #152
	bl	_memset
	ldr	x10, [x20]
	ldr	w11, [x10]
Lloh0:
	adrp	x8, _COLOR_SPACE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLOR_SPACE_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x12, _COLOR_SPACE_YCBCR709@GOTPAGE
Lloh4:
	ldr	x12, [x12, _COLOR_SPACE_YCBCR709@GOTPAGEOFF]
	cmp	w11, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x21, #20]
Lloh5:
	adrp	x9, _COLOR_SPACE_SRGB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _COLOR_SPACE_SRGB@GOTPAGEOFF]
	cmp	w8, #131
	csel	x8, x9, x12, eq
	ldr	w11, [x8]
LBB0_2:
Lloh7:
	adrp	x8, _HDMI_INFOFRAME_TYPE_AVI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_INFOFRAME_TYPE_AVI@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	mov	w9, #2
	str	w9, [sp, #48]
Lloh10:
	adrp	x9, _HDMI_AVI_INFOFRAME_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HDMI_AVI_INFOFRAME_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	stp	x9, x8, [sp, #56]
	ldr	w13, [x21, #20]
	sub	w13, w13, #128
	cmp	w13, #2
	b.hi	LBB0_4
; %bb.3:
Lloh13:
	adrp	x14, l_switch.table.set_avi_info_frame@PAGE
Lloh14:
	add	x14, x14, l_switch.table.set_avi_info_frame@PAGEOFF
	ldr	w13, [x14, w13, sxtw #2]
	b	LBB0_5
LBB0_4:
	mov	w13, #0
LBB0_5:
Lloh15:
	adrp	x14, _ACTIVE_FORMAT_VALID@GOTPAGE
Lloh16:
	ldr	x14, [x14, _ACTIVE_FORMAT_VALID@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	str	w14, [sp, #156]
Lloh18:
	adrp	x14, _BAR_INFO_BOTH_VALID@GOTPAGE
Lloh19:
	ldr	x14, [x14, _BAR_INFO_BOTH_VALID@GOTPAGEOFF]
Lloh20:
	ldr	w14, [x14]
Lloh21:
	adrp	x15, _PICTURE_SCALING_UNIFORM@GOTPAGE
Lloh22:
	ldr	x15, [x15, _PICTURE_SCALING_UNIFORM@GOTPAGEOFF]
Lloh23:
	ldr	w15, [x15]
	stp	w15, w14, [sp, #148]
Lloh24:
	adrp	x14, _SCANNING_TYPE_UNDERSCAN@GOTPAGE
Lloh25:
	ldr	x14, [x14, _SCANNING_TYPE_UNDERSCAN@GOTPAGEOFF]
Lloh26:
	ldr	w14, [x14]
	stp	w13, w14, [sp, #8]
	ldr	w13, [x12]
Lloh27:
	adrp	x12, _COLORIMETRY_ITU709@GOTPAGE
Lloh28:
	ldr	x12, [x12, _COLORIMETRY_ITU709@GOTPAGEOFF]
	cmp	w11, w13
	b.eq	LBB0_8
; %bb.6:
Lloh29:
	adrp	x13, _COLOR_SPACE_YCBCR709_LIMITED@GOTPAGE
Lloh30:
	ldr	x13, [x13, _COLOR_SPACE_YCBCR709_LIMITED@GOTPAGEOFF]
Lloh31:
	ldr	w13, [x13]
	cmp	w11, w13
	b.eq	LBB0_8
; %bb.7:
Lloh32:
	adrp	x12, _COLOR_SPACE_YCBCR601@GOTPAGE
Lloh33:
	ldr	x12, [x12, _COLOR_SPACE_YCBCR601@GOTPAGEOFF]
Lloh34:
	ldr	w12, [x12]
Lloh35:
	adrp	x13, _COLOR_SPACE_YCBCR601_LIMITED@GOTPAGE
Lloh36:
	ldr	x13, [x13, _COLOR_SPACE_YCBCR601_LIMITED@GOTPAGEOFF]
Lloh37:
	ldr	w13, [x13]
	cmp	w11, w13
	ccmp	w11, w12, #4, ne
Lloh38:
	adrp	x12, _COLORIMETRY_NO_DATA@GOTPAGE
Lloh39:
	ldr	x12, [x12, _COLORIMETRY_NO_DATA@GOTPAGEOFF]
Lloh40:
	adrp	x13, _COLORIMETRY_ITU601@GOTPAGE
Lloh41:
	ldr	x13, [x13, _COLORIMETRY_ITU601@GOTPAGEOFF]
	csel	x12, x13, x12, eq
LBB0_8:
	ldr	x13, [x12]
	str	x13, [sp, #16]
Lloh42:
	adrp	x12, _COLOR_SPACE_2020_RGB_FULLRANGE@GOTPAGE
Lloh43:
	ldr	x12, [x12, _COLOR_SPACE_2020_RGB_FULLRANGE@GOTPAGEOFF]
Lloh44:
	ldr	w15, [x12]
Lloh45:
	adrp	x12, _COLOR_SPACE_2020_RGB_LIMITEDRANGE@GOTPAGE
Lloh46:
	ldr	x12, [x12, _COLOR_SPACE_2020_RGB_LIMITEDRANGE@GOTPAGEOFF]
Lloh47:
	ldr	w14, [x12]
Lloh48:
	adrp	x16, _COLORIMETRYEX_BT2020RGBYCBCR@GOTPAGE
Lloh49:
	ldr	x16, [x16, _COLORIMETRYEX_BT2020RGBYCBCR@GOTPAGEOFF]
Lloh50:
	adrp	x12, _COLORIMETRY_EXTENDED@GOTPAGE
Lloh51:
	ldr	x12, [x12, _COLORIMETRY_EXTENDED@GOTPAGEOFF]
	cmp	w11, w15
	b.eq	LBB0_13
; %bb.9:
	cmp	w11, w14
	b.eq	LBB0_13
; %bb.10:
Lloh52:
	adrp	x17, _COLOR_SPACE_2020_YCBCR@GOTPAGE
Lloh53:
	ldr	x17, [x17, _COLOR_SPACE_2020_YCBCR@GOTPAGEOFF]
Lloh54:
	ldr	w17, [x17]
	cmp	w11, w17
	b.eq	LBB0_13
; %bb.11:
Lloh55:
	adrp	x16, _COLOR_SPACE_ADOBERGB@GOTPAGE
Lloh56:
	ldr	x16, [x16, _COLOR_SPACE_ADOBERGB@GOTPAGEOFF]
Lloh57:
	ldr	w16, [x16]
	cmp	w11, w16
	b.ne	LBB0_14
; %bb.12:
Lloh58:
	adrp	x16, _COLORIMETRYEX_ADOBERGB@GOTPAGE
Lloh59:
	ldr	x16, [x16, _COLORIMETRYEX_ADOBERGB@GOTPAGEOFF]
LBB0_13:
	ldr	x16, [x16]
	ldr	x13, [x12]
	stp	x13, x16, [sp, #16]
LBB0_14:
	mov	w16, #0
	ldr	w17, [x21, #24]
	cmp	w17, #136
	csel	w0, w17, wzr, eq
Lloh60:
	adrp	x1, _ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE@GOTPAGE
Lloh61:
	ldr	x1, [x1, _ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE@GOTPAGEOFF]
	cmp	w17, #134
	csel	w17, w17, w0, eq
Lloh62:
	ldr	w0, [x1]
	str	w17, [sp, #32]
	str	w0, [sp, #144]
	ldr	w0, [x21, #104]
	mov	w17, #1
	cbz	w0, LBB0_23
; %bb.15:
Lloh63:
	adrp	x0, _DISPLAY_CONTENT_TYPE_GRAPHICS@GOTPAGE
Lloh64:
	ldr	x0, [x0, _DISPLAY_CONTENT_TYPE_GRAPHICS@GOTPAGEOFF]
Lloh65:
	ldr	x0, [x0]
	cbz	x0, LBB0_23
; %bb.16:
Lloh66:
	adrp	x16, _DISPLAY_CONTENT_TYPE_PHOTO@GOTPAGE
Lloh67:
	ldr	x16, [x16, _DISPLAY_CONTENT_TYPE_PHOTO@GOTPAGEOFF]
Lloh68:
	ldr	x16, [x16]
	cbz	x16, LBB0_20
; %bb.17:
Lloh69:
	adrp	x16, _DISPLAY_CONTENT_TYPE_CINEMA@GOTPAGE
Lloh70:
	ldr	x16, [x16, _DISPLAY_CONTENT_TYPE_CINEMA@GOTPAGEOFF]
Lloh71:
	ldr	x16, [x16]
	cbz	x16, LBB0_21
; %bb.18:
Lloh72:
	adrp	x16, _DISPLAY_CONTENT_TYPE_GAME@GOTPAGE
Lloh73:
	ldr	x16, [x16, _DISPLAY_CONTENT_TYPE_GAME@GOTPAGEOFF]
Lloh74:
	ldr	x16, [x16]
	cbz	x16, LBB0_22
; %bb.19:
	mov	w16, #0
	mov	w17, #1
	b	LBB0_23
LBB0_20:
	ldr	w16, [x21, #92]
	cmp	w16, #1
	cset	w17, eq
	mov	x16, x17
	b	LBB0_23
LBB0_21:
	ldr	w16, [x21, #96]
	cmp	w16, #1
	cset	w17, eq
	lsl	w16, w17, #1
	b	LBB0_23
LBB0_22:
	ldr	w16, [x21, #100]
	mov	w17, #3
	cmp	w16, #1
	csel	w16, w17, wzr, eq
	cset	w17, eq
LBB0_23:
	mov	w17, w17
	str	w16, [sp, #36]
	str	x17, [sp, #136]
	ldr	w16, [x21, #4]
	cmp	w16, #1
	b.ne	LBB0_28
; %bb.24:
	ldr	w16, [x21, #8]
Lloh75:
	adrp	x0, _RGB_QUANTIZATION_DEFAULT_RANGE@GOTPAGE
Lloh76:
	ldr	x0, [x0, _RGB_QUANTIZATION_DEFAULT_RANGE@GOTPAGEOFF]
	cmp	w16, #1
	b.ne	LBB0_29
; %bb.25:
Lloh77:
	adrp	x16, _COLOR_SPACE_SRGB@GOTPAGE
Lloh78:
	ldr	x16, [x16, _COLOR_SPACE_SRGB@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x16]
Lloh80:
	adrp	x16, _YYC_QUANTIZATION_FULL_RANGE@GOTPAGE
Lloh81:
	ldr	x16, [x16, _YYC_QUANTIZATION_FULL_RANGE@GOTPAGEOFF]
Lloh82:
	adrp	x17, _RGB_QUANTIZATION_FULL_RANGE@GOTPAGE
Lloh83:
	ldr	x17, [x17, _RGB_QUANTIZATION_FULL_RANGE@GOTPAGEOFF]
	cmp	w11, w1
	b.eq	LBB0_30
; %bb.26:
	cmp	w11, w15
	b.eq	LBB0_30
; %bb.27:
	cmp	w11, w14
Lloh84:
	adrp	x14, _COLOR_SPACE_SRGB_LIMITED@GOTPAGE
Lloh85:
	ldr	x14, [x14, _COLOR_SPACE_SRGB_LIMITED@GOTPAGEOFF]
Lloh86:
	ldr	w14, [x14]
	ccmp	w11, w14, #4, ne
Lloh87:
	adrp	x11, _RGB_QUANTIZATION_LIMITED_RANGE@GOTPAGE
Lloh88:
	ldr	x11, [x11, _RGB_QUANTIZATION_LIMITED_RANGE@GOTPAGEOFF]
	csel	x17, x11, x0, eq
Lloh89:
	adrp	x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGE
Lloh90:
	ldr	x16, [x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh91:
	adrp	x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGE
Lloh92:
	ldr	x16, [x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGEOFF]
Lloh93:
	adrp	x17, _RGB_QUANTIZATION_DEFAULT_RANGE@GOTPAGE
Lloh94:
	ldr	x17, [x17, _RGB_QUANTIZATION_DEFAULT_RANGE@GOTPAGEOFF]
	b	LBB0_30
LBB0_29:
Lloh95:
	adrp	x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGE
Lloh96:
	ldr	x16, [x16, _YYC_QUANTIZATION_LIMITED_RANGE@GOTPAGEOFF]
	mov	x17, x0
LBB0_30:
	ldr	x11, [x17]
	ldr	x14, [x16]
	stp	x14, x11, [sp, #120]
	ldr	w11, [x21, #28]
Lloh97:
	adrp	x14, _TIMING_3D_FORMAT_NONE@GOTPAGE
Lloh98:
	ldr	x14, [x14, _TIMING_3D_FORMAT_NONE@GOTPAGEOFF]
Lloh99:
	ldr	w14, [x14]
	cmp	w11, w14
	b.eq	LBB0_33
; %bb.31:
	ldr	w10, [x10, #32]
	sub	w10, w10, #1
	cmp	w10, #3
	b.hi	LBB0_33
; %bb.32:
Lloh100:
	adrp	x11, l_switch.table.set_avi_info_frame.1@PAGE
Lloh101:
	add	x11, x11, l_switch.table.set_avi_info_frame.1@PAGEOFF
	ldr	w10, [x11, w10, sxtw #2]
	str	w10, [sp, #40]
	b	LBB0_35
LBB0_33:
	str	w22, [sp, #40]
	cmp	w22, #128
	b.lo	LBB0_35
; %bb.34:
	mov	w10, #3
	str	w10, [sp, #48]
	b	LBB0_36
LBB0_35:
	mov	w10, #2
LBB0_36:
	ldr	x11, [x12]
	cmp	x13, x11
	b.ne	LBB0_39
; %bb.37:
	ldr	x11, [sp, #24]
Lloh102:
	adrp	x12, _COLORIMETRYEX_RESERVED@GOTPAGE
Lloh103:
	ldr	x12, [x12, _COLORIMETRYEX_RESERVED@GOTPAGEOFF]
Lloh104:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_39
; %bb.38:
	mov	w10, #4
	str	w10, [sp, #48]
	mov	w9, #14
	str	x9, [sp, #56]
LBB0_39:
	str	xzr, [sp, #112]
	ldr	w11, [x21, #80]
	str	w11, [sp, #104]
	ldp	x12, x11, [x21, #64]
	sub	x11, x11, x12
	add	x11, x11, #1
	str	x11, [sp, #96]
	ldr	w11, [x21, #56]
	str	w11, [sp, #88]
	ldp	x12, x11, [x21, #40]
	sub	x11, x11, x12
	add	x11, x11, #1
	stp	xzr, x11, [sp, #72]
	ldr	x11, [sp, #8]
	add	x8, x9, x8
	add	x8, x8, w10, uxtw
	str	x8, [x11]
	ldr	x9, [sp, #56]
	cmp	x9, #1
	b.lt	LBB0_42
; %bb.40:
	mov	x9, #0
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [sp, #8]
	add	x10, x10, x9, lsl #3
	ldr	x10, [x10, #8]
	add	x8, x8, x10
	str	x8, [x11]
	ldr	x10, [sp, #56]
	add	x9, x9, #1
	cmp	x9, x10
	b.lt	LBB0_41
LBB0_42:
	mov	w9, #256
	sub	x8, x9, x8
	str	x8, [x11]
	ldr	w8, [sp, #24]
	str	w8, [x19, #20]
	ldr	d0, [sp, #16]
	stur	d0, [x19, #12]
	ldr	x8, [x19]
	ldr	x9, [sp, #8]
	ldr	x9, [x9]
	str	x9, [x8]
	ldr	x9, [sp, #8]
	ldr	x10, [x9, #8]
	str	x10, [x8, #8]
	ldr	x10, [x9, #16]
	str	x10, [x8, #16]
	ldr	x10, [x9, #24]
	str	x10, [x8, #24]
	ldr	x10, [x9, #32]
	str	x10, [x8, #32]
	ldr	x10, [x9, #40]
	str	x10, [x8, #40]
	ldr	x10, [x9, #48]
	str	x10, [x8, #48]
	ldr	x9, [x9, #56]
	str	x9, [x8, #56]
	mov	w8, #1
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_SPACE_UNKNOWN,4,2        ; @COLOR_SPACE_UNKNOWN
	.comm	_SCANNING_TYPE_NODATA,4,2       ; @SCANNING_TYPE_NODATA
	.comm	_COLOR_SPACE_SRGB,4,2           ; @COLOR_SPACE_SRGB
	.comm	_COLOR_SPACE_YCBCR709,4,2       ; @COLOR_SPACE_YCBCR709
	.comm	_HDMI_INFOFRAME_TYPE_AVI,8,3    ; @HDMI_INFOFRAME_TYPE_AVI
	.comm	_HDMI_AVI_INFOFRAME_SIZE,8,3    ; @HDMI_AVI_INFOFRAME_SIZE
	.comm	_ACTIVE_FORMAT_VALID,4,2        ; @ACTIVE_FORMAT_VALID
	.comm	_BAR_INFO_BOTH_VALID,4,2        ; @BAR_INFO_BOTH_VALID
	.comm	_PICTURE_SCALING_UNIFORM,4,2    ; @PICTURE_SCALING_UNIFORM
	.comm	_SCANNING_TYPE_UNDERSCAN,4,2    ; @SCANNING_TYPE_UNDERSCAN
	.comm	_COLOR_SPACE_YCBCR709_LIMITED,4,2 ; @COLOR_SPACE_YCBCR709_LIMITED
	.comm	_COLORIMETRY_ITU709,8,3         ; @COLORIMETRY_ITU709
	.comm	_COLOR_SPACE_YCBCR601,4,2       ; @COLOR_SPACE_YCBCR601
	.comm	_COLOR_SPACE_YCBCR601_LIMITED,4,2 ; @COLOR_SPACE_YCBCR601_LIMITED
	.comm	_COLORIMETRY_ITU601,8,3         ; @COLORIMETRY_ITU601
	.comm	_COLORIMETRY_NO_DATA,8,3        ; @COLORIMETRY_NO_DATA
	.comm	_COLOR_SPACE_2020_RGB_FULLRANGE,4,2 ; @COLOR_SPACE_2020_RGB_FULLRANGE
	.comm	_COLOR_SPACE_2020_RGB_LIMITEDRANGE,4,2 ; @COLOR_SPACE_2020_RGB_LIMITEDRANGE
	.comm	_COLOR_SPACE_2020_YCBCR,4,2     ; @COLOR_SPACE_2020_YCBCR
	.comm	_COLORIMETRYEX_BT2020RGBYCBCR,8,3 ; @COLORIMETRYEX_BT2020RGBYCBCR
	.comm	_COLORIMETRY_EXTENDED,8,3       ; @COLORIMETRY_EXTENDED
	.comm	_COLOR_SPACE_ADOBERGB,4,2       ; @COLOR_SPACE_ADOBERGB
	.comm	_COLORIMETRYEX_ADOBERGB,8,3     ; @COLORIMETRYEX_ADOBERGB
	.comm	_ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE,4,2 ; @ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE
	.comm	_DISPLAY_CONTENT_TYPE_GRAPHICS,8,3 ; @DISPLAY_CONTENT_TYPE_GRAPHICS
	.comm	_DISPLAY_CONTENT_TYPE_PHOTO,8,3 ; @DISPLAY_CONTENT_TYPE_PHOTO
	.comm	_DISPLAY_CONTENT_TYPE_CINEMA,8,3 ; @DISPLAY_CONTENT_TYPE_CINEMA
	.comm	_DISPLAY_CONTENT_TYPE_GAME,8,3  ; @DISPLAY_CONTENT_TYPE_GAME
	.comm	_RGB_QUANTIZATION_FULL_RANGE,8,3 ; @RGB_QUANTIZATION_FULL_RANGE
	.comm	_YYC_QUANTIZATION_FULL_RANGE,8,3 ; @YYC_QUANTIZATION_FULL_RANGE
	.comm	_COLOR_SPACE_SRGB_LIMITED,4,2   ; @COLOR_SPACE_SRGB_LIMITED
	.comm	_RGB_QUANTIZATION_LIMITED_RANGE,8,3 ; @RGB_QUANTIZATION_LIMITED_RANGE
	.comm	_YYC_QUANTIZATION_LIMITED_RANGE,8,3 ; @YYC_QUANTIZATION_LIMITED_RANGE
	.comm	_RGB_QUANTIZATION_DEFAULT_RANGE,8,3 ; @RGB_QUANTIZATION_DEFAULT_RANGE
	.comm	_TIMING_3D_FORMAT_NONE,4,2      ; @TIMING_3D_FORMAT_NONE
	.comm	_COLORIMETRYEX_RESERVED,8,3     ; @COLORIMETRYEX_RESERVED
	.no_dead_strip	_set_avi_info_frame
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.set_avi_info_frame
l_switch.table.set_avi_info_frame:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	3                               ; 0x3

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.set_avi_info_frame.1
l_switch.table.set_avi_info_frame.1:
	.long	95                              ; 0x5f
	.long	94                              ; 0x5e
	.long	93                              ; 0x5d
	.long	98                              ; 0x62

.subsections_via_symbols
