	.file	"875251.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"label"
.LC1:
	.string	"severity"
.LC2:
	.string	"text"
.LC3:
	.string	"action"
.LC4:
	.string	"tag"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	keywords, @object
	.size	keywords, 80
keywords:
	.quad	5
	.quad	.LC0
	.quad	8
	.quad	.LC1
	.quad	4
	.quad	.LC2
	.quad	6
	.quad	.LC3
	.quad	3
	.quad	.LC4
	.section	.rodata
	.align 8
	.type	nkeywords, @object
	.size	nkeywords, 8
nkeywords:
	.quad	5
	.text
	.type	msgverb, @function
msgverb:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L2
	mov	eax, 31
	jmp	.L3
.L2:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L11:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -8[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keywords[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	sal	rax, 4
	mov	rcx, rax
	lea	rax, keywords[rip+8]
	mov	rcx, QWORD PTR [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR -8[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keywords[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L7
	mov	eax, DWORD PTR -8[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keywords[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L7
.L6:
	add	DWORD PTR -8[rbp], 1
.L5:
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 5
	cmp	rax, rdx
	jb	.L8
.L7:
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 5
	cmp	rax, rdx
	jne	.L9
	mov	DWORD PTR -4[rbp], 31
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	or	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keywords[rip]
	mov	rax, QWORD PTR [rdx+rax]
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L4
	add	QWORD PTR -24[rbp], 1
.L4:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
.L10:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L12
	mov	DWORD PTR -4[rbp], 31
.L12:
	mov	eax, DWORD PTR -4[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	msgverb, .-msgverb
	.section	.rodata
	.align 32
	.type	severities, @object
	.size	severities, 40
severities:
	.string	""
	.zero	7
	.string	"HALT"
	.zero	3
	.string	"ERROR"
	.zero	2
	.string	"WARNING"
	.string	"INFO"
	.zero	3
	.align 8
	.type	nseverities, @object
	.size	nseverities, 8
nseverities:
	.quad	5
	.text
	.type	severity2str, @function
severity2str:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 0
	js	.L14
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, 5
	cmp	rdx, rax
	jnb	.L14
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, severities[rip]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L15
.L14:
	mov	QWORD PTR -8[rbp], 0
.L15:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	severity2str, .-severity2str
	.section	.rodata
.LC5:
	.string	"\n"
.LC6:
	.string	""
.LC7:
	.string	" "
.LC8:
	.string	"TO FIX: "
.LC9:
	.string	": "
.LC10:
	.string	"%s%s%s%s%s%s%s%s%s%s%s"
	.text
	.type	writeit, @function
writeit:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	QWORD PTR -96[rbp], r9
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 8
	test	eax, eax
	je	.L18
	cmp	QWORD PTR -96[rbp], 0
	jne	.L19
.L18:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 16
	test	eax, eax
	je	.L20
	cmp	QWORD PTR 16[rbp], 0
	je	.L20
.L19:
	lea	r11, .LC5[rip]
	jmp	.L21
.L20:
	lea	r11, .LC6[rip]
.L21:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 16
	test	eax, eax
	je	.L22
	cmp	QWORD PTR 16[rbp], 0
	je	.L22
	mov	rdi, QWORD PTR 16[rbp]
	jmp	.L23
.L22:
	lea	rdi, .LC6[rip]
.L23:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 8
	test	eax, eax
	je	.L24
	cmp	QWORD PTR -72[rbp], 0
	je	.L24
	lea	r10, .LC7[rip]
	jmp	.L25
.L24:
	lea	r10, .LC6[rip]
.L25:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 8
	test	eax, eax
	je	.L26
	cmp	QWORD PTR -96[rbp], 0
	je	.L26
	mov	rsi, QWORD PTR -96[rbp]
	jmp	.L27
.L26:
	lea	rsi, .LC6[rip]
.L27:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 8
	test	eax, eax
	je	.L28
	cmp	QWORD PTR -96[rbp], 0
	je	.L28
	lea	r9, .LC8[rip]
	jmp	.L29
.L28:
	lea	r9, .LC6[rip]
.L29:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 1
	test	eax, eax
	je	.L30
	cmp	QWORD PTR -72[rbp], 0
	jne	.L31
.L30:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 4
	test	eax, eax
	je	.L32
	cmp	QWORD PTR -88[rbp], 0
	je	.L32
.L31:
	lea	r8, .LC5[rip]
	jmp	.L33
.L32:
	lea	r8, .LC6[rip]
.L33:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 4
	test	eax, eax
	je	.L34
	cmp	QWORD PTR -88[rbp], 0
	je	.L34
	mov	rcx, QWORD PTR -88[rbp]
	jmp	.L35
.L34:
	lea	rcx, .LC6[rip]
.L35:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 2
	test	eax, eax
	je	.L36
	lea	r12, .LC9[rip]
	jmp	.L37
.L36:
	lea	r12, .LC6[rip]
.L37:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 2
	test	eax, eax
	je	.L38
	mov	rbx, QWORD PTR -80[rbp]
	jmp	.L39
.L38:
	lea	rbx, .LC6[rip]
.L39:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 1
	test	eax, eax
	je	.L40
	cmp	QWORD PTR -72[rbp], 0
	je	.L40
	lea	rdx, .LC9[rip]
	jmp	.L41
.L40:
	lea	rdx, .LC6[rip]
.L41:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 1
	test	eax, eax
	je	.L42
	cmp	QWORD PTR -72[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -72[rbp]
	jmp	.L43
.L42:
	lea	rax, .LC6[rip]
.L43:
	mov	r13, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	r11
	push	rdi
	push	r10
	push	rsi
	push	r9
	push	r8
	push	rcx
	mov	r9, r12
	mov	r8, rbx
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	mov	rdi, r13
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 64
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	writeit, .-writeit
	.section	.rodata
.LC11:
	.string	"MSGVERB"
.LC12:
	.string	"w"
.LC13:
	.string	"/dev/console"
	.text
	.globl	fmtmsg
	.type	fmtmsg, @function
fmtmsg:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	QWORD PTR -80[rbp], r9
	cmp	QWORD PTR -48[rbp], 0
	je	.L46
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -48[rbp]
	cmp	rax, 10
	jg	.L47
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 14
	jbe	.L46
.L47:
	mov	eax, -1
	jmp	.L48
.L46:
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	severity2str
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L49
	mov	eax, -1
	jmp	.L48
.L49:
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 256
	test	rax, rax
	je	.L50
	lea	rdi, .LC11[rip]
	call	getenv@PLT
	mov	rdi, rax
	call	msgverb
	mov	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, QWORD PTR -72[rbp]
	mov	rdi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rsp, 8
	push	QWORD PTR -80[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	writeit
	add	rsp, 16
	test	eax, eax
	jns	.L50
	or	DWORD PTR -28[rbp], 1
.L50:
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 512
	test	rax, rax
	je	.L51
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L52
	mov	rdi, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	QWORD PTR -80[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	esi, 31
	mov	rdi, rax
	call	writeit
	add	rsp, 16
	test	eax, eax
	jns	.L53
	or	DWORD PTR -28[rbp], 4
.L53:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L51
.L52:
	or	DWORD PTR -28[rbp], 4
.L51:
	cmp	DWORD PTR -28[rbp], 5
	jne	.L54
	mov	DWORD PTR -28[rbp], -1
.L54:
	mov	eax, DWORD PTR -28[rbp]
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fmtmsg, .-fmtmsg
	.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	"875251.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"label\000"
	.align	2
.LC1:
	.ascii	"severity\000"
	.align	2
.LC2:
	.ascii	"text\000"
	.align	2
.LC3:
	.ascii	"action\000"
	.align	2
.LC4:
	.ascii	"tag\000"
	.align	2
	.type	keywords, %object
	.size	keywords, 40
keywords:
	.word	5
	.word	.LC0
	.word	8
	.word	.LC1
	.word	4
	.word	.LC2
	.word	6
	.word	.LC3
	.word	3
	.word	.LC4
	.align	2
	.type	nkeywords, %object
	.size	nkeywords, 4
nkeywords:
	.word	5
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msgverb, %function
msgverb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	mov	r3, #31
	b	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L11:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L8:
	ldr	r2, .L13
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r2, .L13
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #3]
	mov	r2, r3
	ldr	r0, [fp, #-16]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r2, .L13
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L7
	ldr	r2, .L13
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	mov	r2, #5
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bcc	.L8
.L7:
	mov	r2, #5
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bne	.L9
	mov	r3, #31
	str	r3, [fp, #-8]
	b	.L10
.L9:
	mov	r2, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, .L13
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L4
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	mov	r3, #31
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	keywords
	.size	msgverb, .-msgverb
	.section	.rodata
	.align	2
	.type	severities, %object
	.size	severities, 40
severities:
	.ascii	"\000"
	.space	7
	.ascii	"HALT\000"
	.space	3
	.ascii	"ERROR\000"
	.space	2
	.ascii	"WARNING\000"
	.ascii	"INFO\000"
	.space	3
	.align	2
	.type	nseverities, %object
	.size	nseverities, 4
nseverities:
	.word	5
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	severity2str, %function
severity2str:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L16
	ldr	r3, [fp, #-16]
	mov	r2, #5
	cmp	r3, r2
	bcs	.L16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, .L19
	add	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L17
.L16:
	mov	r3, #0
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	severities
	.size	severity2str, .-severity2str
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	": \000"
	.align	2
.LC7:
	.ascii	"\012\000"
	.align	2
.LC8:
	.ascii	"TO FIX: \000"
	.align	2
.LC9:
	.ascii	" \000"
	.align	2
.LC10:
	.ascii	"%s%s%s%s%s%s%s%s%s%s%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeit, %function
writeit:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #68
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L22
	ldr	ip, [fp, #-48]
	b	.L23
.L22:
	ldr	ip, .L49
.L23:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L24
	ldr	r8, .L49+4
	b	.L25
.L24:
	ldr	r8, .L49
.L25:
	ldr	r3, [fp, #-44]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-52]
	b	.L27
.L26:
	ldr	r3, .L49
.L27:
	ldr	r2, [fp, #-44]
	and	r2, r2, #2
	cmp	r2, #0
	beq	.L28
	ldr	lr, .L49+4
	b	.L29
.L28:
	ldr	lr, .L49
.L29:
	ldr	r2, [fp, #-44]
	and	r2, r2, #4
	cmp	r2, #0
	beq	.L30
	ldr	r2, [fp, #4]
	cmp	r2, #0
	beq	.L30
	ldr	r2, [fp, #4]
	b	.L31
.L30:
	ldr	r2, .L49
.L31:
	ldr	r1, [fp, #-44]
	and	r1, r1, #1
	cmp	r1, #0
	beq	.L32
	ldr	r1, [fp, #-48]
	cmp	r1, #0
	bne	.L33
.L32:
	ldr	r1, [fp, #-44]
	and	r1, r1, #2
	cmp	r1, #0
	bne	.L33
	ldr	r1, [fp, #-44]
	and	r1, r1, #4
	cmp	r1, #0
	beq	.L34
	ldr	r1, [fp, #4]
	cmp	r1, #0
	beq	.L34
.L33:
	ldr	r4, .L49+8
	b	.L35
.L34:
	ldr	r4, .L49
.L35:
	ldr	r1, [fp, #-44]
	and	r1, r1, #8
	cmp	r1, #0
	beq	.L36
	ldr	r1, [fp, #8]
	cmp	r1, #0
	beq	.L36
	ldr	r5, .L49+12
	b	.L37
.L36:
	ldr	r5, .L49
.L37:
	ldr	r1, [fp, #-44]
	and	r1, r1, #8
	cmp	r1, #0
	beq	.L38
	ldr	r1, [fp, #8]
	cmp	r1, #0
	beq	.L38
	ldr	r1, [fp, #8]
	b	.L39
.L38:
	ldr	r1, .L49
.L39:
	ldr	r0, [fp, #-44]
	and	r0, r0, #8
	cmp	r0, #0
	beq	.L40
	ldr	r0, [fp, #-48]
	cmp	r0, #0
	beq	.L40
	ldr	r6, .L49+16
	b	.L41
.L40:
	ldr	r6, .L49
.L41:
	ldr	r0, [fp, #-44]
	and	r0, r0, #16
	cmp	r0, #0
	beq	.L42
	ldr	r0, [fp, #12]
	cmp	r0, #0
	beq	.L42
	ldr	r0, [fp, #12]
	b	.L43
.L42:
	ldr	r0, .L49
.L43:
	ldr	r7, [fp, #-44]
	and	r7, r7, #8
	cmp	r7, #0
	beq	.L44
	ldr	r7, [fp, #8]
	cmp	r7, #0
	bne	.L45
.L44:
	ldr	r7, [fp, #-44]
	and	r7, r7, #16
	cmp	r7, #0
	beq	.L46
	ldr	r7, [fp, #12]
	cmp	r7, #0
	beq	.L46
.L45:
	ldr	r7, .L49+8
	b	.L47
.L46:
	ldr	r7, .L49
.L47:
	str	r7, [sp, #32]
	str	r0, [sp, #28]
	str	r6, [sp, #24]
	str	r1, [sp, #20]
	str	r5, [sp, #16]
	str	r4, [sp, #12]
	str	r2, [sp, #8]
	str	lr, [sp, #4]
	str	r3, [sp]
	mov	r3, r8
	mov	r2, ip
	ldr	r1, .L49+20
	ldr	r0, [fp, #-40]
	bl	fprintf
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	writeit, .-writeit
	.section	.rodata
	.align	2
.LC11:
	.ascii	"MSGVERB\000"
	.align	2
.LC12:
	.ascii	"w\000"
	.align	2
.LC13:
	.ascii	"/dev/console\000"
	.text
	.align	2
	.global	fmtmsg
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmtmsg, %function
fmtmsg:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L52
	mov	r1, #58
	ldr	r0, [fp, #-36]
	bl	strchr
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L53
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	cmp	r3, #10
	bgt	.L53
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #14
	bls	.L52
.L53:
	mvn	r3, #0
	b	.L54
.L52:
	ldr	r0, [fp, #-40]
	bl	severity2str
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L55
	mvn	r3, #0
	b	.L54
.L55:
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L61
	ldr	r4, [r3]
	ldr	r0, .L61+4
	bl	getenv
	mov	r3, r0
	mov	r0, r3
	bl	msgverb
	mov	r1, r0
	ldr	r3, [fp, #8]
	str	r3, [sp, #8]
	ldr	r3, [fp, #4]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	mov	r0, r4
	bl	writeit
	mov	r3, r0
	cmp	r3, #0
	bge	.L56
	ldr	r3, [fp, #-28]
	orr	r3, r3, #1
	str	r3, [fp, #-28]
.L56:
	ldr	r3, [fp, #-32]
	and	r3, r3, #512
	cmp	r3, #0
	beq	.L57
	ldr	r1, .L61+8
	ldr	r0, .L61+12
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #8]
	str	r3, [sp, #8]
	ldr	r3, [fp, #4]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	mov	r1, #31
	ldr	r0, [fp, #-16]
	bl	writeit
	mov	r3, r0
	cmp	r3, #0
	bge	.L59
	ldr	r3, [fp, #-28]
	orr	r3, r3, #4
	str	r3, [fp, #-28]
.L59:
	ldr	r0, [fp, #-16]
	bl	fclose
	b	.L57
.L58:
	ldr	r3, [fp, #-28]
	orr	r3, r3, #4
	str	r3, [fp, #-28]
.L57:
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	bne	.L60
	mvn	r3, #0
	str	r3, [fp, #-28]
.L60:
	ldr	r3, [fp, #-28]
.L54:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L62:
	.align	2
.L61:
	.word	stderr
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	fmtmsg, .-fmtmsg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
