	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_sysctl                    ## -- Begin function test_sysctl
	.p2align	4, 0x90
_test_sysctl:                           ## @test_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_PASSED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CTL_KERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_KERN_OSRELDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	$4, -32(%rbp)
	leaq	-24(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movl	$2, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PASSED,4,2                     ## @PASSED
	.comm	_CTL_KERN,4,2                   ## @CTL_KERN
	.comm	_KERN_OSRELDATE,4,2             ## @KERN_OSRELDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_sysctl                    ; -- Begin function test_sysctl
	.p2align	2
_test_sysctl:                           ; @test_sysctl
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PASSED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PASSED@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh5:
	ldr	w19, [x9]
Lloh6:
	adrp	x8, _CTL_KERN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTL_KERN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _KERN_OSRELDATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _KERN_OSRELDATE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #4
	str	x8, [sp]
	add	x0, sp, #16
	add	x2, sp, #12
	mov	x3, sp
	mov	w1, #2
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PASSED,4,2                     ; @PASSED
	.comm	_CTL_KERN,4,2                   ; @CTL_KERN
	.comm	_KERN_OSRELDATE,4,2             ; @KERN_OSRELDATE
.subsections_via_symbols
