	.file	"extr_dt_common.c_abstime2tm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	abstime2tm, @function
abstime2tm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], edi
	lea	rdi, 4[rsp]
	mov	QWORD PTR errno[rip], 0
	test	rsi, rsi
	je	.L2
	call	localtime@PLT
	test	rax, rax
	je	.L14
.L4:
	mov	rcx, QWORD PTR 40[rax]
	mov	rsi, QWORD PTR 32[rax]
	lea	rdx, 1900[rcx]
	mov	QWORD PTR 40[rbx], rdx
	lea	rdx, 1[rsi]
	mov	QWORD PTR 32[rbx], rdx
	mov	edx, DWORD PTR 24[rax]
	mov	DWORD PTR 24[rbx], edx
	mov	edx, DWORD PTR 20[rax]
	mov	DWORD PTR 20[rbx], edx
	mov	edx, DWORD PTR 16[rax]
	mov	DWORD PTR 16[rbx], edx
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 12[rbx], edx
	mov	DWORD PTR [rbx], eax
	test	r12, r12
	je	.L6
	mov	DWORD PTR [r12], 0
	test	rbp, rbp
	je	.L1
	mov	QWORD PTR 0[rbp], 0
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	gmtime@PLT
	test	rax, rax
	jne	.L4
.L14:
	mov	rax, QWORD PTR PGTYPES_TS_BAD_TIMESTAMP[rip]
	mov	QWORD PTR errno[rip], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR [rbx], -1
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	abstime2tm, .-abstime2tm
	.comm	errno,8,8
	.comm	TZNAME_GLOBAL,8,8
	.comm	TIMEZONE_GLOBAL,4,4
	.comm	SECS_PER_HOUR,4,4
	.comm	PGTYPES_TS_BAD_TIMESTAMP,8,8
	.comm	MAXTZLEN,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_dt_common.c_abstime2tm.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	abstime2tm, %function
abstime2tm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r3
	sub	sp, sp, #12
	ldr	r7, .L16
	ldr	r3, .L16+4
	str	r0, [sp]
	subs	r6, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r2
	mov	r0, sp
	str	ip, [r7]
	beq	.L2
	bl	localtime
	cmp	r0, #0
	beq	.L14
.L4:
	ldr	r2, [r0, #32]
	ldr	r3, [r0, #28]
	add	r2, r2, #1888
	add	r2, r2, #12
	add	r3, r3, #1
	str	r2, [r4, #32]
	ldr	r2, [r0, #24]
	str	r3, [r4, #28]
	ldr	r3, [r0, #20]
	ldr	r1, [r0, #16]
	str	r2, [r4, #24]
	str	r3, [r4, #20]
	ldr	r2, [r0, #12]
	ldr	r3, [r0]
	cmp	r6, #0
	str	r1, [r4, #16]
	str	r2, [r4, #12]
	str	r3, [r4]
	beq	.L6
	mov	r3, #0
	cmp	r5, r3
	str	r3, [r6]
	strne	r3, [r5]
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	bl	gmtime
	cmp	r0, #0
	bne	.L4
.L14:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	str	r3, [r7]
	b	.L1
.L6:
	mvn	r3, #0
	str	r3, [r4]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	errno
	.word	.LC0
	.word	PGTYPES_TS_BAD_TIMESTAMP
	.size	abstime2tm, .-abstime2tm
	.comm	errno,4,4
	.comm	TZNAME_GLOBAL,4,4
	.comm	TIMEZONE_GLOBAL,4,4
	.comm	SECS_PER_HOUR,4,4
	.comm	PGTYPES_TS_BAD_TIMESTAMP,4,4
	.comm	MAXTZLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
