	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_QUERY_FUNC_CAP            ## -- Begin function mlx4_QUERY_FUNC_CAP
	.p2align	4, 0x90
_mlx4_QUERY_FUNC_CAP:                   ## @mlx4_QUERY_FUNC_CAP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_QUERY_FUNC_CAP_SUPPORTS_VST_QINQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_mlx4_alloc_cmd_mailbox
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.22:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	orl	%r12d, %ebx
	xorl	%r8d, %r8d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	cmovnel	%r12d, %ebx
	setne	%r8b
	movl	8(%r13), %edx
	movq	_MLX4_CMD_QUERY_FUNC_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MLX4_CMD_TIME_CLASS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MLX4_CMD_WRAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	pushq	%rax
	pushq	%r10
	callq	_mlx4_cmd_box
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.2:
	movq	(%r13), %rbx
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	cmpl	%r12d, (%r15)
	jge	LBB0_7
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_QUERY_FUNC_CAP_FLAGS_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_7:
	movl	48(%r14), %edi
	movq	_QUERY_FUNC_CAP_FLAGS1_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movq	8(%r15), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_MLX4_PORT_TYPE_ETH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.8:
	movl	48(%r14), %eax
	movq	_QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_13:
	movq	_MLX4_PORT_TYPE_IB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	_QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	jmp	LBB0_15
LBB0_11:
	movq	_QUERY_FUNC_CAP_FLAGS1_FORCE_MAC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
LBB0_10:
	movq	%r15, %rdi
	callq	_mlx4_err
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mlx4_free_cmd_mailbox
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_QUERY_FUNC_CAP_PHYS_PORT_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movq	_QUERY_FUNC_CAP_VF_ENABLE_QP0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 48(%r14)
	je	LBB0_17
## %bb.16:
	movq	_QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	jmp	LBB0_18
LBB0_17:
	movl	$0, 64(%r14)
LBB0_18:
	movq	_QUERY_FUNC_CAP_QP0_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movl	$0, 68(%r14)
	movq	_QUERY_FUNC_CAP_QP0_PROXY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movl	$0, 72(%r14)
	movq	_QUERY_FUNC_CAP_QP1_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movl	$0, 76(%r14)
	movq	_QUERY_FUNC_CAP_QP1_PROXY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	movl	$0, 80(%r14)
	movq	_QUERY_FUNC_CAP_FLAGS1_NIC_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 48(%r14)
	je	LBB0_20
## %bb.19:
	movl	56(%r14), %edi
	movq	_QUERY_FUNC_CAP_PHYS_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
LBB0_20:
	movl	60(%r14), %edi
	movq	_QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX4_GET
	xorl	%ebx, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_QUERY_FUNC_CAP_SUPPORTS_VST_QINQ,4,2 ## @QUERY_FUNC_CAP_SUPPORTS_VST_QINQ
	.comm	_QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS,4,2 ## @QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS
	.comm	_MLX4_CMD_QUERY_FUNC_CAP,4,2    ## @MLX4_CMD_QUERY_FUNC_CAP
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ## @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_WRAPPED,4,2           ## @MLX4_CMD_WRAPPED
	.comm	_QUERY_FUNC_CAP_FLAGS_OFFSET,4,2 ## @QUERY_FUNC_CAP_FLAGS_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAG_ETH,4,2    ## @QUERY_FUNC_CAP_FLAG_ETH
	.comm	_QUERY_FUNC_CAP_FLAG_RDMA,4,2   ## @QUERY_FUNC_CAP_FLAG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The host supports neither eth nor rdma interfaces\n"

	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_QUERY_FUNC_CAP_FLAG_QUOTAS,4,2 ## @QUERY_FUNC_CAP_FLAG_QUOTAS
	.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 ## @QUERY_FUNC_CAP_MCG_QUOTA_OFFSET_DEP
	.comm	_QUERY_FUNC_CAP_MAX_EQ_OFFSET,4,2 ## @QUERY_FUNC_CAP_MAX_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_RESERVED_EQ_OFFSET,4,2 ## @QUERY_FUNC_CAP_RESERVED_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAG_RESD_LKEY,4,2 ## @QUERY_FUNC_CAP_FLAG_RESD_LKEY
	.comm	_QUERY_FUNC_CAP_QP_RESD_LKEY_OFFSET,4,2 ## @QUERY_FUNC_CAP_QP_RESD_LKEY_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAG_VALID_MAILBOX,4,2 ## @QUERY_FUNC_CAP_FLAG_VALID_MAILBOX
	.comm	_QUERY_FUNC_CAP_EXTRA_FLAGS_OFFSET,4,2 ## @QUERY_FUNC_CAP_EXTRA_FLAGS_OFFSET
	.comm	_QUERY_FUNC_CAP_EXTRA_FLAGS_BF_QP_ALLOC_FLAG,4,2 ## @QUERY_FUNC_CAP_EXTRA_FLAGS_BF_QP_ALLOC_FLAG
	.comm	_MLX4_QUERY_FUNC_FLAGS_BF_RES_QP,4,2 ## @MLX4_QUERY_FUNC_FLAGS_BF_RES_QP
	.comm	_QUERY_FUNC_CAP_EXTRA_FLAGS_A0_QP_ALLOC_FLAG,4,2 ## @QUERY_FUNC_CAP_EXTRA_FLAGS_A0_QP_ALLOC_FLAG
	.comm	_MLX4_QUERY_FUNC_FLAGS_A0_RES_QP,4,2 ## @MLX4_QUERY_FUNC_FLAGS_A0_RES_QP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QUERY_FUNC_CAP_FLAGS1_OFFSET,4,2 ## @QUERY_FUNC_CAP_FLAGS1_OFFSET
	.comm	_MLX4_PORT_TYPE_ETH,8,3         ## @MLX4_PORT_TYPE_ETH
	.comm	_QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN,4,2 ## @QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN
