	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function TIFFCIELabToRGBInit
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_TIFFCIELabToRGBInit
	.p2align	4, 0x90
_TIFFCIELabToRGBInit:                   ## @TIFFCIELabToRGBInit
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_CIELABTORGB_TABLE_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	addq	$64, %rdi
	movl	$4, %edx
	callq	__TIFFmemcpy
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	64(%r15), %xmm1
	movl	(%r15), %ecx
	movl	72(%r15), %eax
	subl	76(%r15), %eax
	cltd
	idivl	%ecx
	movl	%eax, 4(%r15)
	testl	%ecx, %ecx
	js	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movss	80(%r15), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm2, -28(%rbp)                ## 4-byte Spill
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	callq	_pow
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	8(%r15), %rax
	movss	%xmm0, (%rax,%rbx,4)
	leaq	1(%rbx), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_4
## %bb.5:
	movl	72(%r15), %eax
	subl	76(%r15), %eax
	cltd
	idivl	%ecx
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	88(%r15), %xmm1
	movl	%eax, 16(%r15)
	testl	%ecx, %ecx
	js	LBB0_2
## %bb.6:
	xorl	%ebx, %ebx
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movss	96(%r15), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm2, -28(%rbp)                ## 4-byte Spill
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	callq	_pow
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	24(%r15), %rax
	movss	%xmm0, (%rax,%rbx,4)
	leaq	1(%rbx), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_7
## %bb.8:
	movl	72(%r15), %eax
	subl	76(%r15), %eax
	cltd
	idivl	%ecx
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	104(%r15), %xmm1
	movl	%eax, 32(%r15)
	testl	%ecx, %ecx
	js	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movss	112(%r15), %xmm2                ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm2, -28(%rbp)                ## 4-byte Spill
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	callq	_pow
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	40(%r15), %rax
	movss	%xmm0, (%rax,%rbx,4)
	leaq	1(%rbx), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_10
	jmp	LBB0_11
LBB0_1:
	movl	%eax, 16(%r15)
LBB0_2:
	movl	%eax, 32(%r15)
LBB0_11:
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 48(%r15)
	movss	4(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 52(%r15)
	movss	8(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 56(%r15)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIELABTORGB_TABLE_RANGE,4,2    ## @CIELABTORGB_TABLE_RANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFCIELabToRGBInit            ; -- Begin function TIFFCIELabToRGBInit
	.p2align	2
_TIFFCIELabToRGBInit:                   ; @TIFFCIELabToRGBInit
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _CIELABTORGB_TABLE_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIELABTORGB_TABLE_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0], #64
	mov	w2, #4
	bl	__TIFFmemcpy
	ldr	d0, [x20, #64]
	ldp	w8, w9, [x20, #72]
	sub	w9, w8, w9
	ldr	w8, [x20]
	sdiv	w9, w9, w8
	str	w9, [x20, #4]
	tbnz	w8, #31, LBB0_9
; %bb.1:
	mov	x21, #0
	fmov	d1, #1.00000000
	fdiv	d8, d1, d0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s9, [x20, #80]
	scvtf	d0, w21
	scvtf	d1, w8
	fdiv	d0, d0, d1
	fmov	d1, d8
	bl	_pow
	scvtf	s0, x0
	fmul	s0, s9, s0
	ldr	x8, [x20, #8]
	str	s0, [x8, x21, lsl #2]
	add	x9, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	mov	x21, x9
	b.lt	LBB0_2
; %bb.3:
	ldp	w9, w10, [x20, #72]
	sub	w9, w9, w10
	sdiv	w9, w9, w8
	ldr	d0, [x20, #88]
	str	w9, [x20, #16]
	tbnz	w8, #31, LBB0_10
; %bb.4:
	mov	x21, #0
	fmov	d1, #1.00000000
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	fdiv	d8, d1, d0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s9, [x20, #96]
	scvtf	d0, w21
	scvtf	d1, w8
	fdiv	d0, d0, d1
	fmov	d1, d8
	bl	_pow
	scvtf	s0, x0
	fmul	s0, s9, s0
	ldr	x8, [x20, #24]
	str	s0, [x8, x21, lsl #2]
	add	x9, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	mov	x21, x9
	b.lt	LBB0_5
; %bb.6:
	ldp	w9, w10, [x20, #72]
	sub	w9, w9, w10
	sdiv	w9, w9, w8
	ldr	d0, [x20, #104]
	str	w9, [x20, #32]
	tbnz	w8, #31, LBB0_11
; %bb.7:
	mov	x21, #0
	fmov	d1, #1.00000000
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	fdiv	d8, d1, d0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s9, [x20, #112]
	scvtf	d0, w21
	scvtf	d1, w8
	fdiv	d0, d0, d1
	fmov	d1, d8
	bl	_pow
	scvtf	s0, x0
	fmul	s0, s9, s0
	ldr	x8, [x20, #40]
	str	s0, [x8, x21, lsl #2]
	add	x9, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	mov	x21, x9
	b.lt	LBB0_8
	b	LBB0_11
LBB0_9:
	str	w9, [x20, #16]
LBB0_10:
	str	w9, [x20, #32]
LBB0_11:
	ldr	s0, [x19]
	str	s0, [x20, #48]
	ldr	s0, [x19, #4]
	str	s0, [x20, #52]
	ldr	s0, [x19, #8]
	str	s0, [x20, #56]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CIELABTORGB_TABLE_RANGE,4,2    ; @CIELABTORGB_TABLE_RANGE
.subsections_via_symbols
