	.file	"217629.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	copyright, @object
	.size	copyright, 99
copyright:
	.string	"@(#) Copyright (c) 1983, 1993\n\tThe Regents of the University of California.  All rights reserved.\n"
	.align 32
	.type	sccsid, @object
	.size	sccsid, 37
sccsid:
	.string	"@(#)logger.c\t8.1 (Berkeley) 06/06/93"
	.globl	prioritynames
	.section	.rodata
.LC0:
	.string	"alert"
.LC1:
	.string	"crit"
.LC2:
	.string	"debug"
.LC3:
	.string	"emerg"
.LC4:
	.string	"err"
.LC5:
	.string	"error"
.LC6:
	.string	"info"
.LC7:
	.string	"none"
.LC8:
	.string	"notice"
.LC9:
	.string	"panic"
.LC10:
	.string	"warn"
.LC11:
	.string	"warning"
	.section	.data.rel.local,"aw"
	.align 32
	.type	prioritynames, @object
	.size	prioritynames, 208
prioritynames:
	.quad	.LC0
	.long	1
	.zero	4
	.quad	.LC1
	.long	2
	.zero	4
	.quad	.LC2
	.long	7
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.quad	.LC4
	.long	3
	.zero	4
	.quad	.LC5
	.long	3
	.zero	4
	.quad	.LC6
	.long	6
	.zero	4
	.quad	.LC7
	.long	16
	.zero	4
	.quad	.LC8
	.long	5
	.zero	4
	.quad	.LC9
	.long	0
	.zero	4
	.quad	.LC10
	.long	4
	.zero	4
	.quad	.LC11
	.long	4
	.zero	4
	.quad	0
	.long	-1
	.zero	4
	.globl	facilitynames
	.section	.rodata
.LC12:
	.string	"auth"
.LC13:
	.string	"authpriv"
.LC14:
	.string	"cron"
.LC15:
	.string	"daemon"
.LC16:
	.string	"ftp"
.LC17:
	.string	"kern"
.LC18:
	.string	"lpr"
.LC19:
	.string	"mail"
.LC20:
	.string	"mark"
.LC21:
	.string	"news"
.LC22:
	.string	"security"
.LC23:
	.string	"syslog"
.LC24:
	.string	"user"
.LC25:
	.string	"uucp"
.LC26:
	.string	"local0"
.LC27:
	.string	"local1"
.LC28:
	.string	"local2"
.LC29:
	.string	"local3"
.LC30:
	.string	"local4"
.LC31:
	.string	"local5"
.LC32:
	.string	"local6"
.LC33:
	.string	"local7"
	.section	.data.rel.local
	.align 32
	.type	facilitynames, @object
	.size	facilitynames, 368
facilitynames:
	.quad	.LC12
	.long	32
	.zero	4
	.quad	.LC13
	.long	80
	.zero	4
	.quad	.LC14
	.long	72
	.zero	4
	.quad	.LC15
	.long	24
	.zero	4
	.quad	.LC16
	.long	88
	.zero	4
	.quad	.LC17
	.long	0
	.zero	4
	.quad	.LC18
	.long	48
	.zero	4
	.quad	.LC19
	.long	16
	.zero	4
	.quad	.LC20
	.long	192
	.zero	4
	.quad	.LC21
	.long	56
	.zero	4
	.quad	.LC22
	.long	32
	.zero	4
	.quad	.LC23
	.long	40
	.zero	4
	.quad	.LC24
	.long	8
	.zero	4
	.quad	.LC25
	.long	64
	.zero	4
	.quad	.LC26
	.long	128
	.zero	4
	.quad	.LC27
	.long	136
	.zero	4
	.quad	.LC28
	.long	144
	.zero	4
	.quad	.LC29
	.long	152
	.zero	4
	.quad	.LC30
	.long	160
	.zero	4
	.quad	.LC31
	.long	168
	.zero	4
	.quad	.LC32
	.long	176
	.zero	4
	.quad	.LC33
	.long	184
	.zero	4
	.quad	0
	.long	-1
	.zero	4
	.section	.rodata
.LC34:
	.string	"r"
.LC35:
	.string	"logger: %s: %s.\n"
.LC36:
	.string	"f:ip:st:"
