	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_output_frame
_init_output_frame:                     ## @init_output_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r15d, (%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, 12(%rax)
	movl	4(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_av_frame_get_buffer
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %rdi
	callq	_av_frame_free
	movl	%r15d, %r12d
	jmp	LBB0_4
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_AVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate output frame\n"

	.comm	_AVERROR_EXIT,4,2               ## @AVERROR_EXIT
L_.str.1:                               ## @.str.1
	.asciz	"Could not allocate output frame samples (error '%s')\n"

	.no_dead_strip	_init_output_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_output_frame
_init_output_frame:                     ; @init_output_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_av_frame_alloc
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	str	w21, [x0]
	ldr	w8, [x20, #8]
	str	w8, [x0, #12]
	ldr	d0, [x20]
	stur	d0, [x0, #4]
	mov	w1, #0
	bl	_av_frame_get_buffer
	mov	x20, x0
	mov	w0, #0
	tbz	w20, #31, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_av_err2str
	str	x0, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	mov	x0, x19
	bl	_av_frame_free
	mov	x0, x20
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh10:
	adrp	x8, _AVERROR_EXIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_EXIT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate output frame\n"

	.comm	_AVERROR_EXIT,4,2               ; @AVERROR_EXIT
l_.str.1:                               ; @.str.1
	.asciz	"Could not allocate output frame samples (error '%s')\n"

	.no_dead_strip	_init_output_frame
.subsections_via_symbols
