	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetchswap                      ## -- Begin function fetchswap
	.p2align	4, 0x90
_fetchswap:                             ## @fetchswap
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_kvnsw@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_okvnsw@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_kd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_kvmsw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_kvm_getswapinfo
	movl	%eax, (%rbx)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_dlen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_odlen@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ulen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_oulen@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_calclens
	movq	_last_dev@GOTPCREL(%rip), %rax
	movq	8(%rax), %rcx
	movq	_cur_dev@GOTPCREL(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	%rdx, 8(%rax)
	movq	%rcx, 8(%rdi)
	movl	(%rdi), %ecx
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dsgetinfo                      ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kvnsw,4,2                      ## @kvnsw
	.comm	_okvnsw,4,2                     ## @okvnsw
	.comm	_kd,4,2                         ## @kd
	.comm	_kvmsw,4,2                      ## @kvmsw
	.comm	_NSWAP,4,2                      ## @NSWAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"systat: kvm_getswapinfo failed"

	.comm	_dlen,4,2                       ## @dlen
	.comm	_odlen,4,2                      ## @odlen
	.comm	_ulen,4,2                       ## @ulen
	.comm	_oulen,4,2                      ## @oulen
	.comm	_last_dev,16,3                  ## @last_dev
	.comm	_cur_dev,16,3                   ## @cur_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetchswap                      ; -- Begin function fetchswap
	.p2align	2
_fetchswap:                             ; @fetchswap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _kvnsw@GOTPAGE
Lloh1:
	ldr	x19, [x19, _kvnsw@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _okvnsw@GOTPAGE
Lloh3:
	ldr	x9, [x9, _okvnsw@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
Lloh5:
	adrp	x8, _kd@GOTPAGE
Lloh6:
	ldr	x8, [x8, _kd@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _kvmsw@GOTPAGE
Lloh9:
	ldr	x8, [x8, _kvmsw@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _NSWAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NSWAP@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_kvm_getswapinfo
	str	w0, [x19]
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _dlen@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dlen@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _odlen@GOTPAGE
Lloh18:
	ldr	x9, [x9, _odlen@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
Lloh20:
	adrp	x8, _ulen@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ulen@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _oulen@GOTPAGE
Lloh24:
	ldr	x9, [x9, _oulen@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	bl	_calclens
Lloh26:
	adrp	x8, _last_dev@GOTPAGE
Lloh27:
	ldr	x8, [x8, _last_dev@GOTPAGEOFF]
	ldr	x9, [x8, #8]
Lloh28:
	adrp	x0, _cur_dev@GOTPAGE
Lloh29:
	ldr	x0, [x0, _cur_dev@GOTPAGEOFF]
	ldr	x10, [x0, #8]
	str	x10, [x8, #8]
	str	x9, [x0, #8]
	ldr	w9, [x0]
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dsgetinfo
LBB0_2:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_kvnsw,4,2                      ; @kvnsw
	.comm	_okvnsw,4,2                     ; @okvnsw
	.comm	_kd,4,2                         ; @kd
	.comm	_kvmsw,4,2                      ; @kvmsw
	.comm	_NSWAP,4,2                      ; @NSWAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"systat: kvm_getswapinfo failed"

	.comm	_dlen,4,2                       ; @dlen
	.comm	_odlen,4,2                      ; @odlen
	.comm	_ulen,4,2                       ; @ulen
	.comm	_oulen,4,2                      ; @oulen
	.comm	_last_dev,16,3                  ; @last_dev
	.comm	_cur_dev,16,3                   ; @cur_dev
.subsections_via_symbols
