	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi2_recv_config
_csi2_recv_config:                      ## @csi2_recv_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %esi
	movq	_ISPCSI2_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_isp_reg_readl
	movq	_ISPCSI2_CTRL_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%ecx
	andl	%eax, %ecx
	cmpq	$0, 32(%rbx)
	cmovnel	%edx, %ecx
	movq	_ISPCSI2_CTRL_VP_CLK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	notl	%eax
	andl	%ecx, %eax
	cmpq	$0, 24(%rbx)
	cmovnel	%edx, %eax
	movq	_ISPCSI2_CTRL_VP_ONLY_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%ecx
	andl	%eax, %ecx
	cmpq	$0, 16(%rbx)
	cmovnel	%edx, %ecx
	movq	_ISPCSI2_CTRL_VP_OUT_CTRL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	(%rbx), %edx
	movq	_ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_ISPCSI2_CTRL_ECC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	orl	%edx, %eax
	notl	%esi
	andl	%edx, %esi
	cmpq	$0, 8(%rbx)
	cmovnel	%eax, %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPCSI2_CTRL,4,2               ## @ISPCSI2_CTRL
	.comm	_ISPCSI2_CTRL_FRAME,4,2         ## @ISPCSI2_CTRL_FRAME
	.comm	_ISPCSI2_CTRL_VP_CLK_EN,4,2     ## @ISPCSI2_CTRL_VP_CLK_EN
	.comm	_ISPCSI2_CTRL_VP_ONLY_EN,4,2    ## @ISPCSI2_CTRL_VP_ONLY_EN
	.comm	_ISPCSI2_CTRL_VP_OUT_CTRL_MASK,4,2 ## @ISPCSI2_CTRL_VP_OUT_CTRL_MASK
	.comm	_ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT,4,2 ## @ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT
	.comm	_ISPCSI2_CTRL_ECC_EN,4,2        ## @ISPCSI2_CTRL_ECC_EN
	.no_dead_strip	_csi2_recv_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi2_recv_config
_csi2_recv_config:                      ; @csi2_recv_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1]
Lloh0:
	adrp	x22, _ISPCSI2_CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ISPCSI2_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_isp_reg_readl
Lloh2:
	adrp	x8, _ISPCSI2_CTRL_FRAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISPCSI2_CTRL_FRAME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	ldp	x11, x10, [x19, #24]
	cmp	x10, #0
	csel	w8, w8, w9, eq
Lloh5:
	adrp	x9, _ISPCSI2_CTRL_VP_CLK_EN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ISPCSI2_CTRL_VP_CLK_EN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w8, w8, w9
	cmp	x11, #0
	csel	w8, w8, w10, eq
Lloh8:
	adrp	x9, _ISPCSI2_CTRL_VP_ONLY_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISPCSI2_CTRL_VP_ONLY_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w8, w8, w9
	ldp	x11, x9, [x19, #8]
	cmp	x9, #0
	csel	w8, w8, w10, eq
Lloh11:
	adrp	x9, _ISPCSI2_CTRL_VP_OUT_CTRL_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ISPCSI2_CTRL_VP_OUT_CTRL_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	bic	w8, w8, w9
	ldr	w9, [x19]
Lloh14:
	adrp	x10, _ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh17:
	adrp	x10, _ISPCSI2_CTRL_ECC_EN@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ISPCSI2_CTRL_ECC_EN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh19:
	ldr	w9, [x10]
	orr	w10, w9, w8
	bic	w8, w8, w9
	cmp	x11, #0
	csel	w1, w8, w10, eq
	ldr	w2, [x20]
	ldr	w3, [x22]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_isp_reg_writel
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPCSI2_CTRL,4,2               ; @ISPCSI2_CTRL
	.comm	_ISPCSI2_CTRL_FRAME,4,2         ; @ISPCSI2_CTRL_FRAME
	.comm	_ISPCSI2_CTRL_VP_CLK_EN,4,2     ; @ISPCSI2_CTRL_VP_CLK_EN
	.comm	_ISPCSI2_CTRL_VP_ONLY_EN,4,2    ; @ISPCSI2_CTRL_VP_ONLY_EN
	.comm	_ISPCSI2_CTRL_VP_OUT_CTRL_MASK,4,2 ; @ISPCSI2_CTRL_VP_OUT_CTRL_MASK
	.comm	_ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT,4,2 ; @ISPCSI2_CTRL_VP_OUT_CTRL_SHIFT
	.comm	_ISPCSI2_CTRL_ECC_EN,4,2        ; @ISPCSI2_CTRL_ECC_EN
	.no_dead_strip	_csi2_recv_config
.subsections_via_symbols
