	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_delayed_frame
_send_delayed_frame:                    ## @send_delayed_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	leaq	8(%rbx), %r13
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_davs2_decoder_flush
	movq	_DAVS2_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_av_log
	movq	_AVERROR_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_2:
	movq	_DAVS2_GOT_FRAME@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_davs2_dump_frames
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	callq	_davs2_decoder_frame_unref
	movl	%r14d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAVS2_DEFAULT,4,2              ## @DAVS2_DEFAULT
	.comm	_DAVS2_ERROR,4,2                ## @DAVS2_ERROR
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Decoder error: can't flush delayed frame\n"

	.comm	_AVERROR_EXTERNAL,4,2           ## @AVERROR_EXTERNAL
	.comm	_DAVS2_GOT_FRAME,4,2            ## @DAVS2_GOT_FRAME
	.no_dead_strip	_send_delayed_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_delayed_frame
_send_delayed_frame:                    ; @send_delayed_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	w0, [x19, #4]
	add	x23, x19, #8
	mov	x1, x23
	mov	x2, x19
	bl	_davs2_decoder_flush
Lloh0:
	adrp	x8, _DAVS2_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAVS2_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh8:
	adrp	x8, _AVERROR_EXTERNAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_EXTERNAL@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	b	LBB0_4
LBB0_2:
	mov	x4, x0
Lloh11:
	adrp	x8, _DAVS2_GOT_FRAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DAVS2_GOT_FRAME@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x5, x20
	bl	_davs2_dump_frames
	mov	x20, x0
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_davs2_decoder_frame_unref
	mov	x0, x20
	b	LBB0_5
LBB0_4:
	mov	x0, x4
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DAVS2_DEFAULT,4,2              ; @DAVS2_DEFAULT
	.comm	_DAVS2_ERROR,4,2                ; @DAVS2_ERROR
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Decoder error: can't flush delayed frame\n"

	.comm	_AVERROR_EXTERNAL,4,2           ; @AVERROR_EXTERNAL
	.comm	_DAVS2_GOT_FRAME,4,2            ; @DAVS2_GOT_FRAME
	.no_dead_strip	_send_delayed_frame
.subsections_via_symbols
