	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_QUERY_FUNC_CAP_wrapper    ## -- Begin function mlx4_QUERY_FUNC_CAP_wrapper
	.p2align	4, 0x90
_mlx4_QUERY_FUNC_CAP_wrapper:           ## @mlx4_QUERY_FUNC_CAP_wrapper
	.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	%r8, %r13
	movq	%rdi, %r15
	movl	(%rdx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_MLX4_PUT
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_MLX4_PUT
	movl	4(%rbx), %ebx
	movl	(%r13), %edi
	movl	%ebx, %esi
	movl	$3, %edx
	callq	_MLX4_PUT
	movl	44(%r15), %r14d
	leal	(%rbx,%r12,8), %ebx
	leal	(%r14,%rbx), %esi
	decl	%esi
	movl	(%r13), %edi
	movl	$16, %edx
	callq	_MLX4_PUT
	leal	(%r14,%rbx), %esi
	incl	%esi
	movl	(%r13), %edi
	movl	$24, %edx
	callq	_MLX4_PUT
	movl	48(%r15), %r14d
	leal	(%r14,%rbx), %esi
	decl	%esi
	movl	(%r13), %edi
	movl	$20, %edx
	callq	_MLX4_PUT
	leal	(%r14,%rbx), %esi
	incl	%esi
	xorl	%ebx, %ebx
	movl	(%r13), %edi
	movl	$28, %edx
	callq	_MLX4_PUT
	jmp	LBB0_5
LBB0_3:
	movl	(%r13), %edi
	xorl	%ebx, %ebx
	movl	$192, %esi
	xorl	%edx, %edx
	callq	_MLX4_PUT
	movl	(%r15), %esi
	movl	(%r13), %edi
	movl	$1, %edx
	callq	_MLX4_PUT
	movl	4(%r15), %esi
	movl	(%r13), %edi
	movl	$4, %edx
	callq	_MLX4_PUT
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_MLX4_PUT
	movl	8(%r15), %esi
	movl	(%r13), %edi
	movl	$16, %edx
	callq	_MLX4_PUT
	movl	12(%r15), %esi
	movl	(%r13), %edi
	movl	$24, %edx
	callq	_MLX4_PUT
	movl	16(%r15), %esi
	movl	(%r13), %edi
	movl	$20, %edx
	callq	_MLX4_PUT
	movl	20(%r15), %esi
	movl	(%r13), %edi
	movl	$44, %edx
	callq	_MLX4_PUT
	movl	24(%r15), %esi
	movl	(%r13), %edi
	movl	$48, %edx
	callq	_MLX4_PUT
	movl	28(%r15), %esi
	movl	(%r13), %edi
	movl	$32, %edx
	callq	_MLX4_PUT
	movl	32(%r15), %esi
	movl	(%r13), %edi
	movl	$36, %edx
	callq	_MLX4_PUT
	movl	40(%r15), %esi
	addl	36(%r15), %esi
	movl	(%r13), %edi
	movl	$40, %edx
	callq	_MLX4_PUT
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QUERY_FUNC_CAP_CQ_QUOTA_OFFSET,4,2 ## @QUERY_FUNC_CAP_CQ_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_ETH_PROPS_OFFSET,4,2 ## @QUERY_FUNC_CAP_ETH_PROPS_OFFSET
	.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
	.comm	_QUERY_FUNC_CAP_FMR_OFFSET,4,2  ## @QUERY_FUNC_CAP_FMR_OFFSET
	.comm	_QUERY_FUNC_CAP_MAX_EQ_OFFSET,4,2 ## @QUERY_FUNC_CAP_MAX_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_MCG_QUOTA_OFFSET,4,2 ## @QUERY_FUNC_CAP_MCG_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	_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_PHYS_PORT_OFFSET,4,2 ## @QUERY_FUNC_CAP_PHYS_PORT_OFFSET
	.comm	_QUERY_FUNC_CAP_QP0_PROXY,4,2   ## @QUERY_FUNC_CAP_QP0_PROXY
	.comm	_QUERY_FUNC_CAP_QP0_TUNNEL,4,2  ## @QUERY_FUNC_CAP_QP0_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP1_PROXY,4,2   ## @QUERY_FUNC_CAP_QP1_PROXY
	.comm	_QUERY_FUNC_CAP_QP1_TUNNEL,4,2  ## @QUERY_FUNC_CAP_QP1_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP_QUOTA_OFFSET,4,2 ## @QUERY_FUNC_CAP_QP_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_RDMA_PROPS_OFFSET,4,2 ## @QUERY_FUNC_CAP_RDMA_PROPS_OFFSET
	.comm	_QUERY_FUNC_CAP_RESERVED_EQ_OFFSET,4,2 ## @QUERY_FUNC_CAP_RESERVED_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET,4,2 ## @QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_QUERY_FUNC_CAP_wrapper    ; -- Begin function mlx4_QUERY_FUNC_CAP_wrapper
	.p2align	2
_mlx4_QUERY_FUNC_CAP_wrapper:           ; @mlx4_QUERY_FUNC_CAP_wrapper
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x4
	mov	x20, x0
	ldr	w8, [x2]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
	mov	x22, x2
	mov	x21, x1
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #12
	bl	_MLX4_PUT
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #8
	bl	_MLX4_PUT
	ldr	w22, [x22, #4]
	ldr	w0, [x19]
	mov	x1, x22
	mov	w2, #3
	bl	_MLX4_PUT
	ldr	w8, [x20, #44]
	add	w21, w22, w21, lsl #3
	add	w22, w21, w8
	sub	w1, w22, #1
	ldr	w0, [x19]
	mov	w2, #16
	bl	_MLX4_PUT
	add	w1, w22, #1
	ldr	w0, [x19]
	mov	w2, #24
	bl	_MLX4_PUT
	ldr	w8, [x20, #48]
	add	w20, w21, w8
	sub	w1, w20, #1
	ldr	w0, [x19]
	mov	w2, #20
	bl	_MLX4_PUT
	add	w1, w20, #1
	ldr	w0, [x19]
	mov	w2, #28
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19]
	mov	w1, #192
	mov	w2, #0
	bl	_MLX4_PUT
	ldr	w1, [x20]
	ldr	w0, [x19]
	mov	w2, #1
	bl	_MLX4_PUT
	ldr	w1, [x20, #4]
	ldr	w0, [x19]
	mov	w2, #4
	bl	_MLX4_PUT
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #8
	bl	_MLX4_PUT
	ldr	w1, [x20, #8]
	ldr	w0, [x19]
	mov	w2, #16
	bl	_MLX4_PUT
	ldr	w1, [x20, #12]
	ldr	w0, [x19]
	mov	w2, #24
	bl	_MLX4_PUT
	ldr	w1, [x20, #16]
	ldr	w0, [x19]
	mov	w2, #20
	bl	_MLX4_PUT
	ldr	w1, [x20, #20]
	ldr	w0, [x19]
	mov	w2, #44
	bl	_MLX4_PUT
	ldr	w1, [x20, #24]
	ldr	w0, [x19]
	mov	w2, #48
	bl	_MLX4_PUT
	ldr	w1, [x20, #28]
	ldr	w0, [x19]
	mov	w2, #32
	bl	_MLX4_PUT
	ldr	w1, [x20, #32]
	ldr	w0, [x19]
	mov	w2, #36
	bl	_MLX4_PUT
	ldp	w8, w9, [x20, #36]
	add	w1, w9, w8
	ldr	w0, [x19]
	mov	w2, #40
LBB0_4:
	bl	_MLX4_PUT
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QUERY_FUNC_CAP_CQ_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_CQ_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_ETH_PROPS_OFFSET,4,2 ; @QUERY_FUNC_CAP_ETH_PROPS_OFFSET
	.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
	.comm	_QUERY_FUNC_CAP_FMR_OFFSET,4,2  ; @QUERY_FUNC_CAP_FMR_OFFSET
	.comm	_QUERY_FUNC_CAP_MAX_EQ_OFFSET,4,2 ; @QUERY_FUNC_CAP_MAX_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_MCG_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_MCG_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	_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_PHYS_PORT_OFFSET,4,2 ; @QUERY_FUNC_CAP_PHYS_PORT_OFFSET
	.comm	_QUERY_FUNC_CAP_QP0_PROXY,4,2   ; @QUERY_FUNC_CAP_QP0_PROXY
	.comm	_QUERY_FUNC_CAP_QP0_TUNNEL,4,2  ; @QUERY_FUNC_CAP_QP0_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP1_PROXY,4,2   ; @QUERY_FUNC_CAP_QP1_PROXY
	.comm	_QUERY_FUNC_CAP_QP1_TUNNEL,4,2  ; @QUERY_FUNC_CAP_QP1_TUNNEL
	.comm	_QUERY_FUNC_CAP_QP_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_QP_QUOTA_OFFSET
	.comm	_QUERY_FUNC_CAP_RDMA_PROPS_OFFSET,4,2 ; @QUERY_FUNC_CAP_RDMA_PROPS_OFFSET
	.comm	_QUERY_FUNC_CAP_RESERVED_EQ_OFFSET,4,2 ; @QUERY_FUNC_CAP_RESERVED_EQ_OFFSET
	.comm	_QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET,4,2 ; @QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET
.subsections_via_symbols
