	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pie_enqueue
_pie_enqueue:                           ## @pie_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
	subq	$24, %rsp
	.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, %rbx
	movl	(%rsi), %ecx
	leaq	16(%rdi), %r13
	movq	64(%rdi), %rsi
	movq	_ENQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_PIE_ACTIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, 16(%rdi)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_10
## %bb.2:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_drop_early
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	_DROP@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %eax
	jne	LBB0_10
## %bb.3:
	movq	_PIE_ECN_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi)
	je	LBB0_4
## %bb.5:
	movq	_PIE_PROB_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PIE_FIX_POINT_BITS@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movl	4(%rsi), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%eax, %r15d
	cmpl	%edx, 32(%rbx)
	jge	LBB0_10
## %bb.6:
	movq	%rdi, %r15
	movq	%r14, %rdi
	callq	_ecn_mark
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_ENQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_7:
	movl	(%r15), %r15d
LBB0_9:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_10:
	movl	(%r12), %eax
	testl	%eax, (%r13)
	jne	LBB0_13
## %bb.11:
	movq	8(%rbx), %rax
	cmpq	40(%rbx), %rax
	jl	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%rsi, %r12
	callq	_fq_activate_pie
	movq	%r12, %rsi
LBB0_13:
	cmpl	$0, 32(%rbx)
	jne	LBB0_19
## %bb.14:
	movl	8(%rsi), %eax
	sarl	%eax
	cmpl	%eax, 48(%rbx)
	jge	LBB0_19
## %bb.15:
	cmpl	%eax, 52(%rbx)
	jge	LBB0_19
## %bb.16:
	movq	16(%rsi), %rax
	movq	%rax, 24(%rbx)
	movq	_PIE_ON_OFF_MODE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_19
## %bb.17:
	cmpq	$0, 8(%rbx)
	jg	LBB0_19
## %bb.18:
	movq	%r13, %rdi
	movq	%rsi, %r12
	callq	_fq_deactivate_pie
	movq	%r12, %rsi
LBB0_19:
	movq	_DROP@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%r15d, %eax
	cmpl	%ecx, %r15d
	je	LBB0_24
## %bb.20:
	movq	_PIE_DEPRATEEST_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	testl	%edx, (%rsi)
	je	LBB0_21
LBB0_24:
	cmpl	%eax, %r15d
	jne	LBB0_25
LBB0_26:
	movl	$1, %r13d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	$1, %ecx
	callq	_fq_update_stats
	movq	$0, 56(%rbx)
	movq	%r14, %rdi
	callq	_FREE_PKT
	jmp	LBB0_27
LBB0_21:
	movq	_MTAG_ABI_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DN_AQM_MTAG_TS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_m_tag_locate
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	movq	_MTAG_ABI_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_m_tag_alloc
	testq	%rax, %rax
	je	LBB0_28
LBB0_23:
	movq	_AQM_UNOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_m_tag_prepend
	movl	(%r12), %eax
	cmpl	%eax, %r15d
	je	LBB0_26
LBB0_25:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mq_append
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_fq_update_stats
LBB0_27:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	%r14, %rdi
	callq	_m_freem
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENQUE,4,2                      ## @ENQUE
	.comm	_PIE_ACTIVE,4,2                 ## @PIE_ACTIVE
	.comm	_DROP,4,2                       ## @DROP
	.comm	_PIE_ECN_ENABLED,4,2            ## @PIE_ECN_ENABLED
	.comm	_PIE_PROB_BITS,4,2              ## @PIE_PROB_BITS
	.comm	_PIE_FIX_POINT_BITS,4,2         ## @PIE_FIX_POINT_BITS
	.comm	_PIE_ON_OFF_MODE_ENABLED,4,2    ## @PIE_ON_OFF_MODE_ENABLED
	.comm	_PIE_DEPRATEEST_ENABLED,4,2     ## @PIE_DEPRATEEST_ENABLED
	.comm	_MTAG_ABI_COMPAT,4,2            ## @MTAG_ABI_COMPAT
	.comm	_DN_AQM_MTAG_TS,4,2             ## @DN_AQM_MTAG_TS
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_AQM_UNOW,4,2                   ## @AQM_UNOW
	.no_dead_strip	_pie_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pie_enqueue
_pie_enqueue:                           ; @pie_enqueue
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w22, [x1]
	mov	x23, x0
	ldr	w8, [x23, #16]!
	ldr	x26, [x23, #48]
Lloh0:
	adrp	x28, _ENQUE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ENQUE@GOTPAGEOFF]
	ldr	w25, [x28]
Lloh2:
	adrp	x27, _PIE_ACTIVE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PIE_ACTIVE@GOTPAGEOFF]
	ldr	w9, [x27]
Lloh4:
	adrp	x24, _DROP@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DROP@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_9
