	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_rx_reporter_diagnose
_mlx5e_rx_reporter_diagnose:            ## @mlx5e_rx_reporter_diagnose
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_devlink_health_reporter_priv
	movq	%rax, %r13
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%r13), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	addq	$24, %r13
	movq	16(%r12), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_mlx5e_rqwq_get_size
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	32(%r12), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mlx5e_mpwqe_get_log_stride_size
	movl	%eax, %edi
	callq	_BIT
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mlx5e_reporter_named_obj_nest_start
	movq	%rbx, %rdi
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mlx5e_reporter_named_obj_nest_start
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.4:
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_devlink_fmsg_u8_pair_put
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	callq	_devlink_fmsg_u64_pair_put
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_devlink_fmsg_u32_pair_put
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	callq	_mlx5e_reporter_named_obj_nest_end
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	movq	%r15, %rdi
	callq	_mlx5e_reporter_cq_common_diagnose
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:
	callq	_mlx5e_reporter_named_obj_nest_end
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	callq	_devlink_fmsg_arr_pair_nest_start
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	cmpl	$0, 8(%r12)
	jle	LBB0_15
## %bb.12:
	xorl	%r14d, %r14d
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	movq	%r15, %rsi
	callq	_mlx5e_rx_reporter_build_diagnose_output
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r14
	movslq	8(%r12), %rax
	cmpq	%rax, %r14
	jl	LBB0_14
LBB0_15:
	movq	%r15, %rdi
	callq	_devlink_fmsg_arr_pair_nest_end
LBB0_16:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_1:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Common config"

L_.str.1:                               ## @.str.1
	.asciz	"RQ"

L_.str.2:                               ## @.str.2
	.asciz	"type"

L_.str.3:                               ## @.str.3
	.asciz	"stride size"

L_.str.4:                               ## @.str.4
	.asciz	"size"

L_.str.5:                               ## @.str.5
	.asciz	"RQs"

	.no_dead_strip	_mlx5e_rx_reporter_diagnose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_rx_reporter_diagnose
_mlx5e_rx_reporter_diagnose:            ; @mlx5e_rx_reporter_diagnose
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	bl	_devlink_health_reporter_priv
	mov	x19, x0
	bl	_mutex_lock
Lloh0:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #36
	bl	_test_bit
	cbz	w0, LBB0_16
; %bb.1:
	add	x24, x19, #24
	ldr	x8, [x19, #16]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_mlx5e_rqwq_get_size
	mov	x22, x0
	ldr	w0, [x19, #32]
	mov	x1, x24
	mov	x2, #0
	bl	_mlx5e_mpwqe_get_log_stride_size
	bl	_BIT
	mov	x25, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mlx5e_reporter_named_obj_nest_start
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mlx5e_reporter_named_obj_nest_start
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.3:
	ldr	w2, [x24]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devlink_fmsg_u8_pair_put
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.4:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_devlink_fmsg_u64_pair_put
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.5:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_devlink_fmsg_u32_pair_put
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.6:
	mov	x0, x20
	bl	_mlx5e_reporter_named_obj_nest_end
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	bl	_mlx5e_reporter_cq_common_diagnose
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.8:
	mov	x0, x20
	bl	_mlx5e_reporter_named_obj_nest_end
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.9:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_devlink_fmsg_arr_pair_nest_start
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.10:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.11:
	mov	x21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x21, lsl #3]
	mov	x1, x20
	bl	_mlx5e_rx_reporter_build_diagnose_output
	cbnz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	cmp	x21, x8
	b.lt	LBB0_12
LBB0_14:
	mov	x0, x20
	bl	_devlink_fmsg_arr_pair_nest_end
LBB0_15:
	mov	x23, x0
	b	LBB0_17
LBB0_16:
	mov	w23, #0
LBB0_17:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Common config"

l_.str.1:                               ; @.str.1
	.asciz	"RQ"

l_.str.2:                               ; @.str.2
	.asciz	"type"

l_.str.3:                               ; @.str.3
	.asciz	"stride size"

l_.str.4:                               ; @.str.4
	.asciz	"size"

l_.str.5:                               ; @.str.5
	.asciz	"RQs"

	.no_dead_strip	_mlx5e_rx_reporter_diagnose
.subsections_via_symbols
