	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_get_color_range
_v4l2_get_color_range:                  ## @v4l2_get_color_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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_V4L2_TYPE_IS_MULTIPLANAR
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	(%rbx), %rax
	movl	(%rax,%rcx,4), %ecx
	cmpl	$129, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_AVCOL_RANGE_JPEG@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_AVCOL_RANGE_UNSPECIFIED@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_5
LBB0_4:
	movq	_AVCOL_RANGE_MPEG@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVCOL_RANGE_MPEG,4,2           ## @AVCOL_RANGE_MPEG
	.comm	_AVCOL_RANGE_JPEG,4,2           ## @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_UNSPECIFIED,4,2    ## @AVCOL_RANGE_UNSPECIFIED
	.no_dead_strip	_v4l2_get_color_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_get_color_range
_v4l2_get_color_range:                  ; @v4l2_get_color_range
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_V4L2_TYPE_IS_MULTIPLANAR
	cmp	x0, #0
	cset	w8, ne
	ldr	x9, [x19]
	ldr	w8, [x9, w8, uxtw #2]
Lloh0:
	adrp	x9, _AVCOL_RANGE_MPEG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVCOL_RANGE_MPEG@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AVCOL_RANGE_JPEG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AVCOL_RANGE_JPEG@GOTPAGEOFF]
Lloh4:
	adrp	x11, _AVCOL_RANGE_UNSPECIFIED@GOTPAGE
Lloh5:
	ldr	x11, [x11, _AVCOL_RANGE_UNSPECIFIED@GOTPAGEOFF]
	cmp	w8, #129
	csel	x10, x10, x11, eq
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AVCOL_RANGE_MPEG,4,2           ; @AVCOL_RANGE_MPEG
	.comm	_AVCOL_RANGE_JPEG,4,2           ; @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_UNSPECIFIED,4,2    ; @AVCOL_RANGE_UNSPECIFIED
	.no_dead_strip	_v4l2_get_color_range
.subsections_via_symbols
