	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_csi_output_format
_get_csi_output_format:                 ## @get_csi_output_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	setne	%al
	movq	_V4L2_FIELD_INTERLACED_TB@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	setne	%r8b
	movq	_V4L2_FIELD_INTERLACED_BT@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	setne	%dl
	leaq	-128(%rsi), %rcx
	cmpq	$26, %rcx
	ja	LBB0_28
## %bb.1:
	andb	%r8b, %al
	andb	%dl, %al
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	testb	%al, %al
	je	LBB0_4
LBB0_29:
	movq	_CSI_FIELD_RAW_8@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_4:
	movq	_CSI_FRAME_RAW_8@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_5:
	testb	%al, %al
	je	LBB0_17
## %bb.6:
	movq	_CSI_FIELD_RAW_12@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_7:
	testb	%al, %al
	je	LBB0_18
## %bb.8:
	movq	_CSI_FIELD_RAW_10@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_9:
	testb	%al, %al
	je	LBB0_24
## %bb.10:
	movq	_CSI_FIELD_PLANAR_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_11:
	testb	%al, %al
	je	LBB0_25
## %bb.12:
	movq	_CSI_FIELD_RGB565@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_13:
	testb	%al, %al
	je	LBB0_26
## %bb.14:
	movq	_CSI_FIELD_UV_CB_YUV422@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_15:
	testb	%al, %al
	je	LBB0_27
## %bb.16:
	movq	_CSI_FIELD_UV_CB_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_17:
	movq	_CSI_FRAME_RAW_12@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_18:
	movq	_CSI_FRAME_RAW_10@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_19:
	testb	%al, %al
	je	LBB0_31
## %bb.20:
	movq	_CSI_FIELD_PLANAR_YUV422@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_22:
	testb	%al, %al
	je	LBB0_32
## %bb.23:
	movq	_CSI_FIELD_MB_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_24:
	movq	_CSI_FRAME_PLANAR_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_25:
	movq	_CSI_FRAME_RGB565@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_26:
	movq	_CSI_FRAME_UV_CB_YUV422@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_27:
	movq	_CSI_FRAME_UV_CB_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_28:
	movq	%rsi, %r9
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r9, %rdx
	callq	_dev_warn
	jmp	LBB0_29
LBB0_31:
	movq	_CSI_FRAME_PLANAR_YUV422@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_32:
	movq	_CSI_FRAME_MB_YUV420@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_19
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_3
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_FIELD_INTERLACED,8,3      ## @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FIELD_INTERLACED_TB,8,3   ## @V4L2_FIELD_INTERLACED_TB
	.comm	_V4L2_FIELD_INTERLACED_BT,8,3   ## @V4L2_FIELD_INTERLACED_BT
	.comm	_CSI_FRAME_RAW_8,4,2            ## @CSI_FRAME_RAW_8
	.comm	_CSI_FIELD_RAW_8,4,2            ## @CSI_FIELD_RAW_8
	.comm	_CSI_FRAME_RAW_10,4,2           ## @CSI_FRAME_RAW_10
	.comm	_CSI_FIELD_RAW_10,4,2           ## @CSI_FIELD_RAW_10
	.comm	_CSI_FRAME_RAW_12,4,2           ## @CSI_FRAME_RAW_12
	.comm	_CSI_FIELD_RAW_12,4,2           ## @CSI_FIELD_RAW_12
	.comm	_CSI_FRAME_MB_YUV420,4,2        ## @CSI_FRAME_MB_YUV420
	.comm	_CSI_FIELD_MB_YUV420,4,2        ## @CSI_FIELD_MB_YUV420
	.comm	_CSI_FRAME_UV_CB_YUV420,4,2     ## @CSI_FRAME_UV_CB_YUV420
	.comm	_CSI_FIELD_UV_CB_YUV420,4,2     ## @CSI_FIELD_UV_CB_YUV420
	.comm	_CSI_FRAME_PLANAR_YUV420,4,2    ## @CSI_FRAME_PLANAR_YUV420
	.comm	_CSI_FIELD_PLANAR_YUV420,4,2    ## @CSI_FIELD_PLANAR_YUV420
	.comm	_CSI_FRAME_UV_CB_YUV422,4,2     ## @CSI_FRAME_UV_CB_YUV422
	.comm	_CSI_FIELD_UV_CB_YUV422,4,2     ## @CSI_FIELD_UV_CB_YUV422
	.comm	_CSI_FRAME_PLANAR_YUV422,4,2    ## @CSI_FRAME_PLANAR_YUV422
	.comm	_CSI_FIELD_PLANAR_YUV422,4,2    ## @CSI_FIELD_PLANAR_YUV422
	.comm	_CSI_FRAME_RGB565,4,2           ## @CSI_FRAME_RGB565
	.comm	_CSI_FIELD_RGB565,4,2           ## @CSI_FIELD_RGB565
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported pixformat: 0x%x\n"

	.no_dead_strip	_get_csi_output_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_csi_output_format
_get_csi_output_format:                 ; @get_csi_output_format
	.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
Lloh0:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x2
Lloh3:
	adrp	x9, _V4L2_FIELD_INTERLACED_TB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED_TB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _V4L2_FIELD_INTERLACED_BT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _V4L2_FIELD_INTERLACED_BT@GOTPAGEOFF]
	ccmp	x9, x2, #4, ne
Lloh8:
	ldr	x9, [x10]
	ccmp	x9, x2, #4, ne
	cset	w9, ne
	sub	x10, x1, #128
	cmp	x10, #26
	b.hi	LBB0_9
; %bb.1:
Lloh9:
	adrp	x8, lJTI0_0@PAGE
Lloh10:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x8, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh11:
	adrp	x8, _CSI_FRAME_RAW_8@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CSI_FRAME_RAW_8@GOTPAGEOFF]
