	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swapon_check_swzone
_swapon_check_swzone:                   ## @swapon_check_swzone
	.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_total@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_swap_maxpages@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	cmpl	%edx, %esi
	jle	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	popq	%rbp
	jmp	_puts                           ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_swap_total,4,2                 ## @swap_total
	.comm	_swap_maxpages,4,2              ## @swap_maxpages
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: total configured swap (%lu pages) exceeds maximum recommended amount (%lu pages).\n"

L_str:                                  ## @str
	.asciz	"warning: increase kern.maxswzone or reduce amount of swap."

	.no_dead_strip	_swapon_check_swzone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swapon_check_swzone
_swapon_check_swzone:                   ; @swapon_check_swzone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _swap_total@GOTPAGE
Lloh1:
	ldr	x8, [x8, _swap_total@GOTPAGEOFF]
Lloh2:
	adrp	x9, _swap_maxpages@GOTPAGE
Lloh3:
	ldr	x9, [x9, _swap_maxpages@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	cmp	w8, w9
	b.le	LBB0_2
; %bb.1:
	stp	x8, x9, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_puts
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_swap_total,4,2                 ; @swap_total
	.comm	_swap_maxpages,4,2              ; @swap_maxpages
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: total configured swap (%lu pages) exceeds maximum recommended amount (%lu pages).\n"

l_str:                                  ; @str
	.asciz	"warning: increase kern.maxswzone or reduce amount of swap."

	.no_dead_strip	_swapon_check_swzone
.subsections_via_symbols
