	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkcaps
_checkcaps:                             ## @checkcaps
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_nitems
	movq	%rax, -104(%rbp)
	movq	_SYSCTL0_NAME@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-104(%rbp), %rdx
	movq	%r13, %rsi
	callq	_sysctlnametomib
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	movq	%rax, -96(%rbp)
	movq	_SYSCTL1_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sysctlnametomib
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	movq	$4, -80(%rbp)
	movl	(%r15), %esi
	leaq	-72(%rbp), %rbx
	leaq	-80(%rbp), %r12
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	movq	-80(%rbp), %rcx
	xorq	$4, %rcx
	movq	_SYSCTL0_READ0@GOTPCREL(%rip), %r14
	orq	%rax, %rcx
	movl	$0, %r15d
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %r15d
LBB0_2:
	movq	-104(%rbp), %rdx
	movl	$0, (%rsp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rcx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_cap_sysctl
	testl	%r15d, (%r14)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_5
LBB0_4:
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	callq	_ATF_REQUIRE_ERRNO
LBB0_5:
	movq	_SYSCTL0_NAME@GOTPCREL(%rip), %rbx
	movl	$123, -68(%rbp)
	movl	(%rbx), %esi
	xorl	%r13d, %r13d
	leaq	-68(%rbp), %r8
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$4, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	movq	_SYSCTL0_WRITE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmovel	%eax, %r13d
	orl	%r15d, %r13d
	testl	%eax, %r13d
	je	LBB0_10
## %bb.6:
	movq	$4, -80(%rbp)
	movl	(%rbx), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	cmpq	$4, -80(%rbp)
	jne	LBB0_10
## %bb.8:
	cmpl	$123, -72(%rbp)
	jne	LBB0_10
## %bb.9:
	movq	_SYSCTL0_READ1@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_10:
	movl	$123, -68(%rbp)
	movq	-104(%rbp), %rdx
	movl	$4, (%rsp)
	leaq	-56(%rbp), %rsi
	leaq	-68(%rbp), %r9
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cap_sysctl
	testl	%r13d, (%r12)
	je	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_13
LBB0_12:
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	callq	_ATF_REQUIRE_ERRNO
LBB0_13:
	movq	$4, -80(%rbp)
	movl	$4567, -68(%rbp)                ## imm = 0x11D7
	movl	(%rbx), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-68(%rbp), %r8
	movq	%r14, %rdi
	movl	$4, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_17
## %bb.14:
	cmpq	$4, -80(%rbp)
	jne	LBB0_17
## %bb.15:
	cmpl	$123, -72(%rbp)
	jne	LBB0_17
## %bb.16:
	movq	_SYSCTL0_READ_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_17:
	movq	_SYSCTL0_READ_WRITE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.18:
	movq	$4, -80(%rbp)
	movl	(%rbx), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:
	cmpq	$4, -80(%rbp)
	jne	LBB0_22
## %bb.20:
	cmpl	$4567, -72(%rbp)                ## imm = 0x11D7
	jne	LBB0_22
## %bb.21:
	movq	_SYSCTL0_READ2@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_22:
	movq	$4, -80(%rbp)
	movq	_SYSCTL1_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %r12
	leaq	-80(%rbp), %r15
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	movq	-80(%rbp), %rcx
	xorq	$4, %rcx
	movq	_SYSCTL1_READ0@GOTPCREL(%rip), %r14
	orq	%rax, %rcx
	jne	LBB0_24
## %bb.23:
	movl	(%r14), %ebx
LBB0_24:
	orl	%r13d, %ebx
	movq	-96(%rbp), %rdx
	movl	$0, (%rsp)
	leaq	-64(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_cap_sysctl
	testl	%ebx, (%r14)
	je	LBB0_26
## %bb.25:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_27
LBB0_26:
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	callq	_ATF_REQUIRE_ERRNO
LBB0_27:
	movq	_SYSCTL1_NAME@GOTPCREL(%rip), %r13
	movl	$506, -68(%rbp)                 ## imm = 0x1FA
	movl	(%r13), %esi
	xorl	%r12d, %r12d
	leaq	-68(%rbp), %r8
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$4, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	movq	_SYSCTL1_WRITE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmovel	%eax, %r12d
	orl	%ebx, %r12d
	testl	%eax, %r12d
	je	LBB0_32
## %bb.28:
	movl	$506, -68(%rbp)                 ## imm = 0x1FA
	movq	-96(%rbp), %rdx
	movl	$4, (%rsp)
	leaq	-64(%rbp), %rsi
	leaq	-68(%rbp), %r9
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cap_sysctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	movq	$4, -80(%rbp)
	movl	(%r13), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_32
## %bb.29:
	cmpq	$4, -80(%rbp)
	jne	LBB0_32
## %bb.30:
	cmpl	$506, -72(%rbp)                 ## imm = 0x1FA
	jne	LBB0_32
## %bb.31:
	movq	_SYSCTL1_READ1@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_32:
	movl	$506, -68(%rbp)                 ## imm = 0x1FA
	movq	-96(%rbp), %rdx
	movl	$4, (%rsp)
	leaq	-64(%rbp), %rsi
	leaq	-68(%rbp), %r9
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cap_sysctl
	testl	%r12d, (%r15)
	je	LBB0_34
## %bb.33:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_35
LBB0_34:
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	callq	_ATF_REQUIRE_ERRNO
LBB0_35:
	movq	$4, -80(%rbp)
	movl	$7008, -68(%rbp)                ## imm = 0x1B60
	movl	(%r13), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-68(%rbp), %r8
	movq	%r14, %rdi
	movl	$4, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_39
## %bb.36:
	cmpq	$4, -80(%rbp)
	jne	LBB0_39
## %bb.37:
	cmpl	$506, -72(%rbp)                 ## imm = 0x1FA
	jne	LBB0_39
## %bb.38:
	movq	_SYSCTL1_READ_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_39:
	movq	_SYSCTL1_READ_WRITE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_44
## %bb.40:
	movq	$4, -80(%rbp)
	movl	(%r13), %esi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cap_sysctlbyname
	testq	%rax, %rax
	jne	LBB0_44
## %bb.41:
	cmpq	$4, -80(%rbp)
	jne	LBB0_44
## %bb.42:
	cmpl	$7008, -72(%rbp)                ## imm = 0x1B60
	jne	LBB0_44
## %bb.43:
	movq	_SYSCTL1_READ2@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_44:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.45:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCTL0_NAME,4,2               ## @SYSCTL0_NAME
	.comm	_SYSCTL1_NAME,4,2               ## @SYSCTL1_NAME
	.comm	_SYSCTL0_READ0,4,2              ## @SYSCTL0_READ0
	.comm	_ENOTCAPABLE,4,2                ## @ENOTCAPABLE
	.comm	_SYSCTL0_WRITE,4,2              ## @SYSCTL0_WRITE
	.comm	_SYSCTL0_READ1,4,2              ## @SYSCTL0_READ1
	.comm	_SYSCTL0_READ_WRITE,4,2         ## @SYSCTL0_READ_WRITE
	.comm	_SYSCTL0_READ2,4,2              ## @SYSCTL0_READ2
	.comm	_SYSCTL1_READ0,4,2              ## @SYSCTL1_READ0
	.comm	_SYSCTL1_WRITE,4,2              ## @SYSCTL1_WRITE
	.comm	_SYSCTL1_READ1,4,2              ## @SYSCTL1_READ1
	.comm	_SYSCTL1_READ_WRITE,4,2         ## @SYSCTL1_READ_WRITE
	.comm	_SYSCTL1_READ2,4,2              ## @SYSCTL1_READ2
	.no_dead_strip	_checkcaps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkcaps
_checkcaps:                             ; @checkcaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	add	x0, sp, #48
	bl	_nitems
	str	x0, [sp, #32]
Lloh3:
	adrp	x20, _SYSCTL0_NAME@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SYSCTL0_NAME@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #48
	add	x2, sp, #32
	bl	_sysctlnametomib
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	add	x0, sp, #40
	bl	_nitems
	str	x0, [sp, #24]
Lloh5:
	adrp	x21, _SYSCTL1_NAME@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SYSCTL1_NAME@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x1, sp, #40
	add	x2, sp, #24
	bl	_sysctlnametomib
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	mov	w8, #4
	str	x8, [sp, #16]
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	ldr	x8, [sp, #16]
	cmp	x8, #4
	ccmp	x0, #0, #0, eq
Lloh7:
	adrp	x23, _SYSCTL0_READ0@GOTPAGE
Lloh8:
	ldr	x23, [x23, _SYSCTL0_READ0@GOTPAGEOFF]
	ldr	w8, [x23]
	csel	w22, w8, wzr, eq
	ldr	x2, [sp, #32]
	add	x1, sp, #48
	add	x3, sp, #12
	add	x4, sp, #16
	mov	x0, x19
	mov	x5, #0
	mov	w6, #0
	bl	_cap_sysctl
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, #0
	cset	w1, ne
	mov	x0, x8
	bl	_ATF_REQUIRE_ERRNO
LBB0_3:
	mov	w24, #123
	str	w24, [sp, #8]
	ldr	w1, [x20]
	add	x4, sp, #8
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	w5, #4
	bl	_cap_sysctlbyname
Lloh12:
	adrp	x23, _SYSCTL0_WRITE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _SYSCTL0_WRITE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	x0, #0
	csel	w9, w8, wzr, eq
	orr	w22, w9, w22
	tst	w22, w8
	b.eq	LBB0_8
; %bb.4:
	mov	w8, #4
	str	x8, [sp, #16]
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	cbnz	x0, LBB0_8
; %bb.5:
	ldr	x8, [sp, #16]
	cmp	x8, #4
	b.ne	LBB0_8
; %bb.6:
	ldr	w8, [sp, #12]
	cmp	w8, #123
	b.ne	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _SYSCTL0_READ1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SYSCTL0_READ1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_8:
	str	w24, [sp, #8]
	ldr	x2, [sp, #32]
	add	x1, sp, #48
	add	x5, sp, #8
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	mov	w6, #4
	bl	_cap_sysctl
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	b	LBB0_11
LBB0_10:
Lloh17:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, #0
	cset	w1, ne
	mov	x0, x8
	bl	_ATF_REQUIRE_ERRNO
LBB0_11:
	mov	w8, #4
	str	x8, [sp, #16]
	mov	w8, #4567
	str	w8, [sp, #8]
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	mov	w5, #4
	bl	_cap_sysctlbyname
Lloh20:
	adrp	x8, _SYSCTL0_READ_WRITE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SYSCTL0_READ_WRITE@GOTPAGEOFF]
	cbnz	x0, LBB0_15
; %bb.12:
	ldr	x9, [sp, #16]
	cmp	x9, #4
	b.ne	LBB0_15
; %bb.13:
	ldr	w9, [sp, #12]
	cmp	w9, #123
	b.ne	LBB0_15
; %bb.14:
	ldr	w9, [x8]
	orr	w22, w9, w22
LBB0_15:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.16:
	mov	w8, #4
	str	x8, [sp, #16]
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	cbnz	x0, LBB0_20
; %bb.17:
	ldr	x8, [sp, #16]
	cmp	x8, #4
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [sp, #12]
	mov	w9, #4567
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:
Lloh22:
	adrp	x8, _SYSCTL0_READ2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SYSCTL0_READ2@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_20:
	mov	w8, #4
	str	x8, [sp, #16]
	ldr	w1, [x21]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	ldp	x8, x2, [sp, #16]
	cmp	x8, #4
	ccmp	x0, #0, #0, eq
Lloh25:
	adrp	x23, _SYSCTL1_READ0@GOTPAGE
Lloh26:
	ldr	x23, [x23, _SYSCTL1_READ0@GOTPAGEOFF]
	ldr	w8, [x23]
	csel	w8, w8, wzr, eq
	orr	w20, w8, w22
	add	x1, sp, #40
	add	x3, sp, #12
	add	x4, sp, #16
	mov	x0, x19
	mov	x5, #0
	mov	w6, #0
	bl	_cap_sysctl
	ldr	w8, [x23]
	tst	w20, w8
	b.eq	LBB0_22
; %bb.21:
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	b	LBB0_23
LBB0_22:
Lloh27:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w0, #0
	cset	w1, ne
	mov	x0, x8
	bl	_ATF_REQUIRE_ERRNO
LBB0_23:
	mov	w23, #506
	str	w23, [sp, #8]
	ldr	w1, [x21]
	add	x4, sp, #8
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	w5, #4
	bl	_cap_sysctlbyname
Lloh30:
	adrp	x22, _SYSCTL1_WRITE@GOTPAGE
Lloh31:
	ldr	x22, [x22, _SYSCTL1_WRITE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	x0, #0
	csel	w9, w8, wzr, eq
	orr	w20, w9, w20
	tst	w20, w8
	b.eq	LBB0_28
; %bb.24:
	str	w23, [sp, #8]
	ldr	x2, [sp, #24]
	mov	w24, #4
	add	x1, sp, #40
	add	x5, sp, #8
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	mov	w6, #4
	bl	_cap_sysctl
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	str	x24, [sp, #16]
	ldr	w1, [x21]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	cbnz	x0, LBB0_28
; %bb.25:
	ldr	x8, [sp, #16]
	cmp	x8, #4
	b.ne	LBB0_28
; %bb.26:
	ldr	w8, [sp, #12]
	cmp	w8, #506
	b.ne	LBB0_28
; %bb.27:
Lloh32:
	adrp	x8, _SYSCTL1_READ1@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SYSCTL1_READ1@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_28:
	str	w23, [sp, #8]
	ldr	x2, [sp, #24]
	add	x1, sp, #40
	add	x5, sp, #8
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	mov	w6, #4
	bl	_cap_sysctl
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_30
; %bb.29:
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	b	LBB0_31
LBB0_30:
Lloh35:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w0, #0
	cset	w1, ne
	mov	x0, x8
	bl	_ATF_REQUIRE_ERRNO
LBB0_31:
	mov	w8, #4
	str	x8, [sp, #16]
	mov	w8, #7008
	str	w8, [sp, #8]
	ldr	w1, [x21]
	add	x2, sp, #12
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	mov	w5, #4
	bl	_cap_sysctlbyname
Lloh38:
	adrp	x8, _SYSCTL1_READ_WRITE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SYSCTL1_READ_WRITE@GOTPAGEOFF]
	cbnz	x0, LBB0_35
; %bb.32:
	ldr	x9, [sp, #16]
	cmp	x9, #4
	b.ne	LBB0_35
; %bb.33:
	ldr	w9, [sp, #12]
	cmp	w9, #506
	b.ne	LBB0_35
; %bb.34:
	ldr	w9, [x8]
	orr	w20, w9, w20
LBB0_35:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_40
; %bb.36:
	mov	w8, #4
	str	x8, [sp, #16]
	ldr	w1, [x21]
	add	x2, sp, #12
	add	x3, sp, #16
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	bl	_cap_sysctlbyname
	cbnz	x0, LBB0_40
; %bb.37:
	ldr	x8, [sp, #16]
	cmp	x8, #4
	b.ne	LBB0_40
; %bb.38:
	ldr	w8, [sp, #12]
	mov	w9, #7008
	cmp	w8, w9
	b.ne	LBB0_40
; %bb.39:
Lloh40:
	adrp	x8, _SYSCTL1_READ2@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SYSCTL1_READ2@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_40:
	ldr	x8, [sp, #56]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.41:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCTL0_NAME,4,2               ; @SYSCTL0_NAME
	.comm	_SYSCTL1_NAME,4,2               ; @SYSCTL1_NAME
	.comm	_SYSCTL0_READ0,4,2              ; @SYSCTL0_READ0
	.comm	_ENOTCAPABLE,4,2                ; @ENOTCAPABLE
	.comm	_SYSCTL0_WRITE,4,2              ; @SYSCTL0_WRITE
	.comm	_SYSCTL0_READ1,4,2              ; @SYSCTL0_READ1
	.comm	_SYSCTL0_READ_WRITE,4,2         ; @SYSCTL0_READ_WRITE
	.comm	_SYSCTL0_READ2,4,2              ; @SYSCTL0_READ2
	.comm	_SYSCTL1_READ0,4,2              ; @SYSCTL1_READ0
	.comm	_SYSCTL1_WRITE,4,2              ; @SYSCTL1_WRITE
	.comm	_SYSCTL1_READ1,4,2              ; @SYSCTL1_READ1
	.comm	_SYSCTL1_READ_WRITE,4,2         ; @SYSCTL1_READ_WRITE
	.comm	_SYSCTL1_READ2,4,2              ; @SYSCTL1_READ2
	.no_dead_strip	_checkcaps
.subsections_via_symbols
