	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swapmode_sysctl
_swapmode_sysctl:                       ## @swapmode_sysctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_print_swap_header
	movq	$16, -128(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-112(%rbp), %rsi
	leaq	-128(%rbp), %rdx
	callq	_sysctlnametomib
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	-128(%rbp), %rsi
	movl	$0, -112(%rbp,%rsi,4)
	movq	$32, -120(%rbp)
	incq	%rsi
	leaq	-112(%rbp), %rdi
	leaq	-176(%rbp), %rdx
	leaq	-120(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.3:
	movl	$1, %r15d
	leaq	-112(%rbp), %r12
	leaq	-176(%rbp), %r13
	leaq	-120(%rbp), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_S_IFCHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_devname
	movl	%r14d, %edi
	movl	$4, %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-152(%rbp), %eax
	movl	%eax, -136(%rbp)
	movq	-160(%rbp), %rax
	movq	%rax, -144(%rbp)
	leaq	-144(%rbp), %rdi
	callq	_print_swap
	movq	-128(%rbp), %rsi
	movl	%r15d, -112(%rbp,%rsi,4)
	movq	$32, -120(%rbp)
	incq	%rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	incl	%r15d
	cmpl	$-1, %eax
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-176(%rbp), %rax
	movq	_XSWDEV_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-168(%rbp), %rdi
	movl	-132(%rbp), %r14d
	movq	_NODEV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %edi
	movl	$4, %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_9
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_12:
	xorl	%eax, %eax
	callq	_print_swap_total
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm.swap_info"

L_.str.1:                               ## @.str.1
	.asciz	"sysctlnametomib()"

	.comm	_XSWDEV_VERSION,8,3             ## @XSWDEV_VERSION
L_.str.2:                               ## @.str.2
	.asciz	"xswdev version mismatch"

	.comm	_NODEV,8,3                      ## @NODEV
L_.str.3:                               ## @.str.3
	.asciz	"<NFSfile>"

L_.str.4:                               ## @.str.4
	.asciz	"/dev/%s"

	.comm	_S_IFCHR,4,2                    ## @S_IFCHR
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.5:                               ## @.str.5
	.asciz	"sysctl()"

	.no_dead_strip	_swapmode_sysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swapmode_sysctl
_swapmode_sysctl:                       ; @swapmode_sysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_print_swap_header
	mov	w8, #16
	str	x8, [sp, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x19, sp, #72
	add	x1, sp, #72
	add	x2, sp, #16
	bl	_sysctlnametomib
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	x8, [sp, #16]
	str	wzr, [x19, x8, lsl #2]
	mov	w9, #32
	str	x9, [sp, #8]
	add	x1, x8, #1
	add	x0, sp, #72
	add	x2, sp, #24
	add	x3, sp, #8
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.3:
	mov	w23, #1
Lloh7:
	adrp	x24, _XSWDEV_VERSION@GOTPAGE
Lloh8:
	ldr	x24, [x24, _XSWDEV_VERSION@GOTPAGEOFF]
Lloh9:
	adrp	x25, _NODEV@GOTPAGE
Lloh10:
	ldr	x25, [x25, _NODEV@GOTPAGEOFF]
Lloh11:
	adrp	x19, l_.str.3@PAGE
Lloh12:
	add	x19, x19, l_.str.3@PAGEOFF
	add	x26, sp, #72
	mov	w27, #32
Lloh13:
	adrp	x28, _S_IFCHR@GOTPAGE
Lloh14:
	ldr	x28, [x28, _S_IFCHR@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.4@PAGE
Lloh16:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh17:
	adrp	x21, l_.str.2@PAGE
Lloh18:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x28]
	bl	_devname
	str	x0, [sp]
	mov	x0, x22
	mov	w1, #4
	mov	x2, x20
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_snprintf
	ldr	w8, [sp, #48]
	str	w8, [sp, #64]
	ldr	d0, [sp, #40]
	str	d0, [sp, #56]
	add	x0, sp, #56
	bl	_print_swap
	ldr	x8, [sp, #16]
	str	w23, [x26, x8, lsl #2]
	str	x27, [sp, #8]
	add	x1, x8, #1
	add	x0, sp, #72
	add	x2, sp, #24
	add	x3, sp, #8
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	add	w23, w23, #1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_errx
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #32]
	ldr	x8, [x25]
	ldr	w22, [sp, #68]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	w1, #4
	mov	x2, x19
	b	LBB0_5
LBB0_10:
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _ENOENT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_12:
	bl	_print_swap_total
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm.swap_info"

l_.str.1:                               ; @.str.1
	.asciz	"sysctlnametomib()"

	.comm	_XSWDEV_VERSION,8,3             ; @XSWDEV_VERSION
l_.str.2:                               ; @.str.2
	.asciz	"xswdev version mismatch"

	.comm	_NODEV,8,3                      ; @NODEV
l_.str.3:                               ; @.str.3
	.asciz	"<NFSfile>"

l_.str.4:                               ; @.str.4
	.asciz	"/dev/%s"

	.comm	_S_IFCHR,4,2                    ; @S_IFCHR
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.5:                               ; @.str.5
	.asciz	"sysctl()"

	.no_dead_strip	_swapmode_sysctl
.subsections_via_symbols
