	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_init_domain
_vm_pageout_init_domain:                ## @vm_pageout_init_domain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_VM_DOMAIN
	movq	%rax, %rbx
	movl	$2, (%rax)
	movl	4(%rax), %esi
	movl	$4, %ecx
	cmpl	$1025, %esi                     ## imm = 0x401
	jl	LBB0_2
## %bb.1:
	leal	-1024(%rsi), %eax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	shrq	$38, %rcx
	addl	$4, %ecx
LBB0_2:
	movq	_MAXBSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %edx
	movl	%edx, 12(%rbx)
	movq	_vm_pageout_page_count@GOTPCREL(%rip), %rdx
	movslq	%esi, %rsi
	imulq	$715827883, %rsi, %rsi          ## imm = 0x2AAAAAAB
	movq	%rsi, %rdi
	shrq	$63, %rdi
	shrq	$32, %rsi
	sarl	$7, %esi
	addl	%edi, %esi
	addl	%eax, %esi
	addl	$2, %esi
	addl	(%rdx), %esi
	movl	%esi, 16(%rbx)
	movl	%ecx, %edx
	shrl	%edx
	leal	(%rsi,%rcx,4), %eax
	movl	%eax, 24(%rbx)
	addl	%esi, %ecx
	movl	%ecx, 8(%rbx)
	addl	%esi, %edx
	movl	%edx, 20(%rbx)
	leal	(%rax,%rax,2), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movslq	32(%rbx), %rdx
	imulq	$1431655766, %rdx, %rdx         ## imm = 0x55555556
	movq	%rdx, %rdi
	shrq	$63, %rdi
	shrq	$32, %rdx
	addl	%edi, %edx
	cmpl	%edx, %esi
	cmovll	%esi, %edx
	movl	%edx, 28(%rbx)
	movslq	%eax, %r10
	imulq	$1717986919, %r10, %rax         ## imm = 0x66666667
	movq	%rax, %rdx
	shrq	$63, %rdx
	shrq	$32, %rax
	sarl	$2, %eax
	addl	%edx, %eax
	leal	(%rax,%rax,8), %eax
	movl	%eax, 36(%rbx)
	movl	%r10d, %eax
	subl	%ecx, %eax
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	sarl	$2, %eax
	addl	%ecx, %eax
	movl	%eax, 40(%rbx)
	movq	%rbx, %r14
	addq	$44, %r14
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VM_INACT_SCAN_RATE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	_PIDCTRL_BOUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PIDCTRL_KPD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	_PIDCTRL_KID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_PIDCTRL_KDD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r10d, %edx
	callq	_pidctrl_init
	movq	48(%rbx), %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rsp)
	leaq	L_.str(%rip), %rcx
	xorl	%edi, %edi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	callq	_SYSCTL_ADD_NODE
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pidctrl_init_sysctl            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXBSIZE,4,2                   ## @MAXBSIZE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_vm_pageout_page_count,4,2      ## @vm_pageout_page_count
	.comm	_hz,4,2                         ## @hz
	.comm	_VM_INACT_SCAN_RATE,4,2         ## @VM_INACT_SCAN_RATE
	.comm	_PIDCTRL_BOUND,4,2              ## @PIDCTRL_BOUND
	.comm	_PIDCTRL_KPD,4,2                ## @PIDCTRL_KPD
	.comm	_PIDCTRL_KID,4,2                ## @PIDCTRL_KID
	.comm	_PIDCTRL_KDD,4,2                ## @PIDCTRL_KDD
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pidctrl"

	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_vm_pageout_init_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout_init_domain
_vm_pageout_init_domain:                ; @vm_pageout_init_domain
	.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
	bl	_VM_DOMAIN
	mov	x19, x0
	mov	w8, #2
	str	w8, [x0]
	ldr	w9, [x0, #4]
	cmp	w9, #1025
	b.lt	LBB0_2
; %bb.1:
	sub	w8, w9, #1024
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x8, w8, w10
	lsr	x8, x8, #38
	add	w8, w8, #4
	b	LBB0_3
LBB0_2:
	mov	w8, #4
LBB0_3:
Lloh0:
	adrp	x10, _MAXBSIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAXBSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w10, w10, #1
Lloh3:
	adrp	x11, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	sdiv	w10, w10, w11
	add	w10, w10, #2
Lloh6:
	adrp	x11, _vm_pageout_page_count@GOTPAGE
Lloh7:
	ldr	x11, [x11, _vm_pageout_page_count@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	mov	w12, #43691
	movk	w12, #10922, lsl #16
	smull	x9, w9, w12
	lsr	x12, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w12, asr #7
	add	w9, w10, w9
	add	w9, w9, w11
	add	w2, w9, w8, lsl #2
	add	w11, w8, w9
	sub	w12, w2, w11
	stp	w11, w10, [x19, #8]
	add	w8, w9, w8, lsr #1
	stp	w9, w8, [x19, #16]
	add	w8, w2, w2, lsl #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldrsw	x9, [x19, #32]
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	cmp	w8, w9
	csel	w8, w8, w9, lt
	stp	w2, w8, [x19, #24]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x9, w2, w8
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #2
	add	w9, w9, w9, lsl #3
	smull	x8, w12, w8
	lsr	x10, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w10, asr #2
	stp	w9, w8, [x19, #36]
Lloh9:
	adrp	x8, _hz@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
	add	x20, x19, #44
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _VM_INACT_SCAN_RATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VM_INACT_SCAN_RATE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	sdiv	w1, w8, w9
Lloh15:
	adrp	x8, _PIDCTRL_BOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PIDCTRL_BOUND@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x8, _PIDCTRL_KPD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PIDCTRL_KPD@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
Lloh21:
	adrp	x8, _PIDCTRL_KID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PIDCTRL_KID@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x8]
Lloh24:
	adrp	x8, _PIDCTRL_KDD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PIDCTRL_KDD@GOTPAGEOFF]
Lloh26:
	ldr	w6, [x8]
	mov	x0, x20
	bl	_pidctrl_init
	ldr	x0, [x19, #48]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
Lloh27:
	adrp	x8, _OID_AUTO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OID_AUTO@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _CTLFLAG_RD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CTLFLAG_RD@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
Lloh33:
	adrp	x3, l_.str@PAGE
Lloh34:
	add	x3, x3, l_.str@PAGEOFF
Lloh35:
	adrp	x6, l_.str.1@PAGE
Lloh36:
	add	x6, x6, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x5, #0
	bl	_SYSCTL_ADD_NODE
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pidctrl_init_sysctl
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXBSIZE,4,2                   ; @MAXBSIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_vm_pageout_page_count,4,2      ; @vm_pageout_page_count
	.comm	_hz,4,2                         ; @hz
	.comm	_VM_INACT_SCAN_RATE,4,2         ; @VM_INACT_SCAN_RATE
	.comm	_PIDCTRL_BOUND,4,2              ; @PIDCTRL_BOUND
	.comm	_PIDCTRL_KPD,4,2                ; @PIDCTRL_KPD
	.comm	_PIDCTRL_KID,4,2                ; @PIDCTRL_KID
	.comm	_PIDCTRL_KDD,4,2                ; @PIDCTRL_KDD
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pidctrl"

	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_vm_pageout_init_domain
.subsections_via_symbols
