	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function sRGB_from_linear
LCPI0_0:
	.quad	0x3f69a5c37387b719              ## double 0.0031308
LCPI0_1:
	.quad	0x4029d70a3d70a3d7              ## double 12.92
LCPI0_2:
	.quad	0x3ff0e147ae147ae1              ## double 1.0549999999999999
LCPI0_3:
	.quad	0xbfac28f5c28f5c29              ## double -0.055
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sRGB_from_linear:                      ## @sRGB_from_linear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jae	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	callq	_pow
	mulsd	LCPI0_2(%rip), %xmm0
	addsd	LCPI0_3(%rip), %xmm0
	popq	%rbp
	retq
LBB0_1:
	mulsd	LCPI0_1(%rip), %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sRGB_from_linear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sRGB_from_linear
_sRGB_from_linear:                      ; @sRGB_from_linear
	.cfi_startproc
; %bb.0:
	mov	x8, #46873
	movk	x8, #29575, lsl #16
	movk	x8, #42435, lsl #32
	movk	x8, #16233, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.ls	LBB0_2
; %bb.1:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #0
	bl	_pow
	mov	x8, #23593
	movk	x8, #49807, lsl #16
	movk	x8, #10485, lsl #32
	movk	x8, #49068, lsl #48
	fmov	d1, x8
	mov	x8, #31457
	movk	x8, #44564, lsl #16
	movk	x8, #57671, lsl #32
	movk	x8, #16368, lsl #48
	fmov	d2, x8
	fmadd	d0, d0, d2, d1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	x8, #41943
	movk	x8, #15728, lsl #16
	movk	x8, #55050, lsl #32
	movk	x8, #16425, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sRGB_from_linear
.subsections_via_symbols
