	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spawn_empty_frame
_spawn_empty_frame:                     ## @spawn_empty_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movl	12(%r15), %eax
	movl	%eax, 16(%r12)
	movq	(%r15), %rax
	movq	%rax, (%r12)
	movl	8(%r15), %eax
	movl	%eax, 20(%r12)
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_av_frame_get_buffer
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	-40(%rbp), %rdi
	callq	_av_frame_free
LBB0_3:
	xorl	%r12d, %r12d
LBB0_7:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.5:
	movq	-40(%rbp), %r12
	movl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %edi
	callq	_av_get_bytes_per_sample
	movq	8(%r12), %rcx
	movl	(%rcx,%rbx,4), %edi
	imulq	(%r12), %rax
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_memset
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spawn_empty_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spawn_empty_frame
_spawn_empty_frame:                     ; @spawn_empty_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	x20, x1
	mov	x21, x0
	bl	_av_frame_alloc
	mov	x19, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x21]
	str	x8, [x19]
	ldr	d0, [x21, #8]
	rev64.2s	v0, v0
	str	d0, [x19, #16]
	mov	x0, x19
	mov	w1, #4
	bl	_av_frame_get_buffer
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #8
	bl	_av_frame_free
	mov	x19, #0
	b	LBB0_6
LBB0_3:
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	ldr	x19, [sp, #8]
	mov	w8, w20
	lsl	x20, x8, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	bl	_av_get_bytes_per_sample
	ldp	x9, x8, [x19]
	ldr	w8, [x8, x21]
	mul	x2, x9, x0
	mov	x0, x8
	mov	w1, #0
	bl	_memset
	add	x21, x21, #4
	cmp	x20, x21
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spawn_empty_frame
.subsections_via_symbols
