	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_core_init
_isp_core_init:                         ## @isp_core_init
	.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	%rdi, %r14
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_ISP_SYSCONFIG_MIDLEMODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	_ISP_REVISION_15_0@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	movl	$0, %esi
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_ISP_SYSCONFIG_AUTOIDLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_5:
	orl	%eax, %esi
	movq	_OMAP3_ISP_IOMEM_MAIN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_ISP_SYSCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	movq	_ISPCTRL_SBL_AUTOIDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movq	_ISPCTRL_SYNC_DETECT_VSRISE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %edx
	movq	_ISP_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY,4,2 ## @ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY
	.comm	_ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY,4,2 ## @ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY
	.comm	_ISP_SYSCONFIG_MIDLEMODE_SHIFT,4,2 ## @ISP_SYSCONFIG_MIDLEMODE_SHIFT
	.comm	_ISP_REVISION_15_0,8,3          ## @ISP_REVISION_15_0
	.comm	_ISP_SYSCONFIG_AUTOIDLE,4,2     ## @ISP_SYSCONFIG_AUTOIDLE
	.comm	_OMAP3_ISP_IOMEM_MAIN,4,2       ## @OMAP3_ISP_IOMEM_MAIN
	.comm	_ISP_SYSCONFIG,4,2              ## @ISP_SYSCONFIG
	.comm	_ISPCTRL_SBL_AUTOIDLE,4,2       ## @ISPCTRL_SBL_AUTOIDLE
	.comm	_ISPCTRL_SYNC_DETECT_VSRISE,4,2 ## @ISPCTRL_SYNC_DETECT_VSRISE
	.comm	_ISP_CTRL,4,2                   ## @ISP_CTRL
	.no_dead_strip	_isp_core_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_core_init
_isp_core_init:                         ; @isp_core_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _ISP_SYSCONFIG_MIDLEMODE_SHIFT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ISP_SYSCONFIG_MIDLEMODE_SHIFT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	x9, [x0]
Lloh7:
	adrp	x10, _ISP_REVISION_15_0@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ISP_REVISION_15_0@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
Lloh10:
	adrp	x11, _ISP_SYSCONFIG_AUTOIDLE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _ISP_SYSCONFIG_AUTOIDLE@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w1, w9, w8
Lloh13:
	adrp	x20, _OMAP3_ISP_IOMEM_MAIN@GOTPAGE
Lloh14:
	ldr	x20, [x20, _OMAP3_ISP_IOMEM_MAIN@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh15:
	adrp	x8, _ISP_SYSCONFIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISP_SYSCONFIG@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	bl	_isp_reg_writel
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _ISPCTRL_SBL_AUTOIDLE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ISPCTRL_SBL_AUTOIDLE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh21:
	adrp	x9, _ISPCTRL_SYNC_DETECT_VSRISE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ISPCTRL_SYNC_DETECT_VSRISE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh24:
	adrp	x8, _ISP_CTRL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ISP_CTRL@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_isp_reg_writel
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY,4,2 ; @ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY
	.comm	_ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY,4,2 ; @ISP_SYSCONFIG_MIDLEMODE_FORCESTANDBY
	.comm	_ISP_SYSCONFIG_MIDLEMODE_SHIFT,4,2 ; @ISP_SYSCONFIG_MIDLEMODE_SHIFT
	.comm	_ISP_REVISION_15_0,8,3          ; @ISP_REVISION_15_0
	.comm	_ISP_SYSCONFIG_AUTOIDLE,4,2     ; @ISP_SYSCONFIG_AUTOIDLE
	.comm	_OMAP3_ISP_IOMEM_MAIN,4,2       ; @OMAP3_ISP_IOMEM_MAIN
	.comm	_ISP_SYSCONFIG,4,2              ; @ISP_SYSCONFIG
	.comm	_ISPCTRL_SBL_AUTOIDLE,4,2       ; @ISPCTRL_SBL_AUTOIDLE
	.comm	_ISPCTRL_SYNC_DETECT_VSRISE,4,2 ; @ISPCTRL_SYNC_DETECT_VSRISE
	.comm	_ISP_CTRL,4,2                   ; @ISP_CTRL
	.no_dead_strip	_isp_core_init
.subsections_via_symbols
