	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tnchktc                        ## -- Begin function tnchktc
	.p2align	4, 0x90
_tnchktc:                               ## @tnchktc
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_tbuf@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %esi
	movslq	%eax, %rdx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rdx), %rcx
	movq	(%r15), %rax
	movq	%r12, %r13
	subq	%rdx, %r13
	addq	$2, %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, -3(%rcx,%r15)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rcx,%r15), %rdx
	addq	$-3, %rdx
	decq	%r15
	cmpq	%rax, %rdx
	jae	LBB0_1
## %bb.3:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$18, %edx
	callq	_write
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	cmpb	$116, -2(%rcx,%r15)
	movl	$1, %eax
	jne	LBB0_10
## %bb.5:
	cmpb	$99, -1(%rcx,%r15)
	movq	%r14, %rbx
	jne	LBB0_11
## %bb.6:
	movq	%rsi, %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%r15), %rax
	addq	$-2, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	subq	%r15, %r13
	leaq	-64(%rbp), %rbx
	leaq	(%rcx,%r15), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strlcpy
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$58, %al
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	jmp	LBB0_7
LBB0_10:
	movq	%r14, %rbx
LBB0_11:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movb	$0, (%rbx)
	movq	_hopcount@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	_MAXHOP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_19
## %bb.14:
	movq	_conffile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_getent
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	incq	%r13
	cmpb	$58, (%r12)
	leaq	1(%r12), %r12
	jne	LBB0_15
## %bb.16:
	movq	%r12, %rdi
	callq	_strlen
	addl	%eax, %r14d
	leal	(%r15,%r14), %eax
	addl	$-2, %eax
	movq	_BUFSIZ@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jle	LBB0_18
## %bb.17:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$23, %edx
	callq	_write
	movslq	(%r15), %rax
	movb	$0, (%r13,%rax)
LBB0_18:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_strcpy
	movq	_tbuf@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	$1, %eax
	jmp	LBB0_11
LBB0_19:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$18, %edx
	callq	_write
	xorl	%eax, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_tbuf,8,3                       ## @tbuf
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad remcap entry\n"

	.comm	_hopcount,8,3                   ## @hopcount
	.comm	_MAXHOP,8,3                     ## @MAXHOP
L_.str.1:                               ## @.str.1
	.asciz	"Infinite tc= loop\n"

	.comm	_conffile,4,2                   ## @conffile
L_.str.2:                               ## @.str.2
	.asciz	"Remcap entry too long\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tnchktc                        ; -- Begin function tnchktc
	.p2align	2
_tnchktc:                               ; @tnchktc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BUFSIZ@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x25, _tbuf@GOTPAGE
Lloh8:
	ldr	x25, [x25, _tbuf@GOTPAGEOFF]
	ldr	x20, [x25]
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	mov	x26, #0
	sxtw	x8, w22
	add	x9, x20, x8
	ldr	x10, [x25]
	sub	x8, x19, x8
	add	x8, x8, #2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x9, x26
	ldurb	w11, [x21, #-3]
	cmp	w11, #58
	b.eq	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x26, x26, #1
	add	x11, x9, x26
	sub	x11, x11, #2
	cmp	x11, x10
	b.hs	LBB0_1
; %bb.3:
Lloh9:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	w2, #18
	bl	_write
	mov	w0, #0
	b	LBB0_17
LBB0_5:
	ldrb	w10, [x21, #-2]!
	cmp	w10, #116
	b.ne	LBB0_16
; %bb.6:
	add	x9, x9, x26
	ldurb	w10, [x9, #-1]
	cmp	w10, #99
	b.ne	LBB0_16
; %bb.7:
	sub	x27, x8, x26
	sub	x28, x29, #104
	add	x1, x9, #1
	sub	x0, x29, #104
	mov	w2, #16
	bl	_strlcpy
	ldrb	w8, [x28]
	cbz	w8, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #58
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x28, x28, #1
	ldrb	w8, [x28]
	cbnz	w8, LBB0_8
LBB0_10:
	strb	wzr, [x28]
Lloh14:
	adrp	x8, _hopcount@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hopcount@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x10, x9, #1
	str	x10, [x8]
Lloh16:
	adrp	x8, _MAXHOP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAXHOP@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_19
; %bb.11:
Lloh19:
	adrp	x8, _conffile@GOTPAGE
Lloh20:
	ldr	x8, [x8, _conffile@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	sub	x1, x29, #104
	mov	x0, x19
	bl	_getent
	cmp	w0, #1
	b.ne	LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19], #1
	add	x27, x27, #1
	cmp	w8, #58
	b.ne	LBB0_12
; %bb.13:
	mov	x0, x19
	bl	_strlen
	add	w8, w22, w0
	add	w8, w8, w26
	sub	w8, w8, #2
	ldr	w9, [x24]
	cmp	w8, w9
	b.le	LBB0_15
; %bb.14:
Lloh22:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #23
	bl	_write
	ldrsw	x8, [x24]
	strb	wzr, [x27, x8]
LBB0_15:
	mov	x0, x21
	mov	x1, x19
	bl	_strcpy
	str	x20, [x25]
LBB0_16:
	mov	w0, #1
LBB0_17:
	mov	sp, x23
	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_21
; %bb.18:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh30:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_20:
	mov	w0, #0
	b	LBB0_17
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_tbuf,8,3                       ; @tbuf
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad remcap entry\n"

	.comm	_hopcount,8,3                   ; @hopcount
	.comm	_MAXHOP,8,3                     ; @MAXHOP
l_.str.1:                               ; @.str.1
	.asciz	"Infinite tc= loop\n"

	.comm	_conffile,4,2                   ; @conffile
l_.str.2:                               ; @.str.2
	.asciz	"Remcap entry too long\n"

.subsections_via_symbols
