	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_frame_get_buffer            ## -- Begin function av_frame_get_buffer
	.p2align	4, 0x90
_av_frame_get_buffer:                   ## @av_frame_get_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	js	LBB0_6
## %bb.1:
	cmpq	$0, 8(%rdi)
	jle	LBB0_3
## %bb.2:
	cmpq	$0, 16(%rdi)
	jle	LBB0_3
## %bb.7:
	popq	%rbp
	jmp	_get_video_buffer               ## TAILCALL
LBB0_3:
	cmpq	$0, 24(%rdi)
	jle	LBB0_6
## %bb.4:
	cmpq	$0, 40(%rdi)
	jne	LBB0_8
## %bb.5:
	cmpq	$0, 32(%rdi)
	jle	LBB0_6
LBB0_8:
	popq	%rbp
	jmp	_get_audio_buffer               ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_frame_get_buffer            ; -- Begin function av_frame_get_buffer
	.p2align	2
_av_frame_get_buffer:                   ; @av_frame_get_buffer
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_8
; %bb.1:
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x0, #16]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
	b	_get_video_buffer
LBB0_4:
	ldr	x8, [x0, #24]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x8, [x0, #40]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x0, #32]
	cmp	x8, #1
	b.lt	LBB0_8
LBB0_7:
	b	_get_audio_buffer
LBB0_8:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
