	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function averageiir2d
_averageiir2d:                          ## @averageiir2d
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	8(%rdi), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r12
	movq	(%rdx), %rax
	movq	8(%rdx), %rcx
	movl	(%rax,%r12,4), %ebx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	(%rcx,%r12,4), %r14d
	callq	_ff_filter_get_nb_threads
	movl	%eax, %esi
	movl	%ebx, -56(%rbp)
	movl	%r14d, -52(%rbp)
	movq	8(%r13), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, -44(%rbp)
	movq	(%r13), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, -48(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	20(%rbx), %r13d
	movl	%r14d, %edi
	movl	%esi, %r14d
	callq	_FFMIN
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, -44(%rbp)
	movq	(%rcx), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, -48(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %r12
	movl	16(%rbx), %r13d
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_FFMIN
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*%r12
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_averageiir2d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function averageiir2d
_averageiir2d:                          ; @averageiir2d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x25, [x0, #8]
	sbfiz	x26, x3, #2, #32
	ldp	x8, x9, [x25]
	ldr	w22, [x8, x26]
	ldr	w23, [x9, x26]
	bl	_ff_filter_get_nb_threads
	mov	x24, x0
	stp	w22, w23, [sp]
	ldp	x9, x8, [x20]
	ldr	w8, [x8, x26]
	str	w8, [sp, #12]
	ldr	w8, [x9, x26]
	str	w8, [sp, #8]
	ldr	x8, [x21]
	ldr	x27, [x8]
	ldr	w20, [x25, #20]
	mov	x0, x23
	mov	x1, x24
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	mov	x3, #0
	blr	x27
	ldp	x9, x8, [x19]
	ldr	w8, [x8, x26]
	str	w8, [sp, #12]
	ldr	w8, [x9, x26]
	str	w8, [sp, #8]
	ldr	x8, [x21]
	ldr	x20, [x8]
	ldr	w19, [x25, #16]
	mov	x0, x22
	mov	x1, x24
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x21
	mov	x1, x19
	mov	x3, #0
	blr	x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_averageiir2d
.subsections_via_symbols
