	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cie_lightness
_cie_lightness:                         ## @cie_lightness
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$5243, %edi                     ## imm = 0x147B
	jg	LBB0_2
## %bb.1:
	movslq	%edi, %rax
	imulq	$954437177, %rax, %rax          ## imm = 0x38E38E39
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	shll	$8, %edi
	addl	$2684416, %edi                  ## imm = 0x28F600
	movslq	%edi, %rax
	movabsq	$-2544219513198256385, %rcx     ## imm = 0xDCB11DD525335EFF
	mulq	%rcx
	shrq	$16, %rdx
	movl	%edx, %eax
	imull	%edx, %eax
	imull	%edx, %eax
	movl	%eax, %ecx
	sarl	$8, %ecx
	cmpl	$16777216, %eax                 ## imm = 0x1000000
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovbl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cie_lightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cie_lightness
_cie_lightness:                         ; @cie_lightness
	.cfi_startproc
; %bb.0:
	mov	w8, #5243
	mov	w9, #62976
	movk	w9, #40, lsl #16
	add	w9, w9, w0, lsl #8
	sxtw	x9, w9
	mov	x10, #24319
	movk	x10, #9523, lsl #16
	movk	x10, #7637, lsl #32
	movk	x10, #56497, lsl #48
	umulh	x9, x9, x10
	lsr	x9, x9, #16
	mul	w10, w9, w9
	mul	w9, w10, w9
	asr	w10, w9, #8
	lsr	w9, w9, #24
	mov	w11, #65535
	cmp	w9, #0
	csel	w9, w11, w10, ne
	mov	w10, #36409
	movk	w10, #14563, lsl #16
	smull	x10, w0, w10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	cmp	w0, w8
	csel	w0, w9, w10, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cie_lightness
.subsections_via_symbols
