	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input
_config_input:                          ## @config_input
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	8(%r14), %r12
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r15
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r12)
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	movl	%eax, 4(%r12)
	movq	16(%rbx), %rdi
	movl	4(%r15), %esi
	callq	_AV_CEIL_RSHIFT
	movq	56(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	56(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%rbx), %rax
	movq	56(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	56(%r12), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rdi
	movl	(%r15), %esi
	callq	_AV_CEIL_RSHIFT
	movq	48(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	48(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rax
	movq	48(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	48(%r12), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 8(%r12)
	movq	%r14, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%eax, 40(%r12)
	movl	(%r12), %eax
	leal	7(%rax), %ecx
	addl	$14, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	movl	%eax, 12(%r12)
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.13:
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.18:
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.23:
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_28
## %bb.24:
	cmpl	$9, (%r12)
	jl	LBB0_28
## %bb.25:
	cmpl	$0, 8(%r12)
	jle	LBB0_28
## %bb.26:
	movq	32(%r12), %rax
	xorl	%ecx, %ecx
	movq	_filter16_sobel@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	8(%r12), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_27
	jmp	LBB0_28
LBB0_1:
	cmpl	$9, (%r12)
	jl	LBB0_28
## %bb.2:
	cmpl	$0, 8(%r12)
	jle	LBB0_28
## %bb.3:
	movq	16(%r12), %rax
	movq	_MATRIX_ROW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MATRIX_COLUMN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	xorl	%esi, %esi
	movq	_filter16_row@GOTPCREL(%rip), %rbx
	movq	_filter16_column@GOTPCREL(%rip), %r11
	movq	_filter16_3x3@GOTPCREL(%rip), %r8
	movq	_filter16_7x7@GOTPCREL(%rip), %r9
	movq	_filter16_5x5@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rsi,8), %rdx
	movq	%rbx, %rdi
	cmpq	%rcx, %rdx
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r11, %rdi
	cmpq	%r14, %rdx
	jne	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdi), %edx
	movq	32(%r12), %rdi
	movl	%edx, (%rdi,%rsi,4)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	movslq	8(%r12), %rdx
	cmpq	%rdx, %rsi
	jl	LBB0_4
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rdx
	movl	(%rdx,%rsi,4), %edx
	movq	%r8, %rdi
	cmpl	$3, %edx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$7, %edx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$5, %edx
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r10, %rdi
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r9, %rdi
	jmp	LBB0_11
LBB0_14:
	cmpl	$9, (%r12)
	jl	LBB0_28
## %bb.15:
	cmpl	$0, 8(%r12)
	jle	LBB0_28
## %bb.16:
	movq	32(%r12), %rax
	xorl	%ecx, %ecx
	movq	_filter16_prewitt@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	8(%r12), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_17
	jmp	LBB0_28
LBB0_19:
	cmpl	$9, (%r12)
	jl	LBB0_28
## %bb.20:
	cmpl	$0, 8(%r12)
	jle	LBB0_28
## %bb.21:
	movq	32(%r12), %rax
	xorl	%ecx, %ecx
	movq	_filter16_roberts@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	8(%r12), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_22
LBB0_28:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"convolution"

	.comm	_MATRIX_ROW,8,3                 ## @MATRIX_ROW
	.comm	_filter16_row,4,2               ## @filter16_row
	.comm	_MATRIX_COLUMN,8,3              ## @MATRIX_COLUMN
	.comm	_filter16_column,4,2            ## @filter16_column
	.comm	_filter16_3x3,4,2               ## @filter16_3x3
	.comm	_filter16_5x5,4,2               ## @filter16_5x5
	.comm	_filter16_7x7,4,2               ## @filter16_7x7
L_.str.1:                               ## @.str.1
	.asciz	"prewitt"

	.comm	_filter16_prewitt,4,2           ## @filter16_prewitt
L_.str.2:                               ## @.str.2
	.asciz	"roberts"

	.comm	_filter16_roberts,4,2           ## @filter16_roberts
L_.str.3:                               ## @.str.3
	.asciz	"sobel"

	.comm	_filter16_sobel,4,2             ## @filter16_sobel
	.no_dead_strip	_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input
_config_input:                          ; @config_input
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x19, [x0, #24]
	ldr	x22, [x19, #8]
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w9, w9, w8
	mvn	w9, w9
	stp	w8, w9, [x22]
	ldr	x0, [x20, #16]
	ldr	w1, [x21, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #56]
	str	x0, [x8, #16]
	ldr	x8, [x22, #56]
	str	x0, [x8, #8]
	ldr	x8, [x20, #16]
	ldr	x9, [x22, #56]
	str	x8, [x9, #24]
	ldr	x9, [x22, #56]
	str	x8, [x9]
	ldr	x0, [x20, #8]
	ldr	w1, [x21]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #48]
	str	x0, [x8, #16]
	ldr	x8, [x22, #48]
	str	x0, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	x9, [x22, #48]
	str	x8, [x9, #24]
	ldr	x9, [x22, #48]
	str	x8, [x9]
	ldr	w0, [x20]
	bl	_av_pix_fmt_count_planes
	str	w0, [x22, #8]
	mov	x0, x19
	bl	_ff_filter_get_nb_threads
	str	w0, [x22, #40]
	ldr	w8, [x22]
	add	w9, w8, #7
	add	w8, w8, #14
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #3
	str	w8, [x22, #12]
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_25
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_29
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #9
	b.lt	LBB0_29
; %bb.5:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.6:
	mov	x8, #0
	ldr	x9, [x22, #32]
Lloh8:
	adrp	x10, _filter16_sobel@GOTPAGE
Lloh9:
	ldr	x10, [x10, _filter16_sobel@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x22, #8]
	cmp	x8, x11
	b.lt	LBB0_7
	b	LBB0_29
LBB0_8:
	ldr	w8, [x22]
	cmp	w8, #9
	b.lt	LBB0_29
; %bb.9:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.10:
	mov	x8, #0
	ldr	x9, [x22, #16]
Lloh10:
	adrp	x10, _MATRIX_ROW@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MATRIX_ROW@GOTPAGEOFF]
Lloh12:
	adrp	x11, _MATRIX_COLUMN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MATRIX_COLUMN@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
Lloh15:
	ldr	x11, [x11]
Lloh16:
	adrp	x12, _filter16_row@GOTPAGE
Lloh17:
	ldr	x12, [x12, _filter16_row@GOTPAGEOFF]
Lloh18:
	adrp	x13, _filter16_column@GOTPAGE
Lloh19:
	ldr	x13, [x13, _filter16_column@GOTPAGEOFF]
Lloh20:
	adrp	x14, _filter16_3x3@GOTPAGE
Lloh21:
	ldr	x14, [x14, _filter16_3x3@GOTPAGEOFF]
Lloh22:
	adrp	x15, _filter16_7x7@GOTPAGE
Lloh23:
	ldr	x15, [x15, _filter16_7x7@GOTPAGEOFF]
Lloh24:
	adrp	x16, _filter16_5x5@GOTPAGE
Lloh25:
	ldr	x16, [x16, _filter16_5x5@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x9, x8, lsl #3]
	mov	x17, x12
	cmp	x0, x10
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x17, x13
	cmp	x0, x11
	b.ne	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w17, [x17]
	ldr	x0, [x22, #32]
	str	w17, [x0, x8, lsl #2]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #1
	ldrsw	x17, [x22, #8]
	cmp	x8, x17
	b.lt	LBB0_11
	b	LBB0_29
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x17, [x22, #24]
	ldr	w17, [x17, x8, lsl #2]
	cmp	w17, #3
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w17, #7
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w17, #5
	b.ne	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x17, x16
	b	LBB0_13
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x17, x14
	b	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x17, x15
	b	LBB0_13
LBB0_21:
	ldr	w8, [x22]
	cmp	w8, #9
	b.lt	LBB0_29
; %bb.22:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.23:
	mov	x8, #0
	ldr	x9, [x22, #32]
Lloh26:
	adrp	x10, _filter16_prewitt@GOTPAGE
Lloh27:
	ldr	x10, [x10, _filter16_prewitt@GOTPAGEOFF]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x22, #8]
	cmp	x8, x11
	b.lt	LBB0_24
	b	LBB0_29
LBB0_25:
	ldr	w8, [x22]
	cmp	w8, #9
	b.lt	LBB0_29
; %bb.26:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.27:
	mov	x8, #0
	ldr	x9, [x22, #32]
Lloh28:
	adrp	x10, _filter16_roberts@GOTPAGE
Lloh29:
	ldr	x10, [x10, _filter16_roberts@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x22, #8]
	cmp	x8, x11
	b.lt	LBB0_28
LBB0_29:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"convolution"

	.comm	_MATRIX_ROW,8,3                 ; @MATRIX_ROW
	.comm	_filter16_row,4,2               ; @filter16_row
	.comm	_MATRIX_COLUMN,8,3              ; @MATRIX_COLUMN
	.comm	_filter16_column,4,2            ; @filter16_column
	.comm	_filter16_3x3,4,2               ; @filter16_3x3
	.comm	_filter16_5x5,4,2               ; @filter16_5x5
	.comm	_filter16_7x7,4,2               ; @filter16_7x7
l_.str.1:                               ; @.str.1
	.asciz	"prewitt"

	.comm	_filter16_prewitt,4,2           ; @filter16_prewitt
l_.str.2:                               ; @.str.2
	.asciz	"roberts"

	.comm	_filter16_roberts,4,2           ; @filter16_roberts
l_.str.3:                               ; @.str.3
	.asciz	"sobel"

	.comm	_filter16_sobel,4,2             ; @filter16_sobel
	.no_dead_strip	_config_input
.subsections_via_symbols
