	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swp_sizecheck
_swp_sizecheck:                         ## @swp_sizecheck
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_swap_pager_avail@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_nswap_lowat@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_3
## %bb.1:
	movq	_swap_pager_almost_full@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	_swap_pager_full@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nswap_hiwat@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jle	LBB0_5
	jmp	LBB0_4
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %eax
LBB0_4:
	movq	_swap_pager_almost_full@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_swap_pager_avail,8,3           ## @swap_pager_avail
	.comm	_nswap_lowat,8,3                ## @nswap_lowat
	.comm	_swap_pager_almost_full,4,2     ## @swap_pager_almost_full
	.comm	_swap_pager_full,8,3            ## @swap_pager_full
	.comm	_nswap_hiwat,8,3                ## @nswap_hiwat
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"swap_pager: out of swap space"

	.no_dead_strip	_swp_sizecheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swp_sizecheck
_swp_sizecheck:                         ; @swp_sizecheck
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _swap_pager_avail@GOTPAGE
Lloh1:
	ldr	x8, [x8, _swap_pager_avail@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _nswap_lowat@GOTPAGE
Lloh4:
	ldr	x9, [x9, _nswap_lowat@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _swap_pager_almost_full@GOTPAGE
Lloh7:
	ldr	x8, [x8, _swap_pager_almost_full@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh9:
	adrp	x9, _swap_pager_full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _swap_pager_full@GOTPAGEOFF]
Lloh11:
	str	xzr, [x9]
Lloh12:
	adrp	x9, _nswap_hiwat@GOTPAGE
Lloh13:
	ldr	x9, [x9, _nswap_hiwat@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.4:
	mov	w8, #0
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w8, #1
LBB0_6:
Lloh17:
	adrp	x9, _swap_pager_almost_full@GOTPAGE
Lloh18:
	ldr	x9, [x9, _swap_pager_almost_full@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_swap_pager_avail,8,3           ; @swap_pager_avail
	.comm	_nswap_lowat,8,3                ; @nswap_lowat
	.comm	_swap_pager_almost_full,4,2     ; @swap_pager_almost_full
	.comm	_swap_pager_full,8,3            ; @swap_pager_full
	.comm	_nswap_hiwat,8,3                ; @nswap_hiwat
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"swap_pager: out of swap space"

	.no_dead_strip	_swp_sizecheck
.subsections_via_symbols
