	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hcscale_fast_c              ## -- Begin function ff_hcscale_fast_c
	.p2align	4, 0x90
_ff_hcscale_fast_c:                     ## @ff_hcscale_fast_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	24(%rbp), %r10d
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movl	%ecx, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %eax
	shrl	$16, %eax
	movl	%r15d, %ebx
	shrl	$9, %ebx
	andl	$127, %ebx
	movl	%ebx, %edi
	xorl	$127, %edi
	movl	(%r8,%rax,4), %r13d
	imull	%edi, %r13d
	movl	%r10d, %r11d
	movl	4(%r8,%rax,4), %r10d
	imull	%ebx, %r10d
	addl	%r13d, %r10d
	movl	%r10d, (%rsi,%r12,4)
	movl	%r11d, %r10d
	imull	(%r9,%rax,4), %edi
	imull	4(%r9,%rax,4), %ebx
	addl	%edi, %ebx
	movl	%ebx, (%rdx,%r12,4)
	addl	%r11d, %r15d
	incq	%r12
	cmpq	%r12, %r14
	jne	LBB0_2
LBB0_3:
	movl	16(%rbp), %r11d
	decl	%r11d
	leal	-1(%rcx), %edi
	movl	%edi, %eax
	imull	%r10d, %eax
	sarl	$16, %eax
	cmpl	%r11d, %eax
	jl	LBB0_6
## %bb.4:
	movslq	%r11d, %rax
	movslq	%edi, %rdi
	shlq	$2, %rdi
	addl	$-2, %ecx
	imull	%r10d, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rax,4), %ebx
	shll	$7, %ebx
	movl	%ebx, (%rsi,%rdi)
	movl	(%r9,%rax,4), %ebx
	shll	$7, %ebx
	movl	%ebx, (%rdx,%rdi)
	movl	%ecx, %ebx
	sarl	$16, %ebx
	addq	$-4, %rdi
	subl	%r10d, %ecx
	cmpl	%r11d, %ebx
	jge	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hcscale_fast_c              ; -- Begin function ff_hcscale_fast_c
	.p2align	2
_ff_hcscale_fast_c:                     ; @ff_hcscale_fast_c
	.cfi_startproc
; %bb.0:
	subs	w8, w3, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w9, #0
	mov	x10, x1
	mov	x11, x2
	mov	w12, w3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w13, w9, #16
	ubfx	w14, w9, #9, #7
	lsl	x15, x13, #2
	ldr	w16, [x4, x15]
	eor	w17, w14, #0x7f
	mul	w16, w16, w17
	add	w13, w13, #1
	lsl	x13, x13, #2
	ldr	w0, [x4, x13]
	madd	w16, w0, w14, w16
	str	w16, [x10], #4
	ldr	w15, [x5, x15]
	ldr	w13, [x5, x13]
	mul	w15, w15, w17
	madd	w13, w13, w14, w15
	str	w13, [x11], #4
	add	w9, w9, w7
	subs	x12, x12, #1
	b.ne	LBB0_2
LBB0_3:
	sub	w9, w6, #1
	mul	w10, w8, w7
	cmp	w9, w10, asr #16
	b.gt	LBB0_6
; %bb.4:
	sxtw	x12, w9
	sbfiz	x10, x8, #2, #32
	add	x8, x1, x10
	add	x10, x2, x10
	sub	w11, w3, #2
	mul	w11, w7, w11
	lsl	x12, x12, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x4, x12]
	lsl	w13, w13, #7
	str	w13, [x8], #-4
	ldr	w13, [x5, x12]
	lsl	w13, w13, #7
	str	w13, [x10], #-4
	cmp	w9, w11, asr #16
	sub	w11, w11, w7
	b.le	LBB0_5
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
