	.file	"746952.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	copyright, @object
	.size	copyright, 99
copyright:
	.string	"@(#) Copyright (c) 1980, 1993\n\tThe Regents of the University of California.  All rights reserved.\n"
	.align 32
	.type	rcsid, @object
	.size	rcsid, 79
rcsid:
	.string	"$FreeBSD: src/libexec/comsat/comsat.c,v 1.17 2005/02/14 17:42:56 stefanf Exp $"
	.globl	debug
	.bss
	.align 4
	.type	debug, @object
	.size	debug, 4
debug:
	.zero	4
	.globl	hostname
	.align 32
	.type	hostname, @object
	.size	hostname, 64
hostname:
	.zero	64
	.globl	utmp
	.align 8
	.type	utmp, @object
	.size	utmp, 8
utmp:
	.zero	8
	.globl	lastmsgtime
	.align 8
	.type	lastmsgtime, @object
	.size	lastmsgtime, 8
lastmsgtime:
	.zero	8
	.globl	nutmp
	.align 4
	.type	nutmp, @object
	.size	nutmp, 4
nutmp:
	.zero	4
	.globl	uf
	.align 4
	.type	uf, @object
	.size	uf, 4
uf:
	.zero	4
	.section	.rodata
.LC0:
	.string	"getsockname"
.LC1:
	.string	"comsat"
.LC2:
	.string	"/var/mail"
.LC3:
	.string	"chdir: %s: %m"
.LC4:
	.string	"/var/run/utmp"
