	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_postscale
_filter_postscale:                      ## @filter_postscale
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r8d
	movq	(%rdi), %r9
	movb	(%r9), %cl
	movl	$-1, %ebx
	shll	%cl, %ebx
	movl	%edx, %edi
	movl	4(%rsi), %ecx
	imull	(%rsi), %ecx
	movl	%ecx, %eax
	imull	%edx, %eax
	cltd
	idivl	%r8d
	movl	%eax, %esi
	incl	%edi
	imull	%ecx, %edi
	movl	%edi, %eax
	cltd
	idivl	%r8d
	cmpl	%eax, %esi
	jae	LBB0_3
## %bb.1:
	notl	%ebx
	cvtsi2ss	%ebx, %xmm0
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	movss	4(%r9), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	8(%r9), %xmm0
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movq	16(%r9), %r14
	movl	%esi, %ebx
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, (%r14,%rbx,4)
	xorps	%xmm1, %xmm1
	movss	-32(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_av_clipf
	movss	%xmm0, (%r14,%rbx,4)
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_postscale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_postscale
_filter_postscale:                      ; @filter_postscale
	.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
	ldp	w8, w9, [x1]
	mul	w9, w9, w8
	mul	w10, w9, w2
	sdiv	w8, w10, w3
	add	w9, w9, w10
	sdiv	w9, w9, w3
	cmp	w8, w9
	b.hs	LBB0_3
; %bb.1:
	ldr	x10, [x0]
	ldr	w11, [x10]
	mov	w12, #-1
	lsl	w11, w12, w11
	mvn	w11, w11
	scvtf	s8, w11
	ldp	s0, s1, [x10, #4]
	fmul	s9, s0, s1
	ldr	x10, [x10, #16]
	add	x19, x10, w8, uxtw #2
	sub	w20, w9, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19]
	fmul	s0, s9, s0
	str	s0, [x19]
	movi	d1, #0000000000000000
	fmov	s2, s8
	bl	_av_clipf
	str	s0, [x19], #4
	subs	w20, w20, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #0
	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	_filter_postscale
.subsections_via_symbols
