	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_video_s_fmt_mplane
_isp_video_s_fmt_mplane:                ## @isp_video_s_fmt_mplane
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_video_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_fimc_isp_to_is
	movq	$0, -32(%rbp)
	movq	%rax, %rdi
	callq	___get_isp_dma2
	movq	%rax, %rbx
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	___isp_video_try_fmt
	xorl	%edi, %edi
	cmpq	$0, -32(%rbp)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_DMA_OUTPUT_FORMAT_BAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_DMA_OUTPUT_ORDER_GB_BG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	-32(%rbp), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fimc_is_mem_barrier
	movq	-32(%rbp), %rax
	movq	%rax, 8(%r15)
	movq	(%r14), %rax
	movq	%rax, (%r15)
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DMA_OUTPUT_FORMAT_BAYER,4,2    ## @DMA_OUTPUT_FORMAT_BAYER
	.comm	_DMA_OUTPUT_ORDER_GB_BG,4,2     ## @DMA_OUTPUT_ORDER_GB_BG
	.no_dead_strip	_isp_video_s_fmt_mplane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_video_s_fmt_mplane
_isp_video_s_fmt_mplane:                ; @isp_video_s_fmt_mplane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	bl	_video_drvdata
	mov	x20, x0
	bl	_fimc_isp_to_is
	str	xzr, [sp, #8]
	bl	___get_isp_dma2
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	___isp_video_try_fmt
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _DMA_OUTPUT_FORMAT_BAYER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_OUTPUT_FORMAT_BAYER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #20]
Lloh6:
	adrp	x8, _DMA_OUTPUT_ORDER_GB_BG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_OUTPUT_ORDER_GB_BG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	stp	w10, w8, [x21, #12]
	ldr	x8, [x9]
	ldr	w8, [x8]
	str	w8, [x21, #8]
	ldr	d0, [x19]
	str	d0, [x21]
	bl	_fimc_is_mem_barrier
	mov	w0, #0
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
	ldr	x8, [x19]
	str	x8, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DMA_OUTPUT_FORMAT_BAYER,4,2    ; @DMA_OUTPUT_FORMAT_BAYER
	.comm	_DMA_OUTPUT_ORDER_GB_BG,4,2     ; @DMA_OUTPUT_ORDER_GB_BG
	.no_dead_strip	_isp_video_s_fmt_mplane
.subsections_via_symbols
