	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_abm_mq_stats
_nfp_abm_mq_stats:                      ## @nfp_abm_mq_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %rbx
	callq	_nfp_abm_qdisc_find
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_nfp_abm_stats_update
	leaq	16(%r14), %rbx
	movq	%r14, %rdi
	addq	$20, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpl	$0, (%r14)
	je	LBB0_10
## %bb.3:
	xorl	%esi, %esi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	cmpq	%rax, %rsi
	jae	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r14, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_nfp_abm_qdisc_child_valid
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	callq	_nfp_abm_qdisc_is_red
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r14
	cmpl	$0, 24(%r14)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$4, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r14), %rsi
	addq	%r15, %rsi
	movq	%rbx, %rdi
	callq	_nfp_abm_stats_propagate
	movq	32(%r14), %rax
	leaq	(%rax,%r15), %rsi
	addq	$-4, %rsi
	movq	%r13, %rdi
	callq	_nfp_abm_stats_propagate
	incq	%r12
	movl	24(%r14), %eax
	addq	$8, %r15
	cmpq	%rax, %r12
	jb	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_nfp_abm_stats_calculate
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpq	$0, 8(%r14)
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	jmp	LBB0_11
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nfp_abm_mq_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_abm_mq_stats
_nfp_abm_mq_stats:                      ; @nfp_abm_mq_stats
	.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	x19, x2
	mov	x21, x0
	bl	_nfp_abm_qdisc_find
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_nfp_abm_stats_update
	add	x21, x20, #16
	add	x22, x20, #20
	mov	x0, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	x23, x8
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	mov	x1, x23
	bl	_nfp_abm_qdisc_child_valid
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #40]
	ldr	x0, [x8, x23, lsl #3]
	bl	_nfp_abm_qdisc_is_red
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #40]
	ldr	x24, [x8, x23, lsl #3]
	ldr	w8, [x24, #24]
	cbz	w8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	mov	w26, #4
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24, #32]
	add	x1, x8, x26
	mov	x0, x22
	bl	_nfp_abm_stats_propagate
	ldr	x8, [x24, #32]
	add	x8, x8, x26
	sub	x1, x8, #4
	mov	x0, x21
	bl	_nfp_abm_stats_propagate
	add	x25, x25, #1
	ldr	w8, [x24, #24]
	add	x26, x26, #8
	cmp	x25, x8
	b.lo	LBB0_8
	b	LBB0_3
LBB0_9:
	ldp	w3, w2, [x19]
	mov	x0, x22
	mov	x1, x21
	bl	_nfp_abm_stats_calculate
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csneg	w0, wzr, w9, ne
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nfp_abm_mq_stats
.subsections_via_symbols
