	.file	"extr_loginrec.c_construct_utmpx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	construct_utmpx
	.type	construct_utmpx, @function
construct_utmpx:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	xor	esi, esi
	mov	rdi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	memset@PLT
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L3
	mov	eax, DWORD PTR USER_PROCESS[rip]
	mov	DWORD PTR 36[rbx], eax
.L3:
	mov	esi, DWORD PTR 32[rbp]
	mov	edi, DWORD PTR 32[rbx]
	mov	edx, 4
	call	line_stripname@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	set_utmpx_time@PLT
	mov	eax, DWORD PTR 28[rbp]
	mov	esi, DWORD PTR 24[rbp]
	mov	edi, DWORD PTR 24[rbx]
	mov	DWORD PTR 28[rbx], eax
	call	MIN_SIZEOF@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	edi, DWORD PTR 24[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	edx, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	strncpy@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR DEAD_PROCESS[rip]
	mov	DWORD PTR 36[rbx], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	construct_utmpx, .-construct_utmpx
	.comm	USER_PROCESS,4,4
	.comm	DEAD_PROCESS,4,4
	.comm	AF_INET6,8,8
	.comm	AF_INET,8,8
	.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_loginrec.c_construct_utmpx.c"
	.text
	.align	2
	.global	construct_utmpx
	.syntax unified
	.arm
	.fpu softvfp
	.type	construct_utmpx, %function
construct_utmpx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, r1
	mov	r2, #36
	mov	r1, #0
	bl	memset
	ldr	r3, [r5]
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	ldreq	r3, .L6
	ldreq	r3, [r3]
	streq	r3, [r4, #28]
.L3:
	mov	r2, #4
	ldr	r1, [r5, #24]
	ldr	r0, [r4, #24]
	bl	line_stripname
	mov	r1, r4
	mov	r0, r5
	bl	set_utmpx_time
	ldr	r6, [r4, #16]
	ldr	r3, [r5, #20]
	ldr	r5, [r5, #16]
	mov	r0, r6
	mov	r1, r5
	str	r3, [r4, #20]
	bl	MIN_SIZEOF
	mov	r1, r5
	mov	r2, r0
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	strncpy
.L2:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	str	r3, [r4, #28]
	b	.L3
.L7:
	.align	2
.L6:
	.word	USER_PROCESS
	.word	DEAD_PROCESS
	.size	construct_utmpx, .-construct_utmpx
	.comm	USER_PROCESS,4,4
	.comm	DEAD_PROCESS,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
