	.file	"extr_cxgb_main.c_cxgb_get_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cxgb_get_regs, @function
cxgb_get_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ebx, DWORD PTR [rdi]
	call	is_pcie@PLT
	sal	ebx, 10
	sal	eax, 31
	or	eax, ebx
	or	eax, 3
	mov	DWORD PTR 0[r13], eax
	xor	eax, eax
	call	cxgb_get_regs_len@PLT
	mov	rdi, r12
	xor	esi, esi
	mov	edx, eax
	call	memset@PLT
	mov	ecx, DWORD PTR A_SG_RSPQ_CREDIT_RETURN[rip]
	mov	rsi, r12
	xor	edx, edx
	mov	rdi, rbp
	call	reg_block_dump@PLT
	mov	ecx, DWORD PTR A_ULPRX_PBL_ULIMIT[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, DWORD PTR A_SG_HI_DRB_HI_THRSH[rip]
	call	reg_block_dump@PLT
	mov	ecx, DWORD PTR A_MPS_INT_CAUSE[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, DWORD PTR A_ULPTX_CONFIG[rip]
	call	reg_block_dump@PLT
	mov	ecx, DWORD PTR A_CPL_MAP_TBL_DATA[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, DWORD PTR A_CPL_SWITCH_CNTRL[rip]
	call	reg_block_dump@PLT
	mov	ecx, DWORD PTR A_XGM_SERDES_STAT3[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, DWORD PTR A_SMB_GLOBAL_TIME_CFG[rip]
	call	reg_block_dump@PLT
	mov	edi, DWORD PTR A_XGM_SERDES_STAT3[rip]
	mov	esi, 1
	call	XGM_REG@PLT
	mov	edx, DWORD PTR A_XGM_SERDES_STATUS0[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	ecx, eax
	call	reg_block_dump@PLT
	mov	edi, DWORD PTR A_XGM_RX_SPI4_SOP_EOP_CNT[rip]
	mov	esi, 1
	call	XGM_REG@PLT
	mov	edi, DWORD PTR A_XGM_SERDES_STATUS0[rip]
	mov	esi, 1
	mov	r13d, eax
	call	XGM_REG@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	mov	rsi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rdi, rbp
	mov	edx, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	reg_block_dump@PLT
	.cfi_endproc
.LFE0:
	.size	cxgb_get_regs, .-cxgb_get_regs
	.comm	A_XGM_SERDES_STATUS0,4,4
	.comm	A_XGM_SERDES_STAT3,4,4
	.comm	A_XGM_RX_SPI4_SOP_EOP_CNT,4,4
	.comm	A_ULPTX_CONFIG,4,4
	.comm	A_ULPRX_PBL_ULIMIT,4,4
	.comm	A_SMB_GLOBAL_TIME_CFG,4,4
	.comm	A_SG_RSPQ_CREDIT_RETURN,4,4
	.comm	A_SG_HI_DRB_HI_THRSH,4,4
	.comm	A_MPS_INT_CAUSE,4,4
	.comm	A_CPL_SWITCH_CNTRL,4,4
	.comm	A_CPL_MAP_TBL_DATA,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_cxgb_main.c_cxgb_get_regs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxgb_get_regs, %function
cxgb_get_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r4, r0
	mov	r7, r1
	ldr	r6, [r0]
	bl	is_pcie
	lsl	r6, r6, #10
	orr	r6, r6, r0, lsl #31
	orr	r6, r6, #3
	str	r6, [r7]
	bl	cxgb_get_regs_len
	mov	r1, #0
	mov	r2, r0
	mov	r0, r5
	bl	memset
	ldr	r3, .L4
	mov	r1, r5
	mov	r0, r4
	mov	r2, #0
	ldr	r3, [r3]
	bl	reg_block_dump
	ldr	r3, .L4+4
	ldr	r2, .L4+8
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	reg_block_dump
	ldr	r3, .L4+12
	ldr	r2, .L4+16
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	reg_block_dump
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	reg_block_dump
	ldr	r7, .L4+28
	ldr	r2, .L4+32
	ldr	r3, [r7]
	mov	r1, r5
	ldr	r6, .L4+36
	ldr	r2, [r2]
	mov	r0, r4
	bl	reg_block_dump
	mov	r1, #1
	ldr	r0, [r7]
	ldr	r7, [r6]
	bl	XGM_REG
	mov	r2, r7
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	bl	reg_block_dump
	mov	r1, #1
	ldr	r0, [r6]
	bl	XGM_REG
	ldr	r3, .L4+40
	mov	r6, r0
	mov	r1, #1
	ldr	r0, [r3]
	bl	XGM_REG
	mov	r2, r6
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	reg_block_dump
.L5:
	.align	2
.L4:
	.word	A_SG_RSPQ_CREDIT_RETURN
	.word	A_ULPRX_PBL_ULIMIT
	.word	A_SG_HI_DRB_HI_THRSH
	.word	A_MPS_INT_CAUSE
	.word	A_ULPTX_CONFIG
	.word	A_CPL_MAP_TBL_DATA
	.word	A_CPL_SWITCH_CNTRL
	.word	A_XGM_SERDES_STAT3
	.word	A_SMB_GLOBAL_TIME_CFG
	.word	A_XGM_SERDES_STATUS0
	.word	A_XGM_RX_SPI4_SOP_EOP_CNT
	.size	cxgb_get_regs, .-cxgb_get_regs
	.comm	A_XGM_SERDES_STATUS0,4,4
	.comm	A_XGM_SERDES_STAT3,4,4
	.comm	A_XGM_RX_SPI4_SOP_EOP_CNT,4,4
	.comm	A_ULPTX_CONFIG,4,4
	.comm	A_ULPRX_PBL_ULIMIT,4,4
	.comm	A_SMB_GLOBAL_TIME_CFG,4,4
	.comm	A_SG_RSPQ_CREDIT_RETURN,4,4
	.comm	A_SG_HI_DRB_HI_THRSH,4,4
	.comm	A_MPS_INT_CAUSE,4,4
	.comm	A_CPL_SWITCH_CNTRL,4,4
	.comm	A_CPL_MAP_TBL_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
