	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __isp_subdev_try_format
___isp_subdev_try_format:               ## @__isp_subdev_try_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdx)
	movq	(%rdx), %rax
	movq	_FIMC_ISP_SD_PAD_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_2
## %bb.1:
	leaq	32(%rbx), %rdi
	movq	_FIMC_ISP_SINK_WIDTH_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIMC_ISP_SINK_WIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	24(%rbx), %r8
	movq	_FIMC_ISP_SINK_HEIGHT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_FIMC_ISP_SINK_HEIGHT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%ecx, %ecx
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$32, %rsp
	movq	_MEDIA_BUS_FMT_SGRBG10_1X10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movq	8(%rbx), %r8
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	jne	LBB0_4
## %bb.3:
	addq	$24, %rdi
	callq	_v4l2_subdev_get_try_format
	movq	%rax, %rdi
	movq	(%rbx), %rax
LBB0_4:
	movq	_FIMC_ISP_CAC_MARGIN_WIDTH@GOTPCREL(%rip), %rcx
	movdqu	8(%rdi), %xmm0
	movq	_FIMC_ISP_CAC_MARGIN_HEIGHT@GOTPCREL(%rip), %rdx
	movq	(%rcx), %xmm1                   ## xmm1 = mem[0],zero
	movq	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	punpcklqdq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0]
	psubq	%xmm2, %xmm0
	movdqu	%xmm0, 24(%rbx)
	movq	_FIMC_ISP_SD_PAD_SRC_FIFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_MEDIA_BUS_FMT_YUV10_1X30@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_V4L2_COLORSPACE_JPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	jmp	LBB0_8
LBB0_6:
	movl	(%rdi), %eax
LBB0_7:
	movl	%eax, 16(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_FIMC_ISP_SD_PAD_SINK,8,3       ## @FIMC_ISP_SD_PAD_SINK
	.comm	_FIMC_ISP_SINK_WIDTH_MIN,4,2    ## @FIMC_ISP_SINK_WIDTH_MIN
	.comm	_FIMC_ISP_SINK_WIDTH_MAX,4,2    ## @FIMC_ISP_SINK_WIDTH_MAX
	.comm	_FIMC_ISP_SINK_HEIGHT_MIN,4,2   ## @FIMC_ISP_SINK_HEIGHT_MIN
	.comm	_FIMC_ISP_SINK_HEIGHT_MAX,4,2   ## @FIMC_ISP_SINK_HEIGHT_MAX
	.comm	_MEDIA_BUS_FMT_SGRBG10_1X10,4,2 ## @MEDIA_BUS_FMT_SGRBG10_1X10
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ## @V4L2_SUBDEV_FORMAT_TRY
	.comm	_FIMC_ISP_CAC_MARGIN_WIDTH,8,3  ## @FIMC_ISP_CAC_MARGIN_WIDTH
	.comm	_FIMC_ISP_CAC_MARGIN_HEIGHT,8,3 ## @FIMC_ISP_CAC_MARGIN_HEIGHT
	.comm	_FIMC_ISP_SD_PAD_SRC_FIFO,8,3   ## @FIMC_ISP_SD_PAD_SRC_FIFO
	.comm	_MEDIA_BUS_FMT_YUV10_1X30,4,2   ## @MEDIA_BUS_FMT_YUV10_1X30
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ## @V4L2_COLORSPACE_JPEG
	.no_dead_strip	___isp_subdev_try_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __isp_subdev_try_format
___isp_subdev_try_format:               ; @__isp_subdev_try_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
Lloh0:
	adrp	x8, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #20]
	ldr	x8, [x2]
Lloh3:
	adrp	x9, _FIMC_ISP_SD_PAD_SINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FIMC_ISP_SD_PAD_SINK@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x9]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _FIMC_ISP_SINK_WIDTH_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIMC_ISP_SINK_WIDTH_MIN@GOTPAGEOFF]
	add	x0, x19, #32
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _FIMC_ISP_SINK_WIDTH_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FIMC_ISP_SINK_WIDTH_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x4, x19, #24
Lloh12:
	adrp	x8, _FIMC_ISP_SINK_HEIGHT_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIMC_ISP_SINK_HEIGHT_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
Lloh15:
	adrp	x8, _FIMC_ISP_SINK_HEIGHT_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FIMC_ISP_SINK_HEIGHT_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	str	wzr, [sp]
	mov	w3, #0
	mov	w7, #0
	bl	_v4l_bound_align_image
Lloh18:
	adrp	x8, _MEDIA_BUS_FMT_SGRBG10_1X10@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MEDIA_BUS_FMT_SGRBG10_1X10@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_2:
	ldr	x9, [x19, #8]
Lloh21:
	adrp	x10, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	add	x0, x0, #24
	bl	_v4l2_subdev_get_try_format
	ldr	x8, [x19]
LBB0_4:
Lloh24:
	adrp	x9, _FIMC_ISP_CAC_MARGIN_WIDTH@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FIMC_ISP_CAC_MARGIN_WIDTH@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldp	x11, x10, [x0, #8]
	sub	x9, x10, x9
Lloh27:
	adrp	x10, _FIMC_ISP_CAC_MARGIN_HEIGHT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _FIMC_ISP_CAC_MARGIN_HEIGHT@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	sub	x10, x11, x10
	stp	x10, x9, [x19, #24]
Lloh30:
	adrp	x9, _FIMC_ISP_SD_PAD_SRC_FIFO@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FIMC_ISP_SD_PAD_SRC_FIFO@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh33:
	adrp	x8, _MEDIA_BUS_FMT_YUV10_1X30@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MEDIA_BUS_FMT_YUV10_1X30@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _V4L2_COLORSPACE_JPEG@GOTPAGE
Lloh37:
	ldr	x9, [x9, _V4L2_COLORSPACE_JPEG@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #16]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x0]
LBB0_7:
	str	w8, [x19, #16]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_FIMC_ISP_SD_PAD_SINK,8,3       ; @FIMC_ISP_SD_PAD_SINK
	.comm	_FIMC_ISP_SINK_WIDTH_MIN,4,2    ; @FIMC_ISP_SINK_WIDTH_MIN
	.comm	_FIMC_ISP_SINK_WIDTH_MAX,4,2    ; @FIMC_ISP_SINK_WIDTH_MAX
	.comm	_FIMC_ISP_SINK_HEIGHT_MIN,4,2   ; @FIMC_ISP_SINK_HEIGHT_MIN
	.comm	_FIMC_ISP_SINK_HEIGHT_MAX,4,2   ; @FIMC_ISP_SINK_HEIGHT_MAX
	.comm	_MEDIA_BUS_FMT_SGRBG10_1X10,4,2 ; @MEDIA_BUS_FMT_SGRBG10_1X10
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ; @V4L2_SUBDEV_FORMAT_TRY
	.comm	_FIMC_ISP_CAC_MARGIN_WIDTH,8,3  ; @FIMC_ISP_CAC_MARGIN_WIDTH
	.comm	_FIMC_ISP_CAC_MARGIN_HEIGHT,8,3 ; @FIMC_ISP_CAC_MARGIN_HEIGHT
	.comm	_FIMC_ISP_SD_PAD_SRC_FIFO,8,3   ; @FIMC_ISP_SD_PAD_SRC_FIFO
	.comm	_MEDIA_BUS_FMT_YUV10_1X30,4,2   ; @MEDIA_BUS_FMT_YUV10_1X30
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ; @V4L2_COLORSPACE_JPEG
	.no_dead_strip	___isp_subdev_try_format
.subsections_via_symbols
