	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_get_qset_stats
_nicvf_get_qset_stats:                  ## @nicvf_get_qset_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.2:
	xorl	%r15d, %r15d
	movq	_nicvf_n_queue_stats@GOTPCREL(%rip), %r12
	movq	_nicvf_queue_stats@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	(%r14), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_6
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_nicvf_update_rq_stats
	movl	(%r12), %r8d
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %r8d
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rsi
	leaq	(,%r15,4), %rdi
	movq	16(%rsi), %rsi
	addq	%rdi, %rsi
	movq	(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rsi,%rax,8), %rax
	movq	(%rbx), %rsi
	leaq	8(%rsi), %rdx
	movq	%rdx, (%rbx)
	movq	%rax, (%rsi)
	movq	(%r14), %rax
	addq	16(%rax), %rdi
	movq	(%r13), %rax
	movq	8(%rax,%rcx,8), %rax
	movq	(%rdi,%rax,8), %rax
	movq	(%rbx), %rdx
	leaq	8(%rdx), %rsi
	movq	%rsi, (%rbx)
	movq	%rax, (%rdx)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r8b
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	leaq	(,%r15,4), %rdx
	addq	16(%rax), %rdx
	movq	(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rdx,%rax,8), %rax
	movq	(%rbx), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rbx)
	movq	%rax, (%rcx)
	jmp	LBB0_15
LBB0_6:
	cmpl	$0, 4(%rax)
	jle	LBB0_21
## %bb.7:
	xorl	%r15d, %r15d
	movq	_nicvf_n_queue_stats@GOTPCREL(%rip), %r12
	movq	_nicvf_queue_stats@GOTPCREL(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	movq	(%r14), %rax
	movslq	4(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_nicvf_update_sq_stats
	movl	(%r12), %r8d
	testl	%r8d, %r8d
	jle	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$1, %r8d
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rsi
	leaq	(,%r15,4), %rdi
	movq	8(%rsi), %rsi
	addq	%rdi, %rsi
	movq	(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rsi,%rax,8), %rax
	movq	(%rbx), %rsi
	leaq	8(%rsi), %rdx
	movq	%rdx, (%rbx)
	movq	%rax, (%rsi)
	movq	(%r14), %rax
	addq	8(%rax), %rdi
	movq	(%r13), %rax
	movq	8(%rax,%rcx,8), %rax
	movq	(%rdi,%rax,8), %rax
	movq	(%rbx), %rdx
	leaq	8(%rdx), %rsi
	movq	%rsi, (%rbx)
	movq	%rax, (%rdx)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, %r8b
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rax
	leaq	(,%r15,4), %rdx
	addq	8(%rax), %rdx
	movq	(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rdx,%rax,8), %rax
	movq	(%rbx), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rbx)
	movq	%rax, (%rcx)
	jmp	LBB0_20
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nicvf_n_queue_stats,4,2        ## @nicvf_n_queue_stats
	.comm	_nicvf_queue_stats,8,3          ## @nicvf_queue_stats
	.no_dead_strip	_nicvf_get_qset_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_get_qset_stats
_nicvf_get_qset_stats:                  ; @nicvf_get_qset_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x22, _nicvf_n_queue_stats@GOTPAGE
Lloh1:
	ldr	x22, [x22, _nicvf_n_queue_stats@GOTPAGEOFF]
Lloh2:
	adrp	x23, _nicvf_queue_stats@GOTPAGE
Lloh3:
	ldr	x23, [x23, _nicvf_queue_stats@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x20
	mov	x1, x21
	bl	_nicvf_update_rq_stats
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x20]
	ldr	x10, [x10, #16]
	add	x10, x10, x21, lsl #2
	ldr	x11, [x23]
	ldr	x11, [x11, x8]
	ldr	x10, [x10, x11, lsl #3]
	ldr	x11, [x19]
	add	x12, x11, #8
	str	x12, [x19]
	str	x10, [x11]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_6
	b	LBB0_3
LBB0_7:
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	mov	x21, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	ldrsw	x8, [x8, #4]
	cmp	x21, x8
	b.ge	LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x20
	mov	x1, x21
	bl	_nicvf_update_sq_stats
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x20]
	ldr	x10, [x10, #8]
	add	x10, x10, x21, lsl #2
	ldr	x11, [x23]
	ldr	x11, [x11, x8]
	ldr	x10, [x10, x11, lsl #3]
	ldr	x11, [x19]
	add	x12, x11, #8
	str	x12, [x19]
	str	x10, [x11]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_12
	b	LBB0_9
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nicvf_n_queue_stats,4,2        ; @nicvf_n_queue_stats
	.comm	_nicvf_queue_stats,8,3          ; @nicvf_queue_stats
	.no_dead_strip	_nicvf_get_qset_stats
.subsections_via_symbols
