	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vp3dsp_set_bounding_values  ## -- Begin function ff_vp3dsp_set_bounding_values
	.p2align	4, 0x90
_ff_vp3dsp_set_bounding_values:         ## @ff_vp3dsp_set_bounding_values
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$128, %esi
	setb	%dil
	callq	_av_assert0
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.1:
	movl	%r14d, %edx
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_15
## %bb.2:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_15:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, 508(%r15,%rcx,4)
	movl	%esi, 508(%r15,%rsi,4)
	leal	-1(%rcx), %edi
	movl	%edi, 504(%r15,%rcx,4)
	leal	1(%rsi), %edi
	movl	%edi, 512(%r15,%rsi,4)
	leal	-2(%rcx), %edi
	movl	%edi, 500(%r15,%rcx,4)
	leal	2(%rsi), %edi
	movl	%edi, 516(%r15,%rsi,4)
	leal	-3(%rcx), %edi
	movl	%edi, 496(%r15,%rcx,4)
	leal	3(%rsi), %edi
	movl	%edi, 520(%r15,%rsi,4)
	addq	$-4, %rcx
	addq	$4, %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_16
## %bb.3:
	negq	%rcx
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movl	%ecx, %edx
	negl	%edx
	leaq	(,%rcx,4), %rsi
	negq	%rsi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, 508(%r15,%rsi)
	movl	%ecx, 508(%r15,%rcx,4)
	incq	%rcx
	decl	%edx
	addq	$-4, %rsi
	decq	%rax
	jne	LBB0_6
LBB0_7:
	testl	%r14d, %r14d
	setne	%cl
	movl	%r14d, %edx
	cmpl	$127, %r14d
	jg	LBB0_12
## %bb.8:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.9:
	movslq	%r14d, %rax
	movl	$127, %ecx
	subq	%rax, %rcx
	leaq	(%r15,%rcx,4), %rsi
	movl	%r14d, %edi
	negl	%edi
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, 508(%r15,%rax,4)
	movl	%edi, (%rsi)
	leal	-1(%rbx), %edx
	cmpl	$1, %ebx
	setne	%cl
	cmpq	$126, %rax
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rax
	addq	$-4, %rsi
	incl	%edi
	cmpl	$1, %ebx
	movl	%edx, %ebx
	jne	LBB0_10
LBB0_12:
	testb	%cl, %cl
	je	LBB0_14
## %bb.13:
	movl	%edx, 1020(%r15)
LBB0_14:
	imull	$33686018, %r14d, %eax          ## imm = 0x2020202
	movl	%eax, 1028(%r15)
	movl	%eax, 1024(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vp3dsp_set_bounding_values  ; -- Begin function ff_vp3dsp_set_bounding_values
	.p2align	2
_ff_vp3dsp_set_bounding_values:         ; @ff_vp3dsp_set_bounding_values
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #128
	cset	w0, lo
	bl	_av_assert0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	sub	x9, x8, w20, uxtw
	mov	w10, #127
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x19, x8, lsl #2
	str	w8, [x11, #508]
	sub	w11, w10, #127
	str	w11, [x19, x10, lsl #2]
	add	x10, x10, #1
	sub	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
	cmp	w20, #0
	cset	w10, ne
	mov	x12, x20
	cmp	w20, #127
	b.gt	LBB0_8
; %bb.4:
	cbz	w20, LBB0_8
; %bb.5:
	mov	x10, #0
	add	x8, x19, #508
	sxtw	x9, w20
	sub	x11, x10, w20, sxtw #2
	neg	w13, w20
	mov	x14, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w14, [x8, x9, lsl #2]
	str	w13, [x8, x11]
	subs	w12, w14, #1
	cset	w10, ne
	cmp	x9, #126
	b.gt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	sub	x11, x11, #4
	add	w13, w13, #1
	cmp	w14, #1
	mov	x14, x12
	b.ne	LBB0_6
LBB0_8:
	cbz	w10, LBB0_10
; %bb.9:
	str	w12, [x19, #1020]
LBB0_10:
	mov	w8, #33686018
	mul	w8, w20, w8
	str	w8, [x19, #1028]
	str	w8, [x19, #1024]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
