	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function counters_set_description
_counters_set_description:              ## @counters_set_description
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %r14d
	callq	_to_mcounters
	movq	%rax, %r15
	movq	_MLX5_IB_COUNTERS_FLOW@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	%r14d, (%r15)
	movq	_read_flow_counters@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_FLOW_COUNTERS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	%r12d, 4(%r15)
	xorl	%r14d, %r14d
	movl	$0, %ebx
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.3:
	movq	_IB_COUNTER_BYTES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	shlq	$4, %rcx
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%r13,%rdx)
	jg	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r13,%rdx), %esi
	leal	1(%rsi), %edi
	cmpl	%esi, %ebx
	cmovlel	%edi, %ebx
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
LBB0_6:
	movq	%r15, %r12
	addq	$12, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%r13, 16(%r15)
	movl	%ebx, 8(%r15)
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IB_COUNTERS_FLOW,4,2      ## @MLX5_IB_COUNTERS_FLOW
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_read_flow_counters,4,2         ## @read_flow_counters
	.comm	_FLOW_COUNTERS_NUM,4,2          ## @FLOW_COUNTERS_NUM
	.comm	_IB_COUNTER_BYTES,8,3           ## @IB_COUNTER_BYTES
	.no_dead_strip	_counters_set_description
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function counters_set_description
_counters_set_description:              ; @counters_set_description
	.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	x21, x3
	mov	x19, x2
	mov	x22, x1
	bl	_to_mcounters
Lloh0:
	adrp	x8, _MLX5_IB_COUNTERS_FLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_IB_COUNTERS_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x0
	str	w22, [x0]
Lloh3:
	adrp	x8, _read_flow_counters@GOTPAGE
Lloh4:
	ldr	x8, [x8, _read_flow_counters@GOTPAGEOFF]
Lloh5:
	adrp	x9, _FLOW_COUNTERS_NUM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FLOW_COUNTERS_NUM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	str	w21, [x0, #4]
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w22, #0
Lloh9:
	adrp	x8, _IB_COUNTER_BYTES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_COUNTER_BYTES@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, w21
	add	x10, x19, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x8
	b.gt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x10], #16
	cmp	w22, w11
	csinc	w22, w22, w11, gt
	subs	x9, x9, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_6:
	mov	w22, #0
LBB0_7:
	add	x21, x20, #12
	mov	x0, x21
	bl	_mutex_lock
	str	x19, [x20, #16]
	str	w22, [x20, #8]
	mov	x0, x21
	bl	_mutex_unlock
	mov	w0, #0
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IB_COUNTERS_FLOW,4,2      ; @MLX5_IB_COUNTERS_FLOW
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_read_flow_counters,4,2         ; @read_flow_counters
	.comm	_FLOW_COUNTERS_NUM,4,2          ; @FLOW_COUNTERS_NUM
	.comm	_IB_COUNTER_BYTES,8,3           ; @IB_COUNTER_BYTES
	.no_dead_strip	_counters_set_description
.subsections_via_symbols
