	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gammafilter
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gammafilter:                           ## @gammafilter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_fc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	subsd	(%rax,%rcx,8), %xmm0
	movq	_erb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	divsd	(%rax,%rcx,8), %xmm0
	mulsd	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	mulsd	%xmm0, %xmm0
	divsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	callq	_log10
                                        ## kill: def $eax killed $eax def $rax
	shll	$2, %eax
	leal	(%rax,%rax,4), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fc,8,3                         ## @fc
	.comm	_erb,8,3                        ## @erb
	.no_dead_strip	_gammafilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gammafilter
_gammafilter:                           ; @gammafilter
	.cfi_startproc
; %bb.0:
	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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _fc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sbfiz	x9, x0, #3, #32
	ldr	d1, [x8, x9]
Lloh3:
	adrp	x8, _erb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _erb@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	d2, [x8, x9]
	fsub	d0, d0, d1
	fdiv	d0, d0, d2
	fmov	d1, #1.00000000
	fmadd	d0, d0, d0, d1
	fmul	d0, d0, d0
	fdiv	d0, d1, d0
	bl	_log10
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #2
	scvtf	d0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fc,8,3                         ; @fc
	.comm	_erb,8,3                        ; @erb
	.no_dead_strip	_gammafilter
.subsections_via_symbols