L_.str.1:                               ## @.str.1
	.asciz	"VLAN is enforced on this port\n"

	.comm	_QUERY_FUNC_CAP_FLAGS1_FORCE_MAC,4,2 ## @QUERY_FUNC_CAP_FLAGS1_FORCE_MAC
L_.str.2:                               ## @.str.2
	.asciz	"Force mac is enabled on this port\n"

	.comm	_MLX4_PORT_TYPE_IB,8,3          ## @MLX4_PORT_TYPE_IB
	.comm	_QUERY_FUNC_CAP_FLAGS0_OFFSET,4,2 ## @QUERY_FUNC_CAP_FLAGS0_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAGS0_FORCE_PHY_WQE_GID,4,2 ## @QUERY_FUNC_CAP_FLAGS0_FORCE_PHY_WQE_GID
	.comm	_QUERY_FUNC_CAP_PHYS_PORT_OFFSET,4,2 ## @QUERY_FUNC_CAP_PHYS_PORT_OFFSET
	.comm	_QUERY_FUNC_CAP_VF_ENABLE_QP0,4,2 ## @QUERY_FUNC_CAP_VF_ENABLE_QP0
	.comm	_QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET,4,2 ## @QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET
	.comm	_QUERY_FUNC_CAP_QP0_TUNNEL,4,2  ## @QUERY_FUNC_CAP_QP0_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP0_PROXY,4,2   ## @QUERY_FUNC_CAP_QP0_PROXY
	.comm	_QUERY_FUNC_CAP_QP1_TUNNEL,4,2  ## @QUERY_FUNC_CAP_QP1_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP1_PROXY,4,2   ## @QUERY_FUNC_CAP_QP1_PROXY
	.comm	_QUERY_FUNC_CAP_FLAGS1_NIC_INFO,4,2 ## @QUERY_FUNC_CAP_FLAGS1_NIC_INFO
	.comm	_QUERY_FUNC_CAP_PHYS_PORT_ID,4,2 ## @QUERY_FUNC_CAP_PHYS_PORT_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_QUERY_FUNC_CAP            ; -- Begin function mlx4_QUERY_FUNC_CAP
	.p2align	2
