	.file	"218893896.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/var/log/wtmp"
	.text
	.globl	logwtmp
	.type	logwtmp, @function
logwtmp:
.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, 432
	mov	QWORD PTR -408[rbp], rdi
	mov	QWORD PTR -416[rbp], rsi
	mov	QWORD PTR -424[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -400[rbp]
	mov	edx, 384
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	QWORD PTR -416[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -416[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	mov	eax, 7
	jmp	.L3
.L2:
	mov	eax, 8
.L3:
	mov	WORD PTR -400[rbp], ax
	call	getpid@PLT
	mov	DWORD PTR -396[rbp], eax
	mov	rax, QWORD PTR -408[rbp]
	lea	rdx, -400[rbp]
	lea	rcx, 8[rdx]
	mov	edx, 31
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -416[rbp]
	lea	rdx, -400[rbp]
	lea	rcx, 44[rdx]
	mov	edx, 31
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, -400[rbp]
	lea	rcx, 76[rdx]
	mov	edx, 255
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	lea	rax, -400[rbp]
	add	rax, 340
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	lea	rax, -400[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	updwtmp@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	logwtmp, .-logwtmp
	.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	"218893896.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/var/log/wtmp\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	logwtmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	logwtmp, %function
logwtmp:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	str	r0, [fp, #-400]
	str	r1, [fp, #-404]
	str	r2, [fp, #-408]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #392
	mov	r2, #384
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-404]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	mov	r2, #7
	b	.L3
.L2:
	mov	r2, #8
.L3:
	sub	r3, fp, #4
	sub	r3, r3, #388
	strh	r2, [r3]	@ movhi
	bl	getpid
	mov	r3, r0
	str	r3, [fp, #-388]
	sub	r3, fp, #392
	add	r3, r3, #8
	mov	r2, #31
	ldr	r1, [fp, #-400]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #392
	add	r3, r3, #44
	mov	r2, #31
	ldr	r1, [fp, #-404]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #392
	add	r3, r3, #76
	mov	r2, #255
	ldr	r1, [fp, #-408]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #392
	add	r3, r3, #340
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #392
	mov	r1, r3
	ldr	r0, .L5+4
	bl	updwtmp
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	logwtmp, .-logwtmp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
