	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function addroi_config_input
LCPI0_0:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_addroi_config_input:                   ## @addroi_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	movq	_NB_VARS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movq	_VAR_IW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rbx,%rax,8)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	movq	_VAR_IH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rbx,%rax,8)
	movq	_NB_PARAMS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.1:
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %r15
                                        ## implicit-def: $r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_addroi_param_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movb	$1, %al
	callq	_av_log
	xorpd	%xmm0, %xmm0
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cvttsd2si	%xmm0, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	movq	_NB_PARAMS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cvttsd2si	8(%rax), %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cvttsd2si	(%rax), %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	516(%rax), %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	512(%rax), %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movsd	8(%rax), %xmm1                  ## xmm1 = mem[0],zero
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_av_expr_eval
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r13d, %xmm1
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_addroi_param_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	movb	$1, %al
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	callq	_av_log
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_13
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_NB_VARS,4,2                    ## @NB_VARS
	.comm	_VAR_IW,8,3                     ## @VAR_IW
	.comm	_VAR_IH,8,3                     ## @VAR_IH
	.comm	_NB_PARAMS,4,2                  ## @NB_PARAMS
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Calculated value %g for %s is less than zero - using zero instead.\n"

	.comm	_addroi_param_names,8,3         ## @addroi_param_names
L_.str.1:                               ## @.str.1
	.asciz	"Calculated value %g for %s is greater than maximum allowed value %d - using %d instead.\n"

	.no_dead_strip	_addroi_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addroi_config_input
_addroi_config_input:                   ; @addroi_config_input
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	ldr	x20, [x0, #16]
	ldr	x24, [x20]
Lloh3:
	adrp	x8, _NB_VARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NB_VARS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _VAR_IW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VAR_IW@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldp	d0, d1, [x0]
	str	d0, [x21, x8, lsl #3]
Lloh11:
	adrp	x8, _VAR_IH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VAR_IH@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	d1, [x21, x8, lsl #3]
Lloh14:
	adrp	x25, _NB_PARAMS@GOTPAGE
Lloh15:
	ldr	x25, [x25, _NB_PARAMS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x26, #0
Lloh16:
	adrp	x27, _AV_LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x27, [x27, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh18:
	adrp	x28, _addroi_param_names@GOTPAGE
Lloh19:
	ldr	x28, [x28, _addroi_param_names@GOTPAGEOFF]
                                        ; implicit-def: $w22
Lloh20:
	adrp	x23, lJTI0_0@PAGE
Lloh21:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x27]
	ldr	x8, [x28]
	ldr	w3, [x8, x26, lsl #2]
	mov	x0, x20
Lloh22:
	adrp	x2, l_.str@PAGE
Lloh23:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	movi	d8, #0000000000000000
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	fcvtzs	w8, d8
	ldr	x9, [x24]
	str	w8, [x9, x26, lsl #2]
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w26, #128
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_6
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x19, #8]
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x19]
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x19]
	ldr	x8, [x24]
	ldr	s1, [x8, #516]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x19, #8]
	ldr	x8, [x24]
	ldr	s1, [x8, #512]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fsub	d0, d0, d1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	fcvtzs	w22, d0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	ldr	w0, [x8, x26, lsl #2]
	mov	x1, x21
	mov	x2, #0
	bl	_av_expr_eval
	fcmp	d0, #0.0
	b.mi	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	scvtf	d8, w22
	fcmp	d0, d8
	b.le	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x27]
	ldr	x8, [x28]
	ldr	w3, [x8, x26, lsl #2]
	stp	x22, x22, [sp, #-16]!
	mov	x0, x20
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
	add	sp, sp, #16
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	fmov	d8, d0
	b	LBB0_3
LBB0_16:
	ldur	x8, [x29, #-104]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #0
	sub	sp, x29, #96
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
                                        ; -- End function
	.comm	_NB_VARS,4,2                    ; @NB_VARS
	.comm	_VAR_IW,8,3                     ; @VAR_IW
	.comm	_VAR_IH,8,3                     ; @VAR_IH
	.comm	_NB_PARAMS,4,2                  ; @NB_PARAMS
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Calculated value %g for %s is less than zero - using zero instead.\n"

	.comm	_addroi_param_names,8,3         ; @addroi_param_names
l_.str.1:                               ; @.str.1
	.asciz	"Calculated value %g for %s is greater than maximum allowed value %d - using %d instead.\n"

	.no_dead_strip	_addroi_config_input
.subsections_via_symbols