_mlx4_QUERY_FUNC_CAP:                   ; @mlx4_QUERY_FUNC_CAP
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _QUERY_FUNC_CAP_SUPPORTS_VST_QINQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUERY_FUNC_CAP_SUPPORTS_VST_QINQ@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	bl	_mlx4_alloc_cmd_mailbox
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	orr	w8, w24, w22
	cmp	w23, #0
	csel	w3, w23, w8, ne
	cset	w4, ne
	ldr	w2, [x20, #8]
Lloh6:
	adrp	x8, _MLX4_CMD_QUERY_FUNC_CAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX4_CMD_QUERY_FUNC_CAP@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x8, _MLX4_CMD_WRAPPED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX4_CMD_WRAPPED@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_mlx4_cmd_box
	mov	x22, x0
	cbnz	w0, LBB0_16
; %bb.3:
	ldr	x22, [x20]
	cbz	w23, LBB0_6
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, w23
	b.ge	LBB0_7
; %bb.5:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
Lloh17:
	adrp	x8, _QUERY_FUNC_CAP_FLAGS_OFFSET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QUERY_FUNC_CAP_FLAGS_OFFSET@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_7:
	ldr	w0, [x21, #48]
Lloh22:
	adrp	x8, _QUERY_FUNC_CAP_FLAGS1_OFFSET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _QUERY_FUNC_CAP_FLAGS1_OFFSET@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w23, sxtw #3]
Lloh25:
	adrp	x9, _MLX4_PORT_TYPE_ETH@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MLX4_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x21, #48]
Lloh28:
	adrp	x9, _QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_10:
Lloh33:
	adrp	x9, _MLX4_PORT_TYPE_IB@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MLX4_PORT_TYPE_IB@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.11:
Lloh36:
	adrp	x8, _QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	b	LBB0_17
LBB0_12:
Lloh39:
	adrp	x9, _QUERY_FUNC_CAP_FLAGS1_FORCE_MAC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _QUERY_FUNC_CAP_FLAGS1_FORCE_MAC@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_mlx4_err
Lloh44:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_free_cmd_mailbox
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh46:
	adrp	x8, _QUERY_FUNC_CAP_PHYS_PORT_OFFSET@GOTPAGE
Lloh47:
	ldr	x8, [x8, _QUERY_FUNC_CAP_PHYS_PORT_OFFSET@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	ldr	w8, [x21, #48]
Lloh49:
	adrp	x9, _QUERY_FUNC_CAP_VF_ENABLE_QP0@GOTPAGE
Lloh50:
	ldr	x9, [x9, _QUERY_FUNC_CAP_VF_ENABLE_QP0@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
Lloh52:
	adrp	x8, _QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET@GOTPAGE
Lloh53:
	ldr	x8, [x8, _QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	b	LBB0_20
LBB0_19:
	str	wzr, [x21, #64]
LBB0_20:
Lloh55:
	adrp	x8, _QUERY_FUNC_CAP_QP0_TUNNEL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _QUERY_FUNC_CAP_QP0_TUNNEL@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	str	wzr, [x21, #68]
Lloh58:
	adrp	x8, _QUERY_FUNC_CAP_QP0_PROXY@GOTPAGE
Lloh59:
	ldr	x8, [x8, _QUERY_FUNC_CAP_QP0_PROXY@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	str	wzr, [x21, #72]
Lloh61:
	adrp	x8, _QUERY_FUNC_CAP_QP1_TUNNEL@GOTPAGE
Lloh62:
	ldr	x8, [x8, _QUERY_FUNC_CAP_QP1_TUNNEL@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	str	wzr, [x21, #76]
Lloh64:
	adrp	x8, _QUERY_FUNC_CAP_QP1_PROXY@GOTPAGE
Lloh65:
	ldr	x8, [x8, _QUERY_FUNC_CAP_QP1_PROXY@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	str	wzr, [x21, #80]
	ldr	w8, [x21, #48]
Lloh67:
	adrp	x9, _QUERY_FUNC_CAP_FLAGS1_NIC_INFO@GOTPAGE
Lloh68:
	ldr	x9, [x9, _QUERY_FUNC_CAP_FLAGS1_NIC_INFO@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	ldr	w0, [x21, #56]
Lloh70:
	adrp	x8, _QUERY_FUNC_CAP_PHYS_PORT_ID@GOTPAGE
Lloh71:
	ldr	x8, [x8, _QUERY_FUNC_CAP_PHYS_PORT_ID@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
LBB0_22:
	ldr	w0, [x21, #60]
Lloh73:
	adrp	x8, _QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPAGE
Lloh74:
	ldr	x8, [x8, _QUERY_FUNC_CAP_FLAGS0_OFFSET@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX4_GET
	mov	w22, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_QUERY_FUNC_CAP_SUPPORTS_VST_QINQ,4,2 ; @QUERY_FUNC_CAP_SUPPORTS_VST_QINQ
	.comm	_QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS,4,2 ; @QUERY_FUNC_CAP_SUPPORTS_NON_POWER_OF_2_NUM_EQS
	.comm	_MLX4_CMD_QUERY_FUNC_CAP,4,2    ; @MLX4_CMD_QUERY_FUNC_CAP
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ; @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_WRAPPED,4,2           ; @MLX4_CMD_WRAPPED
	.comm	_QUERY_FUNC_CAP_FLAGS_OFFSET,4,2 ; @QUERY_FUNC_CAP_FLAGS_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAG_ETH,4,2    ; @QUERY_FUNC_CAP_FLAG_ETH
	.comm	_QUERY_FUNC_CAP_FLAG_RDMA,4,2   ; @QUERY_FUNC_CAP_FLAG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The host supports neither eth nor rdma interfaces\n"

	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_QUERY_FUNC_CAP_FLAG_QUOTAS,4,2 ; @QUERY_FUNC_CAP_FLAG_QUOTAS
	.comm	_QUERY_FUNC_CAP_NUM_PORTS_OFFSET,4,2 ; @QUERY_FUNC_CAP_NUM_PORTS_OFFSET
	.comm	_QUERY_FUNC_CAP_PF_BHVR_OFFSET,4,2 ; @QUERY_FUNC_CAP_PF_BHVR_OFFSET
	.comm	_QUERY_FUNC_CAP_QP_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_QP_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_CQ_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_CQ_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_MPT_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_MPT_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_MTT_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_MTT_QUOTA_OFFSET
	.comm	_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F_QP_ALLOC_FLAG,4,2 ; @QUERY_FUNC_CAP_EXTRA_FLAGS_BF_QP_ALLOC_FLAG
	.comm	_MLX4_QUERY_FUNC_FLAGS_BF_RES_QP,4,2 ; @MLX4_QUERY_FUNC_FLAGS_BF_RES_QP
	.comm	_QUERY_FUNC_CAP_EXTRA_FLAGS_A0_QP_ALLOC_FLAG,4,2 ; @QUERY_FUNC_CAP_EXTRA_FLAGS_A0_QP_ALLOC_FLAG
	.comm	_MLX4_QUERY_FUNC_FLAGS_A0_RES_QP,4,2 ; @MLX4_QUERY_FUNC_FLAGS_A0_RES_QP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QUERY_FUNC_CAP_FLAGS1_OFFSET,4,2 ; @QUERY_FUNC_CAP_FLAGS1_OFFSET
	.comm	_MLX4_PORT_TYPE_ETH,8,3         ; @MLX4_PORT_TYPE_ETH
	.comm	_QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN,4,2 ; @QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN
l_.str.1:                               ; @.str.1
	.asciz	"VLAN is enforced on this port\n"

	.comm	_QUERY_FUNC_CAP_FLAGS1_FORCE_MAC,4,2 ; @QUERY_FUNC_CAP_FLAGS1_FORCE_MAC
l_.str.2:                               ; @.str.2
	.asciz	"Force mac is enabled on this port\n"

	.comm	_MLX4_PORT_TYPE_IB,8,3          ; @MLX4_PORT_TYPE_IB
	.comm	_QUERY_FUNC_CAP_FLAGS0_OFFSET,4,2 ; @QUERY_FUNC_CAP_FLAGS0_OFFSET
	.comm	_QUERY_FUNC_CAP_FLAGS0_FORCE_PHY_WQE_GID,4,2 ; @QUERY_FUNC_CAP_FLAGS0_FORCE_PHY_WQE_GID
	.comm	_QUERY_FUNC_CAP_PHYS_PORT_OFFSET,4,2 ; @QUERY_FUNC_CAP_PHYS_PORT_OFFSET
	.comm	_QUERY_FUNC_CAP_VF_ENABLE_QP0,4,2 ; @QUERY_FUNC_CAP_VF_ENABLE_QP0
	.comm	_QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET,4,2 ; @QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET
	.comm	_QUERY_FUNC_CAP_QP0_TUNNEL,4,2  ; @QUERY_FUNC_CAP_QP0_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP0_PROXY,4,2   ; @QUERY_FUNC_CAP_QP0_PROXY
	.comm	_QUERY_FUNC_CAP_QP1_TUNNEL,4,2  ; @QUERY_FUNC_CAP_QP1_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP1_PROXY,4,2   ; @QUERY_FUNC_CAP_QP1_PROXY
	.comm	_QUERY_FUNC_CAP_FLAGS1_NIC_INFO,4,2 ; @QUERY_FUNC_CAP_FLAGS1_NIC_INFO
	.comm	_QUERY_FUNC_CAP_PHYS_PORT_ID,4,2 ; @QUERY_FUNC_CAP_PHYS_PORT_ID
.subsections_via_symbols
