	.file	"extr_qib_mad.c_pma_get_classportinfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pma_get_classportinfo, @function
pma_get_classportinfo:
.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
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 16[rbp]
	call	dd_from_ibdev@PLT
	mov	rdi, QWORD PTR 16[rbp]
	xor	esi, esi
	mov	edx, 8
	mov	r12, rax
	call	memset@PLT
	cmp	QWORD PTR 0[rbp], 0
	je	.L2
	mov	eax, DWORD PTR IB_SMP_INVALID_FIELD[rip]
	or	DWORD PTR 8[rbp], eax
.L2:
	movabs	rax, 4294967297
	mov	rdx, QWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR IB_PMA_CLASS_CAP_EXT_WIDTH[rip]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR [r12]
	sal	eax, 7
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR 16[rbx], 18
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	reply@PLT
	.cfi_endproc
.LFE0:
	.size	pma_get_classportinfo, .-pma_get_classportinfo
	.comm	IB_SMP_INVALID_FIELD,4,4
	.comm	IB_PMA_CLASS_CAP_EXT_WIDTH,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_qib_mad.c_pma_get_classportinfo.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pma_get_classportinfo, %function
pma_get_classportinfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	ldr	r5, [r4, #8]
	bl	dd_from_ibdev
	mov	r2, #4
	mov	r6, r0
	mov	r1, #0
	ldr	r0, [r4, #8]
	bl	memset
	ldr	r3, [r4]
	mov	r1, #18
	cmp	r3, #0
	ldrne	r2, .L8
	ldrne	r3, [r4, #4]
	ldrne	r2, [r2]
	ldr	r0, .L8+4
	orrne	r3, r3, r2
	mov	r2, #1
	ldr	ip, [r0]
	strne	r3, [r4, #4]
	ldr	r3, [r6]
	str	ip, [r5, #16]
	ldr	ip, [r5, #8]
	lsl	r3, r3, #7
	str	r2, [r5]
	str	r2, [r5, #4]
	mov	r0, r4
	str	r3, [ip]
	str	r1, [r5, #12]
	pop	{r4, r5, r6, lr}
	b	reply
.L9:
	.align	2
.L8:
	.word	IB_SMP_INVALID_FIELD
	.word	IB_PMA_CLASS_CAP_EXT_WIDTH
	.size	pma_get_classportinfo, .-pma_get_classportinfo
	.comm	IB_SMP_INVALID_FIELD,4,4
	.comm	IB_PMA_CLASS_CAP_EXT_WIDTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
