	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap24xxcam_core_xclk_set
_omap24xxcam_core_xclk_set:             ## @omap24xxcam_core_xclk_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_CAM_MCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%esi
	movq	_CC_REG_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rdi), %rcx
	movq	_CC_CTRL_XCLK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.4:
	movq	_CC_CTRL_XCLK_DIV_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	popq	%rbp
	jmp	_omap24xxcam_reg_out            ## TAILCALL
LBB0_3:
	movq	_CC_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rdi), %rax
	movq	_CC_CTRL_XCLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CC_CTRL_XCLK_DIV_STABLE_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	popq	%rbp
	jmp	_omap24xxcam_reg_out            ## TAILCALL
LBB0_2:
	movq	%rcx, %rdi
	movl	%eax, %edx
	popq	%rbp
	jmp	_omap24xxcam_reg_out            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAM_MCLK,4,2                   ## @CAM_MCLK
	.comm	_CC_REG_OFFSET,8,3              ## @CC_REG_OFFSET
	.comm	_CC_CTRL_XCLK,4,2               ## @CC_CTRL_XCLK
	.comm	_CC_CTRL_XCLK_DIV_BYPASS,4,2    ## @CC_CTRL_XCLK_DIV_BYPASS
	.comm	_CC_CTRL_XCLK_DIV_STABLE_LOW,4,2 ## @CC_CTRL_XCLK_DIV_STABLE_LOW
	.no_dead_strip	_omap24xxcam_core_xclk_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap24xxcam_core_xclk_set
_omap24xxcam_core_xclk_set:             ; @omap24xxcam_core_xclk_set
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _CAM_MCLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAM_MCLK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w2, w8, w1
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _CC_REG_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CC_REG_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh6:
	adrp	x8, _CC_CTRL_XCLK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CC_CTRL_XCLK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cmp	w2, #1
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _CC_CTRL_XCLK_DIV_BYPASS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CC_CTRL_XCLK_DIV_BYPASS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
LBB0_3:
	b	_omap24xxcam_reg_out
LBB0_4:
Lloh12:
	adrp	x8, _CC_REG_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CC_REG_OFFSET@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh14:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh15:
	adrp	x8, _CC_CTRL_XCLK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CC_CTRL_XCLK@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _CC_CTRL_XCLK_DIV_STABLE_LOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CC_CTRL_XCLK_DIV_STABLE_LOW@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	b	_omap24xxcam_reg_out
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CAM_MCLK,4,2                   ; @CAM_MCLK
	.comm	_CC_REG_OFFSET,8,3              ; @CC_REG_OFFSET
	.comm	_CC_CTRL_XCLK,4,2               ; @CC_CTRL_XCLK
	.comm	_CC_CTRL_XCLK_DIV_BYPASS,4,2    ; @CC_CTRL_XCLK_DIV_BYPASS
	.comm	_CC_CTRL_XCLK_DIV_STABLE_LOW,4,2 ; @CC_CTRL_XCLK_DIV_STABLE_LOW
	.no_dead_strip	_omap24xxcam_core_xclk_set
.subsections_via_symbols
