	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movq	24(%r15), %rdi
	movq	(%rdi), %rbx
	movq	_AV_PIX_FMT_FLAG_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%eax, %eax
	andl	(%r14), %r8d
	sete	%al
	movl	%eax, (%rbx)
	movq	16(%r14), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	leal	255(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	movl	%eax, 4(%rbx)
	sarl	$8, %esi
	movl	%esi, 8(%rbx)
	movl	%ecx, 12(%rbx)
	decl	%eax
	movl	20(%rbx), %esi
	imull	%eax, %esi
	movl	%esi, 16(%rbx)
	movl	28(%rbx), %edx
	imull	%eax, %edx
	movl	%edx, 24(%rbx)
	cmpl	%edx, %esi
	jle	LBB0_1
## %bb.36:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_1:
	movq	32(%rbx), %rdx
	movq	_GRAY@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.2:
	testl	%r8d, %r8d
	jne	LBB0_3
## %bb.18:
	movl	$0, 40(%rbx)
	cmpl	$8, %ecx
	jne	LBB0_19
## %bb.24:
	movq	_vectorscope8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rbx)
	movq	_none_graticule@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	96(%rbx), %rcx
	movl	%edx, 96(%rbx)
	jmp	LBB0_25
LBB0_3:
	movl	44(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.4:
	cmpl	$2, %esi
	je	LBB0_8
## %bb.5:
	cmpl	$1, %esi
	jne	LBB0_15
## %bb.6:
	movl	48(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.7:
	xorl	%esi, %esi
	cmpl	$2, %edi
	je	LBB0_14
	jmp	LBB0_15
LBB0_19:
	movq	_vectorscope16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rbx)
	movq	_none_graticule@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	96(%rbx), %rcx
	movl	%edx, 96(%rbx)
	jmp	LBB0_20
LBB0_10:
	movl	48(%rbx), %esi
	cmpl	$1, %esi
	je	LBB0_13
## %bb.11:
	cmpl	$2, %esi
	je	LBB0_12
	jmp	LBB0_15
LBB0_8:
	movl	48(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.9:
	xorl	%esi, %esi
	cmpl	$1, %edi
	je	LBB0_14
	jmp	LBB0_15
LBB0_13:
	movl	$2, %esi
	jmp	LBB0_14
LBB0_12:
	movl	$1, %esi
LBB0_14:
	movl	%esi, 40(%rbx)
LBB0_15:
	cmpl	$8, %ecx
	jne	LBB0_22
## %bb.16:
	movq	_vectorscope8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rbx)
	movq	_none_graticule@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 96(%rbx)
	testl	%r8d, %r8d
	jne	LBB0_32
## %bb.17:
	leaq	96(%rbx), %rcx
LBB0_25:
	movl	52(%rbx), %edx
	cmpl	$1, %edx
	je	LBB0_26
## %bb.27:
	cmpl	$2, %edx
	jne	LBB0_32
## %bb.28:
	movq	_color_graticule@GOTPCREL(%rip), %rdx
	jmp	LBB0_31
LBB0_22:
	movq	_vectorscope16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rbx)
	movq	_none_graticule@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 96(%rbx)
	testl	%r8d, %r8d
	jne	LBB0_32
## %bb.23:
	leaq	96(%rbx), %rcx
LBB0_20:
	movl	52(%rbx), %edx
	cmpl	$1, %edx
	je	LBB0_21
## %bb.29:
	cmpl	$2, %edx
	jne	LBB0_32
## %bb.30:
	movq	_color_graticule16@GOTPCREL(%rip), %rdx
	jmp	LBB0_31
LBB0_26:
	movq	_green_graticule@GOTPCREL(%rip), %rdx
	jmp	LBB0_31
LBB0_21:
	movq	_green_graticule16@GOTPCREL(%rip), %rdx
LBB0_31:
	movl	(%rdx), %edx
	movl	%edx, (%rcx)
