	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_output_color_space
_get_output_color_space:                ## @get_output_color_space
	.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
	movl	(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.3:
	movl	8(%rdi), %eax
	cmpl	$270301, 4(%rdi)                ## imm = 0x41FDD
	jl	LBB0_7
## %bb.4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_COLOR_SPACE_YCBCR709_LIMITED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_COLOR_SPACE_SRGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	$131, %eax
	je	LBB0_11
## %bb.2:
	movl	$1, %edi
	callq	_WARN_ON
	jmp	LBB0_11
LBB0_7:
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	_COLOR_SPACE_YCBCR601_LIMITED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	_COLOR_SPACE_YCBCR709@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_COLOR_SPACE_YCBCR601@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_SPACE_SRGB,4,2           ## @COLOR_SPACE_SRGB
	.comm	_COLOR_SPACE_YCBCR709_LIMITED,4,2 ## @COLOR_SPACE_YCBCR709_LIMITED
	.comm	_COLOR_SPACE_YCBCR709,4,2       ## @COLOR_SPACE_YCBCR709
	.comm	_COLOR_SPACE_YCBCR601_LIMITED,4,2 ## @COLOR_SPACE_YCBCR601_LIMITED
	.comm	_COLOR_SPACE_YCBCR601,4,2       ## @COLOR_SPACE_YCBCR601
	.no_dead_strip	_get_output_color_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_output_color_space
_get_output_color_space:                ; @get_output_color_space
	.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
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_4
; %bb.1:
	ldp	w9, w8, [x0, #4]
	mov	w10, #8157
	movk	w10, #4, lsl #16
	cmp	w9, w10
	b.lt	LBB0_6
; %bb.2:
	cbz	w8, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _COLOR_SPACE_YCBCR709_LIMITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709_LIMITED@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh2:
	adrp	x9, _COLOR_SPACE_SRGB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COLOR_SPACE_SRGB@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x9]
	cmp	w8, #131
	b.eq	LBB0_11
; %bb.5:
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_11
LBB0_6:
	cbz	w8, LBB0_9
; %bb.7:
Lloh5:
	adrp	x8, _COLOR_SPACE_YCBCR601_LIMITED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR601_LIMITED@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh7:
	adrp	x8, _COLOR_SPACE_YCBCR709@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _COLOR_SPACE_YCBCR601@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR601@GOTPAGEOFF]
LBB0_10:
	ldr	w19, [x8]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_SPACE_SRGB,4,2           ; @COLOR_SPACE_SRGB
	.comm	_COLOR_SPACE_YCBCR709_LIMITED,4,2 ; @COLOR_SPACE_YCBCR709_LIMITED
	.comm	_COLOR_SPACE_YCBCR709,4,2       ; @COLOR_SPACE_YCBCR709
	.comm	_COLOR_SPACE_YCBCR601_LIMITED,4,2 ; @COLOR_SPACE_YCBCR601_LIMITED
	.comm	_COLOR_SPACE_YCBCR601,4,2       ; @COLOR_SPACE_YCBCR601
	.no_dead_strip	_get_output_color_space
.subsections_via_symbols
