	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sub2video_get_blank_frame
_sub2video_get_blank_frame:             ## @sub2video_get_blank_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_av_frame_unref
	movq	24(%rbx), %rcx
	movq	8(%rcx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdx
LBB0_2:
	movq	8(%rbx), %rax
	movq	%rdx, 32(%rax)
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	movl	(%rbx), %ecx
LBB0_4:
	movl	%ecx, (%rax)
	movq	_AV_PIX_FMT_RGB32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_av_frame_get_buffer
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %edx
	imull	(%r14), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_RGB32,4,2           ## @AV_PIX_FMT_RGB32
	.no_dead_strip	_sub2video_get_blank_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sub2video_get_blank_frame
_sub2video_get_blank_frame:             ; @sub2video_get_blank_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_av_frame_unref
	ldr	x8, [x20, #24]
	ldr	x10, [x8, #8]
	cbnz	x10, LBB0_2
; %bb.1:
	ldr	x10, [x20, #16]
LBB0_2:
	ldr	x9, [x20, #8]
	str	x10, [x9, #32]
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x20]
LBB0_4:
	str	w8, [x9]
Lloh0:
	adrp	x8, _AV_PIX_FMT_RGB32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_RGB32@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x9, #24]
	mov	x0, x19
	mov	w1, #32
	bl	_av_frame_get_buffer
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldp	x9, x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w8, [x19]
	ldr	w9, [x9]
	mul	w2, w9, w8
	mov	w1, #0
	bl	_memset
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_RGB32,4,2           ; @AV_PIX_FMT_RGB32
	.no_dead_strip	_sub2video_get_blank_frame
.subsections_via_symbols
