	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gaussianiir2d
_gaussianiir2d:                         ## @gaussianiir2d
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movslq	%esi, %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rcx,%rax,4), %r15d
	movl	(%rdx,%rax,4), %r14d
	callq	_ff_filter_get_nb_threads
	cmpq	$0, 16(%rbx)
	jle	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	js	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	movl	%r15d, -56(%rbp)
	movl	%r14d, -52(%rbp)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_filter_horizontally@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_FFMIN
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_filter_vertically@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_FFMIN
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_filter_postscale@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	imull	%r15d, %r14d
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_FFMIN
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filter_horizontally,4,2        ## @filter_horizontally
	.comm	_filter_vertically,4,2          ## @filter_vertically
	.comm	_filter_postscale,4,2           ## @filter_postscale
	.no_dead_strip	_gaussianiir2d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gaussianiir2d
_gaussianiir2d:                         ; @gaussianiir2d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	sbfiz	x8, x1, #2, #32
	ldp	x9, x10, [x23]
	ldr	w20, [x9, x8]
	ldr	w21, [x10, x8]
	bl	_ff_filter_get_nb_threads
	ldr	x8, [x23, #16]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x23, #24]
	tbnz	x8, #63, LBB0_3
; %bb.2:
	mov	x22, x0
	stp	w20, w21, [sp, #8]
	ldr	x8, [x19]
	ldr	x24, [x8]
Lloh0:
	adrp	x8, _filter_horizontally@GOTPAGE
Lloh1:
	ldr	x8, [x8, _filter_horizontally@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	mov	x3, #0
	blr	x24
	ldr	x8, [x19]
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _filter_vertically@GOTPAGE
Lloh4:
	ldr	x8, [x8, _filter_vertically@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	mov	x3, #0
	blr	x24
	ldr	x8, [x19]
	ldr	x24, [x8]
Lloh6:
	adrp	x8, _filter_postscale@GOTPAGE
Lloh7:
	ldr	x8, [x8, _filter_postscale@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	mul	w0, w21, w20
	mov	x1, x22
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	mov	x3, #0
	blr	x24
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_filter_horizontally,4,2        ; @filter_horizontally
	.comm	_filter_vertically,4,2          ; @filter_vertically
	.comm	_filter_postscale,4,2           ; @filter_postscale
	.no_dead_strip	_gaussianiir2d
.subsections_via_symbols
