	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function videobuf_status
_videobuf_status:                       ## @videobuf_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	56(%rdx), %edi
	movq	_MAGIC_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MAGIC_CHECK
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	_MAGIC_QTYPE_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MAGIC_CHECK
	movl	52(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	%r15d, (%rbx)
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	cmpl	$135, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$136, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$137, %eax
	jne	LBB0_7
## %bb.3:
	movl	40(%r14), %eax
	movl	%eax, 36(%rbx)
	jmp	LBB0_4
LBB0_5:
	movl	48(%r14), %eax
	movl	%eax, 40(%rbx)
LBB0_4:
	movl	44(%r14), %eax
	movl	%eax, 44(%rbx)
	jmp	LBB0_7
LBB0_6:
	movl	40(%r14), %eax
	movl	%eax, 36(%rbx)
LBB0_7:
	movl	$0, 32(%rbx)
	cmpq	$0, 32(%r14)
	je	LBB0_8
## %bb.9:
	movq	_V4L2_BUF_FLAG_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_10:
	movl	4(%r14), %edx
	addl	$-128, %edx
	cmpl	$6, %edx
	ja	LBB0_15
## %bb.11:
	movq	_V4L2_BUF_FLAG_QUEUED@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_12:
	movq	_V4L2_BUF_FLAG_ERROR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_13:
	movq	_V4L2_BUF_FLAG_DONE@GOTPCREL(%rip), %rcx
LBB0_14:
	orl	(%rcx), %eax
	movl	%eax, 32(%rbx)
LBB0_15:
	movq	8(%r14), %rcx
	movq	_UNSET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_17
## %bb.16:
	movq	_V4L2_BUF_FLAG_INPUT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 32(%rbx)
	movq	%rcx, 8(%rbx)
LBB0_17:
	movl	28(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r14), %eax
	sarl	%eax
	movl	%eax, 16(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_MAGIC_BUFFER,4,2               ## @MAGIC_BUFFER
	.comm	_MAGIC_QTYPE_OPS,4,2            ## @MAGIC_QTYPE_OPS
	.comm	_V4L2_BUF_FLAG_MAPPED,4,2       ## @V4L2_BUF_FLAG_MAPPED
	.comm	_V4L2_BUF_FLAG_QUEUED,4,2       ## @V4L2_BUF_FLAG_QUEUED
	.comm	_V4L2_BUF_FLAG_ERROR,4,2        ## @V4L2_BUF_FLAG_ERROR
	.comm	_V4L2_BUF_FLAG_DONE,4,2         ## @V4L2_BUF_FLAG_DONE
	.comm	_UNSET,8,3                      ## @UNSET
	.comm	_V4L2_BUF_FLAG_INPUT,4,2        ## @V4L2_BUF_FLAG_INPUT
	.no_dead_strip	_videobuf_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function videobuf_status
_videobuf_status:                       ; @videobuf_status
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x2, #56]
Lloh0:
	adrp	x8, _MAGIC_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAGIC_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MAGIC_CHECK
	ldr	x8, [x22]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MAGIC_QTYPE_OPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAGIC_QTYPE_OPS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MAGIC_CHECK
	ldr	w8, [x20, #52]
	str	w8, [x19, #48]
	ldr	w8, [x20]
	stp	w21, w8, [x19]
	cmp	w8, #135
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #136
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #137
	b.ne	LBB0_6
; %bb.3:
	ldp	w8, w9, [x20, #40]
	str	w8, [x19, #36]
	str	w9, [x19, #44]
	b	LBB0_6
LBB0_4:
	ldur	d0, [x20, #44]
	rev64.2s	v0, v0
	str	d0, [x19, #40]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x20, #40]
	str	w8, [x19, #36]
LBB0_6:
	str	wzr, [x19, #32]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _V4L2_BUF_FLAG_MAPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_BUF_FLAG_MAPPED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #32]
LBB0_8:
	ldr	w9, [x20, #4]
	sub	w10, w9, #128
	cmp	w10, #6
	b.hi	LBB0_13
; %bb.9:
Lloh9:
	adrp	x9, _V4L2_BUF_FLAG_QUEUED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_BUF_FLAG_QUEUED@GOTPAGEOFF]
Lloh11:
	adrp	x11, lJTI0_0@PAGE
Lloh12:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_10
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_10:
Lloh13:
	adrp	x9, _V4L2_BUF_FLAG_ERROR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V4L2_BUF_FLAG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_11:
Lloh16:
	adrp	x9, _V4L2_BUF_FLAG_DONE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _V4L2_BUF_FLAG_DONE@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #32]
LBB0_13:
	ldr	x9, [x20, #8]
Lloh18:
	adrp	x10, _UNSET@GOTPAGE
Lloh19:
	ldr	x10, [x10, _UNSET@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_15
; %bb.14:
Lloh21:
	adrp	x10, _V4L2_BUF_FLAG_INPUT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V4L2_BUF_FLAG_INPUT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x19, #32]
	str	x9, [x19, #8]
LBB0_15:
	ldr	w8, [x20, #28]
	str	w8, [x19, #28]
	ldur	d0, [x20, #20]
	stur	d0, [x19, #20]
	ldr	w8, [x20, #16]
	asr	w8, w8, #1
	str	w8, [x19, #16]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
                                        ; -- End function
	.comm	_MAGIC_BUFFER,4,2               ; @MAGIC_BUFFER
	.comm	_MAGIC_QTYPE_OPS,4,2            ; @MAGIC_QTYPE_OPS
	.comm	_V4L2_BUF_FLAG_MAPPED,4,2       ; @V4L2_BUF_FLAG_MAPPED
	.comm	_V4L2_BUF_FLAG_QUEUED,4,2       ; @V4L2_BUF_FLAG_QUEUED
	.comm	_V4L2_BUF_FLAG_ERROR,4,2        ; @V4L2_BUF_FLAG_ERROR
	.comm	_V4L2_BUF_FLAG_DONE,4,2         ; @V4L2_BUF_FLAG_DONE
	.comm	_UNSET,8,3                      ; @UNSET
	.comm	_V4L2_BUF_FLAG_INPUT,4,2        ; @V4L2_BUF_FLAG_INPUT
	.no_dead_strip	_videobuf_status
.subsections_via_symbols
