	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_output
_config_output:                         ## @config_output
	.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	40(%rdi), %rbx
	movq	(%rbx), %rax
	movq	8(%rbx), %r13
	movq	(%rax), %r14
	movups	16(%r14), %xmm0
	movl	(%r14), %r15d
	movl	4(%r14), %r10d
	cmpq	$0, 56(%r13)
	jne	LBB0_8
## %bb.1:
	movl	(%r13), %edx
	cmpl	$2, %edx
	jl	LBB0_8
## %bb.2:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rsi
	movl	(%rsi), %r9d
	movl	4(%rsi), %r8d
	cmpl	%r15d, %r9d
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r10d, %r8d
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_3
LBB0_8:
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	32(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, 64(%r13)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	32(%r12), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 76(%r13)
	movq	64(%r13), %rax
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%r13)
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	movl	%eax, 8(%r13)
	movl	72(%r13), %edi
	movl	4(%r14), %edx
	movl	32(%r14), %esi
	callq	_av_image_fill_linesizes
	testl	%eax, %eax
	js	LBB0_17
## %bb.11:
	movl	(%r14), %edi
	movq	64(%r13), %rax
	movl	(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movq	16(%r13), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	(%r14), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	cmpq	$0, 56(%r13)
	jne	LBB0_17
## %bb.12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
	movl	%r15d, (%rax)
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	movups	%xmm0, 16(%rax)
	leaq	32(%r13), %r15
	movl	(%r13), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_framesync_init
	testl	%eax, %eax
	js	LBB0_17
## %bb.13:
	movq	48(%r13), %rax
	movq	%r13, 40(%r13)
	movq	_process_frame@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%r13)
	movl	(%r13), %r9d
	testl	%r9d, %r9d
	jle	LBB0_16
## %bb.14:
	movq	(%rbx), %r8
	movl	24(%r13), %esi
	shlq	$3, %r9
	xorl	%edi, %edi
	movq	_EXT_STOP@GOTPCREL(%rip), %rbx
	movq	_EXT_INFINITY@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testq	%rdi, %rdi
	movq	%r10, %rdx
	cmoveq	%rbx, %rdx
	cmpl	$2, %esi
	cmovneq	%r10, %rdx
	cmpl	$1, %esi
	movq	(%r8,%rdi), %rcx
	movl	8(%rcx), %ecx
	movl	%ecx, 24(%rax,%rdi,4)
	movl	$1, (%rax,%rdi,4)
	movq	(%rbx), %rcx
	movq	%rcx, 16(%rax,%rdi,4)
	cmoveq	%rbx, %rdx
	movq	(%rdx), %rcx
	movq	%rcx, 8(%rax,%rdi,4)
	addq	$8, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	callq	_ff_framesync_configure
	movl	(%r15), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 8(%rdx)
	jmp	LBB0_17
LBB0_9:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r15d, %r9d
LBB0_6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	pushq	%r15
	pushq	%r10
	pushq	$0
	callq	_av_log
	addq	$32, %rsp
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Input %d size (%dx%d) does not match input %d size (%dx%d).\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
	.comm	_process_frame,4,2              ## @process_frame
	.comm	_EXT_STOP,8,3                   ## @EXT_STOP
	.comm	_EXT_INFINITY,8,3               ## @EXT_INFINITY
	.no_dead_strip	_config_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_output
_config_output:                         ; @config_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x20, [x0, #40]
	ldp	x8, x22, [x20]
	ldr	x26, [x8]
	ldp	x25, x24, [x26, #16]
	ldp	w23, w21, [x26]
	ldr	x9, [x22, #56]
	cbnz	x9, LBB0_6
; %bb.1:
	ldr	w9, [x22]
	cmp	w9, #2
	b.lt	LBB0_6
; %bb.2:
	mov	w3, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, x3, lsl #3]
	ldp	w5, w4, [x10]
	cmp	w5, w23
	b.ne	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w4, w21
	b.ne	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x3, x3, #1
	cmp	x9, x3
	b.ne	LBB0_3
LBB0_6:
	ldr	w0, [x19, #32]
	bl	_av_pix_fmt_desc_get
	str	x0, [x22, #64]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w0, [x19, #32]
	bl	_av_pix_fmt_count_planes
	str	w0, [x22, #76]
	ldr	x8, [x22, #64]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w9, w9, w8
	mvn	w9, w9
	stp	w8, w9, [x22, #4]
	ldr	w0, [x22, #72]
	ldr	w1, [x26, #32]
	ldr	w2, [x26, #4]
	bl	_av_image_fill_linesizes
	tbnz	w0, #31, LBB0_11
; %bb.8:
	ldr	w0, [x26]
	ldr	x8, [x22, #64]
	ldr	w1, [x8]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #16]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x26]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_12
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	stp	w23, w21, [x19]
	stp	x25, x24, [x19, #16]
	mov	x21, x22
	ldr	w2, [x21], #32
	mov	x0, x21
	mov	x1, x20
	bl	_ff_framesync_init
	tbnz	w0, #31, LBB0_11
; %bb.13:
	ldr	x12, [x22, #48]
	str	x22, [x22, #40]
Lloh3:
	adrp	x8, _process_frame@GOTPAGE
Lloh4:
	ldr	x8, [x8, _process_frame@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x22, #36]
	ldr	w11, [x22]
	cmp	w11, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x8, #0
	ldr	x9, [x20]
	ldr	w10, [x22, #24]
	lsl	x11, x11, #3
	add	x12, x12, #16
	mov	w13, #1
Lloh6:
	adrp	x14, _EXT_STOP@GOTPAGE
Lloh7:
	ldr	x14, [x14, _EXT_STOP@GOTPAGEOFF]
Lloh8:
	adrp	x15, _EXT_INFINITY@GOTPAGE
Lloh9:
	ldr	x15, [x15, _EXT_INFINITY@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	x8, #0
	ccmp	w10, #2, #0, eq
	ldr	x16, [x9, x8]
	ccmp	w10, #1, #4, ne
	ldr	w16, [x16, #8]
	str	w16, [x12, #8]
	stur	w13, [x12, #-16]
	ldr	x16, [x14]
	str	x16, [x12]
	csel	x16, x14, x15, eq
	ldr	x16, [x16]
	stur	x16, [x12, #-8]
	add	x8, x8, #8
	add	x12, x12, #32
	cmp	x11, x8
	b.ne	LBB0_15
LBB0_16:
	mov	x0, x21
	bl	_ff_framesync_configure
	ldr	w8, [x21]
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_17:
	mov	x5, x23
LBB0_18:
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	str	w23, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w6, #0
	mov	x7, x21
	bl	_av_log
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Input %d size (%dx%d) does not match input %d size (%dx%d).\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
	.comm	_process_frame,4,2              ; @process_frame
	.comm	_EXT_STOP,8,3                   ; @EXT_STOP
	.comm	_EXT_INFINITY,8,3               ; @EXT_INFINITY
	.no_dead_strip	_config_output
.subsections_via_symbols
