	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gred_change_vq
_gred_change_vq:                        ## @gred_change_vq
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r13d
	callq	_qdisc_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movslq	%r13d, %r15
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
LBB0_3:
	movl	%r13d, (%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movl	20(%r12), %eax
	movl	%eax, 20(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	leaq	16(%rbx), %rdi
	callq	_red_end_of_idle_period
LBB0_5:
	addq	$16, %rbx
	movl	16(%r12), %esi
	movl	12(%r12), %edx
	movl	8(%r12), %ecx
	movl	(%r12), %r9d
	movl	4(%r12), %r8d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	callq	_red_set_parms
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_gred_change_vq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gred_change_vq
_gred_change_vq:                        ; @gred_change_vq
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	bl	_qdisc_priv
	ldr	x8, [x0]
	ldr	x24, [x8, w22, sxtw #3]
	cbnz	x24, LBB0_2
; %bb.1:
	mov	x23, x0
	sxtw	x24, w22
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	ldr	x8, [x23]
	lsl	x9, x24, #3
	str	x0, [x8, x9]
	ldr	x8, [x23]
	ldr	x24, [x8, x9]
	cbz	x24, LBB0_6
LBB0_2:
	stp	w22, w21, [x24]
	ldr	w8, [x20, #20]
	str	w8, [x24, #20]
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	add	x0, x24, #16
	bl	_red_end_of_idle_period
LBB0_4:
	add	x0, x24, #16
	ldp	w2, w1, [x20, #12]
	ldp	w4, w3, [x20, #4]
	ldr	w5, [x20]
	mov	x6, x19
	bl	_red_set_parms
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_gred_change_vq
.subsections_via_symbols
