	.file	"extr_lanai.c_lanai_cbr_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lanai_cbr_setup, @function
lanai_cbr_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR CBR_ICG_Reg[rip]
	lea	rdi, 4[rax]
	call	pcr_to_cbricg@PLT
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, eax
	call	reg_write@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR CBR_PTR_Reg[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	reg_write@PLT
	mov	eax, DWORD PTR CONFIG2_CBR_ENABLE[rip]
	or	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	conf2_write@PLT
	.cfi_endproc
.LFE0:
	.size	lanai_cbr_setup, .-lanai_cbr_setup
	.comm	CONFIG2_CBR_ENABLE,4,4
	.comm	CBR_PTR_Reg,4,4
	.comm	CBR_ICG_Reg,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_lanai.c_lanai_cbr_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lanai_cbr_setup, %function
lanai_cbr_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	add	r0, r0, #4
	bl	pcr_to_cbricg
	ldr	r3, .L4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	bl	reg_write
	ldr	r2, [r4, #4]
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r2, [r3]
	bl	reg_write
	ldr	r2, .L4+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	mov	r0, r4
	orr	r3, r3, r2
	str	r3, [r4]
	pop	{r4, lr}
	b	conf2_write
.L5:
	.align	2
.L4:
	.word	CBR_ICG_Reg
	.word	CBR_PTR_Reg
	.word	CONFIG2_CBR_ENABLE
	.size	lanai_cbr_setup, .-lanai_cbr_setup
	.comm	CONFIG2_CBR_ENABLE,4,4
	.comm	CBR_PTR_Reg,4,4
	.comm	CBR_ICG_Reg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
