	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_color_prim
_get_color_prim:                        ## @get_color_prim
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %edi
	cmpl	$11, %edi
	jae	LBB0_1
## %bb.8:
	movslq	%edi, %rax
	leaq	l_switch.table.get_color_prim(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_HB_COLR_PRI_BT709@GOTPCREL(%rip), %rax
	cmpl	$1279, %esi                     ## imm = 0x4FF
	jg	LBB0_9
## %bb.2:
	movq	%rsi, %rcx
	shrq	$32, %rcx
	cmpl	$719, %ecx                      ## imm = 0x2CF
	jg	LBB0_9
## %bb.3:
	cmpl	$721, %esi                      ## imm = 0x2D1
	jl	LBB0_5
## %bb.4:
	cmpl	$576, %ecx                      ## imm = 0x240
	jg	LBB0_9
LBB0_5:
	cmpl	$1080000, %edx                  ## imm = 0x107AC0
	jne	LBB0_6
## %bb.7:
	movq	_HB_COLR_PRI_EBUTECH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_HB_COLR_PRI_SMPTEC@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_COLR_PRI_BT709,4,2          ## @HB_COLR_PRI_BT709
	.comm	_HB_COLR_PRI_BT470M,4,2         ## @HB_COLR_PRI_BT470M
	.comm	_HB_COLR_PRI_EBUTECH,4,2        ## @HB_COLR_PRI_EBUTECH
	.comm	_HB_COLR_PRI_SMPTEC,4,2         ## @HB_COLR_PRI_SMPTEC
	.comm	_HB_COLR_PRI_FILM,4,2           ## @HB_COLR_PRI_FILM
	.comm	_HB_COLR_PRI_SMPTE428,4,2       ## @HB_COLR_PRI_SMPTE428
	.comm	_HB_COLR_PRI_SMPTE431,4,2       ## @HB_COLR_PRI_SMPTE431
	.comm	_HB_COLR_PRI_SMPTE432,4,2       ## @HB_COLR_PRI_SMPTE432
	.comm	_HB_COLR_PRI_JEDEC_P22,4,2      ## @HB_COLR_PRI_JEDEC_P22
	.comm	_HB_COLR_PRI_BT2020,4,2         ## @HB_COLR_PRI_BT2020
	.no_dead_strip	_get_color_prim
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.get_color_prim
l_switch.table.get_color_prim:
	.quad	_HB_COLR_PRI_SMPTE432
	.quad	_HB_COLR_PRI_SMPTE431
	.quad	_HB_COLR_PRI_SMPTE428
	.quad	_HB_COLR_PRI_SMPTEC
	.quad	_HB_COLR_PRI_SMPTEC
	.quad	_HB_COLR_PRI_JEDEC_P22
	.quad	_HB_COLR_PRI_FILM
	.quad	_HB_COLR_PRI_BT709
	.quad	_HB_COLR_PRI_BT470M
	.quad	_HB_COLR_PRI_EBUTECH
	.quad	_HB_COLR_PRI_BT2020

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_color_prim
_get_color_prim:                        ; @get_color_prim
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #11
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.get_color_prim@PAGE
Lloh1:
	add	x9, x9, l_switch.table.get_color_prim@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
LBB0_2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh2:
	adrp	x8, _HB_COLR_PRI_BT709@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HB_COLR_PRI_BT709@GOTPAGEOFF]
	cmp	w1, #1279
	b.gt	LBB0_2
; %bb.4:
	lsr	x9, x1, #32
	cmp	w9, #719
	b.gt	LBB0_2
; %bb.5:
	cmp	w1, #721
	b.lt	LBB0_8
; %bb.6:
	cmp	w9, #576
	b.le	LBB0_8
; %bb.7:
Lloh4:
	adrp	x8, _HB_COLR_PRI_BT709@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HB_COLR_PRI_BT709@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh7:
	adrp	x8, _HB_COLR_PRI_SMPTEC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HB_COLR_PRI_SMPTEC@GOTPAGEOFF]
Lloh9:
	adrp	x9, _HB_COLR_PRI_EBUTECH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HB_COLR_PRI_EBUTECH@GOTPAGEOFF]
	sub	w10, w2, #263, lsl #12          ; =1077248
	cmp	w10, #2752
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_COLR_PRI_BT709,4,2          ; @HB_COLR_PRI_BT709
	.comm	_HB_COLR_PRI_BT470M,4,2         ; @HB_COLR_PRI_BT470M
	.comm	_HB_COLR_PRI_EBUTECH,4,2        ; @HB_COLR_PRI_EBUTECH
	.comm	_HB_COLR_PRI_SMPTEC,4,2         ; @HB_COLR_PRI_SMPTEC
	.comm	_HB_COLR_PRI_FILM,4,2           ; @HB_COLR_PRI_FILM
	.comm	_HB_COLR_PRI_SMPTE428,4,2       ; @HB_COLR_PRI_SMPTE428
	.comm	_HB_COLR_PRI_SMPTE431,4,2       ; @HB_COLR_PRI_SMPTE431
	.comm	_HB_COLR_PRI_SMPTE432,4,2       ; @HB_COLR_PRI_SMPTE432
	.comm	_HB_COLR_PRI_JEDEC_P22,4,2      ; @HB_COLR_PRI_JEDEC_P22
	.comm	_HB_COLR_PRI_BT2020,4,2         ; @HB_COLR_PRI_BT2020
	.no_dead_strip	_get_color_prim
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_color_prim
l_switch.table.get_color_prim:
	.quad	_HB_COLR_PRI_SMPTE432
	.quad	_HB_COLR_PRI_SMPTE431
	.quad	_HB_COLR_PRI_SMPTE428
	.quad	_HB_COLR_PRI_SMPTEC
	.quad	_HB_COLR_PRI_SMPTEC
	.quad	_HB_COLR_PRI_JEDEC_P22
	.quad	_HB_COLR_PRI_FILM
	.quad	_HB_COLR_PRI_BT709
	.quad	_HB_COLR_PRI_BT470M
	.quad	_HB_COLR_PRI_EBUTECH
	.quad	_HB_COLR_PRI_BT2020

.subsections_via_symbols