Lloh13:
	adrp	x10, _CSI_FIELD_RAW_8@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CSI_FIELD_RAW_8@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh15:
	adrp	x8, _CSI_FRAME_RAW_12@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CSI_FRAME_RAW_12@GOTPAGEOFF]
Lloh17:
	adrp	x10, _CSI_FIELD_RAW_12@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CSI_FIELD_RAW_12@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
Lloh19:
	adrp	x8, _CSI_FRAME_RAW_10@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CSI_FRAME_RAW_10@GOTPAGEOFF]
Lloh21:
	adrp	x10, _CSI_FIELD_RAW_10@GOTPAGE
Lloh22:
	ldr	x10, [x10, _CSI_FIELD_RAW_10@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh23:
	adrp	x8, _CSI_FRAME_PLANAR_YUV420@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CSI_FRAME_PLANAR_YUV420@GOTPAGEOFF]
Lloh25:
	adrp	x10, _CSI_FIELD_PLANAR_YUV420@GOTPAGE
Lloh26:
	ldr	x10, [x10, _CSI_FIELD_PLANAR_YUV420@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh27:
	adrp	x8, _CSI_FRAME_RGB565@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CSI_FRAME_RGB565@GOTPAGEOFF]
Lloh29:
	adrp	x10, _CSI_FIELD_RGB565@GOTPAGE
Lloh30:
	ldr	x10, [x10, _CSI_FIELD_RGB565@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh31:
	adrp	x8, _CSI_FRAME_UV_CB_YUV422@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CSI_FRAME_UV_CB_YUV422@GOTPAGEOFF]
Lloh33:
	adrp	x10, _CSI_FIELD_UV_CB_YUV422@GOTPAGE
Lloh34:
	ldr	x10, [x10, _CSI_FIELD_UV_CB_YUV422@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh35:
	adrp	x8, _CSI_FRAME_UV_CB_YUV420@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CSI_FRAME_UV_CB_YUV420@GOTPAGEOFF]
Lloh37:
	adrp	x10, _CSI_FIELD_UV_CB_YUV420@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CSI_FIELD_UV_CB_YUV420@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	x8, x1
	ldr	w0, [x0]
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_dev_warn
Lloh41:
	adrp	x8, _CSI_FIELD_RAW_8@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CSI_FIELD_RAW_8@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh43:
	adrp	x8, _CSI_FRAME_PLANAR_YUV422@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CSI_FRAME_PLANAR_YUV422@GOTPAGEOFF]
Lloh45:
	adrp	x10, _CSI_FIELD_PLANAR_YUV422@GOTPAGE
Lloh46:
	ldr	x10, [x10, _CSI_FIELD_PLANAR_YUV422@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh47:
	adrp	x8, _CSI_FRAME_MB_YUV420@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CSI_FRAME_MB_YUV420@GOTPAGEOFF]
Lloh49:
	adrp	x10, _CSI_FIELD_MB_YUV420@GOTPAGE
Lloh50:
	ldr	x10, [x10, _CSI_FIELD_MB_YUV420@GOTPAGEOFF]
LBB0_12:
	cmp	w9, #0
	csel	x8, x10, x8, ne
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_V4L2_FIELD_INTERLACED,8,3      ; @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FIELD_INTERLACED_TB,8,3   ; @V4L2_FIELD_INTERLACED_TB
	.comm	_V4L2_FIELD_INTERLACED_BT,8,3   ; @V4L2_FIELD_INTERLACED_BT
	.comm	_CSI_FRAME_RAW_8,4,2            ; @CSI_FRAME_RAW_8
	.comm	_CSI_FIELD_RAW_8,4,2            ; @CSI_FIELD_RAW_8
	.comm	_CSI_FRAME_RAW_10,4,2           ; @CSI_FRAME_RAW_10
	.comm	_CSI_FIELD_RAW_10,4,2           ; @CSI_FIELD_RAW_10
	.comm	_CSI_FRAME_RAW_12,4,2           ; @CSI_FRAME_RAW_12
	.comm	_CSI_FIELD_RAW_12,4,2           ; @CSI_FIELD_RAW_12
	.comm	_CSI_FRAME_MB_YUV420,4,2        ; @CSI_FRAME_MB_YUV420
	.comm	_CSI_FIELD_MB_YUV420,4,2        ; @CSI_FIELD_MB_YUV420
	.comm	_CSI_FRAME_UV_CB_YUV420,4,2     ; @CSI_FRAME_UV_CB_YUV420
	.comm	_CSI_FIELD_UV_CB_YUV420,4,2     ; @CSI_FIELD_UV_CB_YUV420
	.comm	_CSI_FRAME_PLANAR_YUV420,4,2    ; @CSI_FRAME_PLANAR_YUV420
	.comm	_CSI_FIELD_PLANAR_YUV420,4,2    ; @CSI_FIELD_PLANAR_YUV420
	.comm	_CSI_FRAME_UV_CB_YUV422,4,2     ; @CSI_FRAME_UV_CB_YUV422
	.comm	_CSI_FIELD_UV_CB_YUV422,4,2     ; @CSI_FIELD_UV_CB_YUV422
	.comm	_CSI_FRAME_PLANAR_YUV422,4,2    ; @CSI_FRAME_PLANAR_YUV422
	.comm	_CSI_FIELD_PLANAR_YUV422,4,2    ; @CSI_FIELD_PLANAR_YUV422
	.comm	_CSI_FRAME_RGB565,4,2           ; @CSI_FRAME_RGB565
	.comm	_CSI_FIELD_RGB565,4,2           ; @CSI_FIELD_RGB565
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported pixformat: 0x%x\n"

	.no_dead_strip	_get_csi_output_format
.subsections_via_symbols
