	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -48(%rbp)
	movq	8(%rdi), %rax
	movq	8(%rax), %r12
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -128(%rbp)
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	(%rax), %r15
	movq	_filter_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-152(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*%r15
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	leal	-1(%rbx), %eax
	movl	$0, %esi
	movl	$0, %r14d
	cmpl	$1, %eax
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r12), %esi
	movl	8(%r12), %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	44(%r12), %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r13d
	movl	40(%r12), %edi
	movl	%r14d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r14d
	movl	12(%r12), %eax
	imull	%r13d, %eax
	movl	16(%r12), %ecx
	imull	%r14d, %ecx
	movl	%r13d, -152(%rbp)
	movl	%r14d, -148(%rbp)
	movl	%eax, -144(%rbp)
	movl	%ecx, -140(%rbp)
	movl	%ebx, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -112(%rbp)
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	(,%r14,4), %esi
	movl	%r13d, %edi
	callq	_av_malloc_array
	movq	32(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %r15d
	shlq	$2, %r15
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	addl	%r13d, %r12d
	decq	%r14
	je	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r13d, %r13d
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movslq	%r12d, %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	leaq	L_.memset_pattern(%rip), %rsi
	movq	%r15, %rdx
	callq	_memset_pattern16
	jmp	LBB0_13
LBB0_16:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_filter_frame
	jmp	LBB0_17
LBB0_1:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_17:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_filter_slice,4,2               ## @filter_slice
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	16777216                        ## 0x1000000
	.long	16777216                        ## 0x1000000
	.long	16777216                        ## 0x1000000
	.long	16777216                        ## 0x1000000

	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x22, x1
	str	x1, [sp, #72]
	ldr	x20, [x0, #8]
	ldp	x26, x8, [x20, #8]
	ldr	x19, [x8]
	ldp	w2, w1, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_16
; %bb.1:
	mov	x21, x0
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x1, x22
	bl	_av_frame_copy_props
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x27, #0
Lloh0:
	adrp	x22, l_.memset_pattern@PAGE
Lloh1:
	add	x22, x22, l_.memset_pattern@PAGEOFF
Lloh2:
	adrp	x25, _filter_slice@GOTPAGE
Lloh3:
	ldr	x25, [x25, _filter_slice@GOTPAGEOFF]
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26, #32]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
Lloh4:
	adrp	x25, _filter_slice@GOTPAGE
Lloh5:
	ldr	x25, [x25, _filter_slice@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp, #48]
	ldr	x8, [x20]
	ldr	x19, [x8]
	ldr	w24, [x25]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x23
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x3, #0
	blr	x19
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.ge	LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	sub	w8, w27, #1
	cmp	w8, #1
	b.hi	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w23, [x26, #4]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	mov	w23, #0
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26, #44]
	bl	_AV_CEIL_RSHIFT
	mov	x24, x0
	ldr	w0, [x26, #40]
	mov	x1, x23
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldp	w8, w9, [x26, #12]
	mul	w8, w8, w24
	mul	w9, w9, w0
	stp	w24, w0, [sp, #24]
	stp	w8, w9, [sp, #32]
	str	w27, [sp, #40]
	stp	xzr, x21, [sp, #48]
	ldr	x8, [sp, #72]
	str	x8, [sp, #64]
	ldr	x8, [x26, #32]
	ldr	x8, [x8, x27, lsl #3]
	cbnz	x8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w1, w23, #2
	mov	x0, x24
	bl	_av_malloc_array
	ldr	x8, [x26, #32]
	lsl	x9, x27, #3
	str	x0, [x8, x9]
	ldr	x8, [x26, #32]
	ldr	x19, [x8, x9]
	cbz	x19, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #1
	b.lt	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	mov	w8, w24
	lsl	x25, x8, #2
	mov	w21, w23
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	w28, w28, w24
	subs	x21, x21, #1
	b.eq	LBB0_3
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w24, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x0, x19, w28, sxtw #2
	mov	x1, x22
	mov	x2, x25
	bl	_memset_pattern16
	b	LBB0_12
LBB0_15:
	add	x0, sp, #72
	bl	_av_frame_free
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	bl	_ff_filter_frame
	b	LBB0_18
LBB0_16:
	add	x0, sp, #72
	bl	_av_frame_free
LBB0_17:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_18:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_filter_slice,4,2               ; @filter_slice
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	16777216                        ; 0x1000000
	.long	16777216                        ; 0x1000000
	.long	16777216                        ; 0x1000000
	.long	16777216                        ; 0x1000000

	.no_dead_strip	_filter_frame
.subsections_via_symbols
