	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sub2video_push_ref
_sub2video_push_ref:                    ## @sub2video_push_ref
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	24(%rdi), %r14
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_av_assert1
	movl	%r15d, (%r14)
	movl	%r15d, 16(%r12)
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_AV_BUFFERSRC_FLAG_KEEP_REF@GOTPCREL(%rip), %r13
	movq	_AV_BUFFERSRC_FLAG_PUSH@GOTPCREL(%rip), %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	orl	(%r13), %edx
	movq	%r14, %rsi
	callq	_av_buffersrc_add_frame_flags
	testl	%eax, %eax
	jns	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r12
	movq	%r15, %r14
	movq	%r13, %r15
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	%eax, %edi
	callq	_av_err2str
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%r15, %r13
	movq	%r14, %r15
	movq	%r12, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	callq	_av_log
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_BUFFERSRC_FLAG_KEEP_REF,4,2 ## @AV_BUFFERSRC_FLAG_KEEP_REF
	.comm	_AV_BUFFERSRC_FLAG_PUSH,4,2     ## @AV_BUFFERSRC_FLAG_PUSH
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error while add the frame to buffer source(%s).\n"

	.no_dead_strip	_sub2video_push_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sub2video_push_ref
_sub2video_push_ref:                    ; @sub2video_push_ref
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_av_assert1
	str	w21, [x20]
	str	w21, [x19, #16]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
Lloh0:
	adrp	x24, _AV_BUFFERSRC_FLAG_KEEP_REF@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_BUFFERSRC_FLAG_KEEP_REF@GOTPAGEOFF]
Lloh2:
	adrp	x25, _AV_BUFFERSRC_FLAG_PUSH@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AV_BUFFERSRC_FLAG_PUSH@GOTPAGEOFF]
Lloh4:
	adrp	x26, _AVERROR_EOF@GOTPAGE
Lloh5:
	ldr	x26, [x26, _AVERROR_EOF@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x27, _AV_LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x27, [x27, _AV_LOG_WARNING@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x1, x20
	bl	_av_buffersrc_add_frame_flags
	tbz	w0, #31, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [x27]
	bl	_av_err2str
	mov	x3, x0
	mov	x0, #0
	mov	x1, x22
	mov	x2, x21
	bl	_av_log
	b	LBB0_2
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_BUFFERSRC_FLAG_KEEP_REF,4,2 ; @AV_BUFFERSRC_FLAG_KEEP_REF
	.comm	_AV_BUFFERSRC_FLAG_PUSH,4,2     ; @AV_BUFFERSRC_FLAG_PUSH
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error while add the frame to buffer source(%s).\n"

	.no_dead_strip	_sub2video_push_ref
.subsections_via_symbols
