	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_get_vf_stats              ## -- Begin function mlx4_get_vf_stats
	.p2align	4, 0x90
_mlx4_get_vf_stats:                     ## @mlx4_get_vf_stats
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_mlx4_is_master
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_mlx4_get_slave_indx
	testl	%eax, %eax
	js	LBB0_1
## %bb.6:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_mlx4_slaves_closest_port
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mlx4_calc_vf_counters
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	cmpq	$0, -56(%rbp)
	jne	LBB0_9
## %bb.8:
	movl	-36(%rbp), %edi
	callq	_be64_to_cpu
	movq	%rax, 24(%r14)
	movl	-40(%rbp), %edi
	callq	_be64_to_cpu
	movq	%rax, 16(%r14)
	movl	-44(%rbp), %edi
	callq	_be64_to_cpu
	movq	%rax, 8(%r14)
	movl	-48(%rbp), %edi
	callq	_be64_to_cpu
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_get_vf_stats              ; -- Begin function mlx4_get_vf_stats
	.p2align	2
_mlx4_get_vf_stats:                     ; @mlx4_get_vf_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x3, LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_mlx4_is_master
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	bl	_mlx4_get_slave_indx
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_mlx4_slaves_closest_port
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x22
	bl	_mlx4_calc_vf_counters
	cbnz	w0, LBB0_9
; %bb.4:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_9
; %bb.5:
	ldr	w0, [sp, #28]
	bl	_be64_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [sp, #24]
	bl	_be64_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [sp, #20]
	bl	_be64_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [sp, #16]
	bl	_be64_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
.subsections_via_symbols
