	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fq_pie_config
_fq_pie_config:                         ## @fq_pie_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	cmpl	$24, 8(%rax)
	jne	LBB0_22
## %bb.2:
	movq	16(%rax), %rcx
	movq	_DN_SCH_PARAMS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
## %bb.3:
	movq	%rdi, %rbx
	movq	(%rax), %rcx
	movq	(%rcx), %rdi
	movq	_fq_pie_sysctl@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	jns	LBB0_5
## %bb.4:
	movq	24(%rax), %rdi
LBB0_5:
	movq	%rdi, 32(%rbx)
	movq	8(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_7
## %bb.6:
	movq	32(%rax), %rdx
LBB0_7:
	movq	%rdx, 40(%rbx)
	movq	16(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_9
## %bb.8:
	movq	40(%rax), %rdx
LBB0_9:
	movq	%rdx, 48(%rbx)
	movq	24(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_11
## %bb.10:
	movq	48(%rax), %rdx
LBB0_11:
	movq	%rdx, 56(%rbx)
	movq	32(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_13
## %bb.12:
	movq	56(%rax), %rdx
LBB0_13:
	movq	%rdx, 64(%rbx)
	movq	40(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_15
## %bb.14:
	movq	64(%rax), %rdx
LBB0_15:
	movq	%rdx, 72(%rbx)
	movq	48(%rcx), %rdx
	xorl	%r14d, %r14d
	testq	%rdx, %rdx
	cmovleq	%r14, %rdx
	movq	%rdx, 80(%rbx)
	movq	56(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_17
## %bb.16:
	movq	(%rax), %rdx
LBB0_17:
	movq	%rdx, 8(%rbx)
	movq	64(%rcx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_19
## %bb.18:
	movq	8(%rax), %rdx
LBB0_19:
	movq	%rdx, 16(%rbx)
	movq	72(%rcx), %rcx
	testq	%rcx, %rcx
	jns	LBB0_21
## %bb.20:
	movq	16(%rax), %rcx
LBB0_21:
	movq	%rcx, 24(%rbx)
	movq	_AQM_TIME_1S@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %edx
	movl	$1, %esi
	callq	_BOUND_VAR
	movq	%rax, 32(%rbx)
	movq	40(%rbx), %rdi
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %edx
	movl	$1, %esi
	callq	_BOUND_VAR
	movq	%rax, 40(%rbx)
	movq	48(%rbx), %rdi
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %edx
	xorl	%esi, %esi
	callq	_BOUND_VAR
	movq	%rax, 48(%rbx)
	movq	56(%rbx), %rdi
	movq	_PIE_SCALE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_BOUND_VAR
	movq	%rax, 56(%rbx)
	movq	64(%rbx), %rdi
	movl	(%r15), %eax
	leal	(,%rax,8), %edx
	subl	%eax, %edx
	xorl	%esi, %esi
	callq	_BOUND_VAR
	movq	%rax, 64(%rbx)
	movq	72(%rbx), %rdi
	movl	(%r15), %eax
	leal	(,%rax,8), %edx
	subl	%eax, %edx
	xorl	%esi, %esi
	callq	_BOUND_VAR
	movq	%rax, 72(%rbx)
	movq	8(%rbx), %rdi
	movl	$1, %esi
	movl	$9000, %edx                     ## imm = 0x2328
	callq	_BOUND_VAR
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rdi
	movl	$1, %esi
	movl	$20480, %edx                    ## imm = 0x5000
	callq	_BOUND_VAR
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rdi
	movl	$1, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_BOUND_VAR
	movq	%rax, 24(%rbx)
	jmp	LBB0_23
LBB0_22:
	leaq	L_.str(%rip), %rdi
	callq	_D
	movl	$1, %r14d
LBB0_23:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DN_SCH_PARAMS,8,3              ## @DN_SCH_PARAMS
	.comm	_fq_pie_sysctl,72,3             ## @fq_pie_sysctl
	.comm	_AQM_TIME_1S,4,2                ## @AQM_TIME_1S
	.comm	_PIE_SCALE,4,2                  ## @PIE_SCALE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong parameters for fq_pie scheduler"

	.no_dead_strip	_fq_pie_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fq_pie_config
_fq_pie_config:                         ; @fq_pie_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x8, #8]
	cmp	w9, #24
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x8, #16]
Lloh0:
	adrp	x10, _DN_SCH_PARAMS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DN_SCH_PARAMS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	mov	x19, x0
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _fq_pie_sysctl@GOTPAGE
Lloh4:
	ldr	x10, [x10, _fq_pie_sysctl@GOTPAGEOFF]
	ldr	x11, [x10, #24]
	cmp	x9, #0
	csel	x0, x11, x9, lt
	str	x0, [x19, #32]
	ldr	x9, [x8, #8]
	ldr	x11, [x10, #32]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #40]
	ldr	x9, [x8, #16]
	ldr	x11, [x10, #40]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #48]
	ldr	x9, [x8, #24]
	ldr	x11, [x10, #48]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #56]
	ldr	x9, [x8, #32]
	ldr	x11, [x10, #56]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #64]
	ldr	x9, [x8, #40]
	ldr	x11, [x10, #64]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #72]
	ldr	x9, [x8, #48]
	cmp	x9, #0
	csel	x9, x9, xzr, gt
	str	x9, [x19, #80]
	ldr	x9, [x8, #56]
	ldr	x11, [x10]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #8]
	ldr	x9, [x8, #64]
	ldr	x11, [x10, #8]
	cmp	x9, #0
	csel	x9, x11, x9, lt
	str	x9, [x19, #16]
	ldr	x8, [x8, #72]
	ldr	x9, [x10, #16]
	cmp	x8, #0
	csel	x8, x9, x8, lt
	str	x8, [x19, #24]
Lloh5:
	adrp	x20, _AQM_TIME_1S@GOTPAGE
Lloh6:
	ldr	x20, [x20, _AQM_TIME_1S@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w2, w8, w8, lsl #2
	mov	w1, #1
	bl	_BOUND_VAR
	str	x0, [x19, #32]
	ldr	x0, [x19, #40]
	ldr	w8, [x20]
	add	w2, w8, w8, lsl #2
	mov	w1, #1
	bl	_BOUND_VAR
	str	x0, [x19, #40]
	ldr	x0, [x19, #48]
	ldr	w8, [x20]
	add	w2, w8, w8, lsl #2
	mov	w1, #0
	bl	_BOUND_VAR
	str	x0, [x19, #48]
	ldr	x0, [x19, #56]
Lloh7:
	adrp	x20, _PIE_SCALE@GOTPAGE
Lloh8:
	ldr	x20, [x20, _PIE_SCALE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	bl	_BOUND_VAR
	str	x0, [x19, #56]
	ldr	x0, [x19, #64]
	ldr	w8, [x20]
	lsl	w9, w8, #3
	sub	w2, w9, w8
	mov	w1, #0
	bl	_BOUND_VAR
	str	x0, [x19, #64]
	ldr	x0, [x19, #72]
	ldr	w8, [x20]
	lsl	w9, w8, #3
	sub	w2, w9, w8
	mov	w1, #0
	bl	_BOUND_VAR
	str	x0, [x19, #72]
	ldr	x0, [x19, #8]
	mov	w1, #1
	mov	w2, #9000
	bl	_BOUND_VAR
	str	x0, [x19, #8]
	ldr	x0, [x19, #16]
	mov	w1, #1
	mov	w2, #20480
	bl	_BOUND_VAR
	str	x0, [x19, #16]
	ldr	x0, [x19, #24]
	mov	w1, #1
	mov	w2, #65536
	bl	_BOUND_VAR
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #24]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DN_SCH_PARAMS,8,3              ; @DN_SCH_PARAMS
	.comm	_fq_pie_sysctl,72,3             ; @fq_pie_sysctl
	.comm	_AQM_TIME_1S,4,2                ; @AQM_TIME_1S
	.comm	_PIE_SCALE,4,2                  ; @PIE_SCALE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong parameters for fq_pie scheduler"

	.no_dead_strip	_fq_pie_config
.subsections_via_symbols
