	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Platform_setSwapValues         ## -- Begin function Platform_setSwapValues
	.p2align	4, 0x90
_Platform_setSwapValues:                ## @Platform_setSwapValues
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_CTL_VM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_VM_SWAPUSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	$8, -40(%rbp)
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movl	$2, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	-32(%rbp), %eax
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	movl	%ecx, (%rbx)
	movl	-28(%rbp), %eax
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	movq	8(%rbx), %rax
	movl	%ecx, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_VM,4,2                     ## @CTL_VM
	.comm	_VM_SWAPUSAGE,4,2               ## @VM_SWAPUSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Platform_setSwapValues         ; -- Begin function Platform_setSwapValues
	.p2align	2
_Platform_setSwapValues:                ; @Platform_setSwapValues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _CTL_VM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTL_VM@GOTPAGEOFF]
Lloh5:
	adrp	x9, _VM_SWAPUSAGE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VM_SWAPUSAGE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #8
	str	x8, [sp]
	add	x0, sp, #16
	add	x2, sp, #8
	mov	x3, sp
	mov	w1, #2
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldp	w8, w9, [sp, #8]
	add	w10, w8, #1023
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #10
	str	w8, [x19]
	add	w8, w9, #1023
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #10
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_VM,4,2                     ; @CTL_VM
	.comm	_VM_SWAPUSAGE,4,2               ; @VM_SWAPUSAGE
.subsections_via_symbols
