	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFYCbCrtoRGB                 ## -- Begin function TIFFYCbCrtoRGB
	.p2align	4, 0x90
_TIFFYCbCrtoRGB:                        ## @TIFFYCbCrtoRGB
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movl	$255, %esi
	callq	_HICLAMP
	movq	%rax, %r15
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, %r12
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx,%r14,8), %rdi
	addq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, (%r13)
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx,%r14,4), %edx
	addl	(%rax,%r12,4), %edx
	movq	_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	(%rbx), %rax
	movslq	%edx, %rdi
	addq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	(%rcx,%r12,8), %rdi
	addq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	16(%rbp), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHIFT,4,2                      ## @SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFYCbCrtoRGB                 ; -- Begin function TIFFYCbCrtoRGB
	.p2align	2
_TIFFYCbCrtoRGB:                        ; @TIFFYCbCrtoRGB
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x0
	mov	x0, x1
	mov	w1, #255
	bl	_HICLAMP
	mov	x25, x0
	mov	x0, x24
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	mov	x24, x0
	mov	x0, x23
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	mov	x23, x0
	lsl	x25, x25, #3
	ldp	x8, x9, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x9, x0, lsl #3]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	str	x0, [x22]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldp	x9, x10, [x21, #16]
	ldr	w9, [x9, x24, lsl #2]
	ldr	w10, [x10, x23, lsl #2]
	add	w9, w10, w9
Lloh0:
	adrp	x10, _SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	asr	w9, w9, w10
	add	x0, x8, w9, sxtw
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	str	x0, [x20]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x21, #32]
	ldr	x9, [x9, x24, lsl #3]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	str	x0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SHIFT,4,2                      ; @SHIFT
.subsections_via_symbols