.LC37:
	.string	"%s"
	.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
	push	r12
	push	rbx
	sub	rsp, 1088
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -1092[rbp], edi
	mov	QWORD PTR -1104[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1076[rbp], 5
	mov	DWORD PTR -1080[rbp], 0
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -1072[rbp]
	movsx	eax, al
	sub	eax, 102
	cmp	eax, 14
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L8-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L9:
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	or	DWORD PTR -1080[rbp], 1
	jmp	.L2
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	pencode
	mov	DWORD PTR -1076[rbp], eax
	jmp	.L2
.L6:
	or	DWORD PTR -1080[rbp], 32
	jmp	.L2
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -1064[rbp], rax
	jmp	.L2
.L3:
	call	usage
.L2:
	mov	rcx, QWORD PTR -1104[rbp]
	mov	eax, DWORD PTR -1092[rbp]
	lea	rdx, .LC36[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -1072[rbp], eax
	cmp	DWORD PTR -1072[rbp], -1
	jne	.L11
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -1092[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -1104[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L12
	call	getlogin@PLT
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -1064[rbp]
.L13:
	mov	ecx, DWORD PTR -1080[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	openlog@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fclose@PLT
	cmp	DWORD PTR -1092[rbp], 0
	jle	.L21
	lea	rbx, -1056[rbp]
	lea	r12, -1056[rbp]
	add	r12, 1022
	jmp	.L15
.L19:
	mov	rax, QWORD PTR -1104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1068[rbp], eax
	mov	eax, DWORD PTR -1068[rbp]
	cdqe
	add	rax, rbx
	cmp	r12, rax
	jnb	.L16
	lea	rax, -1056[rbp]
	cmp	rbx, rax
	jbe	.L16
	lea	rdx, -1056[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	lea	rsi, .LC37[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
	lea	rbx, -1056[rbp]
.L16:
	mov	eax, DWORD PTR -1068[rbp]
	cmp	eax, 1023
	jbe	.L17
	mov	rax, QWORD PTR -1104[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -1104[rbp], rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1076[rbp]
	lea	rsi, .LC37[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
	jmp	.L15
.L17:
	lea	rax, -1056[rbp]
	cmp	rbx, rax
	je	.L18
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 32
.L18:
	mov	eax, DWORD PTR -1068[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1104[rbp]
	lea	rcx, 8[rax]
	mov	QWORD PTR -1104[rbp], rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	rdi, rbx
	call	memmove@PLT
	mov	eax, DWORD PTR -1068[rbp]
	cdqe
	add	rbx, rax
	mov	BYTE PTR [rbx], 0
.L15:
	mov	rax, QWORD PTR -1104[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L19
	lea	rax, -1056[rbp]
	cmp	rbx, rax
	je	.L20
	lea	rdx, -1056[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	lea	rsi, .LC37[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
	jmp	.L20
.L22:
	lea	rdx, -1056[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	lea	rsi, .LC37[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
.L21:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1056[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
.L20:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC38:
	.string	"logger: unknown facility name: %s.\n"
	.align 8
.LC39:
	.string	"logger: unknown priority name: %s.\n"
	.text
	.globl	pencode
	.type	pencode, @function
pencode:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	QWORD PTR -24[rbp], rbx
	jmp	.L25
.L27:
	add	rbx, 1
.L25:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L26
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 46
	jne	.L27
.L26:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L28
	mov	BYTE PTR [rbx], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, facilitynames[rip]
	mov	rdi, rax
	call	decode
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jns	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 46
	jmp	.L30
.L28:
	mov	DWORD PTR -32[rbp], 0
	mov	rbx, QWORD PTR -24[rbp]
.L30:
	lea	rsi, prioritynames[rip]
	mov	rdi, rbx
	call	decode
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 7
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 1016
	or	eax, edx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pencode, .-pencode
	.globl	decode
	.type	decode, @function
decode:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L35
.L34:
	mov	rbx, QWORD PTR -32[rbp]
	jmp	.L36
.L38:
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L37
	mov	eax, DWORD PTR 8[rbx]
	jmp	.L35
.L37:
	add	rbx, 16
.L36:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L38
	mov	eax, -1
.L35:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	decode, .-decode
	.section	.rodata
	.align 8
.LC40:
	.string	"logger: [-is] [-f file] [-p pri] [-t tag] [ message ... ]\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.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	"217629.c"
	.text
	.data
	.align	2
	.type	copyright, %object
	.size	copyright, 99
copyright:
	.ascii	"@(#) Copyright (c) 1983, 1993\012\011The Regents of"
	.ascii	" the University of California.  All rights reserved"
	.ascii	".\012\000"
	.align	2
	.type	sccsid, %object
	.size	sccsid, 37
sccsid:
	.ascii	"@(#)logger.c\0118.1 (Berkeley) 06/06/93\000"
	.global	prioritynames
	.section	.rodata
	.align	2
.LC0:
	.ascii	"alert\000"
	.align	2
.LC1:
	.ascii	"crit\000"
	.align	2
.LC2:
	.ascii	"debug\000"
	.align	2
.LC3:
	.ascii	"emerg\000"
	.align	2
.LC4:
	.ascii	"err\000"
	.align	2
.LC5:
	.ascii	"error\000"
	.align	2
.LC6:
	.ascii	"info\000"
	.align	2
.LC7:
	.ascii	"none\000"
	.align	2
.LC8:
	.ascii	"notice\000"
	.align	2
.LC9:
	.ascii	"panic\000"
	.align	2
.LC10:
	.ascii	"warn\000"
	.align	2
.LC11:
	.ascii	"warning\000"
	.data
	.align	2
	.type	prioritynames, %object
	.size	prioritynames, 104
prioritynames:
	.word	.LC0
	.word	1
	.word	.LC1
	.word	2
	.word	.LC2
	.word	7
	.word	.LC3
	.word	0
	.word	.LC4
	.word	3
	.word	.LC5
	.word	3
	.word	.LC6
	.word	6
	.word	.LC7
	.word	16
	.word	.LC8
	.word	5
	.word	.LC9
	.word	0
	.word	.LC10
	.word	4
	.word	.LC11
	.word	4
	.word	0
	.word	-1
	.global	facilitynames
	.section	.rodata
	.align	2
.LC12:
	.ascii	"auth\000"
	.align	2
.LC13:
	.ascii	"authpriv\000"
	.align	2
.LC14:
	.ascii	"cron\000"
	.align	2
.LC15:
	.ascii	"daemon\000"
	.align	2
.LC16:
	.ascii	"ftp\000"
	.align	2
.LC17:
	.ascii	"kern\000"
	.align	2
.LC18:
	.ascii	"lpr\000"
	.align	2
.LC19:
	.ascii	"mail\000"
	.align	2
.LC20:
	.ascii	"mark\000"
	.align	2
.LC21:
	.ascii	"news\000"
	.align	2
.LC22:
	.ascii	"security\000"
	.align	2
.LC23:
	.ascii	"syslog\000"
	.align	2
.LC24:
	.ascii	"user\000"
	.align	2
.LC25:
	.ascii	"uucp\000"
	.align	2
.LC26:
	.ascii	"local0\000"
	.align	2
.LC27:
	.ascii	"local1\000"
	.align	2
.LC28:
	.ascii	"local2\000"
	.align	2
.LC29:
	.ascii	"local3\000"
	.align	2
.LC30:
	.ascii	"local4\000"
	.align	2
.LC31:
	.ascii	"local5\000"
	.align	2
.LC32:
	.ascii	"local6\000"
	.align	2
.LC33:
	.ascii	"local7\000"
	.data
	.align	2
	.type	facilitynames, %object
	.size	facilitynames, 184
facilitynames:
	.word	.LC12
	.word	32
	.word	.LC13
	.word	80
	.word	.LC14
	.word	72
	.word	.LC15
	.word	24
	.word	.LC16
	.word	88
	.word	.LC17
	.word	0
	.word	.LC18
	.word	48
	.word	.LC19
	.word	16
	.word	.LC20
	.word	192
	.word	.LC21
	.word	56
	.word	.LC22
	.word	32
	.word	.LC23
	.word	40
	.word	.LC24
	.word	8
	.word	.LC25
	.word	64
	.word	.LC26
	.word	128
	.word	.LC27
	.word	136
	.word	.LC28
	.word	144
	.word	.LC29
	.word	152
	.word	.LC30
	.word	160
	.word	.LC31
	.word	168
	.word	.LC32
	.word	176
	.word	.LC33
	.word	184
	.word	0
	.word	-1
	.section	.rodata
	.align	2
.LC34:
	.ascii	"r\000"
	.align	2
.LC35:
	.ascii	"logger: %s: %s.\012\000"
	.align	2
.LC36:
	.ascii	"f:ip:st:\000"
	.align	2
.LC37:
	.ascii	"%s\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1056
	str	r0, [fp, #-1064]
	str	r1, [fp, #-1068]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1052]
	mov	r3, #5
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L2
.L11:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #255
	sub	r3, r3, #102
	cmp	r3, #14
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L9
	.word	.L3
	.word	.L3
	.word	.L8
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L4
.L9:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+8
	ldr	r2, [r2]
	ldr	r1, .L24+12
	mov	r0, r3
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L24+16
	ldr	r4, [r3]
	ldr	r3, .L24+4
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L24+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-1060]
	orr	r3, r3, #1
	str	r3, [fp, #-1060]
	b	.L2
.L7:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	pencode
	str	r0, [fp, #-1056]
	b	.L2
.L6:
	ldr	r3, [fp, #-1060]
	orr	r3, r3, #32
	str	r3, [fp, #-1060]
	b	.L2
.L4:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	str	r3, [fp, #-1052]
	b	.L2
.L3:
	bl	usage
.L2:
	ldr	r2, .L24+24
	ldr	r1, [fp, #-1068]
	ldr	r0, [fp, #-1064]
	bl	getopt
	str	r0, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	cmn	r3, #1
	bne	.L11
	ldr	r3, .L24+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-1064]
	sub	r3, r2, r3
	str	r3, [fp, #-1064]
	ldr	r3, .L24+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1068]
	add	r3, r2, r3
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	bne	.L12
	bl	getlogin
	mov	r3, r0
	b	.L13
.L12:
	ldr	r3, [fp, #-1052]
.L13:
	mov	r2, #0
	ldr	r1, [fp, #-1060]
	mov	r0, r3
	bl	openlog
	ldr	r3, .L24+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	ble	.L21
	sub	r4, fp, #1024
	sub	r4, r4, #12
	sub	r4, r4, #4
	sub	r5, fp, #1024
	sub	r5, r5, #12
	sub	r5, r5, #4
	add	r3, r5, #1020
	add	r3, r3, #2
	mov	r5, r3
	b	.L15
.L19:
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	add	r3, r4, r3
	cmp	r5, r3
	bcs	.L16
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	cmp	r4, r3
	bls	.L16
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L24+36
	ldr	r0, [fp, #-1056]
	bl	syslog
	sub	r4, fp, #1024
	sub	r4, r4, #12
	sub	r4, r4, #4
.L16:
	ldr	r3, [fp, #-1044]
	cmp	r3, #1024
	bcc	.L17
	ldr	r3, [fp, #-1068]
	add	r2, r3, #4
	str	r2, [fp, #-1068]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L24+36
	ldr	r0, [fp, #-1056]
	bl	syslog
	b	.L15
.L17:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	cmp	r4, r3
	beq	.L18
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #32
	strb	r2, [r3]
.L18:
	ldr	r3, [fp, #-1068]
	add	r2, r3, #4
	str	r2, [fp, #-1068]
	ldr	r3, [r3]
	ldr	r2, [fp, #-1044]
	mov	r1, r3
	mov	r0, r4
	bl	memmove
	ldr	r3, [fp, #-1044]
	add	r4, r4, r3
	mov	r3, #0
	strb	r3, [r4]
.L15:
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	cmp	r4, r3
	beq	.L20
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L24+36
	ldr	r0, [fp, #-1056]
	bl	syslog
	b	.L20
.L22:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L24+36
	ldr	r0, [fp, #-1056]
	bl	syslog
.L21:
	ldr	r3, .L24+8
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
.L20:
	mov	r0, #0
	bl	exit
.L25:
	.align	2
.L24:
	.word	.LC38
	.word	optarg
	.word	stdin
	.word	.LC34
	.word	stderr
	.word	.LC35
	.word	.LC36
	.word	optind
	.word	stdout
	.word	.LC37
	.size	main, .-main
	.section	.rodata
	.align	2
.LC39:
	.ascii	"logger: unknown facility name: %s.\012\000"
	.align	2
.LC40:
	.ascii	"logger: unknown priority name: %s.\012\000"
	.text
	.align	2
	.global	pencode
	.syntax unified
	.arm
	.fpu softvfp
	.type	pencode, %function
pencode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r4, r0
	str	r4, [fp, #-20]
	b	.L27
.L29:
	add	r4, r4, #1
.L27:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L29
.L28:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	mov	r3, #0
	strb	r3, [r4]
	ldr	r1, .L35
	ldr	r0, [fp, #-20]
	bl	decode
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L31
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L35+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L31:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #46
	strb	r2, [r3]
	b	.L32
.L30:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r4, [fp, #-20]
.L32:
	ldr	r1, .L35+12
	mov	r0, r4
	bl	decode
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L33
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L35+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, [fp, #-16]
	and	r2, r3, #7
	ldr	r3, [fp, #-24]
	and	r3, r3, #1016
	orr	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	facilitynames
	.word	stderr
	.word	.LC39
	.word	prioritynames
	.word	.LC40
	.size	pencode, .-pencode
	.align	2
	.global	decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode, %function
decode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L38
	ldr	r0, [fp, #-16]
	bl	atoi
	mov	r3, r0
	b	.L39
.L38:
	ldr	r4, [fp, #-20]
	b	.L40
.L42:
	ldr	r3, [r4]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r3, [r4, #4]
	b	.L39
.L41:
	add	r4, r4, #8
.L40:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L42
	mvn	r3, #0
.L39:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	decode, .-decode
	.section	.rodata
	.align	2
.LC41:
	.ascii	"logger: [-is] [-f file] [-p pri] [-t tag] [ message"
	.ascii	" ... ]\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L44
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L44+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L45:
	.align	2
.L44:
	.word	stderr
	.word	.LC41
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
