	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gred_dump
_gred_dump:                             ## @gred_dump
	.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	$104, %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	_qdisc_priv
	movq	%rax, %r15
	movl	8(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%r15, %rdi
	callq	_gred_rio_mode
	movl	%eax, -60(%rbp)
	movl	12(%r15), %eax
	movl	%eax, -56(%rbp)
	movl	16(%r15), %eax
	movl	%eax, -52(%rbp)
	movq	_TCA_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nla_nest_start
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_TCA_GRED_DPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_NLA_PUT
	movq	_TCA_GRED_PARMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nla_nest_start
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	_MAX_DPs@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_13
## %bb.3:
	xorl	%r13d, %r13d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r12
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	testq	%r12, %r12
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	60(%r12), %eax
	movl	%eax, -84(%rbp)
	movl	(%r12), %eax
	movl	%eax, -144(%rbp)
	movl	56(%r12), %eax
	movl	%eax, -88(%rbp)
	movl	52(%r12), %eax
	movl	%eax, -92(%rbp)
	leaq	4(%r12), %rbx
	movl	4(%r12), %eax
	movl	8(%r12), %ecx
	sarl	%cl, %eax
	movl	%eax, -140(%rbp)
	movl	12(%r12), %eax
	sarl	%cl, %eax
	movl	%eax, -136(%rbp)
	movl	%ecx, -132(%rbp)
	movsd	20(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movsd	44(%r12), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, -108(%rbp)
	movups	28(%r12), %xmm0
	movups	%xmm0, -124(%rbp)
	movq	%r15, %rdi
	callq	_gred_wred_mode
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_gred_load_wred_set
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r12), %esi
	movq	%rbx, %rdi
	callq	_red_calc_qavg
	movl	%eax, -128(%rbp)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	addl	%r13d, %eax
	movl	%eax, -144(%rbp)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$64, %esi
	leaq	-144(%rbp), %rdx
	callq	_nla_append
	testq	%rax, %rax
	js	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jl	LBB0_5
LBB0_13:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_end
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_end
	jmp	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_OPTIONS,4,2                ## @TCA_OPTIONS
	.comm	_TCA_GRED_DPS,4,2               ## @TCA_GRED_DPS
	.comm	_TCA_GRED_PARMS,4,2             ## @TCA_GRED_PARMS
	.comm	_MAX_DPs,4,2                    ## @MAX_DPs
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_gred_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gred_dump
_gred_dump:                             ; @gred_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x1
	bl	_qdisc_priv
	mov	x20, x0
	ldr	w8, [x0, #8]
	str	w8, [sp, #64]
	bl	_gred_rio_mode
	str	w0, [sp, #68]
	ldur	d0, [x20, #12]
	str	d0, [sp, #72]
Lloh0:
	adrp	x8, _TCA_OPTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCA_OPTIONS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_nest_start
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.1:
Lloh3:
	adrp	x8, _TCA_GRED_DPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_GRED_DPS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #64
	mov	x0, x19
	mov	w2, #16
	bl	_NLA_PUT
Lloh6:
	adrp	x8, _TCA_GRED_PARMS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCA_GRED_PARMS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_nest_start
	cbz	x0, LBB0_12
; %bb.2:
	mov	x22, x0
Lloh9:
	adrp	x25, _MAX_DPs@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MAX_DPs@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x23, [x8, x26, lsl #3]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	cbz	x23, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #60]
	str	w8, [sp, #60]
	ldr	w8, [x23]
	ldur	d0, [x23, #52]
	stur	d0, [sp, #52]
	mov	x24, x23
	ldp	w9, w10, [x24, #4]!
	ldr	w11, [x24, #8]
	asr	w9, w9, w10
	stp	w8, w9, [sp]
	asr	w8, w11, w10
	stp	w8, w10, [sp, #8]
	ldr	d0, [x24, #16]
	ldr	d1, [x24, #40]
	mov.d	v1[1], v0[0]
	stur	q1, [sp, #36]
	ldur	q0, [x24, #24]
	stur	q0, [sp, #20]
	mov	x0, x20
	bl	_gred_wred_mode
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_gred_load_wred_set
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x24
	bl	_red_calc_qavg
	str	w0, [sp, #16]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	add	w8, w26, w8
	str	w8, [sp]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, sp
	mov	x0, x19
	mov	w1, #64
	bl	_nla_append
	tbnz	x0, #63, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.lt	LBB0_4
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	bl	_nla_nest_end
	mov	x0, x19
	mov	x1, x21
	bl	_nla_nest_end
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_nla_nest_cancel
Lloh11:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_OPTIONS,4,2                ; @TCA_OPTIONS
	.comm	_TCA_GRED_DPS,4,2               ; @TCA_GRED_DPS
	.comm	_TCA_GRED_PARMS,4,2             ; @TCA_GRED_PARMS
	.comm	_MAX_DPs,4,2                    ; @MAX_DPs
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_gred_dump
.subsections_via_symbols
