	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_per_q_stats_fill
_bnad_per_q_stats_fill:                 ## @bnad_per_q_stats_fill
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %eax
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_27
## %bb.1:
	movq	24(%rdi), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %ecx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	movslq	%ecx, %rdx
	cmpq	%rdx, %r9
	jge	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r9, %rdx
	shlq	$4, %rdx
	cmpl	$0, 8(%r8,%rdx)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdi), %r10d
	testl	%r10d, %r10d
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8,%rdx), %rcx
	addq	$24, %rcx
	xorl	%r11d, %r11d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r11
	movslq	%r10d, %rdx
	addq	$32, %rcx
	cmpq	%rdx, %r11
	jge	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-24(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rdx), %rbx
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	16(%rdx), %r10d
	movslq	%eax, %rbx
	movl	%r10d, (%rsi,%rbx,4)
	movl	$0, 4(%rsi,%rbx,4)
	movq	8(%rdx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rsi,%rbx,4)
	movl	(%rcx), %eax
	movl	%eax, 12(%rsi,%rbx,4)
	movl	-4(%rcx), %eax
	movl	%eax, 16(%rsi,%rbx,4)
	movl	-8(%rcx), %eax
	movl	%eax, 20(%rsi,%rbx,4)
	movl	-12(%rcx), %eax
	movl	%eax, 24(%rsi,%rbx,4)
	movl	-16(%rcx), %edx
	leal	8(%rbx), %eax
	movl	%edx, 28(%rsi,%rbx,4)
	movl	4(%rdi), %r10d
	jmp	LBB0_9
LBB0_12:
	testl	%ecx, %ecx
	jle	LBB0_27
## %bb.13:
	movq	24(%rdi), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rdi), %ecx
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r9
	movslq	%ecx, %rdx
	cmpq	%rdx, %r9
	jge	LBB0_27
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r9, %rdx
	shlq	$4, %rdx
	cmpl	$0, 8(%r8,%rdx)
	je	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, 4(%rdi)
	jle	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r8,%rdx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%rdx
	movslq	4(%rdi), %rbx
	addq	$32, %rcx
	cmpq	%rbx, %rdx
	jge	LBB0_25
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	(%rbx), %r10
	movq	(%r10), %r11
	testq	%r11, %r11
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	8(%r11), %r15
	testq	%r15, %r15
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	12(%r15), %r14d
	movslq	%eax, %rbx
	movl	%r14d, (%rsi,%rbx,4)
	movl	8(%r15), %eax
	movl	%eax, 4(%rsi,%rbx,4)
	movl	4(%r15), %eax
	movl	%eax, 8(%rsi,%rbx,4)
	movl	(%r15), %eax
	movl	%eax, 12(%rsi,%rbx,4)
	movl	4(%r11), %eax
	movl	%eax, 16(%rsi,%rbx,4)
	movl	(%r11), %r11d
	leal	6(%rbx), %eax
	movl	%r11d, 20(%rsi,%rbx,4)
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	8(%r10), %r10
	testq	%r10, %r10
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	8(%r10), %r14
	testq	%r14, %r14
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	12(%r14), %r11d
	movslq	%eax, %rbx
	movl	%r11d, (%rsi,%rbx,4)
	movl	8(%r14), %eax
	movl	%eax, 4(%rsi,%rbx,4)
	movl	4(%r14), %eax
	movl	%eax, 8(%rsi,%rbx,4)
	movl	(%r14), %eax
	movl	%eax, 12(%rsi,%rbx,4)
	movl	4(%r10), %eax
	movl	%eax, 16(%rsi,%rbx,4)
	movl	(%r10), %r10d
	leal	6(%rbx), %eax
	movl	%r10d, 20(%rsi,%rbx,4)
	jmp	LBB0_24
LBB0_27:
	movl	8(%rdi), %edx
	testl	%edx, %edx
	jle	LBB0_38
## %bb.28:
	movq	16(%rdi), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	8(%rdi), %edx
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%r9
	movslq	%edx, %rcx
	cmpq	%rcx, %r9
	jge	LBB0_38
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
	movq	%r9, %rcx
	shlq	$4, %rcx
	cmpl	$0, 8(%r8,%rcx)
	je	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	12(%rdi), %r11d
	testl	%r11d, %r11d
	jle	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r8,%rcx), %r10
	xorl	%edx, %edx
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=2
	incq	%rdx
	movslq	%r11d, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_36
LBB0_32:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r10,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	movq	16(%rcx), %r14
	testq	%r14, %r14
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=2
	movl	4(%r14), %r11d
	movslq	%eax, %rbx
	movl	%r11d, (%rsi,%rbx,4)
	movl	(%r14), %eax
	movl	%eax, 4(%rsi,%rbx,4)
	movl	12(%rcx), %eax
	movl	%eax, 8(%rsi,%rbx,4)
	movl	8(%rcx), %eax
	movl	%eax, 12(%rsi,%rbx,4)
	movq	(%rcx), %rax
	movl	(%rax), %ecx
	leal	5(%rbx), %eax
	movl	%ecx, 16(%rsi,%rbx,4)
	movl	12(%rdi), %r11d
	jmp	LBB0_35
