	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_video_try_format
_isp_video_try_format:                  ## @isp_video_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	callq	_video_drvdata
	movq	%rax, %r14
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_1
## %bb.2:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_isp_video_remote_subdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	addq	$8, %r15
	leaq	-56(%rbp), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_isp_video_pix_to_mbus
	movl	-44(%rbp), %esi
	movl	%esi, -48(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	movq	_ENOTTY@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ebx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovnel	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_isp_video_mbus_to_pix
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ## @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.no_dead_strip	_isp_video_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_video_try_format
_isp_video_try_format:                  ; @isp_video_try_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	bl	_video_drvdata
	ldr	x8, [x20]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	add	x1, sp, #12
	bl	_isp_video_remote_subdev
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	add	x20, x20, #8
	add	x1, sp, #16
	mov	x0, x20
	bl	_isp_video_pix_to_mbus
	ldr	w1, [sp, #12]
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w1, [sp, #20]
Lloh3:
	adrp	x8, _get_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #16
	mov	x0, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbz	w0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ENOTTY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENOTTY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmn	w0, w8
	csneg	w0, w0, w9, ne
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x20
	bl	_isp_video_mbus_to_pix
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ; @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.no_dead_strip	_isp_video_try_format
.subsections_via_symbols
