	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EvaluateNode
_EvaluateNode:                          ## @EvaluateNode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rsi, %rbx
	movq	24(%rbp), %r15
	movss	(%r15,%rsi,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%r15, %r8
	callq	_ComputeDistanceShortcut
	movl	%eax, 4(%r15,%rbx,8)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_ZopfliCostModelGetLiteralCosts
	movss	-44(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm0
	jb	LBB0_2
## %bb.1:
	movq	16(%rbp), %r13
	movq	%rbx, -72(%rbp)
	movss	%xmm2, -64(%rbp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_ZopfliCostModelGetLiteralCosts
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, -60(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ComputeDistanceCache
	leaq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_StartPosQueuePush
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_EvaluateNode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EvaluateNode
_EvaluateNode:                          ; @EvaluateNode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x20, x7
	mov	x19, x6
	mov	x23, x5
	mov	x21, x4
	mov	x22, x1
	add	x24, x7, x1, lsl #3
	ldr	s8, [x24]
	mov	x4, x7
	bl	_ComputeDistanceShortcut
	str	w0, [x24, #4]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x22
	bl	_ZopfliCostModelGetLiteralCosts
	fcmp	s8, s0
	b.hi	LBB0_2
; %bb.1:
	str	x22, [sp, #8]
	str	s8, [sp, #16]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x22
	bl	_ZopfliCostModelGetLiteralCosts
	fsub	s0, s8, s0
	str	s0, [sp, #20]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_ComputeDistanceCache
	add	x1, sp, #8
	mov	x0, x19
	bl	_StartPosQueuePush
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_EvaluateNode
.subsections_via_symbols
