	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_set_pixel_format
_isif_set_pixel_format:                 ## @isif_set_pixel_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	_isif_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_VPFE_RAW_BAYER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.1:
	movq	_V4L2_PIX_FMT_SBGGR8@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_6
## %bb.2:
	movq	32(%rax), %rdx
	movq	_ISIF_ALAW@GOTPCREL(%rip), %rsi
	movq	_ISIF_PACK_8BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rsi), %rdx
	je	LBB0_8
## %bb.3:
	movq	_ISIF_DPCM@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_8
## %bb.4:
	movl	40(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_5
LBB0_9:
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_11
## %bb.10:
	movq	_CCDC_PIXORDER_YCBYCR@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_6:
	movq	_V4L2_PIX_FMT_SBGGR16@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_5
## %bb.7:
	movq	_ISIF_NO_COMPRESSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	_ISIF_PACK_16BIT@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	_CCDC_PIXFMT_RAW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	jmp	LBB0_14
LBB0_11:
	movq	_V4L2_PIX_FMT_UYVY@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_5
## %bb.12:
	movq	_CCDC_PIXORDER_CBYCRY@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_ISIF_PACK_8BIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
LBB0_14:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isif_cfg,48,3                  ## @isif_cfg
	.comm	_VPFE_RAW_BAYER,8,3             ## @VPFE_RAW_BAYER
	.comm	_V4L2_PIX_FMT_SBGGR8,4,2        ## @V4L2_PIX_FMT_SBGGR8
	.comm	_ISIF_ALAW,8,3                  ## @ISIF_ALAW
	.comm	_ISIF_DPCM,8,3                  ## @ISIF_DPCM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Either configure A-Law or DPCM\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ISIF_PACK_8BIT,8,3             ## @ISIF_PACK_8BIT
	.comm	_V4L2_PIX_FMT_SBGGR16,4,2       ## @V4L2_PIX_FMT_SBGGR16
	.comm	_ISIF_NO_COMPRESSION,8,3        ## @ISIF_NO_COMPRESSION
	.comm	_ISIF_PACK_16BIT,8,3            ## @ISIF_PACK_16BIT
	.comm	_CCDC_PIXFMT_RAW,4,2            ## @CCDC_PIXFMT_RAW
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ## @V4L2_PIX_FMT_YUYV
	.comm	_CCDC_PIXORDER_YCBYCR,4,2       ## @CCDC_PIXORDER_YCBYCR
	.comm	_V4L2_PIX_FMT_UYVY,4,2          ## @V4L2_PIX_FMT_UYVY
	.comm	_CCDC_PIXORDER_CBYCRY,4,2       ## @CCDC_PIXORDER_CBYCRY
	.no_dead_strip	_isif_set_pixel_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_set_pixel_format
_isif_set_pixel_format:                 ; @isif_set_pixel_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	x8, _isif_cfg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isif_cfg@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _VPFE_RAW_BAYER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VPFE_RAW_BAYER@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, _V4L2_PIX_FMT_SBGGR8@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_PIX_FMT_SBGGR8@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_6
; %bb.2:
	ldr	x9, [x8, #32]
Lloh8:
	adrp	x10, _ISIF_ALAW@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ISIF_ALAW@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _ISIF_DPCM@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ISIF_DPCM@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_12
; %bb.3:
Lloh14:
	adrp	x9, _ISIF_PACK_8BIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ISIF_PACK_8BIT@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh16:
	adrp	x9, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh17:
	ldr	x9, [x9, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_9
; %bb.5:
Lloh19:
	adrp	x9, _CCDC_PIXORDER_YCBYCR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CCDC_PIXORDER_YCBYCR@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh21:
	adrp	x9, _V4L2_PIX_FMT_SBGGR16@GOTPAGE
Lloh22:
	ldr	x9, [x9, _V4L2_PIX_FMT_SBGGR16@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_13
; %bb.7:
Lloh24:
	adrp	x9, _ISIF_NO_COMPRESSION@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ISIF_NO_COMPRESSION@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	str	x9, [x8, #32]
Lloh27:
	adrp	x9, _ISIF_PACK_16BIT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ISIF_PACK_16BIT@GOTPAGEOFF]
LBB0_8:
	mov	w0, #0
	ldr	x9, [x9]
	str	x9, [x8, #8]
Lloh29:
	adrp	x9, _CCDC_PIXFMT_RAW@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CCDC_PIXFMT_RAW@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	str	w9, [x8, #24]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh32:
	adrp	x9, _V4L2_PIX_FMT_UYVY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _V4L2_PIX_FMT_UYVY@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_13
; %bb.10:
Lloh35:
	adrp	x9, _CCDC_PIXORDER_CBYCRY@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CCDC_PIXORDER_CBYCRY@GOTPAGEOFF]
LBB0_11:
	mov	w0, #0
	ldr	w9, [x9]
	str	w9, [x8, #16]
Lloh37:
	adrp	x9, _ISIF_PACK_8BIT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ISIF_PACK_8BIT@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w0, [x8, #40]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_13:
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_isif_cfg,48,3                  ; @isif_cfg
	.comm	_VPFE_RAW_BAYER,8,3             ; @VPFE_RAW_BAYER
	.comm	_V4L2_PIX_FMT_SBGGR8,4,2        ; @V4L2_PIX_FMT_SBGGR8
	.comm	_ISIF_ALAW,8,3                  ; @ISIF_ALAW
	.comm	_ISIF_DPCM,8,3                  ; @ISIF_DPCM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Either configure A-Law or DPCM\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ISIF_PACK_8BIT,8,3             ; @ISIF_PACK_8BIT
	.comm	_V4L2_PIX_FMT_SBGGR16,4,2       ; @V4L2_PIX_FMT_SBGGR16
	.comm	_ISIF_NO_COMPRESSION,8,3        ; @ISIF_NO_COMPRESSION
	.comm	_ISIF_PACK_16BIT,8,3            ; @ISIF_PACK_16BIT
	.comm	_CCDC_PIXFMT_RAW,4,2            ; @CCDC_PIXFMT_RAW
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ; @V4L2_PIX_FMT_YUYV
	.comm	_CCDC_PIXORDER_YCBYCR,4,2       ; @CCDC_PIXORDER_YCBYCR
	.comm	_V4L2_PIX_FMT_UYVY,4,2          ; @V4L2_PIX_FMT_UYVY
	.comm	_CCDC_PIXORDER_CBYCRY,4,2       ; @CCDC_PIXORDER_CBYCRY
	.no_dead_strip	_isif_set_pixel_format
.subsections_via_symbols
