	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function downsample
_downsample:                            ## @downsample
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	addl	%esi, %esi
	movslq	%esi, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rcx,8), %edx
	movl	8(%rdi,%rcx,8), %esi
	sarl	$2, %edx
	sarl	%esi
	addl	%edx, %esi
	movl	16(%rdi,%rcx,8), %edx
	sarl	$2, %edx
	addl	%esi, %edx
	movl	%edx, (%rdi,%rcx,4)
	movl	4(%rdi,%rcx,8), %edx
	movl	12(%rdi,%rcx,8), %esi
	sarl	$2, %edx
	sarl	%esi
	addl	%edx, %esi
	movl	20(%rdi,%rcx,8), %edx
	sarl	$2, %edx
	addl	%esi, %edx
	movl	%edx, 4(%rdi,%rcx,4)
	addq	$2, %rcx
	cmpq	%rax, %rcx
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_downsample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function downsample
_downsample:                            ; @downsample
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	lsl	w9, w1, #1
	sxtw	x9, w9
	add	x10, x0, #12
	add	x11, x0, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x10, #-12]
	ldur	w13, [x10, #-4]
	asr	w13, w13, #1
	add	w12, w13, w12, asr #2
	ldr	w13, [x10, #4]
	add	w12, w12, w13, asr #2
	stur	w12, [x11, #-4]
	ldur	w12, [x10, #-8]
	ldr	w13, [x10]
	asr	w13, w13, #1
	add	w12, w13, w12, asr #2
	ldr	w13, [x10, #8]
	add	w12, w12, w13, asr #2
	str	w12, [x11], #8
	add	x8, x8, #2
	add	x10, x10, #16
	cmp	x8, x9
	b.lt	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_downsample
.subsections_via_symbols
