	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stk_vidioc_enum_fmt_vid_cap
_stk_vidioc_enum_fmt_vid_cap:           ## @stk_vidioc_enum_fmt_vid_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	cmpq	$4, %rax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_V4L2_PIX_FMT_RGB565@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_V4L2_PIX_FMT_RGB565X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rdx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movq	_V4L2_PIX_FMT_UYVY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_V4L2_PIX_FMT_SBGGR8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rdx), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_6
LBB0_8:
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rdx), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	callq	_strcpy
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_RGB565,4,2        ## @V4L2_PIX_FMT_RGB565
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r5g6b5"

	.comm	_V4L2_PIX_FMT_RGB565X,4,2       ## @V4L2_PIX_FMT_RGB565X
L_.str.1:                               ## @.str.1
	.asciz	"r5g6b5BE"

	.comm	_V4L2_PIX_FMT_UYVY,4,2          ## @V4L2_PIX_FMT_UYVY
L_.str.2:                               ## @.str.2
	.asciz	"yuv4:2:2"

	.comm	_V4L2_PIX_FMT_SBGGR8,4,2        ## @V4L2_PIX_FMT_SBGGR8
L_.str.3:                               ## @.str.3
	.asciz	"Raw bayer"

	.comm	_V4L2_PIX_FMT_YUYV,4,2          ## @V4L2_PIX_FMT_YUYV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stk_vidioc_enum_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stk_vidioc_enum_fmt_vid_cap
_stk_vidioc_enum_fmt_vid_cap:           ; @stk_vidioc_enum_fmt_vid_cap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _V4L2_PIX_FMT_RGB565@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_PIX_FMT_RGB565@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x2, #8]
	ldr	w0, [x2, #4]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh10:
	adrp	x8, _V4L2_PIX_FMT_RGB565X@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_PIX_FMT_RGB565X@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x2, #8]
	ldr	w0, [x2, #4]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh15:
	adrp	x8, _V4L2_PIX_FMT_UYVY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_PIX_FMT_UYVY@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x8, _V4L2_PIX_FMT_SBGGR8@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_PIX_FMT_SBGGR8@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x2, #8]
	ldr	w0, [x2, #4]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh22:
	adrp	x8, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x2, #8]
	ldr	w0, [x2, #4]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	bl	_strcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_RGB565,4,2        ; @V4L2_PIX_FMT_RGB565
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r5g6b5"

	.comm	_V4L2_PIX_FMT_RGB565X,4,2       ; @V4L2_PIX_FMT_RGB565X
l_.str.1:                               ; @.str.1
	.asciz	"r5g6b5BE"

	.comm	_V4L2_PIX_FMT_UYVY,4,2          ; @V4L2_PIX_FMT_UYVY
l_.str.2:                               ; @.str.2
	.asciz	"yuv4:2:2"

	.comm	_V4L2_PIX_FMT_SBGGR8,4,2        ; @V4L2_PIX_FMT_SBGGR8
l_.str.3:                               ; @.str.3
	.asciz	"Raw bayer"

	.comm	_V4L2_PIX_FMT_YUYV,4,2          ; @V4L2_PIX_FMT_YUYV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stk_vidioc_enum_fmt_vid_cap
.subsections_via_symbols
