	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fq_pie_new_sched
_fq_pie_new_sched:                      ## @fq_pie_new_sched
	.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	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_D
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_2:
	movq	%rdi, %r14
	addq	$40, %rdi
	movq	_DN_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edx
	callq	_set_oid
	movq	%r14, 32(%r14)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_M_DUMMYNET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %r13
	movq	_M_ZERO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%r13), %edx
	movl	$4, %edi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	addq	$4, %r12
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	orl	(%r13), %ecx
	movl	$16, %esi
	callq	_mallocarray
	movq	(%r14), %rdi
	movq	%rax, 8(%rdi)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_random
	movl	%eax, 16(%r14)
	movq	(%r14), %rax
	movq	$0, (%rax)
	leaq	12(%r14), %rdi
	callq	_STAILQ_INIT
	leaq	8(%r14), %rdi
	callq	_STAILQ_INIT
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	$8, 8(%r13)
	movq	(%r14), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_pie_init
	incq	%rbx
	movslq	(%r12), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	_fq_pie_desc@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	movl	(%r15), %esi
	callq	_free
	movq	$0, (%r14)
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	callq	_D
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"si already configured!"

	.comm	_DN_QUEUE,4,2                   ## @DN_QUEUE
	.comm	_M_DUMMYNET,4,2                 ## @M_DUMMYNET
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate memory for fq_pie si extra vars"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"cannot allocate memory for fq_pie flows"

	.comm	_fq_pie_desc,4,2                ## @fq_pie_desc
	.no_dead_strip	_fq_pie_new_sched
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fq_pie_new_sched
_fq_pie_new_sched:                      ; @fq_pie_new_sched
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D
	mov	w0, #0
	b	LBB0_11
LBB0_2:
	mov	x19, x0
	add	x0, x0, #40
Lloh2:
	adrp	x8, _DN_QUEUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DN_QUEUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #24
	bl	_set_oid
	str	x19, [x19, #32]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh5:
	adrp	x22, _M_DUMMYNET@GOTPAGE
Lloh6:
	ldr	x22, [x22, _M_DUMMYNET@GOTPAGEOFF]
Lloh7:
	adrp	x21, _M_NOWAIT@GOTPAGE
Lloh8:
	ldr	x21, [x21, _M_NOWAIT@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w8, [x21]
Lloh9:
	adrp	x23, _M_ZERO@GOTPAGE
Lloh10:
	ldr	x23, [x23, _M_ZERO@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w9, w8
	mov	w0, #4
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x20, #4]!
	ldr	w2, [x22]
	ldr	w8, [x21]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	w1, #16
	bl	_mallocarray
	mov	x21, x0
	ldr	x0, [x19]
	str	x21, [x0, #8]
	cbz	x21, LBB0_9
; %bb.4:
	bl	_random
	str	w0, [x19, #16]
	ldr	x8, [x19]
	str	xzr, [x8]
	add	x0, x19, #12
	bl	_STAILQ_INIT
	add	x0, x19, #8
	bl	_STAILQ_INIT
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	mov	w23, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	stp	x8, x23, [x21]
	mov	x0, x21
	mov	x1, x20
	bl	_pie_init
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #16
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_7:
	mov	w0, #0
Lloh11:
	adrp	x8, _fq_pie_desc@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fq_pie_desc@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_11
LBB0_8:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	w1, [x22]
	bl	_free
	str	xzr, [x19]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_D
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"si already configured!"

	.comm	_DN_QUEUE,4,2                   ; @DN_QUEUE
	.comm	_M_DUMMYNET,4,2                 ; @M_DUMMYNET
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate memory for fq_pie si extra vars"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"cannot allocate memory for fq_pie flows"

	.comm	_fq_pie_desc,4,2                ; @fq_pie_desc
	.no_dead_strip	_fq_pie_new_sched
.subsections_via_symbols
