	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_pager_haspage
_swap_pager_haspage:                    ## @swap_pager_haspage
	.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	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movl	%edi, %r13d
	callq	_VM_OBJECT_ASSERT_LOCKED
	movl	%r13d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_swp_pager_meta_ctl
                                        ## kill: def $eax killed $eax def $rax
	movq	_SWAPBLK_NONE@GOTPCREL(%rip), %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	$0, (%rbx)
LBB0_3:
	xorl	%ebx, %ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	testq	%r12, %r12
	jne	LBB0_20
	jmp	LBB0_21
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.5:
	movl	$1, %eax
	testl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_12
## %bb.6:
	movq	_SWB_NPAGES@GOTPCREL(%rip), %rcx
	cmpl	$2, (%rcx)
	jl	LBB0_12
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ebx
	leal	-1(%r15), %r14d
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_swp_pager_meta_ctl
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leal	1(%r12), %eax
	cmpl	%r15d, %r12d
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	decl	%ebx
	decl	%r14d
	movl	%eax, %r12d
	movq	_SWB_NPAGES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_8
	jmp	LBB0_12
LBB0_9:
	movl	%r12d, %eax
LBB0_12:
	decl	%eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_13:
	testq	%r12, %r12
	je	LBB0_14
## %bb.15:
	movq	_SWB_NPAGES@GOTPCREL(%rip), %r14
	movl	$1, %ebx
	cmpl	$2, (%r14)
	jl	LBB0_19
## %bb.16:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%rbx), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_swp_pager_meta_ctl
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_17
LBB0_19:
	decl	%ebx
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_20:
	movl	%ebx, (%r12)
	jmp	LBB0_21
LBB0_14:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWAPBLK_NONE,4,2               ## @SWAPBLK_NONE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SWB_NPAGES,4,2                 ## @SWB_NPAGES
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_swap_pager_haspage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_pager_haspage
_swap_pager_haspage:                    ; @swap_pager_haspage
	.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	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	bl	_VM_OBJECT_ASSERT_LOCKED
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_swp_pager_meta_ctl
Lloh0:
	adrp	x8, _SWAPBLK_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWAPBLK_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.1:
	cbz	x23, LBB0_3
; %bb.2:
	str	wzr, [x23]
LBB0_3:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbz	x19, LBB0_21
; %bb.4:
	mov	w9, #0
	b	LBB0_19
LBB0_5:
	mov	x22, x0
Lloh5:
	adrp	x25, _SWB_NPAGES@GOTPAGE
Lloh6:
	ldr	x25, [x25, _SWB_NPAGES@GOTPAGEOFF]
	cbz	x23, LBB0_14
; %bb.6:
	mov	w8, #1
	subs	w24, w20, #1
	b.lt	LBB0_13
; %bb.7:
	ldr	w9, [x25]
	cmp	w9, #2
	b.lt	LBB0_13
; %bb.8:
	sub	w26, w22, #1
	mov	w27, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	bl	_swp_pager_meta_ctl
	cmp	w26, w0
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w8, w27, #1
	cmp	w27, w20
	b.ge	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x25]
	sub	w26, w26, #1
	sub	w24, w24, #1
	mov	x27, x8
	cmp	w8, w9
	b.lt	LBB0_9
	b	LBB0_13
LBB0_12:
	mov	x8, x27
LBB0_13:
	sub	w8, w8, #1
	str	w8, [x23]
LBB0_14:
	cbz	x19, LBB0_20
; %bb.15:
	ldr	w8, [x25]
	mov	w23, #1
	cmp	w8, #2
	b.lt	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w20, w23
	mov	x0, x21
	mov	w2, #0
	bl	_swp_pager_meta_ctl
	add	w8, w22, w23
	cmp	w8, w0
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w23, w23, #1
	ldr	w8, [x25]
	cmp	w23, w8
	b.lt	LBB0_16
LBB0_18:
	sub	w9, w23, #1
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_19:
	str	w9, [x19]
	b	LBB0_21
LBB0_20:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SWAPBLK_NONE,4,2               ; @SWAPBLK_NONE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SWB_NPAGES,4,2                 ; @SWB_NPAGES
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_swap_pager_haspage
.subsections_via_symbols
