	.file	"extr_l_log.c_Log_Close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't close log file %s\n"
.LC1:
	.string	"Closed log %s\n"
	.text
	.p2align 4
	.globl	Log_Close
	.type	Log_Close, @function
Log_Close:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdi, QWORD PTR logfile[rip+8]
	test	rdi, rdi
	je	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	fclose@PLT
	test	rax, rax
	jne	.L8
	mov	edx, DWORD PTR logfile[rip]
	mov	edi, DWORD PTR PRT_MESSAGE[rip]
	mov	QWORD PTR logfile[rip+8], 0
	lea	rsi, .LC1[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	[QWORD PTR botimport[rip]]
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR logfile[rip]
	mov	edi, DWORD PTR PRT_ERROR[rip]
	lea	rsi, .LC0[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	[QWORD PTR botimport[rip]]
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	Log_Close, .-Log_Close
	.comm	logfile,16,16
	.comm	botimport,8,8
	.comm	PRT_MESSAGE,4,4
	.comm	PRT_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_l_log.c_Log_Close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't close log file %s\012\000"
	.align	2
.LC1:
	.ascii	"Closed log %s\012\000"
	.text
	.align	2
	.global	Log_Close
	.syntax unified
	.arm
	.fpu softvfp
	.type	Log_Close, %function
Log_Close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L7
	ldr	r0, [r4, #4]
	cmp	r0, #0
	popeq	{r4, pc}
	bl	fclose
	cmp	r0, #0
	bne	.L6
	ldr	r1, .L7+4
	ldr	r3, .L7+8
	str	r0, [r4, #4]
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, .L7+12
	pop	{r4, lr}
	bx	r3
.L6:
	ldr	r1, .L7+16
	ldr	r3, .L7+8
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, .L7+20
	pop	{r4, lr}
	bx	r3
.L8:
	.align	2
.L7:
	.word	logfile
	.word	PRT_MESSAGE
	.word	botimport
	.word	.LC1
	.word	PRT_ERROR
	.word	.LC0
	.size	Log_Close, .-Log_Close
	.comm	logfile,8,4
	.comm	botimport,4,4
	.comm	PRT_MESSAGE,4,4
	.comm	PRT_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
