	.file	"extr_ib_verbs.c_bnxt_re_query_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bnxt_re_query_device
	.type	bnxt_re_query_device, @function
bnxt_re_query_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	mov	rsi, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_bnxt_re_dev@PLT
	mov	edx, 232
	mov	rdi, rbx
	xor	esi, esi
	mov	rbp, rax
	call	memset@PLT
	mov	esi, 4
	mov	edi, 4
	call	min@PLT
	mov	esi, DWORD PTR 76[rbp]
	lea	rdi, 224[rbx]
	mov	edx, eax
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[rbp]
	lea	rsi, 220[rbx]
	mov	edi, DWORD PTR [rax]
	call	bnxt_qplib_get_guid@PLT
	mov	eax, DWORD PTR BNXT_RE_MAX_MR_SIZE[rip]
	mov	DWORD PTR 216[rbx], eax
	mov	eax, DWORD PTR BNXT_RE_PAGE_SIZE_4K[rip]
	or	eax, DWORD PTR BNXT_RE_PAGE_SIZE_2M[rip]
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	DWORD PTR 212[rbx], edx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 208[rbx], edx
	mov	DWORD PTR 204[rbx], eax
	mov	eax, DWORD PTR 72[rbp]
	mov	DWORD PTR 200[rbx], eax
	mov	eax, DWORD PTR 68[rbp]
	mov	DWORD PTR 196[rbx], eax
	mov	eax, DWORD PTR IB_DEVICE_CURR_QP_STATE_MOD[rip]
	or	eax, DWORD PTR IB_DEVICE_RC_RNR_NAK_GEN[rip]
	or	eax, DWORD PTR IB_DEVICE_SHUTDOWN_PORT[rip]
	or	eax, DWORD PTR IB_DEVICE_SYS_IMAGE_GUID[rip]
	or	eax, DWORD PTR IB_DEVICE_LOCAL_DMA_LKEY[rip]
	or	eax, DWORD PTR IB_DEVICE_RESIZE_MAX_WR[rip]
	or	eax, DWORD PTR IB_DEVICE_PORT_ACTIVE_EVENT[rip]
	or	eax, DWORD PTR IB_DEVICE_N_NOTIFY_CQ[rip]
	or	eax, DWORD PTR IB_DEVICE_MEM_WINDOW[rip]
	or	eax, DWORD PTR IB_DEVICE_MEM_WINDOW_TYPE_2B[rip]
	or	eax, DWORD PTR IB_DEVICE_MEM_MGT_EXTENSIONS[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 64[rbp]
	mov	DWORD PTR 192[rbx], eax
	mov	DWORD PTR 188[rbx], eax
	mov	DWORD PTR 184[rbx], eax
	mov	eax, DWORD PTR 60[rbp]
	mov	DWORD PTR 180[rbx], eax
	mov	eax, DWORD PTR 56[rbp]
	mov	DWORD PTR 176[rbx], eax
	mov	eax, DWORD PTR 52[rbp]
	mov	DWORD PTR 172[rbx], eax
	mov	eax, DWORD PTR 48[rbp]
	mov	DWORD PTR 168[rbx], eax
	mov	eax, DWORD PTR 44[rbp]
	mov	DWORD PTR 164[rbx], eax
	mov	eax, DWORD PTR 40[rbp]
	mov	QWORD PTR 136[rbx], 0
	mov	DWORD PTR 160[rbx], eax
	mov	rax, QWORD PTR IB_ATOMIC_NONE[rip]
	mov	QWORD PTR 128[rbx], 0
	mov	QWORD PTR 152[rbx], rax
	mov	QWORD PTR 144[rbx], rax
	mov	eax, DWORD PTR 36[rbp]
	mov	QWORD PTR 120[rbx], 0
	mov	DWORD PTR 96[rbx], eax
	mov	eax, DWORD PTR 32[rbp]
	mov	QWORD PTR 112[rbx], 0
	mov	DWORD PTR 80[rbx], eax
	mov	eax, DWORD PTR 28[rbp]
	mov	QWORD PTR 104[rbx], 0
	mov	QWORD PTR 88[rbx], 0
	mov	QWORD PTR 72[rbx], 0
	mov	QWORD PTR 64[rbx], 0
	mov	QWORD PTR 56[rbx], 0
	mov	DWORD PTR 48[rbx], eax
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR 8[rbx], 1
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR MAX_PBL_LVL_1_PGS[rip]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR BNXT_RE_DEFAULT_ACK_DELAY[rip]
	mov	DWORD PTR 12[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnxt_re_query_device, .-bnxt_re_query_device
	.comm	MAX_PBL_LVL_1_PGS,4,4
	.comm	IB_DEVICE_SYS_IMAGE_GUID,4,4
	.comm	IB_DEVICE_SHUTDOWN_PORT,4,4
	.comm	IB_DEVICE_RESIZE_MAX_WR,4,4
	.comm	IB_DEVICE_RC_RNR_NAK_GEN,4,4
	.comm	IB_DEVICE_PORT_ACTIVE_EVENT,4,4
	.comm	IB_DEVICE_N_NOTIFY_CQ,4,4
	.comm	IB_DEVICE_MEM_WINDOW_TYPE_2B,4,4
	.comm	IB_DEVICE_MEM_WINDOW,4,4
	.comm	IB_DEVICE_MEM_MGT_EXTENSIONS,4,4
	.comm	IB_DEVICE_LOCAL_DMA_LKEY,4,4
	.comm	IB_DEVICE_CURR_QP_STATE_MOD,4,4
	.comm	IB_ATOMIC_NONE,8,8
	.comm	BNXT_RE_PAGE_SIZE_4K,4,4
	.comm	BNXT_RE_PAGE_SIZE_2M,4,4
	.comm	BNXT_RE_MAX_MR_SIZE,4,4
	.comm	BNXT_RE_DEFAULT_ACK_DELAY,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_ib_verbs.c_bnxt_re_query_device.c"
	.text
	.align	2
	.global	bnxt_re_query_device
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnxt_re_query_device, %function
bnxt_re_query_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r1, r0
	bl	to_bnxt_re_dev
	mov	r2, #164
	mov	r5, r0
	mov	r1, #0
	mov	r0, r4
	bl	memset
	mov	r1, #4
	mov	r0, r1
	ldr	r6, [r5, #68]
	bl	min
	mov	r1, r6
	mov	r2, r0
	add	r0, r4, #160
	bl	memcpy
	ldr	r3, [r5, #4]
	add	r1, r4, #156
	ldr	r0, [r3]
	bl	bnxt_qplib_get_guid
	ldr	r3, .L4
	ldr	r1, .L4+4
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	lr, .L4+8
	orr	r3, r3, r1
	ldr	r1, .L4+12
	ldr	lr, [lr]
	ldr	r1, [r1]
	str	lr, [r4, #152]
	orr	r3, r3, r1
	ldr	r1, .L4+16
	ldr	ip, .L4+20
	ldr	r1, [r1]
	ldr	lr, .L4+24
	orr	r3, r3, r1
	ldr	r1, .L4+28
	ldr	lr, [lr]
	ldr	r1, [r1]
	ldr	ip, [ip]
	orr	r3, r3, r1
	ldr	r1, .L4+32
	mov	r0, #0
	orr	ip, ip, lr
	ldr	lr, [r1]
	ldr	r1, [r5]
	orr	r3, r3, lr
	ldr	lr, .L4+36
	mov	r2, #1
	ldr	r1, [r1]
	ldr	lr, [lr]
	str	ip, [r4]
	ldr	ip, .L4+40
	orr	r3, r3, lr
	ldr	ip, [ip]
	ldr	lr, [r1, #8]
	orr	r3, r3, ip
	ldr	ip, .L4+44
	str	lr, [r4, #148]
	ldr	ip, [ip]
	ldr	lr, [r1, #4]
	orr	r3, r3, ip
	ldr	ip, .L4+48
	ldr	r1, [r1]
	str	lr, [r4, #144]
	ldr	lr, [ip]
	ldr	ip, .L4+52
	str	r1, [r4, #140]
	ldr	ip, [ip]
	ldr	r1, [r5, #64]
	orr	r3, r3, lr
	orr	r3, r3, ip
	str	r1, [r4, #136]
	ldr	r1, [r5, #60]
	str	r3, [r4, #4]
	ldr	r3, [r5, #56]
	ldr	ip, .L4+56
	str	r1, [r4, #132]
	str	r3, [r4, #128]
	str	r3, [r4, #124]
	str	r3, [r4, #120]
	ldr	r1, [r5, #52]
	ldr	r3, [ip]
	str	r1, [r4, #116]
	ldr	ip, [r5, #48]
	ldr	r1, [r5, #44]
	str	ip, [r4, #112]
	str	r1, [r4, #108]
	ldr	ip, [r5, #40]
	ldr	r1, [r5, #36]
	str	ip, [r4, #104]
	str	r1, [r4, #100]
	ldr	ip, [r5, #32]
	ldr	r1, [r5, #28]
	str	ip, [r4, #96]
	str	r1, [r4, #64]
	ldr	ip, [r5, #24]
	ldr	r1, [r5, #20]
	ldr	lr, .L4+60
	str	r1, [r4, #40]
	str	r3, [r4, #92]
	str	r3, [r4, #88]
	str	ip, [r4, #56]
	str	r0, [r4, #84]
	str	r0, [r4, #80]
	str	r0, [r4, #76]
	str	r0, [r4, #72]
	str	r0, [r4, #68]
	str	r0, [r4, #60]
	str	r0, [r4, #52]
	str	r0, [r4, #48]
	str	r0, [r4, #44]
	str	r0, [r4, #36]
	str	r0, [r4, #32]
	ldr	r1, .L4+64
	ldr	ip, [r5, #16]
	ldr	r3, [lr]
	ldr	r1, [r1]
	ldr	lr, [r5, #12]
	str	ip, [r4, #28]
	ldr	ip, [r5, #8]
	str	lr, [r4, #24]
	str	ip, [r4, #20]
	str	r1, [r4, #16]
	str	r2, [r4, #8]
	str	r3, [r4, #12]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	IB_DEVICE_CURR_QP_STATE_MOD
	.word	IB_DEVICE_RC_RNR_NAK_GEN
	.word	BNXT_RE_MAX_MR_SIZE
	.word	IB_DEVICE_SHUTDOWN_PORT
	.word	IB_DEVICE_SYS_IMAGE_GUID
	.word	BNXT_RE_PAGE_SIZE_4K
	.word	BNXT_RE_PAGE_SIZE_2M
	.word	IB_DEVICE_LOCAL_DMA_LKEY
	.word	IB_DEVICE_RESIZE_MAX_WR
	.word	IB_DEVICE_PORT_ACTIVE_EVENT
	.word	IB_DEVICE_N_NOTIFY_CQ
	.word	IB_DEVICE_MEM_WINDOW
	.word	IB_DEVICE_MEM_WINDOW_TYPE_2B
	.word	IB_DEVICE_MEM_MGT_EXTENSIONS
	.word	IB_ATOMIC_NONE
	.word	BNXT_RE_DEFAULT_ACK_DELAY
	.word	MAX_PBL_LVL_1_PGS
	.size	bnxt_re_query_device, .-bnxt_re_query_device
	.comm	MAX_PBL_LVL_1_PGS,4,4
	.comm	IB_DEVICE_SYS_IMAGE_GUID,4,4
	.comm	IB_DEVICE_SHUTDOWN_PORT,4,4
	.comm	IB_DEVICE_RESIZE_MAX_WR,4,4
	.comm	IB_DEVICE_RC_RNR_NAK_GEN,4,4
	.comm	IB_DEVICE_PORT_ACTIVE_EVENT,4,4
	.comm	IB_DEVICE_N_NOTIFY_CQ,4,4
	.comm	IB_DEVICE_MEM_WINDOW_TYPE_2B,4,4
	.comm	IB_DEVICE_MEM_WINDOW,4,4
	.comm	IB_DEVICE_MEM_MGT_EXTENSIONS,4,4
	.comm	IB_DEVICE_LOCAL_DMA_LKEY,4,4
	.comm	IB_DEVICE_CURR_QP_STATE_MOD,4,4
	.comm	IB_ATOMIC_NONE,4,4
	.comm	BNXT_RE_PAGE_SIZE_4K,4,4
	.comm	BNXT_RE_PAGE_SIZE_2M,4,4
	.comm	BNXT_RE_MAX_MR_SIZE,4,4
	.comm	BNXT_RE_DEFAULT_ACK_DELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
