	.file	"extr_cn66xx_device.c_lio_cn6xxx_setup_global_output_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lio_cn6xxx_setup_global_output_regs
	.type	lio_cn6xxx_setup_global_output_regs, @function
lio_cn6xxx_setup_global_output_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	imul	edx, DWORD PTR [rdi], 1431655765
	mov	rbx, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_PCIE_PORT64[rip]
	call	octeon_write_csr64@PLT
	mov	edi, DWORD PTR [rbx]
	call	CFG_GET_IS_SLI_BP_ON@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR CN6XXX_SLI_OQ_WMARK[rip]
	mov	edx, 32
	mov	rdi, rbp
	call	octeon_write_csr64@PLT
.L3:
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_OUT_BMODE[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_DPADDR[rip]
	mov	rdi, rbp
	mov	edx, -1
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_SLIST_ROR[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_SLIST_NS[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_SLIST_ES64[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr64@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_DATA_OUT_ROR[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_DATA_OUT_NS[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	octeon_write_csr@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_PKT_DATA_OUT_ES64[rip]
	mov	edx, 1431655765
	mov	rdi, rbp
	call	octeon_write_csr64@PLT
	mov	edi, DWORD PTR [rbx]
	call	CFG_GET_OQ_INTR_PKT@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_OQ_INT_LEVEL_PKTS[rip]
	mov	rdi, rbp
	mov	rdx, rax
	call	octeon_write_csr@PLT
	mov	edi, DWORD PTR [rbx]
	call	CFG_GET_OQ_INTR_TIME@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	lio_cn6xxx_get_oq_ticks@PLT
	mov	esi, DWORD PTR CN6XXX_SLI_OQ_INT_LEVEL_TIME[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	edx, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	octeon_write_csr@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR CN6XXX_SLI_OQ_WMARK[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	octeon_write_csr64@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	lio_cn6xxx_setup_global_output_regs, .-lio_cn6xxx_setup_global_output_regs
	.comm	CN6XXX_SLI_PKT_SLIST_ROR,4,4
	.comm	CN6XXX_SLI_PKT_SLIST_NS,4,4
	.comm	CN6XXX_SLI_PKT_SLIST_ES64,4,4
	.comm	CN6XXX_SLI_PKT_PCIE_PORT64,4,4
	.comm	CN6XXX_SLI_PKT_OUT_BMODE,4,4
	.comm	CN6XXX_SLI_PKT_DPADDR,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_ROR,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_NS,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_ES64,4,4
	.comm	CN6XXX_SLI_OQ_WMARK,4,4
	.comm	CN6XXX_SLI_OQ_INT_LEVEL_TIME,4,4
	.comm	CN6XXX_SLI_OQ_INT_LEVEL_PKTS,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_cn66xx_device.c_lio_cn6xxx_setup_global_output_regs.c"
	.text
	.align	2
	.global	lio_cn6xxx_setup_global_output_regs
	.syntax unified
	.arm
	.fpu softvfp
	.type	lio_cn6xxx_setup_global_output_regs, %function
lio_cn6xxx_setup_global_output_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	ldr	r3, .L6
	add	r2, r2, r2, lsl #2
	add	r2, r2, r2, lsl #4
	push	{r4, r5, r6, lr}
	add	r2, r2, r2, lsl #8
	ldr	r5, [r0, #4]
	ldr	r1, [r3]
	add	r2, r2, r2, lsl #16
	mov	r4, r0
	bl	octeon_write_csr64
	ldr	r0, [r5]
	bl	CFG_GET_IS_SLI_BP_ON
	ldr	r3, .L6+4
	subs	r2, r0, #0
	movne	r2, #32
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr64
	ldr	r3, .L6+8
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+12
	mvn	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+16
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+20
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+24
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr64
	ldr	r3, .L6+28
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+32
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r3, .L6+36
	ldr	r2, .L6+40
	ldr	r1, [r3]
	mov	r0, r4
	bl	octeon_write_csr64
	ldr	r3, .L6+44
	ldr	r0, [r5]
	ldr	r6, [r3]
	bl	CFG_GET_OQ_INTR_PKT
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	octeon_write_csr
	ldr	r0, [r5]
	bl	CFG_GET_OQ_INTR_TIME
	mov	r1, r0
	mov	r0, r4
	bl	lio_cn6xxx_get_oq_ticks
	ldr	r3, .L6+48
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	octeon_write_csr
.L7:
	.align	2
.L6:
	.word	CN6XXX_SLI_PKT_PCIE_PORT64
	.word	CN6XXX_SLI_OQ_WMARK
	.word	CN6XXX_SLI_PKT_OUT_BMODE
	.word	CN6XXX_SLI_PKT_DPADDR
	.word	CN6XXX_SLI_PKT_SLIST_ROR
	.word	CN6XXX_SLI_PKT_SLIST_NS
	.word	CN6XXX_SLI_PKT_SLIST_ES64
	.word	CN6XXX_SLI_PKT_DATA_OUT_ROR
	.word	CN6XXX_SLI_PKT_DATA_OUT_NS
	.word	CN6XXX_SLI_PKT_DATA_OUT_ES64
	.word	1431655765
	.word	CN6XXX_SLI_OQ_INT_LEVEL_PKTS
	.word	CN6XXX_SLI_OQ_INT_LEVEL_TIME
	.size	lio_cn6xxx_setup_global_output_regs, .-lio_cn6xxx_setup_global_output_regs
	.comm	CN6XXX_SLI_PKT_SLIST_ROR,4,4
	.comm	CN6XXX_SLI_PKT_SLIST_NS,4,4
	.comm	CN6XXX_SLI_PKT_SLIST_ES64,4,4
	.comm	CN6XXX_SLI_PKT_PCIE_PORT64,4,4
	.comm	CN6XXX_SLI_PKT_OUT_BMODE,4,4
	.comm	CN6XXX_SLI_PKT_DPADDR,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_ROR,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_NS,4,4
	.comm	CN6XXX_SLI_PKT_DATA_OUT_ES64,4,4
	.comm	CN6XXX_SLI_OQ_WMARK,4,4
	.comm	CN6XXX_SLI_OQ_INT_LEVEL_TIME,4,4
	.comm	CN6XXX_SLI_OQ_INT_LEVEL_PKTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