LBB0_38:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bnad_per_q_stats_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_per_q_stats_fill
_bnad_per_q_stats_fill:                 ; @bnad_per_q_stats_fill
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0, #24]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	x11, x9, x8, lsl #4
	ldr	w11, [x11, #8]
	cbz	w11, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x0, #4]
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	lsl	x11, x8, #4
	ldr	x11, [x9, x11]
	add	x11, x11, #12
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x10, x10, #1
	add	x11, x11, #32
	cmp	x10, w12, sxtw
	b.ge	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x13, [x11, #-12]
	cbz	x13, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x14, [x13]
	ldr	x14, [x14]
	cbz	x14, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x14, [x14, #8]
	cbz	x14, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w12, [x13, #16]
	add	x14, x1, w2, sxtw #2
	stp	w12, wzr, [x14]
	ldr	x12, [x13, #8]
	ldr	w12, [x12]
	str	w12, [x14, #8]
	ldr	w12, [x11, #12]
	str	w12, [x14, #12]
	ldr	w12, [x11, #8]
	str	w12, [x14, #16]
	ldr	w12, [x11, #4]
	str	w12, [x14, #20]
	ldr	w12, [x11]
	str	w12, [x14, #24]
	ldur	w12, [x11, #-4]
	add	w2, w2, #8
	str	w12, [x14, #28]
	ldr	w12, [x0, #4]
	b	LBB0_7
LBB0_12:
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.13:
	mov	x8, #0
	ldr	x9, [x0, #24]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w10, [x0]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_27
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	add	x11, x9, x8, lsl #4
	ldr	w11, [x11, #8]
	cbz	w11, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w11, [x0, #4]
	cmp	w11, #1
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x10, #0
	lsl	x11, x8, #4
	ldr	x11, [x9, x11]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x10, x10, #1
	ldrsw	x12, [x0, #4]
	add	x11, x11, #32
	cmp	x10, x12
	b.ge	LBB0_14
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11]
	cbz	x12, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x12, [x12]
	ldr	x13, [x12]
	cbz	x13, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x14, [x13, #8]
	cbz	x14, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w15, [x14, #12]
	add	x16, x1, w2, sxtw #2
	str	w15, [x16]
	ldr	w15, [x14, #8]
	str	w15, [x16, #4]
	ldr	w15, [x14, #4]
	str	w15, [x16, #8]
	ldr	w14, [x14]
	str	w14, [x16, #12]
	ldr	w14, [x13, #4]
	str	w14, [x16, #16]
	ldr	w13, [x13]
	add	w2, w2, #6
	str	w13, [x16, #20]
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x12, [x12, #8]
	cbz	x12, LBB0_19
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x13, [x12, #8]
	cbz	x13, LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w14, [x13, #12]
	add	x15, x1, w2, sxtw #2
	str	w14, [x15]
	ldr	w14, [x13, #8]
	str	w14, [x15, #4]
	ldr	w14, [x13, #4]
	str	w14, [x15, #8]
	ldr	w13, [x13]
	str	w13, [x15, #12]
	ldr	w13, [x12, #4]
	str	w13, [x15, #16]
	ldr	w12, [x12]
	add	w2, w2, #6
	str	w12, [x15, #20]
	b	LBB0_19
LBB0_27:
	ldr	w10, [x0, #8]
	cmp	w10, #1
	b.lt	LBB0_38
; %bb.28:
	mov	x8, #0
	ldr	x9, [x0, #16]
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	w10, [x0, #8]
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_38
LBB0_31:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_35 Depth 2
	add	x11, x9, x8, lsl #4
	ldr	w11, [x11, #8]
	cbz	w11, LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w12, [x0, #12]
	cmp	w12, #1
	b.lt	LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x10, #0
	lsl	x11, x8, #4
	ldr	x11, [x9, x11]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=2
	add	x10, x10, #1
	cmp	x10, w12, sxtw
	b.ge	LBB0_29
LBB0_35:                                ;   Parent Loop BB0_31 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x11, x10, lsl #3]
	cbz	x13, LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
	ldr	x14, [x13, #16]
	cbz	x14, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=2
	ldr	w12, [x14, #4]
	add	x15, x1, w2, sxtw #2
	str	w12, [x15]
	ldr	w12, [x14]
	str	w12, [x15, #4]
	ldr	w12, [x13, #12]
	str	w12, [x15, #8]
	ldr	w12, [x13, #8]
	str	w12, [x15, #12]
	ldr	x12, [x13]
	ldr	w12, [x12]
	add	w2, w2, #5
	str	w12, [x15, #16]
	ldr	w12, [x0, #12]
	b	LBB0_34
LBB0_38:
	mov	x0, x2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bnad_per_q_stats_fill
.subsections_via_symbols
