	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_frame_type_flag
_get_frame_type_flag:                   ## @get_frame_type_flag
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	addq	$4, %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_vb2_plane_vaddr
	leal	-129(%rbx), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.1:
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %ebx
	je	LBB0_3
	jmp	LBB0_13
LBB0_7:
	movslq	(%r15), %rcx
	movl	20(%rax,%rcx,4), %eax
	shrl	$3, %eax
	andl	$7, %eax
	cmpl	$3, %eax
	je	LBB0_11
## %bb.8:
	cmpl	$2, %eax
	je	LBB0_10
## %bb.9:
	cmpl	$1, %eax
	je	LBB0_3
	jmp	LBB0_13
LBB0_4:
	movslq	(%r15), %rcx
	movl	16(%rax,%rcx,4), %eax
	shrl	$6, %eax
	andl	$3, %eax
	cmpl	$2, %eax
	je	LBB0_11
## %bb.5:
	cmpl	$1, %eax
	je	LBB0_10
## %bb.6:
	testl	%eax, %eax
	jne	LBB0_13
LBB0_3:
	movq	_V4L2_BUF_FLAG_KEYFRAME@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_V4L2_BUF_FLAG_BFRAME@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_V4L2_BUF_FLAG_PFRAME@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_FLAG_KEYFRAME,4,2     ## @V4L2_BUF_FLAG_KEYFRAME
	.comm	_V4L2_BUF_FLAG_PFRAME,4,2       ## @V4L2_BUF_FLAG_PFRAME
	.comm	_V4L2_BUF_FLAG_BFRAME,4,2       ## @V4L2_BUF_FLAG_BFRAME
	.no_dead_strip	_get_frame_type_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_frame_type_flag
_get_frame_type_flag:                   ; @get_frame_type_flag
	.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	x19, x1
	mov	x20, x0
	add	x0, x0, #4
	mov	w1, #0
	bl	_vb2_plane_vaddr
	sub	w8, w19, #129
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	cmp	w19, #128
	b.eq	LBB0_7
; %bb.2:
	mov	w0, #0
	cmp	w19, #131
	b.eq	LBB0_6
	b	LBB0_14
LBB0_3:
	ldrsw	x8, [x20]
	add	x8, x0, x8, lsl #2
	ldr	w8, [x8, #20]
	ubfx	w8, w8, #3, #3
	cmp	w8, #3
	b.eq	LBB0_11
; %bb.4:
	cmp	w8, #2
	b.eq	LBB0_12
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_10
LBB0_6:
Lloh0:
	adrp	x8, _V4L2_BUF_FLAG_KEYFRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_FLAG_KEYFRAME@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	ldrsw	x8, [x20]
	add	x8, x0, x8, lsl #2
	ldr	w8, [x8, #16]
	ubfx	w8, w8, #6, #2
	cmp	w8, #2
	b.eq	LBB0_11
; %bb.8:
	cmp	w8, #1
	b.eq	LBB0_12
; %bb.9:
	cbz	w8, LBB0_6
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
Lloh2:
	adrp	x8, _V4L2_BUF_FLAG_BFRAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_BUF_FLAG_BFRAME@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh4:
	adrp	x8, _V4L2_BUF_FLAG_PFRAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_BUF_FLAG_PFRAME@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_FLAG_KEYFRAME,4,2     ; @V4L2_BUF_FLAG_KEYFRAME
	.comm	_V4L2_BUF_FLAG_PFRAME,4,2       ; @V4L2_BUF_FLAG_PFRAME
	.comm	_V4L2_BUF_FLAG_BFRAME,4,2       ; @V4L2_BUF_FLAG_BFRAME
	.no_dead_strip	_get_frame_type_flag
.subsections_via_symbols
