	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function init_filters
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_filters:                          ## @init_filters
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_avfilter_get_by_name
	movq	%rax, -608(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdi
	callq	_avfilter_get_by_name
	movq	%rax, -600(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_avfilter_inout_alloc
	movq	%rax, %r13
	movq	%rax, -584(%rbp)
	xorl	%eax, %eax
	callq	_avfilter_inout_alloc
	movq	%rax, %rbx
	movq	%rax, -576(%rbp)
	movq	_fmt_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_video_stream_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %r14d
	movl	4(%rax), %r15d
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -568(%rbp)
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -564(%rbp)
	xorl	%eax, %eax
	callq	_avfilter_graph_alloc
	movq	_filter_graph@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r12, -592(%rbp)                ## 8-byte Spill
	movq	_dec_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	movl	12(%rax), %ebx
	movl	16(%rax), %eax
	leaq	L_.str.2(%rip), %rdx
	leaq	-560(%rbp), %r12
	movq	%r12, %rdi
	movl	$512, %esi                      ## imm = 0x200
	pushq	%rax
	pushq	%rbx
	pushq	%r15
	pushq	%r14
	callq	_snprintf
	addq	$32, %rsp
	movq	_filter_graph@GOTPCREL(%rip), %r14
	movl	(%r14), %r9d
	movq	_buffersrc_ctx@GOTPCREL(%rip), %r15
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movq	-608(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_avfilter_graph_create_filter
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	movl	(%r14), %r9d
	movq	_buffersink_ctx@GOTPCREL(%rip), %r12
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	movq	-600(%rbp), %rsi                ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_avfilter_graph_create_filter
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	(%r12), %rdi
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AV_OPT_SEARCH_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.7(%rip), %rsi
	leaq	-568(%rbp), %rdx
	callq	_av_opt_set_int_list
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	callq	_av_strdup
	movq	%rax, 24(%r13)
	movq	(%r15), %rax
	movq	%rax, 16(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	leaq	L_.str.5(%rip), %rdi
	callq	_av_strdup
	movq	-576(%rbp), %rcx
	movq	%rax, 24(%rcx)
	movq	(%r12), %rax
	movq	%rax, 16(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movl	(%r14), %edi
	leaq	-576(%rbp), %rdx
	leaq	-584(%rbp), %rcx
	movq	-592(%rbp), %rsi                ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_avfilter_graph_parse_ptr
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_avfilter_graph_config
	jmp	LBB0_13
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_5:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_6
LBB0_8:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_6
LBB0_10:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
LBB0_6:
	xorl	%edi, %edi
	callq	_av_log
LBB0_14:
	leaq	-576(%rbp), %rdi
	callq	_avfilter_inout_free
	leaq	-584(%rbp), %rdi
	callq	_avfilter_inout_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer"

L_.str.1:                               ## @.str.1
	.asciz	"buffersink"

	.comm	_fmt_ctx,8,3                    ## @fmt_ctx
	.comm	_video_stream_index,8,3         ## @video_stream_index
	.comm	_AV_PIX_FMT_GRAY8,4,2           ## @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_filter_graph,4,2               ## @filter_graph
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:pixel_aspect=%d/%d"

	.comm	_dec_ctx,8,3                    ## @dec_ctx
	.comm	_buffersrc_ctx,8,3              ## @buffersrc_ctx
L_.str.3:                               ## @.str.3
	.asciz	"in"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.4:                               ## @.str.4
	.asciz	"Cannot create buffer source\n"

	.comm	_buffersink_ctx,8,3             ## @buffersink_ctx
L_.str.5:                               ## @.str.5
	.asciz	"out"

L_.str.6:                               ## @.str.6
	.asciz	"Cannot create buffer sink\n"

L_.str.7:                               ## @.str.7
	.asciz	"pix_fmts"

	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ## @AV_OPT_SEARCH_CHILDREN
L_.str.8:                               ## @.str.8
	.asciz	"Cannot set output pixel format\n"

	.no_dead_strip	_init_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_filters
_init_filters:                          ; @init_filters
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #560
	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, #-88]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_avfilter_get_by_name
	mov	x22, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_avfilter_get_by_name
	mov	x21, x0
	bl	_avfilter_inout_alloc
	mov	x20, x0
	str	x0, [sp, #24]
	bl	_avfilter_inout_alloc
	mov	x25, x0
Lloh7:
	adrp	x8, _fmt_ctx@GOTPAGE
Lloh8:
	ldr	x8, [x8, _fmt_ctx@GOTPAGEOFF]
	str	x0, [sp, #16]
Lloh9:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _video_stream_index@GOTPAGE
Lloh11:
	ldr	x9, [x9, _video_stream_index@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldp	w23, w24, [x8]
Lloh13:
	adrp	x8, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x27, _AV_PIX_FMT_NONE@GOTPAGE
Lloh17:
	ldr	x27, [x27, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	ldr	w9, [x27]
	stp	w8, w9, [sp, #32]
	bl	_avfilter_graph_alloc
Lloh18:
	adrp	x26, _filter_graph@GOTPAGE
Lloh19:
	ldr	x26, [x26, _filter_graph@GOTPAGEOFF]
	str	w0, [x26]
	cbz	x20, LBB0_8
; %bb.1:
	cbz	x25, LBB0_8
; %bb.2:
	cbz	w0, LBB0_8
; %bb.3:
Lloh20:
	adrp	x8, _dec_ctx@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dec_ctx@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldp	w3, w4, [x8]
	ldp	w5, w9, [x8, #8]
	ldr	w8, [x8, #16]
	stp	w9, w8, [sp]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #40
	mov	w1, #512
	mov	x6, x23
	mov	x7, x24
	bl	_snprintf
	ldr	w5, [x26]
Lloh25:
	adrp	x23, _buffersrc_ctx@GOTPAGE
Lloh26:
	ldr	x23, [x23, _buffersrc_ctx@GOTPAGEOFF]
Lloh27:
	adrp	x2, l_.str.3@PAGE
Lloh28:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x3, sp, #40
	mov	x0, x23
	mov	x1, x22
	mov	x4, #0
	bl	_avfilter_graph_create_filter
	tbnz	w0, #31, LBB0_10
; %bb.4:
	ldr	w5, [x26]
Lloh29:
	adrp	x24, _buffersink_ctx@GOTPAGE
Lloh30:
	ldr	x24, [x24, _buffersink_ctx@GOTPAGEOFF]
Lloh31:
	adrp	x2, l_.str.5@PAGE
Lloh32:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x24
	mov	x1, x21
	mov	x3, #0
	mov	x4, #0
	bl	_avfilter_graph_create_filter
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	x0, [x24]
	ldr	w3, [x27]
Lloh33:
	adrp	x8, _AV_OPT_SEARCH_CHILDREN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_OPT_SEARCH_CHILDREN@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #32
	bl	_av_opt_set_int_list
	tbnz	w0, #31, LBB0_12
; %bb.6:
Lloh38:
	adrp	x0, l_.str.3@PAGE
Lloh39:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_av_strdup
	ldr	x8, [x23]
	stp	x8, x0, [x20, #16]
	stp	xzr, xzr, [x20]
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_av_strdup
	ldr	x8, [sp, #16]
	ldr	x9, [x24]
	stp	x9, x0, [x8, #16]
	stp	xzr, xzr, [x8]
	ldr	w0, [x26]
	add	x2, sp, #16
	add	x3, sp, #24
	mov	x1, x19
	mov	x4, #0
	bl	_avfilter_graph_parse_ptr
	tbnz	w0, #31, LBB0_9
; %bb.7:
	ldr	w0, [x26]
	mov	x1, #0
	bl	_avfilter_graph_config
	b	LBB0_9
LBB0_8:
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_9:
	mov	x22, x0
	b	LBB0_14
LBB0_10:
	mov	x22, x0
Lloh45:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x2, l_.str.4@PAGE
Lloh49:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_11:
	mov	x22, x0
Lloh50:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x2, l_.str.6@PAGE
Lloh54:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_12:
	mov	x22, x0
Lloh55:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.8@PAGE
Lloh59:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_13:
	mov	x0, #0
	bl	_av_log
LBB0_14:
	add	x0, sp, #16
	bl	_avfilter_inout_free
	add	x0, sp, #24
	bl	_avfilter_inout_free
	ldur	x8, [x29, #-88]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x22
	add	sp, sp, #560
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer"

l_.str.1:                               ; @.str.1
	.asciz	"buffersink"

	.comm	_fmt_ctx,8,3                    ; @fmt_ctx
	.comm	_video_stream_index,8,3         ; @video_stream_index
	.comm	_AV_PIX_FMT_GRAY8,4,2           ; @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_filter_graph,4,2               ; @filter_graph
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:pixel_aspect=%d/%d"

	.comm	_dec_ctx,8,3                    ; @dec_ctx
	.comm	_buffersrc_ctx,8,3              ; @buffersrc_ctx
l_.str.3:                               ; @.str.3
	.asciz	"in"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.4:                               ; @.str.4
	.asciz	"Cannot create buffer source\n"

	.comm	_buffersink_ctx,8,3             ; @buffersink_ctx
l_.str.5:                               ; @.str.5
	.asciz	"out"

l_.str.6:                               ; @.str.6
	.asciz	"Cannot create buffer sink\n"

l_.str.7:                               ; @.str.7
	.asciz	"pix_fmts"

	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ; @AV_OPT_SEARCH_CHILDREN
l_.str.8:                               ; @.str.8
	.asciz	"Cannot set output pixel format\n"

	.no_dead_strip	_init_filters
.subsections_via_symbols
