	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffmpeg_is_keyframe
_ffmpeg_is_keyframe:                    ## @ffmpeg_is_keyframe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	24(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_7
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_9
## %bb.2:
	movq	8(%rdi), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_6
## %bb.3:
	cmpl	$0, 4(%rcx)
	jne	LBB0_6
## %bb.4:
	cmpl	$1, 8(%rcx)
	jne	LBB0_6
## %bb.5:
	movl	$1, %eax
	cmpl	$15, 12(%rcx)
	je	LBB0_10
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rdi), %rdx
	movq	8(%rax), %rax
	movl	12(%rax), %eax
	xorl	%esi, %esi
	testb	$2, %al
	sete	%sil
	xorl	%ecx, %ecx
	testb	$-128, %al
	sete	%cl
	addl	%esi, %ecx
	movl	(%rdx), %edx
	addb	$2, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	testb	$112, %al
	je	LBB0_11
## %bb.8:
	andl	$3, %edx
	xorl	%eax, %eax
	cmpl	$1, %edx
	jmp	LBB0_12
LBB0_9:
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	16(%rdi), %eax
LBB0_10:
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	testb	$2, %dl
LBB0_12:
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_ffmpeg_is_keyframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffmpeg_is_keyframe
_ffmpeg_is_keyframe:                    ; @ffmpeg_is_keyframe
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w9, #129
	b.ne	LBB0_9
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	cbnz	w9, LBB0_10
; %bb.3:
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_10
; %bb.4:
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.ne	LBB0_10
; %bb.5:
	ldr	w8, [x8, #12]
	cmp	w8, #15
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #1
	ret
LBB0_7:
	ldr	x9, [x0, #8]
	ldr	x8, [x8, #8]
	ldr	w10, [x8, #12]
	tst	w10, #0x2
	mov	w8, #2
	cinc	w11, w8, eq
	mov	w8, #1
	bic	w12, w8, w10, lsr #7
	add	w11, w11, w12
	ldr	w9, [x9]
	asr	w9, w9, w11
	tst	w10, #0x70
	b.eq	LBB0_11
; %bb.8:
	and	w8, w9, #0x3
	cmp	w8, #1
	cset	w0, eq
	ret
LBB0_9:
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	ret
LBB0_10:
	mov	w0, #0
	ret
LBB0_11:
	bic	w0, w8, w9, lsr #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_ffmpeg_is_keyframe
.subsections_via_symbols
