	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap24xxcam_core_hwinit
_omap24xxcam_core_hwinit:               ## @omap24xxcam_core_hwinit
	.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	%rdi, %rbx
	movq	_CC_REG_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	movq	_CC_SYSCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CC_SYSCONFIG_AUTOIDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_omap24xxcam_reg_out
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	movq	_CC_CTRL_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CC_CTRL_DMA_EN@GOTPCREL(%rip), %rax
	movq	_DMA_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	decl	%edx
	orl	(%rax), %edx
	callq	_omap24xxcam_reg_out
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	movq	_CC_IRQENABLE_FW_ERR_IRQ@GOTPCREL(%rip), %rax
	movq	_CC_IRQENABLE_FSC_ERR_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CC_IRQENABLE@GOTPCREL(%rip), %rax
	movq	_CC_IRQENABLE_SSC_ERR_IRQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_CC_IRQENABLE_FIFO_OF_IRQ@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omap24xxcam_reg_out            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CC_REG_OFFSET,8,3              ## @CC_REG_OFFSET
	.comm	_CC_SYSCONFIG,4,2               ## @CC_SYSCONFIG
	.comm	_CC_SYSCONFIG_AUTOIDLE,4,2      ## @CC_SYSCONFIG_AUTOIDLE
	.comm	_CC_CTRL_DMA,4,2                ## @CC_CTRL_DMA
	.comm	_CC_CTRL_DMA_EN,4,2             ## @CC_CTRL_DMA_EN
	.comm	_DMA_THRESHOLD,4,2              ## @DMA_THRESHOLD
	.comm	_CC_IRQENABLE,4,2               ## @CC_IRQENABLE
	.comm	_CC_IRQENABLE_FW_ERR_IRQ,4,2    ## @CC_IRQENABLE_FW_ERR_IRQ
	.comm	_CC_IRQENABLE_FSC_ERR_IRQ,4,2   ## @CC_IRQENABLE_FSC_ERR_IRQ
	.comm	_CC_IRQENABLE_SSC_ERR_IRQ,4,2   ## @CC_IRQENABLE_SSC_ERR_IRQ
	.comm	_CC_IRQENABLE_FIFO_OF_IRQ,4,2   ## @CC_IRQENABLE_FIFO_OF_IRQ
	.no_dead_strip	_omap24xxcam_core_hwinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap24xxcam_core_hwinit
_omap24xxcam_core_hwinit:               ; @omap24xxcam_core_hwinit
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _CC_REG_OFFSET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CC_REG_OFFSET@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh2:
	adrp	x8, _CC_SYSCONFIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CC_SYSCONFIG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _CC_SYSCONFIG_AUTOIDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CC_SYSCONFIG_AUTOIDLE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_omap24xxcam_reg_out
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh8:
	adrp	x8, _CC_CTRL_DMA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CC_CTRL_DMA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _CC_CTRL_DMA_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CC_CTRL_DMA_EN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _DMA_THRESHOLD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DMA_THRESHOLD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	sub	w9, w9, #1
	orr	w2, w9, w8
	bl	_omap24xxcam_reg_out
	ldr	x8, [x19]
	ldr	x9, [x20]
Lloh17:
	adrp	x10, _CC_IRQENABLE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CC_IRQENABLE@GOTPAGEOFF]
Lloh19:
	adrp	x11, _CC_IRQENABLE_FW_ERR_IRQ@GOTPAGE
Lloh20:
	ldr	x11, [x11, _CC_IRQENABLE_FW_ERR_IRQ@GOTPAGEOFF]
	add	x0, x9, x8
Lloh21:
	ldr	w8, [x11]
Lloh22:
	adrp	x9, _CC_IRQENABLE_FSC_ERR_IRQ@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CC_IRQENABLE_FSC_ERR_IRQ@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh25:
	adrp	x9, _CC_IRQENABLE_SSC_ERR_IRQ@GOTPAGE
Lloh26:
	ldr	x9, [x9, _CC_IRQENABLE_SSC_ERR_IRQ@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _CC_IRQENABLE_FIFO_OF_IRQ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CC_IRQENABLE_FIFO_OF_IRQ@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x10]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omap24xxcam_reg_out
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh30
	.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	_CC_REG_OFFSET,8,3              ; @CC_REG_OFFSET
	.comm	_CC_SYSCONFIG,4,2               ; @CC_SYSCONFIG
	.comm	_CC_SYSCONFIG_AUTOIDLE,4,2      ; @CC_SYSCONFIG_AUTOIDLE
	.comm	_CC_CTRL_DMA,4,2                ; @CC_CTRL_DMA
	.comm	_CC_CTRL_DMA_EN,4,2             ; @CC_CTRL_DMA_EN
	.comm	_DMA_THRESHOLD,4,2              ; @DMA_THRESHOLD
	.comm	_CC_IRQENABLE,4,2               ; @CC_IRQENABLE
	.comm	_CC_IRQENABLE_FW_ERR_IRQ,4,2    ; @CC_IRQENABLE_FW_ERR_IRQ
	.comm	_CC_IRQENABLE_FSC_ERR_IRQ,4,2   ; @CC_IRQENABLE_FSC_ERR_IRQ
	.comm	_CC_IRQENABLE_SSC_ERR_IRQ,4,2   ; @CC_IRQENABLE_SSC_ERR_IRQ
	.comm	_CC_IRQENABLE_FIFO_OF_IRQ,4,2   ; @CC_IRQENABLE_FIFO_OF_IRQ
	.no_dead_strip	_omap24xxcam_core_hwinit
.subsections_via_symbols
