	.file	"250298.c"
	.intel_syntax noprefix
	.text
	.globl	log_lock
	.bss
	.align 32
	.type	log_lock, @object
	.size	log_lock, 40
log_lock:
	.zero	40
	.text
	.globl	LogInit
	.type	LogInit, @function
LogInit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 0
	lea	rdi, log_lock[rip]
	call	pthread_mutex_init@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	LogInit, .-LogInit
	.section	.rodata
.LC0:
	.string	"%T"
.LC1:
	.string	"a"
.LC2:
	.string	"%s "
	.text
	.globl	LogWrite
	.type	LogWrite, @function
LogWrite:
.LFB1:
	.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, 216
	.cfi_offset 3, -24
	mov	QWORD PTR -216[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -200[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -208[rbp], rax
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -168[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -152[rbp], rbx
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -144[rbp], rax
	lea	rdx, -192[rbp]
	lea	rax, -122[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 20
	mov	rdi, rax
	call	strftime@PLT
	lea	rdi, log_lock[rip]
	call	pthread_mutex_lock@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -200[rbp], rax
	lea	rdx, -122[rbp]
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
	mov	rdx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, log_lock[rip]
	call	pthread_mutex_unlock@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	LogWrite, .-LogWrite
	.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	"250298.c"
	.text
	.comm	log_lock,24,4
	.align	2
	.global	LogInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	LogInit, %function
LogInit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	ldr	r0, .L3
	bl	pthread_mutex_init
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	log_lock
	.size	LogInit, .-LogInit
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%T\000"
	.align	2
.LC1:
	.ascii	"a\000"
	.align	2
.LC2:
	.ascii	"%s \000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	LogWrite
	.syntax unified
	.arm
	.fpu softvfp
	.type	LogWrite, %function
LogWrite:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-152]
	sub	r3, fp, #152
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	ip, fp, #144
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #144
	sub	r0, fp, #100
	ldr	r2, .L7+4
	mov	r1, #20
	bl	strftime
	ldr	r0, .L7+8
	bl	pthread_mutex_lock
	sub	r3, fp, #88
	ldr	r1, .L7+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-148]
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L7+16
	ldr	r0, [fp, #-148]
	bl	fprintf
	ldr	r1, [fp, #-148]
	mov	r0, #32
	bl	fputc
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-160]
	bl	fputs
	ldr	r1, [fp, #-148]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-148]
	bl	fclose
	ldr	r0, .L7+8
	bl	pthread_mutex_unlock
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC3
	.word	.LC0
	.word	log_lock
	.word	.LC1
	.word	.LC2
	.size	LogWrite, .-LogWrite
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
