	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_not_capable
_tun_not_capable:                       ## @tun_not_capable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_current_cred
	movq	%rax, %r12
	movl	8(%rbx), %edi
	callq	_dev_net
	movq	%rax, %r15
	movl	4(%rbx), %edi
	callq	_uid_valid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	movl	4(%rbx), %esi
	callq	_uid_eq
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	movl	(%rbx), %edi
	callq	_gid_valid
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	callq	_in_egroup_p
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movl	(%r15), %edi
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_capable
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.no_dead_strip	_tun_not_capable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_not_capable
_tun_not_capable:                       ; @tun_not_capable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_current_cred
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_dev_net
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_uid_valid
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	w1, [x19, #4]
	bl	_uid_eq
	cbz	w0, LBB0_5
LBB0_2:
	ldr	w0, [x19]
	bl	_gid_valid
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	bl	_in_egroup_p
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ns_capable
	cmp	w0, #0
	cset	w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.no_dead_strip	_tun_not_capable
.subsections_via_symbols
