	.file	"extr_csr.c_init_csr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to allocate memory for Node Capabilties ConfigROM entry!"
	.text
	.p2align 4
	.globl	init_csr
	.type	init_csr, @function
init_csr:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR CSR1212_KV_ID_NODE_CAPABILITIES[rip]
	mov	esi, 33728
	call	csr1212_new_immediate@PLT
	mov	DWORD PTR node_cap[rip], eax
	test	eax, eax
	je	.L6
	lea	rdi, csr_highlevel[rip]
	call	hpsb_register_highlevel@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	HPSB_ERR@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	init_csr, .-init_csr
	.comm	node_cap,4,4
	.comm	csr_highlevel,4,4
	.comm	ENOMEM,4,4
	.comm	CSR1212_KV_ID_NODE_CAPABILITIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_csr.c_init_csr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to allocate memory for Node Capabilties Conf"
	.ascii	"igROM entry!\000"
	.text
	.align	2
	.global	init_csr
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_csr, %function
init_csr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, lr}
	ldr	r0, [r3]
	ldr	r1, .L7+4
	bl	csr1212_new_immediate
	ldr	r3, .L7+8
	cmp	r0, #0
	str	r0, [r3]
	beq	.L6
	ldr	r0, .L7+12
	bl	hpsb_register_highlevel
	mov	r0, #0
	pop	{r4, pc}
.L6:
	ldr	r0, .L7+16
	bl	HPSB_ERR
	ldr	r3, .L7+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	CSR1212_KV_ID_NODE_CAPABILITIES
	.word	33728
	.word	node_cap
	.word	csr_highlevel
	.word	.LC0
	.word	ENOMEM
	.size	init_csr, .-init_csr
	.comm	node_cap,4,4
	.comm	csr_highlevel,4,4
	.comm	ENOMEM,4,4
	.comm	CSR1212_KV_ID_NODE_CAPABILITIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
