	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_ccm_ipu_enable             ## -- Begin function imx_ccm_ipu_enable
	.p2align	4, 0x90
_imx_ccm_ipu_enable:                    ## @imx_ccm_ipu_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
	movl	%edi, %r14d
	movq	_ccm_sc@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_CCM_CCGR3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_CCGR3_IPU1_IPU@GOTPCREL(%rip), %rcx
	movq	_CCGR3_IPU2_IPU@GOTPCREL(%rip), %rsi
	movq	_CCGR3_IPU1_DI0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	_CCGR3_IPU2_DI0@GOTPCREL(%rip), %rdx
	orl	(%rcx), %edi
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	cmpl	$1, %r14d
	cmovel	%edi, %edx
	orl	%eax, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WR4                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ccm_sc,8,3                     ## @ccm_sc
	.comm	_CCM_CCGR3,4,2                  ## @CCM_CCGR3
	.comm	_CCGR3_IPU1_IPU,4,2             ## @CCGR3_IPU1_IPU
	.comm	_CCGR3_IPU1_DI0,4,2             ## @CCGR3_IPU1_DI0
	.comm	_CCGR3_IPU2_IPU,4,2             ## @CCGR3_IPU2_IPU
	.comm	_CCGR3_IPU2_DI0,4,2             ## @CCGR3_IPU2_DI0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_ccm_ipu_enable             ; -- Begin function imx_ccm_ipu_enable
	.p2align	2
_imx_ccm_ipu_enable:                    ; @imx_ccm_ipu_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
	mov	x19, x0
Lloh0:
	adrp	x8, _ccm_sc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ccm_sc@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x21, _CCM_CCGR3@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CCM_CCGR3@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_RD4
Lloh5:
	adrp	x8, _CCGR3_IPU1_IPU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CCGR3_IPU1_IPU@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CCGR3_IPU2_IPU@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CCGR3_IPU2_IPU@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _CCGR3_IPU1_DI0@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CCGR3_IPU1_DI0@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x11, _CCGR3_IPU2_DI0@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CCGR3_IPU2_DI0@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	orr	w8, w10, w8
	orr	w9, w11, w9
	cmp	w19, #1
	csel	w8, w8, w9, eq
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x20
	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	_WR4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ccm_sc,8,3                     ; @ccm_sc
	.comm	_CCM_CCGR3,4,2                  ; @CCM_CCGR3
	.comm	_CCGR3_IPU1_IPU,4,2             ; @CCGR3_IPU1_IPU
	.comm	_CCGR3_IPU1_DI0,4,2             ; @CCGR3_IPU1_DI0
	.comm	_CCGR3_IPU2_IPU,4,2             ; @CCGR3_IPU2_IPU
	.comm	_CCGR3_IPU2_DI0,4,2             ; @CCGR3_IPU2_DI0
.subsections_via_symbols
