	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function finish_block
LCPI0_0:
	.long	0x461c4000                      ## float 1.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_finish_block:                          ## @finish_block
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	addl	%eax, %eax
	cltd
	idivl	4(%rdi)
	movl	%eax, %edi
	callq	_sqrt
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	mulss	8(%rbx), %xmm1
	movss	%xmm1, -20(%rbp)                ## 4-byte Spill
	xorl	%edi, %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_av_clip
	movl	%eax, %r14d
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorl	%edi, %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_av_clip
	movq	24(%rbx), %rcx
	movslq	%r14d, %rdx
	incl	(%rcx,%rdx,4)
	movq	16(%rbx), %rcx
	cltq
	incl	(%rcx,%rax,4)
	movl	$0, 8(%rbx)
	movq	$0, (%rbx)
	incl	12(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_finish_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_block
_finish_block:                          ; @finish_block
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
	lsl	w8, w8, #1
	sdiv	w0, w8, w9
	bl	_sqrt
	ldr	s8, [x19, #8]
	mov	w8, #16384
	movk	w8, #17948, lsl #16
	fmov	s9, w8
	fmul	s0, s0, s9
	mov	w0, #0
	mov	w1, #10000
	bl	_av_clip
	mov	x20, x0
	fmul	s0, s8, s9
	mov	w0, #0
	mov	w1, #10000
	bl	_av_clip
                                        ; kill: def $w0 killed $w0 def $x0
	sbfiz	x8, x20, #2, #32
	ldp	x10, x9, [x19, #16]
	ldr	w11, [x9, x8]
	add	w11, w11, #1
	str	w11, [x9, x8]
	sbfiz	x8, x0, #2, #32
	ldr	w9, [x10, x8]
	add	w9, w9, #1
	str	w9, [x10, x8]
	str	xzr, [x19]
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	stp	wzr, w8, [x19, #8]
	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	_finish_block
.subsections_via_symbols
