	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getsysctl
_getsysctl:                             ## @getsysctl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rdx, -32(%rbp)
	leaq	-32(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_TOP_EX_SYS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_quit
LBB0_2:
	movq	-32(%rbp), %r8
	cmpq	%rbx, %r8
	je	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_TOP_EX_SYS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_quit
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"top: sysctl(%s...) failed: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_TOP_EX_SYS_ERROR,4,2           ## @TOP_EX_SYS_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"top: sysctl(%s...) expected %lu, got %lu\n"

	.no_dead_strip	_getsysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getsysctl
_getsysctl:                             ; @getsysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
	str	x2, [sp, #24]
	add	x2, sp, #24
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_fprintf
Lloh8:
	adrp	x8, _TOP_EX_SYS_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TOP_EX_SYS_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_quit
LBB0_2:
	ldr	x8, [sp, #24]
	cmp	x8, x20
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x9, _stderr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	stp	x20, x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
Lloh16:
	adrp	x8, _TOP_EX_SYS_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TOP_EX_SYS_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_quit
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"top: sysctl(%s...) failed: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_TOP_EX_SYS_ERROR,4,2           ; @TOP_EX_SYS_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"top: sysctl(%s...) expected %lu, got %lu\n"

	.no_dead_strip	_getsysctl
.subsections_via_symbols