LBB0_32:
	imull	64(%rbx), %eax
	movq	56(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movl	(%r15), %eax
	addl	$-128, %eax
	movl	$0, (%rcx)
	cmpl	$4, %eax
	ja	LBB0_34
## %bb.33:
	movl	$0, 4(%rcx)
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_34:
	movl	4(%rbx), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	decl	%edx
	movl	%edx, 4(%rcx)
	movl	4(%rbx), %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	decl	%eax
LBB0_35:
	movl	%eax, 8(%rcx)
	movl	4(%r14), %eax
	movl	%eax, 92(%rbx)
	movl	8(%r14), %esi
	movl	%esi, 88(%rbx)
	movq	16(%r15), %rdi
	callq	_AV_CEIL_RSHIFT
	movq	80(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	80(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%r15), %rax
	movq	80(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	80(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r15), %rdi
	movl	4(%r14), %esi
	callq	_AV_CEIL_RSHIFT
	movq	72(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	72(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r15), %rax
	movq	72(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	72(%rbx), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ## @AV_PIX_FMT_FLAG_RGB
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"low threshold should be less than high threshold\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GRAY,8,3                       ## @GRAY
	.comm	_vectorscope8,4,2               ## @vectorscope8
	.comm	_vectorscope16,4,2              ## @vectorscope16
	.comm	_none_graticule,4,2             ## @none_graticule
	.comm	_green_graticule,4,2            ## @green_graticule
	.comm	_color_graticule,4,2            ## @color_graticule
	.comm	_green_graticule16,4,2          ## @green_graticule16
	.comm	_color_graticule16,4,2          ## @color_graticule16
	.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	x19, x0
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	x0, [x19, #24]
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _AV_PIX_FMT_FLAG_RGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_FLAG_RGB@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	ldr	w8, [x8]
	ands	w9, w8, w9
	cset	w8, eq
	ldr	x10, [x20, #16]
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w11, w11, w10
	stp	w8, w11, [x21]
	add	w8, w11, #255
	cmp	w11, #0
	csel	w8, w8, w11, lt
	asr	w8, w8, #8
	stp	w8, w10, [x21, #8]
	ldr	w12, [x21, #20]
	sub	w8, w11, #1
	mul	w11, w12, w8
	str	w11, [x21, #16]
	ldr	w12, [x21, #28]
	mul	w12, w12, w8
	str	w12, [x21, #24]
	cmp	w11, w12
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_2:
	ldr	x11, [x21, #32]
Lloh11:
	adrp	x12, _GRAY@GOTPAGE
Lloh12:
	ldr	x12, [x12, _GRAY@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	cmp	x11, x12
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_8
; %bb.3:
	ldr	w11, [x21, #44]
	cbz	w11, LBB0_14
; %bb.4:
	cmp	w11, #2
	b.eq	LBB0_11
; %bb.5:
	cmp	w11, #1
	b.ne	LBB0_19
; %bb.6:
	ldr	w11, [x21, #48]
	cbz	w11, LBB0_17
; %bb.7:
	cmp	w11, #2
	b.eq	LBB0_13
	b	LBB0_19
LBB0_8:
	str	wzr, [x21, #40]
	cmp	w10, #8
	b.ne	LBB0_10
; %bb.9:
Lloh14:
	adrp	x9, _vectorscope8@GOTPAGE
Lloh15:
	ldr	x9, [x9, _vectorscope8@GOTPAGEOFF]
Lloh16:
	adrp	x10, _none_graticule@GOTPAGE
Lloh17:
	ldr	x10, [x10, _none_graticule@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	ldr	w11, [x10]
	mov	x10, x21
	stp	w11, w9, [x10, #96]!
	b	LBB0_21
LBB0_10:
Lloh20:
	adrp	x9, _vectorscope16@GOTPAGE
Lloh21:
	ldr	x9, [x9, _vectorscope16@GOTPAGEOFF]
Lloh22:
	adrp	x10, _none_graticule@GOTPAGE
Lloh23:
	ldr	x10, [x10, _none_graticule@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	ldr	w11, [x10]
	mov	x10, x21
	stp	w11, w9, [x10, #96]!
	b	LBB0_25
LBB0_11:
	ldr	w11, [x21, #48]
	cbz	w11, LBB0_16
; %bb.12:
	cmp	w11, #1
	b.ne	LBB0_19
LBB0_13:
	mov	w11, #0
	b	LBB0_18
LBB0_14:
	ldr	w11, [x21, #48]
	cmp	w11, #1
	b.eq	LBB0_17
; %bb.15:
	cmp	w11, #2
	b.ne	LBB0_19
LBB0_16:
	mov	w11, #1
	b	LBB0_18
LBB0_17:
	mov	w11, #2
LBB0_18:
	str	w11, [x21, #40]
LBB0_19:
	cmp	w10, #8
	b.ne	LBB0_24
; %bb.20:
Lloh26:
	adrp	x10, _vectorscope8@GOTPAGE
Lloh27:
	ldr	x10, [x10, _vectorscope8@GOTPAGEOFF]
Lloh28:
	adrp	x11, _none_graticule@GOTPAGE
Lloh29:
	ldr	x11, [x11, _none_graticule@GOTPAGEOFF]
Lloh30:
	ldr	w12, [x10]
Lloh31:
	ldr	w11, [x11]
	mov	x10, x21
	stp	w11, w12, [x10, #96]!
	cbnz	w9, LBB0_31
LBB0_21:
	ldr	w9, [x21, #52]
	cmp	w9, #1
	b.eq	LBB0_28
; %bb.22:
	cmp	w9, #2
	b.ne	LBB0_31
; %bb.23:
Lloh32:
	adrp	x9, _color_graticule@GOTPAGE
Lloh33:
	ldr	x9, [x9, _color_graticule@GOTPAGEOFF]
	b	LBB0_30
LBB0_24:
Lloh34:
	adrp	x10, _vectorscope16@GOTPAGE
Lloh35:
	ldr	x10, [x10, _vectorscope16@GOTPAGEOFF]
Lloh36:
	adrp	x11, _none_graticule@GOTPAGE
Lloh37:
	ldr	x11, [x11, _none_graticule@GOTPAGEOFF]
Lloh38:
	ldr	w12, [x10]
Lloh39:
	ldr	w11, [x11]
	mov	x10, x21
	stp	w11, w12, [x10, #96]!
	cbnz	w9, LBB0_31
LBB0_25:
	ldr	w9, [x21, #52]
	cmp	w9, #1
	b.eq	LBB0_29
; %bb.26:
	cmp	w9, #2
	b.ne	LBB0_31
; %bb.27:
Lloh40:
	adrp	x9, _color_graticule16@GOTPAGE
Lloh41:
	ldr	x9, [x9, _color_graticule16@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh42:
	adrp	x9, _green_graticule@GOTPAGE
Lloh43:
	ldr	x9, [x9, _green_graticule@GOTPAGEOFF]
	b	LBB0_30
LBB0_29:
Lloh44:
	adrp	x9, _green_graticule16@GOTPAGE
Lloh45:
	ldr	x9, [x9, _green_graticule16@GOTPAGEOFF]
LBB0_30:
	ldr	w9, [x9]
	str	w9, [x10]
LBB0_31:
	ldr	w9, [x21, #64]
	mul	w9, w9, w8
	ldr	x8, [x21, #56]
	str	w9, [x8, #12]
	ldr	w9, [x19]
	sub	w9, w9, #128
	str	wzr, [x8]
	cmp	w9, #4
	b.hi	LBB0_33
; %bb.32:
	mov	w9, #0
	str	wzr, [x8, #4]
	b	LBB0_34
LBB0_33:
	ldr	w9, [x21, #4]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w9, [x21, #4]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	w9, w9, #1
LBB0_34:
	str	w9, [x8, #8]
	ldp	w8, w1, [x20, #4]
	stp	w1, w8, [x21, #88]
	ldr	x0, [x19, #16]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21, #80]
	str	x0, [x8, #16]
	ldr	x8, [x21, #80]
	str	x0, [x8, #8]
	ldr	x8, [x19, #16]
	ldr	x9, [x21, #80]
	str	x8, [x9, #24]
	ldr	x9, [x21, #80]
	str	x8, [x9]
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21, #72]
	str	x0, [x8, #16]
	ldr	x8, [x21, #72]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #72]
	str	x8, [x9, #24]
	ldr	x9, [x21, #72]
	str	x8, [x9]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ; @AV_PIX_FMT_FLAG_RGB
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"low threshold should be less than high threshold\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GRAY,8,3                       ; @GRAY
	.comm	_vectorscope8,4,2               ; @vectorscope8
	.comm	_vectorscope16,4,2              ; @vectorscope16
	.comm	_none_graticule,4,2             ; @none_graticule
	.comm	_green_graticule,4,2            ; @green_graticule
	.comm	_color_graticule,4,2            ; @color_graticule
	.comm	_green_graticule16,4,2          ; @green_graticule16
	.comm	_color_graticule16,4,2          ; @color_graticule16
	.no_dead_strip	_config_input
.subsections_via_symbols
