	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function old_dev_pager_ctor
_old_dev_pager_ctor:                    ## @old_dev_pager_ctor
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-44(%rbp), %rsi
	callq	_dev_refthread
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_OFF_TO_IDX
	movq	$0, -56(%rbp)
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	movl	%r12d, %ecx
	leaq	-68(%rbp), %r8
	callq	*(%r13)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	decl	%r14d
	jne	LBB0_3
LBB0_5:
	movq	%r15, %rdi
	callq	_dev_ref
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_dev_relthread
	movq	-56(%rbp), %rdi
	callq	_atop
	movq	%rax, %r14
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_OFF_TO_IDX
	movl	%eax, %eax
	subq	%rax, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_dev_relthread
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_old_dev_pager_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function old_dev_pager_ctor
_old_dev_pager_ctor:                    ; @old_dev_pager_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x5
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
	add	x1, sp, #12
	bl	_dev_refthread
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
	mov	x0, x24
	bl	_OFF_TO_IDX
	str	xzr, [sp, #16]
Lloh0:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.2:
	mov	x24, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x2, sp, #16
	add	x4, sp, #28
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	blr	x8
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	add	x20, x8, x20
	subs	w24, w24, #1
	b.ne	LBB0_3
LBB0_5:
	mov	x0, x21
	bl	_dev_ref
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_dev_relthread
	ldr	x0, [sp, #16]
	bl	_atop
	mov	x21, x0
	ldr	x8, [x25]
	sub	x0, x20, x8
	bl	_OFF_TO_IDX
	mov	x8, x0
	mov	w0, #0
	sub	x8, x21, w8, uxtw
	str	x8, [x19]
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_dev_relthread
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_old_dev_pager_ctor
.subsections_via_symbols
