	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chroma_tc
_chroma_tc:                             ## @chroma_tc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	cmpl	$1, %edx
	setne	%al
	movq	8(%rdi), %rcx
	addl	(%rcx,%rax,4), %esi
	movl	%esi, %edi
	xorl	%esi, %esi
	movl	$57, %edx
	callq	_av_clip
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rcx
	cmpl	$1, (%rcx)
	jne	LBB0_5
## %bb.1:
	cmpl	$30, %eax
	jl	LBB0_6
## %bb.2:
	cmpl	$44, %eax
	jb	LBB0_4
## %bb.3:
	addl	$-6, %eax
	jmp	LBB0_6
LBB0_5:
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$51, %edx
	callq	_av_clip
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_6
LBB0_4:
	addl	$-30, %eax
	leaq	_chroma_tc.qp_c(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_6:
	movq	_DEFAULT_INTRA_TC_OFFSET@GOTPCREL(%rip), %rcx
	addl	%r14d, %eax
	addl	(%rcx), %eax
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$53, %edx
	callq	_av_clip
	movq	_tctable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @chroma_tc.qp_c
_chroma_tc.qp_c:
	.long	29                              ## 0x1d
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	32                              ## 0x20
	.long	33                              ## 0x21
	.long	33                              ## 0x21
	.long	34                              ## 0x22
	.long	34                              ## 0x22
	.long	35                              ## 0x23
	.long	35                              ## 0x23
	.long	36                              ## 0x24
	.long	36                              ## 0x24
	.long	37                              ## 0x25
	.long	37                              ## 0x25

	.comm	_DEFAULT_INTRA_TC_OFFSET,4,2    ## @DEFAULT_INTRA_TC_OFFSET
	.comm	_tctable,8,3                    ## @tctable
	.no_dead_strip	_chroma_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chroma_tc
_chroma_tc:                             ; @chroma_tc
	.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, x3
	mov	x20, x0
	cmp	w2, #1
	cset	w8, ne
	ldr	x9, [x0, #8]
	ldr	w8, [x9, w8, uxtw #2]
	add	w0, w8, w1
	mov	w1, #0
	mov	w2, #57
	bl	_av_clip
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
	subs	w8, w0, #30
	b.lt	LBB0_6
; %bb.2:
	cmp	w0, #44
	b.lo	LBB0_5
; %bb.3:
	sub	w0, w0, #6
	b	LBB0_6
LBB0_4:
	mov	w1, #0
	mov	w2, #51
	bl	_av_clip
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x9, _chroma_tc.qp_c@PAGE
Lloh1:
	add	x9, x9, _chroma_tc.qp_c@PAGEOFF
	ldr	w0, [x9, w8, uxtw #2]
LBB0_6:
Lloh2:
	adrp	x8, _DEFAULT_INTRA_TC_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEFAULT_INTRA_TC_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w9, w0, w19
	add	w0, w9, w8
	mov	w1, #0
	mov	w2, #53
	bl	_av_clip
Lloh5:
	adrp	x8, _tctable@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tctable@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x8, w0, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @chroma_tc.qp_c
_chroma_tc.qp_c:
	.long	29                              ; 0x1d
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	32                              ; 0x20
	.long	33                              ; 0x21
	.long	33                              ; 0x21
	.long	34                              ; 0x22
	.long	34                              ; 0x22
	.long	35                              ; 0x23
	.long	35                              ; 0x23
	.long	36                              ; 0x24
	.long	36                              ; 0x24
	.long	37                              ; 0x25
	.long	37                              ; 0x25

	.comm	_DEFAULT_INTRA_TC_OFFSET,4,2    ; @DEFAULT_INTRA_TC_OFFSET
	.comm	_tctable,8,3                    ; @tctable
	.no_dead_strip	_chroma_tc
.subsections_via_symbols
