	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctl_renametf                   ## -- Begin function ctl_renametf
	.p2align	4, 0x90
_ctl_renametf:                          ## @ctl_renametf
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	incl	%r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_CTI_LINEMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movb	$0, (%r15)
	cmpb	$116, (%r12)
	jne	LBB0_3
## %bb.1:
	cmpb	$102, 1(%r12)
	jne	LBB0_3
## %bb.2:
	movsbl	2(%r12), %edi
	callq	_isalpha
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ctl_readcf
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strlcpy
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movb	$114, (%r14)
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r14, %rdi
	movl	$432, %edx                      ## imm = 0x1B0
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_fdopen
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	movq	(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	movq	(%rbx), %rdx
	movb	(%rdx), %al
	testb	%al, %al
	je	LBB0_20
## %bb.16:
	leaq	1(%rdx), %rcx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, %al
	jle	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=1
	movzbl	(%rcx), %eax
	incq	%rcx
	testb	%al, %al
	jne	LBB0_18
	jmp	LBB0_20
LBB0_3:
	leaq	L_.str(%rip), %rdx
LBB0_4:
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_70:
	cmpb	$0, (%r15)
	je	LBB0_75
## %bb.71:
	movq	%r15, %rdi
	jmp	LBB0_76
LBB0_75:
	leaq	L_.str.20(%rip), %rdi
LBB0_76:
	callq	_strdup
LBB0_77:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_79
## %bb.78:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_11
LBB0_19:
	movq	_from_host@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_20:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fprintf
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_21
## %bb.22:
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_41
## %bb.23:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movb	(%rbx), %al
	cmpb	$45, %al
	jne	LBB0_25
## %bb.24:
	movb	$95, (%rbx)
	movb	1(%rbx), %al
	incq	%rbx
LBB0_25:
	testb	%al, %al
	je	LBB0_41
## %bb.26:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r14d
	movsbl	%al, %edi
	callq	_islowerch
	testq	%rax, %rax
	jne	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movsbl	(%rbx), %edi
	callq	_isdigitch
	testq	%rax, %rax
	jne	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_OTHER_USERID_CHARS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movsbl	(%rbx), %esi
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_30
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	%r14d, %ecx
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_27
	jmp	LBB0_34
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_isupperch
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	movb	$95, (%rbx)
	jmp	LBB0_32
LBB0_10:
	movl	%ebx, %edi
	callq	_close
	leaq	L_.str.4(%rip), %rbx
LBB0_11:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ctl_freeinf
	jmp	LBB0_70
LBB0_21:
	leaq	L_.str.5(%rip), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_34:
	testl	%ecx, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_41
## %bb.35:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_36
LBB0_41:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdx
LBB0_42:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_44
## %bb.43:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
LBB0_44:
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_46
## %bb.45:
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
LBB0_46:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_48
## %bb.47:
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
LBB0_48:
	movq	40(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_54
## %bb.49:
	movb	(%rdx), %al
	testb	%al, %al
	je	LBB0_53
## %bb.50:
	leaq	1(%rdx), %rcx
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$33, %al
	jl	LBB0_54
## %bb.51:                              ##   in Loop: Header=BB0_52 Depth=1
	movzbl	(%rcx), %eax
	incq	%rcx
	testb	%al, %al
	jne	LBB0_52
LBB0_53:
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
LBB0_54:
	movq	%rbx, %rdi
	callq	_ctl_rewindcf
	movq	%rbx, %rdi
	callq	_ctl_getline
	testq	%rax, %rax
	je	LBB0_68
## %bb.55:
	movq	%rax, %r14
	movl	$9889, %ebx                     ## imm = 0x26A1
	jmp	LBB0_56
LBB0_64:                                ##   in Loop: Header=BB0_56 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 48(%rax)
	je	LBB0_67
LBB0_65:                                ##   in Loop: Header=BB0_56 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.13(%rip), %rsi
LBB0_66:                                ##   in Loop: Header=BB0_56 Depth=1
	movq	%r14, %rdx
	callq	_fprintf
LBB0_67:                                ##   in Loop: Header=BB0_56 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ctl_getline
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_68
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14), %eax
	addl	$-67, %eax
	cmpl	$18, %eax
	ja	LBB0_65
## %bb.57:                              ##   in Loop: Header=BB0_56 Depth=1
	btl	%eax, %ebx
	jb	LBB0_67
## %bb.58:                              ##   in Loop: Header=BB0_56 Depth=1
	cmpl	$11, %eax
	je	LBB0_64
## %bb.59:                              ##   in Loop: Header=BB0_56 Depth=1
	cmpl	$18, %eax
	jne	LBB0_65
## %bb.60:                              ##   in Loop: Header=BB0_56 Depth=1
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_67
## %bb.61:                              ##   in Loop: Header=BB0_56 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 48(%rax)
	jne	LBB0_65
## %bb.62:                              ##   in Loop: Header=BB0_56 Depth=1
	incq	%r14
	movl	$2, %edx
	movq	%r14, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_67
## %bb.63:                              ##   in Loop: Header=BB0_56 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.16(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_66
LBB0_68:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ctl_freeinf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	testl	%eax, %eax
	je	LBB0_72
## %bb.69:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.18(%rip), %rdx
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_70
LBB0_72:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strlcpy
	movb	$99, (%rbx)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_link
	testl	%eax, %eax
	je	LBB0_74
## %bb.73:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.19(%rip), %rdx
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rcx
	movq	%rbx, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_70
LBB0_74:
	movq	%r12, %rdi
	callq	_unlink
	movq	%r14, %rdi
	callq	_unlink
	xorl	%eax, %eax
	jmp	LBB0_77
LBB0_36:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movb	(%rbx), %al
	jmp	LBB0_37
LBB0_40:                                ##   in Loop: Header=BB0_37 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movsbl	%al, %edi
	callq	_isupperch
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=1
	movsbl	(%rbx), %edi
	callq	_tolowerch
	movb	%al, (%rbx)
	jmp	LBB0_40
LBB0_79:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME_MAX,4,2                   ## @NAME_MAX
	.comm	_CTI_LINEMAX,4,2                ## @CTI_LINEMAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctl_renametf invalid filename: %s"

L_.str.1:                               ## @.str.1
	.asciz	"ctl_renametf error cti_readcf(%s)"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
L_.str.2:                               ## @.str.2
	.asciz	"ctl_renametf error open(%s): %s"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"w"

L_.str.4:                               ## @.str.4
	.asciz	"ctl_renametf error fopen(%s): %s"

L_.str.5:                               ## @.str.5
	.asciz	".na."

L_.str.6:                               ## @.str.6
	.asciz	"localhost"

L_.str.7:                               ## @.str.7
	.asciz	"H%s\n"

	.comm	_from_host,8,3                  ## @from_host
	.comm	_OTHER_USERID_CHARS,8,3         ## @OTHER_USERID_CHARS
L_.str.8:                               ## @.str.8
	.asciz	"P%s\n"

L_.str.9:                               ## @.str.9
	.asciz	"C%s\n"

L_.str.10:                              ## @.str.10
	.asciz	"J%s\n"

L_.str.11:                              ## @.str.11
	.asciz	"L%s\n"

L_.str.12:                              ## @.str.12
	.asciz	"M%s\n"

L_.str.13:                              ## @.str.13
	.asciz	"%s\n"

L_.str.14:                              ## @.str.14
	.asciz	"df"

L_.str.15:                              ## @.str.15
	.asciz	"f%s\n"

L_.str.16:                              ## @.str.16
	.asciz	"U%s\n"

L_.str.17:                              ## @.str.17
	.asciz	"N%s\n"

L_.str.18:                              ## @.str.18
	.asciz	"ctl_renametf error fclose(%s): %s"

L_.str.19:                              ## @.str.19
	.asciz	"ctl_renametf error link(%s,%s): %s"

L_.str.20:                              ## @.str.20
	.asciz	"ctl_renametf internal (missed) error"

	.comm	_TRIGGERTEST_FNAME,8,3          ## @TRIGGERTEST_FNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctl_renametf                   ; -- Begin function ctl_renametf
	.p2align	2
_ctl_renametf:                          ; @ctl_renametf
	.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, #16
	mov	x22, x1
	mov	x25, x0
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	x8, _NAME_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NAME_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w24, w8, #1
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x12, x9, #0x1fffffff0
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
Lloh10:
	adrp	x8, _CTI_LINEMAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CTI_LINEMAX@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	mov	x9, x21
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	strb	wzr, [x19]
	ldrb	w8, [x1]
	cmp	w8, #116
	b.ne	LBB0_13
; %bb.1:
	ldrb	w8, [x22, #1]
	cmp	w8, #102
	b.ne	LBB0_13
; %bb.2:
	ldrsb	w0, [x22, #2]
	bl	_isalpha
	cbz	w0, LBB0_13
; %bb.3:
	mov	x0, x25
	mov	x1, x22
	bl	_ctl_readcf
	cbz	x0, LBB0_21
; %bb.4:
	mov	x25, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_strlcpy
	mov	w8, #114
	strb	w8, [x20]
Lloh15:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	mov	w2, #432
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.5:
	mov	x27, x0
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fdopen
	cbz	x0, LBB0_30
; %bb.6:
	mov	x26, x0
	ldr	x0, [x25]
	cbz	x0, LBB0_23
; %bb.7:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.8:
	ldr	x0, [x25]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.9:
	ldr	x2, [x25]
	ldrb	w9, [x2]
	cbz	w9, LBB0_24
; %bb.10:
	add	x8, x2, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w9, w9
	cmp	w9, #32
	b.le	LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_11
	b	LBB0_24
LBB0_13:
Lloh30:
	adrp	x2, l_.str@PAGE
Lloh31:
	add	x2, x2, l_.str@PAGEOFF
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	bl	_snprintf
LBB0_15:
	ldrb	w8, [x19]
	cbz	w8, LBB0_17
; %bb.16:
	mov	x0, x19
	b	LBB0_18
LBB0_17:
Lloh32:
	adrp	x0, l_.str.20@PAGE
Lloh33:
	add	x0, x0, l_.str.20@PAGEOFF
LBB0_18:
	bl	_strdup
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_79
; %bb.20:
	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_21:
Lloh37:
	adrp	x2, l_.str.1@PAGE
Lloh38:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_22:
Lloh39:
	adrp	x22, l_.str.2@PAGE
Lloh40:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_31
LBB0_23:
Lloh41:
	adrp	x8, _from_host@GOTPAGE
Lloh42:
	ldr	x8, [x8, _from_host@GOTPAGEOFF]
Lloh43:
	ldr	x2, [x8]
LBB0_24:
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x26
	bl	_fprintf
	ldr	x0, [x25, #8]
	stur	x26, [x29, #-96]                ; 8-byte Folded Spill
	cbz	x0, LBB0_32
; %bb.25:
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_42
; %bb.26:
	ldr	x26, [x25, #8]
	ldrb	w8, [x26]
	cmp	w8, #45
	b.ne	LBB0_28
; %bb.27:
	mov	w8, #95
	strb	w8, [x26]
	ldrb	w8, [x26, #1]!
LBB0_28:
	cbz	w8, LBB0_42
; %bb.29:
	mov	w28, #0
	b	LBB0_35
LBB0_30:
	mov	x0, x27
	bl	_close
Lloh48:
	adrp	x22, l_.str.4@PAGE
Lloh49:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_31:
Lloh50:
	adrp	x8, _errno@GOTPAGE
Lloh51:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp, #-16]!
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_snprintf
	add	sp, sp, #16
	mov	x0, x25
	bl	_ctl_freeinf
	b	LBB0_15
LBB0_32:
Lloh53:
	adrp	x2, l_.str.5@PAGE
Lloh54:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_43
LBB0_33:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	w28, #1
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	ldrb	w8, [x26, #1]!
	cbz	w8, LBB0_40
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_islowerch
	cbnz	x0, LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldrsb	w0, [x26]
	bl	_isdigitch
	cbnz	x0, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh55:
	adrp	x8, _OTHER_USERID_CHARS@GOTPAGE
Lloh56:
	ldr	x8, [x8, _OTHER_USERID_CHARS@GOTPAGEOFF]
Lloh57:
	ldr	x0, [x8]
	ldrsb	w27, [x26]
	mov	x1, x27
	bl	_strchr
	cbnz	x0, LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	and	w8, w27, #0xff
	sxtb	w0, w8
	bl	_isupperch
	cbnz	x0, LBB0_33
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	w8, #95
	strb	w8, [x26]
	b	LBB0_34
LBB0_40:
	cbz	w28, LBB0_42
; %bb.41:
	ldr	x0, [x25, #8]
	bl	_getpwnam
	cbz	x0, LBB0_75
LBB0_42:
	ldr	x2, [x25, #8]
	ldur	x26, [x29, #-96]                ; 8-byte Folded Reload
LBB0_43:
Lloh58:
	adrp	x1, l_.str.8@PAGE
Lloh59:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x26
	bl	_fprintf
	ldr	x2, [x25, #16]
	cbz	x2, LBB0_45
; %bb.44:
Lloh60:
	adrp	x1, l_.str.9@PAGE
Lloh61:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x26
	bl	_fprintf
LBB0_45:
	ldr	x2, [x25, #24]
	cbz	x2, LBB0_47
; %bb.46:
Lloh62:
	adrp	x1, l_.str.10@PAGE
Lloh63:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x26
	bl	_fprintf
LBB0_47:
	ldr	x2, [x25, #32]
	cbz	x2, LBB0_49
; %bb.48:
Lloh64:
	adrp	x1, l_.str.11@PAGE
Lloh65:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x26
	bl	_fprintf
LBB0_49:
	ldr	x2, [x25, #40]
	cbz	x2, LBB0_55
; %bb.50:
	ldrb	w9, [x2]
	cbz	w9, LBB0_54
; %bb.51:
	add	x8, x2, #1
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w9, w9
	cmp	w9, #33
	b.lt	LBB0_55
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_52
LBB0_54:
Lloh66:
	adrp	x1, l_.str.12@PAGE
Lloh67:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x26
	bl	_fprintf
LBB0_55:
	mov	x0, x25
	bl	_ctl_rewindcf
	mov	x0, x25
	bl	_ctl_getline
	cbz	x0, LBB0_69
; %bb.56:
	mov	x28, x0
	mov	w27, #1
	mov	w26, #9889
	b	LBB0_61
LBB0_57:                                ;   in Loop: Header=BB0_61 Depth=1
	ldr	w8, [x25, #48]
	cbz	w8, LBB0_60
LBB0_58:                                ;   in Loop: Header=BB0_61 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
Lloh68:
	adrp	x1, l_.str.13@PAGE
Lloh69:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_59:                                ;   in Loop: Header=BB0_61 Depth=1
	mov	x2, x28
	bl	_fprintf
LBB0_60:                                ;   in Loop: Header=BB0_61 Depth=1
	mov	x0, x25
	bl	_ctl_getline
	mov	x28, x0
	cbz	x0, LBB0_69
LBB0_61:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x28]
	sub	w8, w8, #67
	cmp	w8, #18
	b.hi	LBB0_58
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=1
	lsl	w9, w27, w8
	tst	w9, w26
	b.ne	LBB0_60
; %bb.63:                               ;   in Loop: Header=BB0_61 Depth=1
	cmp	w8, #11
	b.eq	LBB0_57
; %bb.64:                               ;   in Loop: Header=BB0_61 Depth=1
	cmp	w8, #18
	b.ne	LBB0_58
; %bb.65:                               ;   in Loop: Header=BB0_61 Depth=1
	mov	x0, x28
	mov	w1, #47
	bl	_strchr
	cbnz	x0, LBB0_60
; %bb.66:                               ;   in Loop: Header=BB0_61 Depth=1
	ldr	w8, [x25, #48]
	cbnz	w8, LBB0_58
; %bb.67:                               ;   in Loop: Header=BB0_61 Depth=1
	add	x28, x28, #1
	mov	x0, x28
Lloh70:
	adrp	x1, l_.str.14@PAGE
Lloh71:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbnz	w0, LBB0_60
; %bb.68:                               ;   in Loop: Header=BB0_61 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
Lloh72:
	adrp	x1, l_.str.15@PAGE
Lloh73:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x2, x28
	bl	_fprintf
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
Lloh74:
	adrp	x1, l_.str.16@PAGE
Lloh75:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x2, x28
	bl	_fprintf
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
Lloh76:
	adrp	x1, l_.str.17@PAGE
Lloh77:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_59
LBB0_69:
	mov	x0, x25
	bl	_ctl_freeinf
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_fclose
	cbz	w0, LBB0_71
; %bb.70:
Lloh78:
	adrp	x8, _errno@GOTPAGE
Lloh79:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp, #-16]!
Lloh81:
	adrp	x2, l_.str.18@PAGE
Lloh82:
	add	x2, x2, l_.str.18@PAGEOFF
	b	LBB0_73
LBB0_71:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_strlcpy
	mov	w8, #99
	strb	w8, [x23]
	mov	x0, x20
	mov	x1, x23
	bl	_link
	cbz	w0, LBB0_74
; %bb.72:
Lloh83:
	adrp	x8, _errno@GOTPAGE
Lloh84:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	bl	_strerror
	stp	x23, x0, [sp, #-16]!
Lloh86:
	adrp	x2, l_.str.19@PAGE
Lloh87:
	add	x2, x2, l_.str.19@PAGEOFF
LBB0_73:
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_15
LBB0_74:
	mov	x0, x22
	bl	_unlink
	mov	x0, x20
	bl	_unlink
	mov	x0, #0
	b	LBB0_19
LBB0_75:
	ldr	x26, [x25, #8]
	ldrb	w8, [x26]
	cbnz	w8, LBB0_77
	b	LBB0_42
LBB0_76:                                ;   in Loop: Header=BB0_77 Depth=1
	ldrb	w8, [x26, #1]!
	cbz	w8, LBB0_42
LBB0_77:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isupperch
	cbz	x0, LBB0_76
; %bb.78:                               ;   in Loop: Header=BB0_77 Depth=1
	ldrsb	w0, [x26]
	bl	_tolowerch
	strb	w0, [x26]
	b	LBB0_76
LBB0_79:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_MAX,4,2                   ; @NAME_MAX
	.comm	_CTI_LINEMAX,4,2                ; @CTI_LINEMAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctl_renametf invalid filename: %s"

l_.str.1:                               ; @.str.1
	.asciz	"ctl_renametf error cti_readcf(%s)"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
l_.str.2:                               ; @.str.2
	.asciz	"ctl_renametf error open(%s): %s"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"w"

l_.str.4:                               ; @.str.4
	.asciz	"ctl_renametf error fopen(%s): %s"

l_.str.5:                               ; @.str.5
	.asciz	".na."

l_.str.6:                               ; @.str.6
	.asciz	"localhost"

l_.str.7:                               ; @.str.7
	.asciz	"H%s\n"

	.comm	_from_host,8,3                  ; @from_host
	.comm	_OTHER_USERID_CHARS,8,3         ; @OTHER_USERID_CHARS
l_.str.8:                               ; @.str.8
	.asciz	"P%s\n"

l_.str.9:                               ; @.str.9
	.asciz	"C%s\n"

l_.str.10:                              ; @.str.10
	.asciz	"J%s\n"

l_.str.11:                              ; @.str.11
	.asciz	"L%s\n"

l_.str.12:                              ; @.str.12
	.asciz	"M%s\n"

l_.str.13:                              ; @.str.13
	.asciz	"%s\n"

l_.str.14:                              ; @.str.14
	.asciz	"df"

l_.str.15:                              ; @.str.15
	.asciz	"f%s\n"

l_.str.16:                              ; @.str.16
	.asciz	"U%s\n"

l_.str.17:                              ; @.str.17
	.asciz	"N%s\n"

l_.str.18:                              ; @.str.18
	.asciz	"ctl_renametf error fclose(%s): %s"

l_.str.19:                              ; @.str.19
	.asciz	"ctl_renametf error link(%s,%s): %s"

l_.str.20:                              ; @.str.20
	.asciz	"ctl_renametf internal (missed) error"

	.comm	_TRIGGERTEST_FNAME,8,3          ; @TRIGGERTEST_FNAME
.subsections_via_symbols
