	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_color_space_type           ## -- Begin function get_color_space_type
	.p2align	4, 0x90
_get_color_space_type:                  ## @get_color_space_type
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_COLOR_SPACE_RGB_TYPE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	callq	_is_rgb_type
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %r14d
	jmp	LBB0_18
LBB0_2:
	movl	%r15d, %edi
	callq	_is_rgb_limited_type
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_COLOR_SPACE_RGB_LIMITED_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_4:
	movl	%r15d, %edi
	callq	_is_ycbcr601_type
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_COLOR_SPACE_YCBCR601_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movl	%r15d, %edi
	callq	_is_ycbcr709_type
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_COLOR_SPACE_YCBCR709_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movl	%r15d, %edi
	callq	_is_ycbcr601_limited_type
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_COLOR_SPACE_YCBCR601_LIMITED_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	movl	%r15d, %edi
	callq	_is_ycbcr709_limited_type
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_COLOR_SPACE_YCBCR709_LIMITED_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movl	%r15d, %edi
	callq	_is_ycbcr2020_type
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_COLOR_SPACE_YCBCR2020_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_COLOR_SPACE_YCBCR709@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_COLOR_SPACE_YCBCR709_BLACK@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_18
LBB0_16:
	movq	_COLOR_SPACE_YCBCR709_BLACK_TYPE@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_SPACE_RGB_TYPE,4,2       ## @COLOR_SPACE_RGB_TYPE
	.comm	_COLOR_SPACE_RGB_LIMITED_TYPE,4,2 ## @COLOR_SPACE_RGB_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR601_TYPE,4,2  ## @COLOR_SPACE_YCBCR601_TYPE
	.comm	_COLOR_SPACE_YCBCR709_TYPE,4,2  ## @COLOR_SPACE_YCBCR709_TYPE
	.comm	_COLOR_SPACE_YCBCR601_LIMITED_TYPE,4,2 ## @COLOR_SPACE_YCBCR601_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR709_LIMITED_TYPE,4,2 ## @COLOR_SPACE_YCBCR709_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR2020_TYPE,4,2 ## @COLOR_SPACE_YCBCR2020_TYPE
	.comm	_COLOR_SPACE_YCBCR709,4,2       ## @COLOR_SPACE_YCBCR709
	.comm	_COLOR_SPACE_YCBCR709_BLACK_TYPE,4,2 ## @COLOR_SPACE_YCBCR709_BLACK_TYPE
	.comm	_COLOR_SPACE_YCBCR709_BLACK,4,2 ## @COLOR_SPACE_YCBCR709_BLACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_color_space_type           ; -- Begin function get_color_space_type
	.p2align	2
_get_color_space_type:                  ; @get_color_space_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x21, _COLOR_SPACE_RGB_TYPE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _COLOR_SPACE_RGB_TYPE@GOTPAGEOFF]
	ldr	w20, [x21]
	bl	_is_rgb_type
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	b	LBB0_17
LBB0_2:
	mov	x0, x19
	bl	_is_rgb_limited_type
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _COLOR_SPACE_RGB_LIMITED_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COLOR_SPACE_RGB_LIMITED_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_4:
	mov	x0, x19
	bl	_is_ycbcr601_type
	cbz	x0, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _COLOR_SPACE_YCBCR601_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR601_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_6:
	mov	x0, x19
	bl	_is_ycbcr709_type
	cbz	x0, LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _COLOR_SPACE_YCBCR709_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_8:
	mov	x0, x19
	bl	_is_ycbcr601_limited_type
	cbz	x0, LBB0_10
; %bb.9:
Lloh11:
	adrp	x8, _COLOR_SPACE_YCBCR601_LIMITED_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR601_LIMITED_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_10:
	mov	x0, x19
	bl	_is_ycbcr709_limited_type
	cbz	x0, LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _COLOR_SPACE_YCBCR709_LIMITED_TYPE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709_LIMITED_TYPE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_12:
	mov	x0, x19
	bl	_is_ycbcr2020_type
	cbz	x0, LBB0_14
; %bb.13:
Lloh17:
	adrp	x8, _COLOR_SPACE_YCBCR2020_TYPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR2020_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_14:
Lloh20:
	adrp	x8, _COLOR_SPACE_YCBCR709@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_16
; %bb.15:
Lloh23:
	adrp	x8, _COLOR_SPACE_YCBCR709_BLACK_TYPE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709_BLACK_TYPE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_16:
Lloh26:
	adrp	x8, _COLOR_SPACE_YCBCR709_BLACK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _COLOR_SPACE_YCBCR709_BLACK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _COLOR_SPACE_YCBCR709_BLACK_TYPE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _COLOR_SPACE_YCBCR709_BLACK_TYPE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w19
	csel	w0, w9, w20, eq
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_SPACE_RGB_TYPE,4,2       ; @COLOR_SPACE_RGB_TYPE
	.comm	_COLOR_SPACE_RGB_LIMITED_TYPE,4,2 ; @COLOR_SPACE_RGB_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR601_TYPE,4,2  ; @COLOR_SPACE_YCBCR601_TYPE
	.comm	_COLOR_SPACE_YCBCR709_TYPE,4,2  ; @COLOR_SPACE_YCBCR709_TYPE
	.comm	_COLOR_SPACE_YCBCR601_LIMITED_TYPE,4,2 ; @COLOR_SPACE_YCBCR601_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR709_LIMITED_TYPE,4,2 ; @COLOR_SPACE_YCBCR709_LIMITED_TYPE
	.comm	_COLOR_SPACE_YCBCR2020_TYPE,4,2 ; @COLOR_SPACE_YCBCR2020_TYPE
	.comm	_COLOR_SPACE_YCBCR709,4,2       ; @COLOR_SPACE_YCBCR709
	.comm	_COLOR_SPACE_YCBCR709_BLACK_TYPE,4,2 ; @COLOR_SPACE_YCBCR709_BLACK_TYPE
	.comm	_COLOR_SPACE_YCBCR709_BLACK,4,2 ; @COLOR_SPACE_YCBCR709_BLACK
.subsections_via_symbols
