	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_ccm_usb_enable             ## -- Begin function imx_ccm_usb_enable
	.p2align	4, 0x90
_imx_ccm_usb_enable:                    ## @imx_ccm_usb_enable
	.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	_ccm_softc@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_CCMC_CSCMR1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_ccm_read_4
	movq	_CSCMR1_USBOH3_CLK_SEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_CSCMR1_USBOH3_CLK_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_ccm_write_4
	movl	(%r15), %edi
	movq	_CCMC_CSCDR1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_ccm_read_4
	movq	_CSCDR1_USBOH3_CLK_PODF_MASK@GOTPCREL(%rip), %rcx
	movq	_CSCDR1_USBOH3_CLK_PRED_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_CSCDR1_USBOH3_CLK_PRED_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edx
	shll	%cl, %edx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %edx
	movq	_CSCDR1_USBOH3_CLK_PODF_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_ccm_write_4
	movq	_CCGR_USBOH3_IPG_AHB_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CCGR_CLK_MODE_ALWAYS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_imx51_clk_gating
	movq	_CCGR_USBOH3_60M_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_imx51_clk_gating               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ccm_softc,4,2                  ## @ccm_softc
	.comm	_CCMC_CSCMR1,4,2                ## @CCMC_CSCMR1
	.comm	_CSCMR1_USBOH3_CLK_SEL_MASK,4,2 ## @CSCMR1_USBOH3_CLK_SEL_MASK
	.comm	_CSCMR1_USBOH3_CLK_SEL_SHIFT,4,2 ## @CSCMR1_USBOH3_CLK_SEL_SHIFT
	.comm	_CCMC_CSCDR1,4,2                ## @CCMC_CSCDR1
	.comm	_CSCDR1_USBOH3_CLK_PODF_MASK,4,2 ## @CSCDR1_USBOH3_CLK_PODF_MASK
	.comm	_CSCDR1_USBOH3_CLK_PRED_MASK,4,2 ## @CSCDR1_USBOH3_CLK_PRED_MASK
	.comm	_CSCDR1_USBOH3_CLK_PRED_SHIFT,4,2 ## @CSCDR1_USBOH3_CLK_PRED_SHIFT
	.comm	_CSCDR1_USBOH3_CLK_PODF_SHIFT,4,2 ## @CSCDR1_USBOH3_CLK_PODF_SHIFT
	.comm	_CCGR_USBOH3_IPG_AHB_CLK,4,2    ## @CCGR_USBOH3_IPG_AHB_CLK
	.comm	_CCGR_CLK_MODE_ALWAYS,4,2       ## @CCGR_CLK_MODE_ALWAYS
	.comm	_CCGR_USBOH3_60M_CLK,4,2        ## @CCGR_USBOH3_60M_CLK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_ccm_usb_enable             ; -- Begin function imx_ccm_usb_enable
	.p2align	2
_imx_ccm_usb_enable:                    ; @imx_ccm_usb_enable
	.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
Lloh0:
	adrp	x19, _ccm_softc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ccm_softc@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _CCMC_CSCMR1@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CCMC_CSCMR1@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ccm_read_4
Lloh4:
	adrp	x8, _CSCMR1_USBOH3_CLK_SEL_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CSCMR1_USBOH3_CLK_SEL_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh7:
	adrp	x9, _CSCMR1_USBOH3_CLK_SEL_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CSCMR1_USBOH3_CLK_SEL_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	mov	w21, #1
	lsl	w9, w21, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_ccm_write_4
	ldr	w0, [x19]
Lloh10:
	adrp	x20, _CCMC_CSCDR1@GOTPAGE
Lloh11:
	ldr	x20, [x20, _CCMC_CSCDR1@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ccm_read_4
Lloh12:
	adrp	x8, _CSCDR1_USBOH3_CLK_PODF_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CSCDR1_USBOH3_CLK_PODF_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _CSCDR1_USBOH3_CLK_PRED_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CSCDR1_USBOH3_CLK_PRED_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _CSCDR1_USBOH3_CLK_PRED_SHIFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CSCDR1_USBOH3_CLK_PRED_SHIFT@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh20:
	ldr	w9, [x9]
	mov	w10, #4
	lsl	w9, w10, w9
Lloh21:
	adrp	x10, _CSCDR1_USBOH3_CLK_PODF_SHIFT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _CSCDR1_USBOH3_CLK_PODF_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh23:
	ldr	w9, [x10]
	lsl	w9, w21, w9
	orr	w2, w8, w9
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_ccm_write_4
Lloh24:
	adrp	x8, _CCGR_USBOH3_IPG_AHB_CLK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CCGR_USBOH3_IPG_AHB_CLK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x19, _CCGR_CLK_MODE_ALWAYS@GOTPAGE
Lloh28:
	ldr	x19, [x19, _CCGR_CLK_MODE_ALWAYS@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_imx51_clk_gating
Lloh29:
	adrp	x8, _CCGR_USBOH3_60M_CLK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CCGR_USBOH3_60M_CLK@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	w1, [x19]
	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	_imx51_clk_gating
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ccm_softc,4,2                  ; @ccm_softc
	.comm	_CCMC_CSCMR1,4,2                ; @CCMC_CSCMR1
	.comm	_CSCMR1_USBOH3_CLK_SEL_MASK,4,2 ; @CSCMR1_USBOH3_CLK_SEL_MASK
	.comm	_CSCMR1_USBOH3_CLK_SEL_SHIFT,4,2 ; @CSCMR1_USBOH3_CLK_SEL_SHIFT
	.comm	_CCMC_CSCDR1,4,2                ; @CCMC_CSCDR1
	.comm	_CSCDR1_USBOH3_CLK_PODF_MASK,4,2 ; @CSCDR1_USBOH3_CLK_PODF_MASK
	.comm	_CSCDR1_USBOH3_CLK_PRED_MASK,4,2 ; @CSCDR1_USBOH3_CLK_PRED_MASK
	.comm	_CSCDR1_USBOH3_CLK_PRED_SHIFT,4,2 ; @CSCDR1_USBOH3_CLK_PRED_SHIFT
	.comm	_CSCDR1_USBOH3_CLK_PODF_SHIFT,4,2 ; @CSCDR1_USBOH3_CLK_PODF_SHIFT
	.comm	_CCGR_USBOH3_IPG_AHB_CLK,4,2    ; @CCGR_USBOH3_IPG_AHB_CLK
	.comm	_CCGR_CLK_MODE_ALWAYS,4,2       ; @CCGR_CLK_MODE_ALWAYS
	.comm	_CCGR_USBOH3_60M_CLK,4,2        ; @CCGR_USBOH3_60M_CLK
.subsections_via_symbols
