	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rgb_quantization_range
_set_rgb_quantization_range:            ## @set_rgb_quantization_range
	.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	%rdi, %rbx
	leaq	4(%rdi), %rsi
	movl	20(%rdi), %ecx
	leaq	-32(%rbp), %rdi
	xorl	%edx, %edx
	callq	_v4l2_hdmi_rx_colorimetry
	movq	-16(%rbp), %rax
	movq	%rax, 40(%rbx)
	movups	-32(%rbp), %xmm0
	movups	%xmm0, 24(%rbx)
	movq	24(%rbx), %rax
	movq	_V4L2_YCBCR_ENC_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	movq	_V4L2_QUANTIZATION_LIM_RANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_V4L2_QUANTIZATION_FULL_RANGE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
LBB0_6:
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movl	12(%rbx), %r8d
	movl	40(%rbx), %r9d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r10d
	movq	_v4l2_quantization_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	32(%rbx), %rdi
	movl	(%rcx,%rdi,4), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_v4l_dbg
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_YCBCR_ENC_DEFAULT,8,3     ## @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_FULL_RANGE,8,3 ## @V4L2_QUANTIZATION_FULL_RANGE
	.comm	_V4L2_QUANTIZATION_LIM_RANGE,8,3 ## @V4L2_QUANTIZATION_LIM_RANGE
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"colorspace=%d/%d colorimetry=%d range=%s content=%d\n"

	.comm	_v4l2_quantization_names,8,3    ## @v4l2_quantization_names
	.no_dead_strip	_set_rgb_quantization_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rgb_quantization_range
_set_rgb_quantization_range:            ; @set_rgb_quantization_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	add	x0, x0, #4
	ldr	w2, [x19, #20]
	add	x8, sp, #8
	mov	x1, #0
	bl	_v4l2_hdmi_rx_colorimetry
	ldur	q0, [sp, #8]
	stur	q0, [x19, #24]
	ldr	x8, [sp, #24]
	str	x8, [x19, #40]
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _V4L2_QUANTIZATION_LIM_RANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_QUANTIZATION_LIM_RANGE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _V4L2_QUANTIZATION_FULL_RANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_QUANTIZATION_FULL_RANGE@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_6:
Lloh7:
	adrp	x8, _debug@GOTPAGE
Lloh8:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldp	w4, w2, [x19, #12]
	ldr	w5, [x19, #40]
Lloh10:
	adrp	x8, _v4l2_quantization_names@GOTPAGE
Lloh11:
	ldr	x8, [x8, _v4l2_quantization_names@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	ldr	w7, [x8, x9, lsl #2]
	ldp	w8, w6, [x19, #4]
	str	w8, [sp]
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	bl	_v4l_dbg
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_YCBCR_ENC_DEFAULT,8,3     ; @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_FULL_RANGE,8,3 ; @V4L2_QUANTIZATION_FULL_RANGE
	.comm	_V4L2_QUANTIZATION_LIM_RANGE,8,3 ; @V4L2_QUANTIZATION_LIM_RANGE
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"colorspace=%d/%d colorimetry=%d range=%s content=%d\n"

	.comm	_v4l2_quantization_names,8,3    ; @v4l2_quantization_names
	.no_dead_strip	_set_rgb_quantization_range
.subsections_via_symbols
