	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l_enum_fmt
_v4l_enum_fmt:                          ## @v4l_enum_fmt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_video_devdata
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_check_fmt
	movl	%eax, %esi
	testl	%eax, %eax
	jne	LBB0_22
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$8, %ecx
	ja	LBB0_20
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_V4L2_CAP_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rcx
	movq	_V4L2_CAP_VIDEO_M2M_MPLANE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rbx)
	sete	%cl
	cmpl	$129, %eax
	sete	%al
	cmpb	%cl, %al
	je	LBB0_20
## %bb.9:
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*16(%r15)
	jmp	LBB0_19
LBB0_3:
	movq	_V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rcx
	movq	_V4L2_CAP_VIDEO_M2M_MPLANE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rbx)
	sete	%cl
	cmpl	$131, %eax
	sete	%al
	cmpb	%cl, %al
	je	LBB0_20
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*(%r15)
	jmp	LBB0_19
LBB0_6:
	xorl	%edi, %edi
	cmpq	$0, 8(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*8(%r15)
	jmp	LBB0_19
LBB0_13:
	xorl	%edi, %edi
	cmpq	$0, 32(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*32(%r15)
	jmp	LBB0_19
LBB0_11:
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*24(%r15)
	jmp	LBB0_19
LBB0_17:
	xorl	%edi, %edi
	cmpq	$0, 48(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*48(%r15)
	jmp	LBB0_19
LBB0_15:
	xorl	%edi, %edi
	cmpq	$0, 40(%r15)
	sete	%dil
	movl	%esi, %ebx
	callq	_unlikely
	movl	%ebx, %esi
	testl	%eax, %eax
	jne	LBB0_20
## %bb.16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*40(%r15)
LBB0_19:
	movl	%eax, %esi
LBB0_20:
	testl	%esi, %esi
	jne	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_v4l_fill_fmtdesc
	xorl	%esi, %esi
LBB0_22:
	movl	%esi, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_17
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ## @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_CAP_VIDEO_M2M_MPLANE,4,2  ## @V4L2_CAP_VIDEO_M2M_MPLANE
	.comm	_V4L2_CAP_VIDEO_OUTPUT_MPLANE,4,2 ## @V4L2_CAP_VIDEO_OUTPUT_MPLANE
	.no_dead_strip	_v4l_enum_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l_enum_fmt
_v4l_enum_fmt:                          ; @v4l_enum_fmt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_video_devdata
	mov	x24, x0
	ldr	w1, [x19]
	mov	x0, x22
	bl	_check_fmt
	mov	x21, x0
	cbnz	w0, LBB0_22
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #8
	b.hi	LBB0_20
; %bb.2:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh5:
	adrp	x9, _V4L2_CAP_VIDEO_OUTPUT_MPLANE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_CAP_VIDEO_OUTPUT_MPLANE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _V4L2_CAP_VIDEO_M2M_MPLANE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _V4L2_CAP_VIDEO_M2M_MPLANE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x24]
	tst	w10, w9
	cset	w9, eq
	cmp	w8, #129
	cset	w8, eq
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.4:
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.5:
	ldr	x8, [x23, #16]
	b	LBB0_19
LBB0_6:
Lloh11:
	adrp	x9, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _V4L2_CAP_VIDEO_M2M_MPLANE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _V4L2_CAP_VIDEO_M2M_MPLANE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x24]
	tst	w10, w9
	cset	w9, eq
	cmp	w8, #131
	cset	w8, eq
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.7:
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.8:
	ldr	x8, [x23]
	b	LBB0_19
LBB0_9:
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.10:
	ldr	x8, [x23, #8]
	b	LBB0_19
LBB0_11:
	ldr	x8, [x23, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.12:
	ldr	x8, [x23, #32]
	b	LBB0_19
LBB0_13:
	ldr	x8, [x23, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.14:
	ldr	x8, [x23, #24]
	b	LBB0_19
LBB0_15:
	ldr	x8, [x23, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.16:
	ldr	x8, [x23, #48]
	b	LBB0_19
LBB0_17:
	ldr	x8, [x23, #40]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_20
; %bb.18:
	ldr	x8, [x23, #40]
LBB0_19:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x21, x0
LBB0_20:
	cbnz	w21, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_v4l_fill_fmtdesc
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_CAP_VIDEO_M2M_MPLANE,4,2  ; @V4L2_CAP_VIDEO_M2M_MPLANE
	.comm	_V4L2_CAP_VIDEO_OUTPUT_MPLANE,4,2 ; @V4L2_CAP_VIDEO_OUTPUT_MPLANE
	.no_dead_strip	_v4l_enum_fmt
.subsections_via_symbols