.LC5:
	.string	"open: %s: %m"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -296[rbp], 16
	lea	rdx, -296[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	getsockname@PLT
	test	eax, eax
	jns	.L2
	lea	rsi, .LC0[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L2:
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	openlog@PLT
	lea	rdi, .LC2[rip]
	call	chdir@PLT
	test	eax, eax
	je	.L3
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
	lea	rax, -272[rbp]
	mov	ecx, 0
	mov	edx, 255
	mov	rsi, rax
	mov	edi, 0
	call	recv@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR uf[rip], eax
	mov	eax, DWORD PTR uf[rip]
	test	eax, eax
	jns	.L4
	lea	rdx, .LC4[rip]
	lea	rsi, .LC5[rip]
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
	lea	rax, -272[rbp]
	mov	ecx, 0
	mov	edx, 255
	mov	rsi, rax
	mov	edi, 0
	call	recv@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rdi, lastmsgtime[rip]
	mov	eax, 0
	call	time@PLT
	mov	esi, 64
	lea	rdi, hostname[rip]
	call	gethostname@PLT
	mov	edi, 0
	call	onalrm
	lea	rsi, onalrm[rip]
	mov	edi, 14
	call	signal@PLT
	mov	esi, 1
	mov	edi, 22
	call	signal@PLT
	lea	rsi, reapchildren[rip]
	mov	edi, 17
	call	signal@PLT
.L9:
	lea	rax, -272[rbp]
	mov	ecx, 0
	mov	edx, 255
	mov	rsi, rax
	mov	edi, 0
	call	recv@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	jg	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L6
	mov	edi, 1
	call	sleep@PLT
.L6:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	jmp	.L7
.L5:
	mov	eax, DWORD PTR nutmp[rip]
	test	eax, eax
	je	.L11
	mov	edi, 8192
	call	sigblock@PLT
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rdi, lastmsgtime[rip]
	mov	eax, 0
	call	time@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	mailfor
	mov	edi, 0
	call	sigsetmask@PLT
	jmp	.L9
.L11:
	nop
.L7:
	jmp	.L9
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	reapchildren
	.type	reapchildren, @function
reapchildren:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	nop
.L13:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 0
	call	wait3@PLT
	test	eax, eax
	jg	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	reapchildren, .-reapchildren
	.section	.rodata
.LC6:
	.string	"%s"
	.text
	.globl	onalrm
	.type	onalrm, @function
onalrm:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -164[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	rdx, QWORD PTR lastmsgtime[rip]
	sub	rax, rdx
	cmp	rax, 119
	jle	.L15
	mov	edi, 0
	call	exit@PLT
.L15:
	mov	edi, 15
	call	alarm@PLT
	mov	eax, DWORD PTR uf[rip]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR utmpmtime.1[rip]
	mov	edx, edx
	cmp	rax, rdx
	jle	.L19
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR utmpmtime.1[rip], eax
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR utmpsize.0[rip]
	mov	edx, edx
	cmp	rax, rdx
	jle	.L17
	mov	rax, QWORD PTR -112[rbp]
	add	eax, 3840
	mov	DWORD PTR utmpsize.0[rip], eax
	mov	eax, DWORD PTR utmpsize.0[rip]
	mov	edx, eax
	mov	rax, QWORD PTR utmp[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR utmp[rip], rax
	mov	rax, QWORD PTR utmp[rip]
	test	rax, rax
	jne	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	lea	rsi, .LC6[rip]
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR uf[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR utmp[rip]
	mov	eax, DWORD PTR uf[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax, 8
	mov	DWORD PTR nutmp[rip], eax
.L19:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	onalrm, .-onalrm
	.section	.rodata
.LC7:
	.string	"%s/%.*s"
	.text
	.globl	mailfor
	.type	mailfor, @function
mailfor:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR utmp[rip]
	mov	eax, DWORD PTR nutmp[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 7
	add	rax, rcx
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	je	.L29
	mov	rax, QWORD PTR -128[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	QWORD PTR -136[rbp], rax
.L24:
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -112[rbp]
	mov	r8, rdx
	mov	ecx, 32
	lea	rdx, .LC2[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L25
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -64[rbp]
	mov	r8, rdx
	mov	ecx, 32
	lea	rdx, .LC2[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -64[rbp]
	mov	QWORD PTR -136[rbp], rax
.L25:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -148[rbp], eax
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -144[rbp]
	lea	rcx, 44[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, 32
	mov	rsi, rax
	mov	rdi, rcx
	call	strncmp@PLT
	test	eax, eax
	jne	.L26
	mov	ecx, DWORD PTR -148[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rsi, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	notify
.L26:
	sub	QWORD PTR -144[rbp], 384
	mov	rax, QWORD PTR utmp[rip]
	cmp	QWORD PTR -144[rbp], rax
	jnb	.L27
	jmp	.L20
.L29:
	nop
.L20:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mailfor, .-mailfor
	.local	cr
	.comm	cr,8,8
	.section	.rodata
.LC8:
	.string	"/dev/"
.LC9:
	.string	"%s%.*s"
.LC10:
	.string	"'/' in \"%s\""
.LC11:
	.string	"%s: wrong mode on %s"
.LC12:
	.string	"notify %s on %s\n"
.LC13:
	.string	"w"
.LC14:
	.string	"%s: %s"
.LC15:
	.string	"\n"
.LC16:
	.string	"\n\r"
.LC17:
	.string	""
.LC18:
	.string	"to "
	.align 8
.LC19:
	.string	"%s\007New mail for %s@%.*s\007 has arrived%s%s%s:%s----%s"
	.text
	.globl	notify
	.type	notify, @function
notify:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	QWORD PTR -312[rbp], rdi
	mov	QWORD PTR -320[rbp], rsi
	mov	QWORD PTR -328[rbp], rdx
	mov	DWORD PTR -332[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -312[rbp]
	lea	rdx, 8[rax]
	lea	rax, -80[rbp]
	mov	r9, rdx
	mov	r8d, 32
	lea	rcx, .LC8[rip]
	lea	rdx, .LC9[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -80[rbp]
	add	rax, 5
	mov	esi, 47
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L31
	lea	rax, -80[rbp]
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	mov	edi, 37
	mov	eax, 0
	call	syslog@PLT
	jmp	.L30
.L31:
	lea	rdx, -224[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -200[rbp]
	and	eax, 72
	test	eax, eax
	jne	.L34
.L33:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L54
	mov	rax, QWORD PTR -312[rbp]
	lea	rdx, 44[rax]
	lea	rax, -80[rbp]
	mov	rcx, rax
	lea	rsi, .LC11[rip]
	mov	edi, 7
	mov	eax, 0
	call	syslog@PLT
	jmp	.L54
.L34:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L36
	mov	rax, QWORD PTR -312[rbp]
	lea	rdx, 44[rax]
	lea	rax, -80[rbp]
	mov	rcx, rax
	lea	rsi, .LC12[rip]
	mov	edi, 7
	mov	eax, 0
	call	syslog@PLT
.L36:
	call	fork@PLT
	test	eax, eax
	jne	.L55
	mov	esi, 0
	mov	edi, 14
	call	signal@PLT
	mov	edi, 30
	call	alarm@PLT
	lea	rax, -80[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L38
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	lea	rax, -80[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC14[rip]
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
.L39:
	mov	edi, 1
	call	_exit@PLT
.L38:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -288[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	tcgetattr@PLT
	mov	eax, DWORD PTR -284[rbp]
	and	eax, 5
	cmp	eax, 5
	jne	.L40
	lea	rax, .LC15[rip]
	jmp	.L41
.L40:
	lea	rax, .LC16[rip]
.L41:
	mov	QWORD PTR cr[rip], rax
	mov	rax, QWORD PTR -312[rbp]
	lea	rcx, 44[rax]
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	BYTE PTR -16[rbp], 0
	mov	eax, DWORD PTR -200[rbp]
	and	eax, 72
	cmp	eax, 72
	je	.L42
	cmp	eax, 72
	ja	.L56
	cmp	eax, 8
	je	.L44
	cmp	eax, 64
	jne	.L56
.L42:
	mov	r9, QWORD PTR cr[rip]
	mov	r8, QWORD PTR cr[rip]
	cmp	DWORD PTR -332[rbp], 0
	je	.L45
	mov	rdx, QWORD PTR -320[rbp]
	jmp	.L46
.L45:
	lea	rdx, .LC17[rip]
.L46:
	cmp	DWORD PTR -332[rbp], 0
	je	.L47
	lea	rcx, .LC18[rip]
	jmp	.L48
.L47:
	lea	rcx, .LC17[rip]
.L48:
	cmp	DWORD PTR -332[rbp], 0
	je	.L49
	mov	rax, QWORD PTR cr[rip]
	jmp	.L50
.L49:
	lea	rax, .LC17[rip]
.L50:
	mov	rsi, QWORD PTR cr[rip]
	lea	r10, -48[rbp]
	mov	rdi, QWORD PTR -296[rbp]
	sub	rsp, 8
	push	r9
	push	r8
	push	rdx
	push	rcx
	push	rax
	lea	r9, hostname[rip]
	mov	r8d, 64
	mov	rcx, r10
	mov	rdx, rsi
	lea	rsi, .LC19[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 48
	mov	rcx, QWORD PTR -328[rbp]
	mov	rdx, QWORD PTR -320[rbp]
	lea	rsi, -48[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	jkfprintf
	jmp	.L51
.L44:
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	fputc@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	fputc@PLT
	jmp	.L51
.L56:
	nop
.L51:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 0
	call	_exit@PLT
.L54:
	nop
	jmp	.L30
.L55:
	nop
.L30:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	notify, .-notify
	.section	.rodata
.LC20:
	.string	"r"
.LC21:
	.string	"From:"
.LC22:
	.string	"Subject:"
.LC23:
	.string	"...more...%s"
.LC24:
	.string	"M-"
.LC25:
	.string	"----%s\n"
	.text
	.globl	jkfprintf
	.type	jkfprintf, @function
jkfprintf:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 96
	mov	QWORD PTR -8264[rbp], rdi
	mov	QWORD PTR -8272[rbp], rsi
	mov	QWORD PTR -8280[rbp], rdx
	mov	QWORD PTR -8288[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8272[rbp]
	mov	rdi, rax
	call	getpwnam@PLT
	mov	QWORD PTR -8224[rbp], rax
	cmp	QWORD PTR -8224[rbp], 0
	je	.L58
	mov	rax, QWORD PTR -8224[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edi, eax
	call	setuid@PLT
.L58:
	mov	rax, QWORD PTR -8280[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8216[rbp], rax
	cmp	QWORD PTR -8216[rbp], 0
	je	.L77
	mov	rcx, QWORD PTR -8288[rbp]
	mov	rax, QWORD PTR -8216[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	mov	DWORD PTR -8244[rbp], 7
	mov	DWORD PTR -8240[rbp], 560
	mov	DWORD PTR -8236[rbp], 1
	jmp	.L61
.L74:
	cmp	DWORD PTR -8236[rbp], 0
	je	.L62
	movzx	eax, BYTE PTR -8208[rbp]
	cmp	al, 10
	jne	.L63
	mov	DWORD PTR -8236[rbp], 0
	jmp	.L61
.L63:
	movzx	eax, BYTE PTR -8208[rbp]
	cmp	al, 32
	je	.L61
	movzx	eax, BYTE PTR -8208[rbp]
	cmp	al, 9
	je	.L61
	lea	rax, -8208[rbp]
	mov	edx, 5
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L62
	lea	rax, -8208[rbp]
	mov	edx, 8
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L62
	jmp	.L61
.L62:
	cmp	DWORD PTR -8244[rbp], 0
	jle	.L65
	cmp	DWORD PTR -8240[rbp], 0
	jg	.L66
.L65:
	mov	rdx, QWORD PTR cr[rip]
	mov	rax, QWORD PTR -8264[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8216[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L57
.L66:
	lea	rax, -8208[rbp]
	mov	QWORD PTR -8232[rbp], rax
	jmp	.L67
.L73:
	movzx	eax, BYTE PTR -8245[rbp]
	test	al, al
	jns	.L68
	cmp	BYTE PTR -8245[rbp], -97
	jbe	.L69
.L68:
	movzx	eax, BYTE PTR -8245[rbp]
	test	al, al
	js	.L70
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -8245[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	jne	.L70
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -8245[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L70
	cmp	BYTE PTR -8245[rbp], 7
	je	.L70
	cmp	BYTE PTR -8245[rbp], 8
	je	.L70
.L69:
	movzx	eax, BYTE PTR -8245[rbp]
	test	al, al
	jns	.L71
	and	BYTE PTR -8245[rbp], 127
	mov	rax, QWORD PTR -8264[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
.L71:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -8245[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2
	test	eax, eax
	je	.L70
	xor	BYTE PTR -8245[rbp], 64
	mov	rax, QWORD PTR -8264[rbp]
	mov	rsi, rax
	mov	edi, 94
	call	fputc@PLT
.L70:
	movzx	eax, BYTE PTR -8245[rbp]
	mov	rdx, QWORD PTR -8264[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	QWORD PTR -8232[rbp], 1
	sub	DWORD PTR -8240[rbp], 1
.L67:
	mov	rax, QWORD PTR -8232[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -8245[rbp], al
	cmp	BYTE PTR -8245[rbp], 0
	je	.L72
	cmp	BYTE PTR -8245[rbp], 10
	jne	.L73
.L72:
	mov	rax, QWORD PTR cr[rip]
	mov	rdx, QWORD PTR -8264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	sub	DWORD PTR -8244[rbp], 1
.L61:
	mov	rdx, QWORD PTR -8216[rbp]
	lea	rax, -8208[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L74
	mov	rdx, QWORD PTR cr[rip]
	mov	rax, QWORD PTR -8264[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8216[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L57
.L77:
	nop
.L57:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	jkfprintf, .-jkfprintf
	.local	utmpmtime.1
	.comm	utmpmtime.1,4,4
	.local	utmpsize.0
	.comm	utmpsize.0,4,4
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"746952.c"
	.text
	.section	.rodata
	.align	2
	.type	copyright, %object
	.size	copyright, 99
copyright:
	.ascii	"@(#) Copyright (c) 1980, 1993\012\011The Regents of"
	.ascii	" the University of California.  All rights reserved"
	.ascii	".\012\000"
	.align	2
	.type	rcsid, %object
	.size	rcsid, 79
rcsid:
	.ascii	"$FreeBSD: src/libexec/comsat/comsat.c,v 1.17 2005/0"
	.ascii	"2/14 17:42:56 stefanf Exp $\000"
	.global	debug
	.bss
	.align	2
	.type	debug, %object
	.size	debug, 4
debug:
	.space	4
	.comm	hostname,64,4
	.global	utmp
	.align	2
	.type	utmp, %object
	.size	utmp, 4
utmp:
	.space	4
	.comm	lastmsgtime,4,4
	.comm	nutmp,4,4
	.comm	uf,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"getsockname\000"
	.align	2
.LC1:
	.ascii	"comsat\000"
	.align	2
.LC2:
	.ascii	"/var/mail\000"
	.align	2
.LC3:
	.ascii	"chdir: %s: %m\000"
	.align	2
.LC4:
	.ascii	"/var/run/utmp\000"
	.align	2
.LC5:
	.ascii	"open: %s: %m\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #16
	str	r3, [fp, #-288]
	sub	r2, fp, #288
	sub	r3, fp, #280
	mov	r1, r3
	mov	r0, #0
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	ldr	r1, .L12+4
	mov	r0, #1
	bl	err
.L2:
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L12+8
	bl	openlog
	ldr	r0, .L12+12
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r2, .L12+12
	ldr	r1, .L12+16
	mov	r0, #3
	bl	syslog
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #255
	mov	r0, #0
	bl	recv
	mov	r0, #1
	bl	exit
.L3:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L12+20
	bl	open
	mov	r3, r0
	ldr	r2, .L12+24
	str	r3, [r2]
	ldr	r3, .L12+24
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L4
	ldr	r2, .L12+20
	ldr	r1, .L12+28
	mov	r0, #3
	bl	syslog
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #255
	mov	r0, #0
	bl	recv
	mov	r0, #1
	bl	exit
.L4:
	ldr	r0, .L12+32
	bl	time
	mov	r1, #64
	ldr	r0, .L12+36
	bl	gethostname
	mov	r0, #0
	bl	onalrm
	ldr	r1, .L12+40
	mov	r0, #14
	bl	signal
	mov	r1, #1
	mov	r0, #22
	bl	signal
	ldr	r1, .L12+44
	mov	r0, #17
	bl	signal
.L9:
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #255
	mov	r0, #0
	bl	recv
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bgt	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L6
	mov	r0, #1
	bl	sleep
.L6:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L5:
	ldr	r3, .L12+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	mov	r0, #8192
	bl	sigblock
	sub	r2, fp, #264
	ldr	r3, [fp, #-284]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L12+32
	bl	time
	sub	r3, fp, #264
	mov	r0, r3
	bl	mailfor
	mov	r0, #0
	bl	sigsetmask
	b	.L9
.L11:
	nop
.L7:
	b	.L9
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	uf
	.word	.LC5
	.word	lastmsgtime
	.word	hostname
	.word	onalrm
	.word	reapchildren
	.word	nutmp
	.size	main, .-main
	.align	2
	.global	reapchildren
	.syntax unified
	.arm
	.fpu softvfp
	.type	reapchildren, %function
reapchildren:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	nop
.L15:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #0
	bl	wait3
	mov	r3, r0
	cmp	r3, #0
	bgt	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	reapchildren, .-reapchildren
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	onalrm
	.syntax unified
	.arm
	.fpu softvfp
	.type	onalrm, %function
onalrm:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L22+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	cmp	r3, #119
	ble	.L17
	mov	r0, #0
	bl	exit
.L17:
	mov	r0, #15
	bl	alarm
	ldr	r3, .L22+8
	ldr	r3, [r3]
	sub	r2, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	fstat
	ldr	r3, [fp, #-36]
	mov	r2, r3
	ldr	r3, .L22+12
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L21
	ldr	r3, [fp, #-36]
	mov	r2, r3
	ldr	r3, .L22+12
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	mov	r2, r3
	ldr	r3, .L22+16
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L19
	ldr	r3, [fp, #-56]
	add	r3, r3, #3840
	ldr	r2, .L22+16
	str	r3, [r2]
	ldr	r3, .L22+20
	ldr	r3, [r3]
	ldr	r2, .L22+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	ldr	r2, .L22+20
	str	r3, [r2]
	ldr	r3, .L22+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+24
	mov	r0, #3
	bl	syslog
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L22+8
	ldr	r3, [r3]
	ldr	r2, .L22+20
	ldr	r1, [r2]
	ldr	r2, [fp, #-56]
	mov	r0, r3
	bl	read
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L22+28
	umull	r1, r3, r2, r3
	lsr	r3, r3, #8
	mov	r2, r3
	ldr	r3, .L22+32
	str	r2, [r3]
.L21:
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC8
	.word	lastmsgtime
	.word	uf
	.word	utmpmtime.7410
	.word	utmpsize.7409
	.word	utmp
	.word	.LC7
	.word	-1431655765
	.word	nutmp
	.size	onalrm, .-onalrm
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%s/%.*s\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mailfor
	.syntax unified
	.arm
	.fpu softvfp
	.type	mailfor, %function
mailfor:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-120]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L34+4
	ldr	r2, [r3]
	ldr	r3, .L34+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #7
	add	r3, r2, r3
	str	r3, [fp, #-116]
	mov	r1, #64
	ldr	r0, [fp, #-120]
	bl	strchr
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-108]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	mov	r1, #58
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-112]
	b	.L28
.L27:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L28:
	sub	r0, fp, #96
	ldr	r3, [fp, #-120]
	str	r3, [sp]
	mov	r3, #32
	ldr	r2, .L34+12
	ldr	r1, .L34+16
	bl	sprintf
	ldr	r3, [fp, #-112]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L29
	sub	r0, fp, #52
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	mov	r3, #32
	ldr	r2, .L34+12
	ldr	r1, .L34+16
	bl	sprintf
	sub	r3, fp, #52
	str	r3, [fp, #-112]
.L29:
	sub	r3, fp, #96
	ldr	r1, [fp, #-112]
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-100]
	b	.L30
.L31:
	ldr	r3, [fp, #-116]
	add	r3, r3, #44
	mov	r2, #32
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-116]
	bl	notify
.L30:
	ldr	r3, [fp, #-116]
	sub	r3, r3, #384
	str	r3, [fp, #-116]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	bcs	.L31
	b	.L24
.L33:
	nop
.L24:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC10
	.word	utmp
	.word	nutmp
	.word	.LC2
	.word	.LC9
	.size	mailfor, .-mailfor
	.local	cr
	.comm	cr,4,4
	.section	.rodata
	.align	2
.LC11:
	.ascii	"/dev/\000"
	.align	2
.LC12:
	.ascii	"%s%.*s\000"
	.align	2
.LC13:
	.ascii	"'/' in \"%s\"\000"
	.align	2
.LC14:
	.ascii	"%s: wrong mode on %s\000"
	.align	2
.LC15:
	.ascii	"notify %s on %s\012\000"
	.align	2
.LC16:
	.ascii	"w\000"
	.align	2
.LC17:
	.ascii	"%s: %s\000"
	.align	2
.LC18:
	.ascii	"\012\000"
	.align	2
.LC19:
	.ascii	"\012\015\000"
	.align	2
.LC20:
	.ascii	"\000"
	.align	2
.LC21:
	.ascii	"to \000"
	.align	2
.LC22:
	.ascii	"%s\007New mail for %s@%.*s\007 has arrived%s%s%s:%s"
	.ascii	"----%s\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	notify
	.syntax unified
	.arm
	.fpu softvfp
	.type	notify, %function
notify:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #268
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	str	r2, [fp, #-240]
	str	r3, [fp, #-244]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-232]
	add	r3, r3, #8
	sub	r0, fp, #72
	str	r3, [sp, #4]
	mov	r3, #32
	str	r3, [sp]
	ldr	r3, .L63+4
	ldr	r2, .L63+8
	mov	r1, #20
	bl	snprintf
	sub	r3, fp, #72
	add	r3, r3, #5
	mov	r1, #47
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #72
	mov	r2, r3
	ldr	r1, .L63+12
	mov	r0, #37
	bl	syslog
	b	.L36
.L37:
	sub	r2, fp, #220
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-204]
	and	r3, r3, #72
	cmp	r3, #0
	bne	.L40
.L39:
	ldr	r3, .L63+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-232]
	add	r2, r3, #44
	sub	r3, fp, #72
	ldr	r1, .L63+20
	mov	r0, #7
	bl	syslog
	b	.L60
.L40:
	ldr	r3, .L63+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-232]
	add	r2, r3, #44
	sub	r3, fp, #72
	ldr	r1, .L63+24
	mov	r0, #7
	bl	syslog
.L42:
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	mov	r1, #0
	mov	r0, #14
	bl	signal
	mov	r0, #30
	bl	alarm
	sub	r3, fp, #72
	ldr	r1, .L63+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L63+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L45
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #72
	ldr	r1, .L63+32
	mov	r0, #3
	bl	syslog
.L45:
	mov	r0, #1
	bl	_exit
.L44:
	ldr	r0, [fp, #-224]
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #132
	mov	r1, r3
	mov	r0, r2
	bl	tcgetattr
	ldr	r3, [fp, #-128]
	and	r3, r3, #5
	cmp	r3, #5
	bne	.L46
	ldr	r3, .L63+36
	b	.L47
.L46:
	ldr	r3, .L63+40
.L47:
	ldr	r2, .L63+44
	str	r3, [r2]
	ldr	r3, [fp, #-232]
	add	r1, r3, #44
	sub	r3, fp, #52
	mov	r2, #32
	mov	r0, r3
	bl	strncpy
	mov	r3, #0
	strb	r3, [fp, #-20]
	ldr	r3, [fp, #-204]
	and	r3, r3, #72
	cmp	r3, #72
	beq	.L48
	cmp	r3, #72
	bhi	.L62
	cmp	r3, #8
	beq	.L50
	cmp	r3, #64
	bne	.L62
.L48:
	ldr	r3, .L63+44
	ldr	lr, [r3]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L63+44
	ldr	r3, [r3]
	b	.L52
.L51:
	ldr	r3, .L63+48
.L52:
	ldr	r2, [fp, #-244]
	cmp	r2, #0
	beq	.L53
	ldr	r1, .L63+52
	b	.L54
.L53:
	ldr	r1, .L63+48
.L54:
	ldr	r2, [fp, #-244]
	cmp	r2, #0
	beq	.L55
	ldr	r2, [fp, #-236]
	b	.L56
.L55:
	ldr	r2, .L63+48
.L56:
	ldr	r0, .L63+44
	ldr	r0, [r0]
	ldr	ip, .L63+44
	ldr	ip, [ip]
	sub	r4, fp, #52
	str	ip, [sp, #24]
	str	r0, [sp, #20]
	str	r2, [sp, #16]
	str	r1, [sp, #12]
	str	r3, [sp, #8]
	ldr	r3, .L63+56
	str	r3, [sp, #4]
	mov	r3, #64
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	ldr	r1, .L63+60
	ldr	r0, [fp, #-224]
	bl	fprintf
	sub	r1, fp, #52
	ldr	r3, [fp, #-240]
	ldr	r2, [fp, #-236]
	ldr	r0, [fp, #-224]
	bl	jkfprintf
	b	.L57
.L50:
	ldr	r1, [fp, #-224]
	mov	r0, #7
	bl	fputc
	ldr	r0, [fp, #-224]
	bl	fflush
	mov	r0, #1
	bl	sleep
	ldr	r1, [fp, #-224]
	mov	r0, #7
	bl	fputc
	b	.L57
.L62:
	nop
.L57:
	ldr	r0, [fp, #-224]
	bl	fclose
	mov	r0, #0
	bl	_exit
.L60:
	nop
	b	.L36
.L61:
	nop
.L36:
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC23
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	debug
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	cr
	.word	.LC20
	.word	.LC21
	.word	hostname
	.word	.LC22
	.size	notify, .-notify
	.section	.rodata
	.align	2
.LC24:
	.ascii	"r\000"
	.align	2
.LC25:
	.ascii	"From:\000"
	.align	2
.LC26:
	.ascii	"Subject:\000"
	.align	2
.LC27:
	.ascii	"...more...%s\000"
	.align	2
.LC28:
	.ascii	"M-\000"
	.align	2
.LC29:
	.ascii	"----%s\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jkfprintf
	.syntax unified
	.arm
	.fpu softvfp
	.type	jkfprintf, %function
jkfprintf:
	@ args = 0, pretend = 0, frame = 8240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #52
	sub	ip, fp, #8192
	sub	ip, ip, #12
	str	r0, [ip, #-36]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	str	r1, [r0, #-40]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	str	r2, [r1, #-44]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-48]
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	getpwnam
	str	r0, [r4, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L66
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	setuid
.L66:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, .L86+4
	ldr	r0, [r3, #-44]
	bl	fopen
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	beq	.L85
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #1
	ldr	r1, [r1, #-48]
	ldr	r0, [r3, #-8]
	bl	fseeko
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #7
	str	r3, [r2, #-24]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #560
	str	r3, [r2, #-20]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-16]
	b	.L69
.L82:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	beq	.L70
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L71
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	b	.L69
.L71:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L69
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L69
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #5
	ldr	r1, .L86+8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #8
	ldr	r1, .L86+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	b	.L69
.L70:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	ble	.L73
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bgt	.L74
.L73:
	ldr	r3, .L86+16
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L86+20
	ldr	r0, [r0, #-36]
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	b	.L65
.L74:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-28]
	b	.L75
.L81:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrsb	r3, [r3, #-29]
	cmp	r3, #0
	bge	.L76
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	cmp	r3, #159
	bls	.L77
.L76:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrsb	r3, [r3, #-29]
	cmp	r3, #0
	blt	.L78
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	bne	.L78
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L78
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	cmp	r3, #7
	beq	.L78
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L78
.L77:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrsb	r3, [r3, #-29]
	cmp	r3, #0
	bge	.L79
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]
	and	r3, r3, #127
	strb	r3, [r2, #-29]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L86+24
	bl	fwrite
.L79:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L78
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]
	eor	r3, r3, #64
	strb	r3, [r2, #-29]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-36]
	mov	r0, #94
	bl	fputc
.L78:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r1, [r2, #-36]
	mov	r0, r3
	bl	fputc
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	sub	r3, r3, #1
	str	r3, [r2, #-20]
.L75:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	ldrb	r3, [r3]
	strb	r3, [r2, #-29]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-29]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L81
.L80:
	ldr	r3, .L86+16
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r1, [r2, #-36]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r3, r3, #1
	str	r3, [r2, #-24]
.L69:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-8]
	mov	r1, #8192
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r3, .L86+16
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L86+28
	ldr	r0, [r0, #-36]
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	b	.L65
.L85:
	nop
.L65:
	ldr	r3, .L86
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC30
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	cr
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	jkfprintf, .-jkfprintf
	.local	utmpmtime.7410
	.comm	utmpmtime.7410,4,4
	.local	utmpsize.7409
	.comm	utmpsize.7409,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
