	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scaleup_rev
_scaleup_rev:                           ## @scaleup_rev
	.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 $edx killed $edx def $rdx
	testb	$7, %dl
	je	LBB0_1
## %bb.5:
	movslq	%edx, %rax
	leaq	-1(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -4(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.6:
	leaq	-2(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -8(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.7:
	leaq	-3(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -12(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.8:
	leaq	-4(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -16(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.9:
	leaq	-5(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -20(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.10:
	leaq	-6(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -24(%rdi,%rax,4)
	testb	$7, %dl
	je	LBB0_1
## %bb.11:
	leaq	-7(%rax), %rdx
	movl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -28(%rdi,%rax,4)
LBB0_1:
	cmpl	$8, %edx
	jl	LBB0_4
## %bb.2:
	movl	%edx, %r8d
	leal	-8(%rdx), %r10d
	leaq	(%rdi,%r10,4), %r9
	leal	-1(%rdx), %eax
	leaq	(%rdi,%rax,4), %r11
	leal	-2(%rdx), %eax
	leaq	(%rdi,%rax,4), %r14
	leal	-3(%rdx), %eax
	leaq	(%rdi,%rax,4), %r15
	leal	-4(%rdx), %eax
	leaq	(%rdi,%rax,4), %r12
	leal	-5(%rdx), %eax
	leaq	(%rdi,%rax,4), %r13
	leal	-6(%rdx), %eax
	leaq	(%rdi,%rax,4), %rax
	addl	$-7, %edx
	leaq	(%rdi,%rdx,4), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%rdi), %ebx
	shrl	%ebx
	movl	12(%rsi,%rbx,4), %ecx
	movl	%ecx, (%r11,%rdi,4)
	movl	%ecx, (%r14,%rdi,4)
	movl	8(%rsi,%rbx,4), %ecx
	movl	%ecx, (%r15,%rdi,4)
	movl	%ecx, (%r12,%rdi,4)
	movl	4(%rsi,%rbx,4), %ecx
	movl	%ecx, (%r13,%rdi,4)
	movl	%ecx, (%rax,%rdi,4)
	movl	(%rsi,%rbx,4), %ecx
	movl	%ecx, (%rdx,%rdi,4)
	movl	%ecx, (%r9,%rdi,4)
	addq	$-8, %rdi
	leal	(%r8,%rdi), %ecx
	addl	$8, %ecx
	cmpl	$15, %ecx
	ja	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scaleup_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scaleup_rev
_scaleup_rev:                           ; @scaleup_rev
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	tst	w2, #0x7
	b.eq	LBB0_8
; %bb.1:
	sxtw	x8, w2
	sub	x9, x8, #1
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.2:
	sub	x9, x8, #2
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.3:
	sub	x9, x8, #3
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.4:
	sub	x9, x8, #4
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.5:
	sub	x9, x8, #5
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.6:
	sub	x9, x8, #6
	asr	w10, w9, #1
	ldr	w10, [x1, w10, sxtw #2]
	str	w10, [x0, x9, lsl #2]
	mov	x2, x9
	tst	w9, #0x7
	b.eq	LBB0_8
; %bb.7:
	sub	x2, x8, #7
	asr	w8, w2, #1
	ldr	w8, [x1, w8, sxtw #2]
	str	w8, [x0, x2, lsl #2]
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
LBB0_8:
	subs	w8, w2, #8
	b.lt	LBB0_11
; %bb.9:
	mov	x9, #0
	mov	w10, w2
	sub	w11, w2, #1
	add	x11, x0, w11, uxtw #2
	sub	w12, w2, #2
	add	x12, x0, w12, uxtw #2
	sub	w13, w2, #3
	add	x13, x0, w13, uxtw #2
	sub	w14, w2, #4
	add	x14, x0, w14, uxtw #2
	sub	w15, w2, #5
	add	x15, x0, w15, uxtw #2
	sub	w16, w2, #6
	add	x16, x0, w16, uxtw #2
	sub	w17, w2, #7
	add	x17, x0, w17, uxtw #2
	add	x0, x0, w8, uxtw #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	w2, w8, w9
	lsr	w2, w2, #1
	add	w3, w2, #3
	ldr	w3, [x1, w3, uxtw #2]
	lsl	x4, x9, #2
	str	w3, [x11, x4]
	str	w3, [x12, x4]
	add	w3, w2, #2
	ldr	w3, [x1, w3, uxtw #2]
	str	w3, [x13, x4]
	str	w3, [x14, x4]
	add	w3, w2, #1
	ldr	w3, [x1, w3, uxtw #2]
	str	w3, [x15, x4]
	str	w3, [x16, x4]
	ldr	w2, [x1, w2, uxtw #2]
	str	w2, [x17, x4]
	str	w2, [x0, x4]
	sub	x9, x9, #8
	add	w2, w10, w9
	add	w2, w2, #8
	cmp	w2, #15
	b.hi	LBB0_10
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scaleup_rev
.subsections_via_symbols
