	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vaapi_encode_check_frame
_vaapi_encode_check_frame:              ## @vaapi_encode_check_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	cmpq	$0, 24(%rsi)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_6
LBB0_4:
	cmpl	$0, (%r15)
	je	LBB0_5
LBB0_6:
	cmpl	$0, 8(%r15)
	jne	LBB0_10
	jmp	LBB0_7
LBB0_5:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movl	$1, (%r15)
	cmpl	$0, 8(%r15)
	jne	LBB0_10
LBB0_7:
	movq	_AV_FRAME_DATA_REGIONS_OF_INTEREST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_av_frame_get_side_data
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	cmpl	$0, 4(%r15)
	jne	LBB0_10
## %bb.9:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movl	$1, 4(%r15)
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cropping information on input frames ignored due to lack of API support.\n"

	.comm	_AV_FRAME_DATA_REGIONS_OF_INTEREST,4,2 ## @AV_FRAME_DATA_REGIONS_OF_INTEREST
L_.str.1:                               ## @.str.1
	.asciz	"ROI side data on input frames ignored due to lack of driver support.\n"

	.no_dead_strip	_vaapi_encode_check_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vaapi_encode_check_frame
_vaapi_encode_check_frame:              ; @vaapi_encode_check_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x21, [x0]
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w8, [x21]
	cbz	w8, LBB0_6
LBB0_5:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_10
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w8, #1
	str	w8, [x21]
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _AV_FRAME_DATA_REGIONS_OF_INTEREST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_FRAME_DATA_REGIONS_OF_INTEREST@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_av_frame_get_side_data
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w8, #1
	str	w8, [x21, #4]
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cropping information on input frames ignored due to lack of API support.\n"

	.comm	_AV_FRAME_DATA_REGIONS_OF_INTEREST,4,2 ; @AV_FRAME_DATA_REGIONS_OF_INTEREST
l_.str.1:                               ; @.str.1
	.asciz	"ROI side data on input frames ignored due to lack of driver support.\n"

	.no_dead_strip	_vaapi_encode_check_frame
.subsections_via_symbols
