	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_dither_value
LCPI0_0:
	.quad	0x3df0000000000000              ## double 2.3283064365386963E-10
LCPI0_1:
	.quad	0x4139660d00000000              ## double 1664525
LCPI0_2:
	.quad	0x41ce3779af800000              ## double 1013904223
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_dither_value:                      ## @get_dither_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movsd	(%rdi), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	mulsd	LCPI0_1(%rip), %xmm1
	addsd	LCPI0_2(%rip), %xmm1
	movsd	%xmm1, (%rdi)
	popq	%rbp
	retq
LBB0_1:
	xorps	%xmm0, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_dither_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dither_value
_get_dither_value:                      ; @get_dither_value
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	d1, [x0]
	mov	x8, #4463067230724161536
	fmov	d0, x8
	fmul	d0, d1, d0
	mov	x8, #2944401408
	movk	x8, #14201, lsl #32
	movk	x8, #16846, lsl #48
	fmov	d2, x8
	mov	x8, #112206020608000
	movk	x8, #16697, lsl #48
	fmov	d3, x8
	fmadd	d1, d1, d3, d2
	str	d1, [x0]
	ret
LBB0_2:
	movi	d0, #0000000000000000
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_dither_value
.subsections_via_symbols
