	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_check_dev_cap
_mlx4_check_dev_cap:                    ## @mlx4_check_dev_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	_MLX4_DEV_CAP_FLAG2_80_VFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rsi)
	jne	LBB0_3
## %bb.1:
	movl	4(%rcx), %edx
	addl	(%rcx), %edx
	addl	8(%rcx), %edx
	cmpl	$64, %edx
	jl	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_mlx4_err
	movq	_MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_DEV_CAP_FLAG2_80_VFS,4,2  ## @MLX4_DEV_CAP_FLAG2_80_VFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requested %d VFs, but FW does not support more than 64\n"

	.comm	_MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64,4,2 ## @MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64
	.no_dead_strip	_mlx4_check_dev_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_check_dev_cap
_mlx4_check_dev_cap:                    ; @mlx4_check_dev_cap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x1]
Lloh0:
	adrp	x10, _MLX4_DEV_CAP_FLAG2_80_VFS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MLX4_DEV_CAP_FLAG2_80_VFS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.1:
	ldp	w9, w10, [x2]
	ldr	w11, [x2, #8]
	add	w9, w10, w9
	add	w2, w9, w11
	cmp	w2, #64
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_mlx4_err
Lloh5:
	adrp	x8, _MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_DEV_CAP_FLAG2_80_VFS,4,2  ; @MLX4_DEV_CAP_FLAG2_80_VFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requested %d VFs, but FW does not support more than 64\n"

	.comm	_MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64,4,2 ; @MLX4_DEV_CAP_CHECK_NUM_VFS_ABOVE_64
	.no_dead_strip	_mlx4_check_dev_cap
.subsections_via_symbols
