	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_armadaxp_init_coher_fabric     ## -- Begin function armadaxp_init_coher_fabric
	.p2align	4, 0x90
_armadaxp_init_coher_fabric:            ## @armadaxp_init_coher_fabric
	.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
	xorl	%eax, %eax
	callq	_platform_get_ncpus
	movl	$-1, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	notl	%ebx
	movq	_COHER_FABRIC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_read_coher_fabric
	shll	$24, %ebx
	orl	%ebx, %eax
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_write_coher_fabric
	movq	_COHER_FABRIC_CONF@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_read_coher_fabric
	orl	%eax, %ebx
	orl	$32768, %ebx                    ## imm = 0x8000
	movl	(%r14), %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_coher_fabric             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COHER_FABRIC_CTRL,4,2          ## @COHER_FABRIC_CTRL
	.comm	_COHER_FABRIC_CONF,4,2          ## @COHER_FABRIC_CONF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_armadaxp_init_coher_fabric     ; -- Begin function armadaxp_init_coher_fabric
	.p2align	2
_armadaxp_init_coher_fabric:            ; @armadaxp_init_coher_fabric
	.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
	bl	_platform_get_ncpus
	mov	w8, #-1
	lsl	w8, w8, w0
	mvn	w19, w8
Lloh0:
	adrp	x20, _COHER_FABRIC_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _COHER_FABRIC_CTRL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_read_coher_fabric
	lsl	w19, w19, #24
	orr	w1, w0, w19
	ldr	w0, [x20]
	bl	_write_coher_fabric
Lloh2:
	adrp	x20, _COHER_FABRIC_CONF@GOTPAGE
Lloh3:
	ldr	x20, [x20, _COHER_FABRIC_CONF@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_read_coher_fabric
	orr	w8, w19, w0
	orr	w1, w8, #0x8000
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_coher_fabric
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COHER_FABRIC_CTRL,4,2          ; @COHER_FABRIC_CTRL
	.comm	_COHER_FABRIC_CONF,4,2          ; @COHER_FABRIC_CONF
.subsections_via_symbols
