	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_tail_follow
_perform_tail_follow:                   ## @perform_tail_follow
	.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	%rsi, %rbx
	movq	%rdi, %r12
	cmpb	$45, (%rsi)
	jne	LBB0_3
## %bb.1:
	cmpb	$0, 1(%rbx)
	je	LBB0_2
LBB0_3:
	movq	_glog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.4:
	movq	%rbx, %rdi
	callq	_file_size
	cmpq	(%r12), %rax
	jne	LBB0_5
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_glog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	callq	_parse_tail_follow
	jmp	LBB0_10
LBB0_5:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_FATAL
LBB0_7:
	movq	(%r12), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_fseeko
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_parse_tail_follow
LBB0_9:
	movq	%r15, %rdi
	callq	_fclose
	movq	%r14, (%r12)
LBB0_10:
	movq	_conf@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.12:
	xorl	%eax, %eax
	callq	_tail_html
	jmp	LBB0_13
LBB0_11:
	xorl	%eax, %eax
	callq	_tail_term
LBB0_13:
	movl	$200000, %edi                   ## imm = 0x30D40
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_glog,8,3                       ## @glog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to read log file %s."

	.comm	_errno,4,2                      ## @errno
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_conf,4,2                       ## @conf
	.no_dead_strip	_perform_tail_follow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_tail_follow
_perform_tail_follow:                   ; @perform_tail_follow
	.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	x21, x1
	mov	x19, x0
	ldrb	w8, [x1]
	cmp	w8, #45
	b.ne	LBB0_2
; %bb.1:
	ldrb	w8, [x21, #1]
	cbz	w8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _glog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _glog@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_file_size
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_4:
	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
LBB0_5:
Lloh3:
	adrp	x8, _glog@GOTPAGE
Lloh4:
	ldr	x8, [x8, _glog@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x8, #8]
	bl	_parse_tail_follow
	b	LBB0_11
LBB0_6:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FATAL
LBB0_8:
	ldr	x1, [x19]
Lloh13:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_fseeko
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_parse_tail_follow
LBB0_10:
	mov	x0, x21
	bl	_fclose
	str	x20, [x19]
LBB0_11:
Lloh16:
	adrp	x8, _conf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.12:
	bl	_tail_html
	b	LBB0_14
LBB0_13:
	bl	_tail_term
LBB0_14:
	mov	w0, #3392
	movk	w0, #3, lsl #16
	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
	b	_usleep
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_glog,8,3                       ; @glog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to read log file %s."

	.comm	_errno,4,2                      ; @errno
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_conf,4,2                       ; @conf
	.no_dead_strip	_perform_tail_follow
.subsections_via_symbols
