	.file	"225142667.c"
	.intel_syntax noprefix
	.text
	.globl	facility
	.data
	.align 4
	.type	facility, @object
	.size	facility, 4
facility:
	.long	128
	.section	.rodata
.LC0:
	.string	"LOCAL0"
.LC1:
	.string	"LOCAL1"
.LC2:
	.string	"LOCAL2"
.LC3:
	.string	"LOCAL3"
.LC4:
	.string	"LOCAL4"
.LC5:
	.string	"LOCAL5"
.LC6:
	.string	"LOCAL6"
.LC7:
	.string	"LOCAL7"
.LC8:
	.string	"USER"
.LC9:
	.string	"DAEMON"
	.text
	.globl	setfacility
	.type	setfacility, @function
setfacility:
.LFB0:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	DWORD PTR facility[rip], 128
	jmp	.L12
.L2:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	DWORD PTR facility[rip], 136
	jmp	.L12
.L4:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	DWORD PTR facility[rip], 144
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	DWORD PTR facility[rip], 152
	jmp	.L12
.L6:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR facility[rip], 160
	jmp	.L12
.L7:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR facility[rip], 168
	jmp	.L12
.L8:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	DWORD PTR facility[rip], 176
	jmp	.L12
.L9:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	DWORD PTR facility[rip], 184
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR facility[rip], 8
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR facility[rip], 24
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	setfacility, .-setfacility
	.section	.rodata
.LC10:
	.string	"counter"
.LC11:
	.string	"%s"
	.text
	.globl	logmsg
	.type	logmsg, @function
logmsg:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1264
	mov	DWORD PTR -1252[rbp], edi
	mov	QWORD PTR -1264[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L14
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L14:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1240[rbp], 16
	mov	DWORD PTR -1236[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -1232[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -1224[rbp], rax
	lea	rcx, -1240[rbp]
	mov	rdx, QWORD PTR -1264[rbp]
	lea	rax, -1216[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	vsnprintf@PLT
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L15
	movzx	eax, BYTE PTR debug[rip]
	test	al, al
	jne	.L16
	cmp	DWORD PTR -1252[rbp], 7
	je	.L15
.L16:
	lea	rax, -1216[rbp]
	mov	rdi, rax
	call	puts@PLT
.L15:
	mov	eax, DWORD PTR facility[rip]
	mov	edx, eax
	mov	esi, 0
	lea	rdi, .LC10[rip]
	call	openlog@PLT
	lea	rdx, -1216[rbp]
	mov	eax, DWORD PTR -1252[rbp]
	lea	rsi, .LC11[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
	call	closelog@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	logmsg, .-logmsg
	.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	"225142667.c"
	.text
	.global	facility
	.data
	.align	2
	.type	facility, %object
	.size	facility, 4
facility:
	.word	128
	.section	.rodata
	.align	2
.LC0:
	.ascii	"LOCAL0\000"
	.align	2
.LC1:
	.ascii	"LOCAL1\000"
	.align	2
.LC2:
	.ascii	"LOCAL2\000"
	.align	2
.LC3:
	.ascii	"LOCAL3\000"
	.align	2
.LC4:
	.ascii	"LOCAL4\000"
	.align	2
.LC5:
	.ascii	"LOCAL5\000"
	.align	2
.LC6:
	.ascii	"LOCAL6\000"
	.align	2
.LC7:
	.ascii	"LOCAL7\000"
	.align	2
.LC8:
	.ascii	"USER\000"
	.align	2
.LC9:
	.ascii	"DAEMON\000"
	.text
	.align	2
	.global	setfacility
	.syntax unified
	.arm
	.fpu softvfp
	.type	setfacility, %function
setfacility:
	@ 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]
	ldr	r1, .L13
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L13+4
	mov	r2, #128
	str	r2, [r3]
	b	.L12
.L2:
	ldr	r1, .L13+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L13+4
	mov	r2, #136
	str	r2, [r3]
	b	.L12
.L4:
	ldr	r1, .L13+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L13+4
	mov	r2, #144
	str	r2, [r3]
	b	.L12
.L5:
	ldr	r1, .L13+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L13+4
	mov	r2, #152
	str	r2, [r3]
	b	.L12
.L6:
	ldr	r1, .L13+20
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L13+4
	mov	r2, #160
	str	r2, [r3]
	b	.L12
.L7:
	ldr	r1, .L13+24
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L13+4
	mov	r2, #168
	str	r2, [r3]
	b	.L12
.L8:
	ldr	r1, .L13+28
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L13+4
	mov	r2, #176
	str	r2, [r3]
	b	.L12
.L9:
	ldr	r1, .L13+32
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L13+4
	mov	r2, #184
	str	r2, [r3]
	b	.L12
.L10:
	ldr	r1, .L13+36
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L13+4
	mov	r2, #8
	str	r2, [r3]
	b	.L12
.L11:
	ldr	r1, .L13+40
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L13+4
	mov	r2, #24
	str	r2, [r3]
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	facility
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	setfacility, .-setfacility
	.section	.rodata
	.align	2
.LC10:
	.ascii	"counter\000"
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	logmsg
	.syntax unified
	.arm
	.fpu softvfp
	.type	logmsg, %function
logmsg:
	@ args = 4, pretend = 12, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #4
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-1048]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-1040]
	sub	r0, fp, #1024
	sub	r0, r0, #8
	sub	r0, r0, #4
	ldr	r3, [fp, #-1040]
	ldr	r2, [fp, #-1048]
	mov	r1, #1024
	bl	vsnprintf
	ldr	r3, .L19+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L19+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-1044]
	cmp	r3, #7
	beq	.L16
.L17:
	sub	r3, fp, #1024
	sub	r3, r3, #8
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
.L16:
	ldr	r3, .L19+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, .L19+16
	bl	openlog
	sub	r3, fp, #1024
	sub	r3, r3, #8
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L19+20
	ldr	r0, [fp, #-1044]
	bl	syslog
	bl	closelog
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #12
	bx	lr
.L20:
	.align	2
.L19:
	.word	.LC12
	.word	verbose
	.word	debug
	.word	facility
	.word	.LC10
	.word	.LC11
	.size	logmsg, .-logmsg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
