	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_ast2500_cf_maps
_setup_ast2500_cf_maps:                 ## @setup_ast2500_cf_maps
	.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, %rbx
	movl	4(%rdi), %edi
	movq	_SCU_2500_COPRO_SEG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCU_2500_COPRO_SEG_SWAP@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%rbx), %edx
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_SCU_2500_COPRO_SEG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SYSREG_BASE@GOTPCREL(%rip), %r14
	movl	(%r15), %edx
	orl	(%r14), %edx
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_SCU_2500_COPRO_SEG3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	orl	(%r15), %edx
	orl	$1048576, %edx                  ## imm = 0x100000
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_SCU_2500_COPRO_SEG6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_SCU_2500_COPRO_SEG7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1048576, %edx                  ## imm = 0x100000
	orl	(%r14), %edx
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_SCU_2500_COPRO_CACHE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCU_2500_COPRO_SEG0_CACHE_EN@GOTPCREL(%rip), %rax
	movq	_SCU_2500_COPRO_CACHE_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCU_2500_COPRO_SEG0,4,2        ## @SCU_2500_COPRO_SEG0
	.comm	_SCU_2500_COPRO_SEG_SWAP,4,2    ## @SCU_2500_COPRO_SEG_SWAP
	.comm	_SCU_2500_COPRO_SEG2,4,2        ## @SCU_2500_COPRO_SEG2
	.comm	_SYSREG_BASE,4,2                ## @SYSREG_BASE
	.comm	_SCU_2500_COPRO_SEG3,4,2        ## @SCU_2500_COPRO_SEG3
	.comm	_SCU_2500_COPRO_SEG6,4,2        ## @SCU_2500_COPRO_SEG6
	.comm	_SCU_2500_COPRO_SEG7,4,2        ## @SCU_2500_COPRO_SEG7
	.comm	_SCU_2500_COPRO_CACHE_CTL,4,2   ## @SCU_2500_COPRO_CACHE_CTL
	.comm	_SCU_2500_COPRO_SEG0_CACHE_EN,4,2 ## @SCU_2500_COPRO_SEG0_CACHE_EN
	.comm	_SCU_2500_COPRO_CACHE_EN,4,2    ## @SCU_2500_COPRO_CACHE_EN
	.no_dead_strip	_setup_ast2500_cf_maps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_ast2500_cf_maps
_setup_ast2500_cf_maps:                 ; @setup_ast2500_cf_maps
	.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, _SCU_2500_COPRO_SEG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w0, [x0, #4]
	ldr	w8, [x19]
Lloh3:
	adrp	x20, _SCU_2500_COPRO_SEG_SWAP@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SCU_2500_COPRO_SEG_SWAP@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w2, w9, w8
	bl	_regmap_write
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _SCU_2500_COPRO_SEG2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x21, _SYSREG_BASE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _SYSREG_BASE@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w2, w9, w8
	bl	_regmap_write
Lloh10:
	adrp	x8, _SCU_2500_COPRO_SEG3@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG3@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh12:
	ldr	w1, [x8]
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w8, w9
	orr	w2, w8, #0x100000
	bl	_regmap_write
	ldr	w0, [x19, #4]
Lloh13:
	adrp	x8, _SCU_2500_COPRO_SEG6@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG6@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_regmap_write
	ldr	w0, [x19, #4]
Lloh16:
	adrp	x8, _SCU_2500_COPRO_SEG7@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG7@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w8, [x21]
	orr	w2, w8, #0x100000
	bl	_regmap_write
Lloh19:
	adrp	x8, _SCU_2500_COPRO_CACHE_CTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SCU_2500_COPRO_CACHE_CTL@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _SCU_2500_COPRO_SEG0_CACHE_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SCU_2500_COPRO_SEG0_CACHE_EN@GOTPAGEOFF]
Lloh24:
	adrp	x9, _SCU_2500_COPRO_CACHE_EN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SCU_2500_COPRO_CACHE_EN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	ldr	w9, [x9]
	orr	w2, w9, w8
	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	_regmap_write
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCU_2500_COPRO_SEG0,4,2        ; @SCU_2500_COPRO_SEG0
	.comm	_SCU_2500_COPRO_SEG_SWAP,4,2    ; @SCU_2500_COPRO_SEG_SWAP
	.comm	_SCU_2500_COPRO_SEG2,4,2        ; @SCU_2500_COPRO_SEG2
	.comm	_SYSREG_BASE,4,2                ; @SYSREG_BASE
	.comm	_SCU_2500_COPRO_SEG3,4,2        ; @SCU_2500_COPRO_SEG3
	.comm	_SCU_2500_COPRO_SEG6,4,2        ; @SCU_2500_COPRO_SEG6
	.comm	_SCU_2500_COPRO_SEG7,4,2        ; @SCU_2500_COPRO_SEG7
	.comm	_SCU_2500_COPRO_CACHE_CTL,4,2   ; @SCU_2500_COPRO_CACHE_CTL
	.comm	_SCU_2500_COPRO_SEG0_CACHE_EN,4,2 ; @SCU_2500_COPRO_SEG0_CACHE_EN
	.comm	_SCU_2500_COPRO_CACHE_EN,4,2    ; @SCU_2500_COPRO_CACHE_EN
	.no_dead_strip	_setup_ast2500_cf_maps
.subsections_via_symbols
