	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function init_sRGB_to_d
LCPI0_0:
	.quad	0x406fe00000000000              ## double 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_sRGB_to_d:                        ## @init_sRGB_to_d
	.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
	movq	_sRGB_to_d@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	$0, (%rax)
	movl	$1, %ebx
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %edi
	callq	_linear_from_sRGB
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$255, %rbx
	jne	LBB0_1
## %bb.2:
	movl	$1, 1020(%rcx)
	movq	_g22_to_d@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	$0, (%rax)
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %edi
	movl	$2, %esi
	callq	_pow
	movq	(%r14), %rcx
	leal	1(%rbx), %edx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%edx, %xmm0
	movl	%eax, (%rcx,%rbx,4)
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	movl	$2, %esi
	callq	_pow
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx,%rbx,4)
	addq	$2, %rbx
	cmpq	$255, %rbx
	jne	LBB0_3
## %bb.4:
	movl	$1, 1020(%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sRGB_to_d,8,3                  ## @sRGB_to_d
	.comm	_g22_to_d,8,3                   ## @g22_to_d
	.no_dead_strip	_init_sRGB_to_d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_sRGB_to_d
_init_sRGB_to_d:                        ; @init_sRGB_to_d
	.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
Lloh0:
	adrp	x19, _sRGB_to_d@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sRGB_to_d@GOTPAGEOFF]
	ldr	x8, [x19]
	str	wzr, [x8]
	mov	w20, #1
	mov	x21, #246290604621824
	movk	x21, #16495, lsl #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w20
	fmov	d1, x21
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	bl	_linear_from_sRGB
	ldr	x8, [x19]
	str	w0, [x8, x20, lsl #2]
	add	x20, x20, #1
	cmp	x20, #255
	b.ne	LBB0_1
; %bb.2:
	mov	w19, #1
	str	w19, [x8, #1020]
Lloh2:
	adrp	x20, _g22_to_d@GOTPAGE
Lloh3:
	ldr	x20, [x20, _g22_to_d@GOTPAGEOFF]
	ldr	x8, [x20]
	str	wzr, [x8]
	mov	x21, #246290604621824
	movk	x21, #16495, lsl #48
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w19
	fmov	d1, x21
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	mov	w1, #2
	bl	_pow
	ldr	x8, [x20]
	str	w0, [x8, x19, lsl #2]
	add	x19, x19, #1
	cmp	x19, #255
	b.ne	LBB0_3
; %bb.4:
	mov	w9, #1
	str	w9, [x8, #1020]
	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 AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_sRGB_to_d,8,3                  ; @sRGB_to_d
	.comm	_g22_to_d,8,3                   ; @g22_to_d
	.no_dead_strip	_init_sRGB_to_d
.subsections_via_symbols