; %bb.2:
	ldr	x1, [x20, #8]
	mov	x0, x23
	bl	_drop_early
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [x26]
Lloh6:
	adrp	x9, _PIE_ECN_ENABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PIE_ECN_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w8, [x20, #32]
	ldr	w9, [x26, #4]
Lloh9:
	adrp	x10, _PIE_PROB_BITS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PIE_PROB_BITS@GOTPAGEOFF]
Lloh11:
	adrp	x11, _PIE_FIX_POINT_BITS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _PIE_FIX_POINT_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	ldr	w11, [x11]
	sub	w10, w10, w11
	lsl	w9, w9, w10
	mov	x25, x0
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_ecn_mark
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w25, [x28]
	b	LBB0_9
LBB0_7:
	mov	x25, x0
	b	LBB0_9
LBB0_8:
	ldr	w25, [x24]
LBB0_9:
	ldr	w8, [x23]
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x20, #8]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.lt	LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_fq_activate_pie
LBB0_12:
	ldr	w8, [x20, #32]
	cbnz	w8, LBB0_18
; %bb.13:
	ldr	w9, [x20, #48]
	ldr	w8, [x26, #8]
	asr	w8, w8, #1
	cmp	w9, w8
	b.ge	LBB0_18
; %bb.14:
	ldr	w9, [x20, #52]
	cmp	w9, w8
	b.ge	LBB0_18
; %bb.15:
	ldr	x8, [x26, #16]
	str	x8, [x20, #24]
	ldr	w8, [x26]
Lloh15:
	adrp	x9, _PIE_ON_OFF_MODE_ENABLED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PIE_ON_OFF_MODE_ENABLED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.16:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	b.gt	LBB0_18
; %bb.17:
	mov	x0, x23
	bl	_fq_deactivate_pie
LBB0_18:
	ldr	w9, [x24]
	mov	x8, x25
	cmp	w25, w9
	b.eq	LBB0_20
; %bb.19:
	ldr	w10, [x26]
Lloh18:
	adrp	x8, _PIE_DEPRATEEST_ENABLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PIE_DEPRATEEST_ENABLED@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x8]
	mov	x8, x9
	tst	w11, w10
	b.eq	LBB0_22
LBB0_20:
	cmp	w25, w8
	b.ne	LBB0_25
LBB0_21:
	mov	w23, #1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #1
	bl	_fq_update_stats
	str	xzr, [x20, #56]
	mov	x0, x19
	bl	_FREE_PKT
	b	LBB0_26
LBB0_22:
Lloh21:
	adrp	x23, _MTAG_ABI_COMPAT@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MTAG_ABI_COMPAT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh23:
	adrp	x26, _DN_AQM_MTAG_TS@GOTPAGE
Lloh24:
	ldr	x26, [x26, _DN_AQM_MTAG_TS@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x3, #0
	bl	_m_tag_locate
	mov	x1, x0
	cbnz	x0, LBB0_24
; %bb.23:
	ldr	w0, [x23]
	ldr	w1, [x26]
Lloh25:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_m_tag_alloc
	mov	x1, x0
	cbz	x0, LBB0_27
LBB0_24:
Lloh28:
	adrp	x8, _AQM_UNOW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AQM_UNOW@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x1, #4]
	mov	x0, x19
	bl	_m_tag_prepend
	ldr	w8, [x24]
	cmp	w25, w8
	b.eq	LBB0_21
LBB0_25:
	mov	x0, x20
	mov	x1, x19
	bl	_mq_append
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_fq_update_stats
	mov	w23, #0
LBB0_26:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	mov	x0, x19
	bl	_m_freem
	brk	#0x1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ENQUE,4,2                      ; @ENQUE
	.comm	_PIE_ACTIVE,4,2                 ; @PIE_ACTIVE
	.comm	_DROP,4,2                       ; @DROP
	.comm	_PIE_ECN_ENABLED,4,2            ; @PIE_ECN_ENABLED
	.comm	_PIE_PROB_BITS,4,2              ; @PIE_PROB_BITS
	.comm	_PIE_FIX_POINT_BITS,4,2         ; @PIE_FIX_POINT_BITS
	.comm	_PIE_ON_OFF_MODE_ENABLED,4,2    ; @PIE_ON_OFF_MODE_ENABLED
	.comm	_PIE_DEPRATEEST_ENABLED,4,2     ; @PIE_DEPRATEEST_ENABLED
	.comm	_MTAG_ABI_COMPAT,4,2            ; @MTAG_ABI_COMPAT
	.comm	_DN_AQM_MTAG_TS,4,2             ; @DN_AQM_MTAG_TS
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_AQM_UNOW,4,2                   ; @AQM_UNOW
	.no_dead_strip	_pie_enqueue
.subsections_via_symbols
