	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function print_swap_total
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_print_swap_total:                      ## @print_swap_total
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_getpagesize
	leaq	-28(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_getbsize
	movq	_totalflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	$1048576, -24(%rbp)             ## imm = 0x100000
	movq	_swtot@GOTPCREL(%rip), %r14
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	callq	_CONVERT
	movl	%eax, %ebx
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	callq	_CONVERT
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_printf
	jmp	LBB0_4
LBB0_2:
	movq	_nswdev@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	_swtot@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movsd	8(%rax), %xmm0                  ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm2
	subsd	%xmm1, %xmm2
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm1, %xmm3
	divsd	%xmm0, %xmm3
	leaq	L_.str.1(%rip), %rdi
	callq	_print_swap_line
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_totalflag,8,3                  ## @totalflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%jdM/%jdM swap space\n"

	.comm	_swtot,16,3                     ## @swtot
	.comm	_nswdev,4,2                     ## @nswdev
L_.str.1:                               ## @.str.1
	.asciz	"Total"

	.no_dead_strip	_print_swap_total
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_swap_total
_print_swap_total:                      ; @print_swap_total
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_getpagesize
	add	x0, sp, #12
	mov	x1, sp
	bl	_getbsize
Lloh0:
	adrp	x8, _totalflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _totalflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1048576
	str	x8, [sp]
Lloh3:
	adrp	x20, _swtot@GOTPAGE
Lloh4:
	ldr	x20, [x20, _swtot@GOTPAGEOFF]
	ldr	d0, [x20]
	bl	_CONVERT
	mov	x19, x0
	ldr	d0, [x20, #8]
	bl	_CONVERT
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x8, _nswdev@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nswdev@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _swtot@GOTPAGE
Lloh11:
	ldr	x8, [x8, _swtot@GOTPAGEOFF]
	ldp	d1, d0, [x8]
	fsub	d2, d0, d1
	mov	x8, #4636737291354636288
	fmov	d3, x8
	fmul	d3, d1, d3
	fdiv	d3, d3, d0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_print_swap_line
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_totalflag,8,3                  ; @totalflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%jdM/%jdM swap space\n"

	.comm	_swtot,16,3                     ; @swtot
	.comm	_nswdev,4,2                     ; @nswdev
l_.str.1:                               ; @.str.1
	.asciz	"Total"

	.no_dead_strip	_print_swap_total
.subsections_via_symbols
