	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssim_db
_ssim_db:                               ## @ssim_db
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm1, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	cvttsd2si	%xmm1, %edi
	callq	_log
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_log
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_log
	movl	%eax, %r14d
	movl	$10, %edi
	callq	_log
	movl	%eax, %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	subl	%eax, %ebx
	addl	%ebx, %ebx
	leal	(%rbx,%rbx,4), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ssim_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssim_db
_ssim_db:                               ; @ssim_db
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	d8, d1
	fmov	d9, d0
	fcvtzs	w0, d1
	bl	_log
	mov	x19, x0
	mov	w0, #10
	bl	_log
	fsub	d0, d8, d9
	fcvtzs	w8, d0
	sdiv	w20, w19, w0
	mov	x0, x8
	bl	_log
	mov	x19, x0
	mov	w0, #10
	bl	_log
	sdiv	w8, w19, w0
	sub	w8, w20, w8
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	scvtf	d0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ssim_db
.subsections_via_symbols
