	.file	"940267.c"
	.intel_syntax noprefix
	.text
	.local	read_buffer
	.comm	read_buffer,1001,32
	.type	approvals_file_name_for, @function
approvals_file_name_for:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	eax, edx
	mov	QWORD PTR -80[rbp], rcx
	mov	BYTE PTR -68[rbp], al
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	cmp	QWORD PTR -32[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -40[rbp], rax
.L3:
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	add	QWORD PTR -24[rbp], rax
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -24[rbp], rax
	add	QWORD PTR -24[rbp], 1
	add	QWORD PTR -24[rbp], 8
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -24[rbp], rax
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], 46
	add	QWORD PTR -8[rbp], 1
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], 46
	add	QWORD PTR -8[rbp], 1
	cmp	BYTE PTR -68[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	movabs	rcx, 7234318597473988705
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR 8[rax], 0
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rcx, 7234318571485226354
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR 8[rax], 0
.L5:
	add	QWORD PTR -8[rbp], 8
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], 46
	add	QWORD PTR -8[rbp], 1
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	approvals_file_name_for, .-approvals_file_name_for
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"Could not open file %s\n"
.LC2:
	.string	""
.LC3:
	.string	"Could not close %s, error %d\n"
	.text
	.type	approvals_load, @function
approvals_load:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, .LC2[rip]
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1000
	mov	esi, 1
	lea	rdi, read_buffer[rip]
	call	fread@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdx, read_buffer[rip]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	lea	rax, read_buffer[rip]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	approvals_load, .-approvals_load
	.section	.rodata
.LC4:
	.string	"w"
.LC5:
	.string	"Could not create file %s\n"
	.align 8
.LC6:
	.string	"Could not write %s, %u instead %u bytes\n"
.LC7:
	.string	"Could not flush %s, error %d\n"
	.text
	.type	approvals_save, @function
approvals_save:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	QWORD PTR -8[rbp], rax
	je	.L14
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	je	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	approvals_save, .-approvals_save
	.section	.rodata
	.align 8
.LC8:
	.string	"Could not delete %s, error %d\n"
	.text
	.type	approvals_delete, @function
approvals_delete:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	remove@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L18:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	approvals_delete, .-approvals_delete
	.globl	approvals_verify
	.type	approvals_verify, @function
approvals_verify:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rdx, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	approvals_file_name_for
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	approvals_save
	mov	rdx, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	approvals_file_name_for
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	approvals_load
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	approvals_delete
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	approvals_verify, .-approvals_verify
	.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	"940267.c"
	.text
	.local	read_buffer
	.comm	read_buffer,1001,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	".\000"
	.align	2
.LC1:
	.ascii	"approved\000"
	.align	2
.LC2:
	.ascii	"received\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	approvals_file_name_for, %function
approvals_file_name_for:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r3, [fp, #-44]
	mov	r3, r2
	strb	r3, [fp, #-37]
	mov	r1, #46
	ldr	r0, [fp, #-32]
	bl	strrchr
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L3
.L2:
	ldr	r0, [fp, #-32]
	bl	strlen
	str	r0, [fp, #-24]
.L3:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-44]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L7
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L7
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, .L7+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #9
	mov	r2, r3
	bl	memcpy
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, .L7+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #9
	mov	r2, r3
	bl	memcpy
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L7
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	approvals_file_name_for, .-approvals_file_name_for
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"Could not open file %s\012\000"
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"Could not close %s, error %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	approvals_load, %function
approvals_load:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r1, .L13
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L13+12
	b	.L11
.L10:
	ldr	r3, [fp, #-16]
	mov	r2, #1000
	mov	r1, #1
	ldr	r0, .L13+16
	bl	fread
	str	r0, [fp, #-12]
	ldr	r2, .L13+16
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	fclose
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L13+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+20
	bl	fprintf
.L12:
	ldr	r3, .L13+16
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	read_buffer
	.word	.LC6
	.size	approvals_load, .-approvals_load
	.section	.rodata
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"Could not create file %s\012\000"
	.align	2
.LC9:
	.ascii	"Could not write %s, %u instead %u bytes\012\000"
	.align	2
.LC10:
	.ascii	"Could not flush %s, error %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	approvals_save, %function
approvals_save:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r1, .L20
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L20+8
	mov	r0, r3
	bl	fprintf
	b	.L15
.L16:
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-28]
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	fwrite
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	beq	.L18
	ldr	r3, .L20+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, .L20+12
	mov	r0, r4
	bl	fprintf
.L18:
	ldr	r0, [fp, #-28]
	bl	fflush
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L20+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	ldr	r1, .L20+16
	bl	fprintf
.L19:
	ldr	r0, [fp, #-28]
	bl	fclose
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L20+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r1, .L20+20
	bl	fprintf
.L15:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC6
	.size	approvals_save, .-approvals_save
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Could not delete %s, error %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	approvals_delete, %function
approvals_delete:
	@ 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	r0, [fp, #-16]
	bl	remove
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L25
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+4
	bl	fprintf
.L24:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	stderr
	.word	.LC11
	.size	approvals_delete, .-approvals_delete
	.align	2
	.global	approvals_verify
	.syntax unified
	.arm
	.fpu softvfp
	.type	approvals_verify, %function
approvals_verify:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	approvals_file_name_for
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	approvals_save
	ldr	r3, [fp, #-36]
	mov	r2, #1
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	approvals_file_name_for
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	approvals_load
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r0, [fp, #-16]
	bl	approvals_delete
.L28:
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	approvals_verify, .-approvals_verify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
