	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __isp_video_try_fmt
___isp_video_try_fmt:                   ## @__isp_video_try_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	leaq	8(%rsi), %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_fimc_isp_find_format
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%rax, (%r14)
LBB0_2:
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rdi
	movq	_FIMC_ISP_SOURCE_WIDTH_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIMC_ISP_SOURCE_WIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FIMC_ISP_SOURCE_HEIGHT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_FIMC_ISP_SOURCE_HEIGHT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	$3, %ecx
	movq	%rbx, %r8
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_FIMC_ISP_SOURCE_WIDTH_MIN,4,2  ## @FIMC_ISP_SOURCE_WIDTH_MIN
	.comm	_FIMC_ISP_SOURCE_WIDTH_MAX,4,2  ## @FIMC_ISP_SOURCE_WIDTH_MAX
	.comm	_FIMC_ISP_SOURCE_HEIGHT_MIN,4,2 ## @FIMC_ISP_SOURCE_HEIGHT_MIN
	.comm	_FIMC_ISP_SOURCE_HEIGHT_MAX,4,2 ## @FIMC_ISP_SOURCE_HEIGHT_MAX
	.no_dead_strip	___isp_video_try_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __isp_video_try_fmt
___isp_video_try_fmt:                   ; @__isp_video_try_fmt
	.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	x20, x2
	mov	x19, x1
	add	x0, x1, #8
	mov	x1, #0
	mov	w2, #2
	bl	_fimc_isp_find_format
	cbz	x20, LBB0_2
; %bb.1:
	str	x0, [x20]
LBB0_2:
Lloh0:
	adrp	x8, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	d0, [x0]
	str	d0, [x19, #8]
	add	x0, x19, #4
Lloh6:
	adrp	x8, _FIMC_ISP_SOURCE_WIDTH_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIMC_ISP_SOURCE_WIDTH_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _FIMC_ISP_SOURCE_WIDTH_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FIMC_ISP_SOURCE_WIDTH_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _FIMC_ISP_SOURCE_HEIGHT_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIMC_ISP_SOURCE_HEIGHT_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
Lloh15:
	adrp	x8, _FIMC_ISP_SOURCE_HEIGHT_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FIMC_ISP_SOURCE_HEIGHT_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	str	wzr, [sp]
	mov	w3, #3
	mov	x4, x19
	mov	w7, #0
	bl	_v4l_bound_align_image
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_FIMC_ISP_SOURCE_WIDTH_MIN,4,2  ; @FIMC_ISP_SOURCE_WIDTH_MIN
	.comm	_FIMC_ISP_SOURCE_WIDTH_MAX,4,2  ; @FIMC_ISP_SOURCE_WIDTH_MAX
	.comm	_FIMC_ISP_SOURCE_HEIGHT_MIN,4,2 ; @FIMC_ISP_SOURCE_HEIGHT_MIN
	.comm	_FIMC_ISP_SOURCE_HEIGHT_MAX,4,2 ; @FIMC_ISP_SOURCE_HEIGHT_MAX
	.no_dead_strip	___isp_video_try_fmt
.subsections_via_symbols
