	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function red_enqueue
_red_enqueue:                           ## @red_enqueue
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_qdisc_priv
	movq	%rax, %r13
	movq	24(%rax), %r12
	leaq	20(%rax), %rbx
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	_red_calc_qavg
	movl	%eax, 20(%r13)
	movq	%rbx, %rdi
	callq	_red_is_idling
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_red_end_of_idle_period
LBB0_2:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_red_action
	cmpl	$129, %eax
	je	LBB0_9
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.4:
	incl	4(%r14)
	movq	%r13, %rdi
	callq	_red_use_ecn
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_INET_ECN_set_ce
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	%r13, %rax
	addq	$12, %rax
	jmp	LBB0_14
LBB0_9:
	incl	4(%r14)
	movq	%r13, %rdi
	callq	_red_use_harddrop
	testl	%eax, %eax
	je	LBB0_10
LBB0_12:
	addq	$8, %r13
	jmp	LBB0_7
LBB0_6:
	addq	$16, %r13
LBB0_7:
	incl	(%r13)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qdisc_drop
	movq	_NET_XMIT_CN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_19
LBB0_10:
	movq	%r13, %rdi
	callq	_red_use_ecn
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_INET_ECN_set_ce
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	%r13, %rax
	addq	$4, %rax
LBB0_14:
	incl	(%rax)
LBB0_15:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qdisc_enqueue
	movl	%eax, %r12d
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r12d
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	callq	_qdisc_pkt_len
	addl	%eax, 20(%r14)
	incl	16(%r14)
	incl	12(%r14)
	jmp	LBB0_19
LBB0_17:
	movl	%r12d, %edi
	callq	_net_xmit_drop_count
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	incl	(%r13)
	incl	(%r14)
LBB0_19:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.comm	_NET_XMIT_CN,4,2                ## @NET_XMIT_CN
	.no_dead_strip	_red_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function red_enqueue
_red_enqueue:                           ; @red_enqueue
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_qdisc_priv
	mov	x21, x0
	ldr	x22, [x0, #24]
	add	x23, x0, #20
	ldr	w1, [x22, #8]
	mov	x0, x23
	bl	_red_calc_qavg
	str	w0, [x21, #20]
	mov	x0, x23
	bl	_red_is_idling
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_red_end_of_idle_period
LBB0_2:
	ldr	w1, [x23]
	mov	x0, x23
	bl	_red_action
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #128
	b.ne	LBB0_15
; %bb.4:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_red_use_ecn
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_INET_ECN_set_ce
	cbz	w0, LBB0_9
; %bb.6:
	add	x8, x21, #12
	b	LBB0_14
LBB0_7:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_red_use_harddrop
	cbz	w0, LBB0_11
LBB0_8:
	add	x8, x21, #8
	b	LBB0_10
LBB0_9:
	add	x8, x21, #16
LBB0_10:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_qdisc_drop
Lloh0:
	adrp	x8, _NET_XMIT_CN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_XMIT_CN@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	b	LBB0_19
LBB0_11:
	mov	x0, x21
	bl	_red_use_ecn
	cbz	w0, LBB0_8
; %bb.12:
	mov	x0, x20
	bl	_INET_ECN_set_ce
	cbz	w0, LBB0_8
; %bb.13:
	add	x8, x21, #4
LBB0_14:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_15:
	mov	x0, x20
	mov	x1, x22
	bl	_qdisc_enqueue
	mov	x22, x0
Lloh3:
	adrp	x8, _NET_XMIT_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NET_XMIT_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_qdisc_pkt_len
	ldr	w8, [x19, #20]
	add	w8, w8, w0
	str	w8, [x19, #20]
	ldur	d0, [x19, #12]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x19, #12]
	b	LBB0_19
LBB0_17:
	mov	x0, x22
	bl	_net_xmit_drop_count
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_19:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.comm	_NET_XMIT_CN,4,2                ; @NET_XMIT_CN
	.no_dead_strip	_red_enqueue
.subsections_via_symbols
