	.file	"876890.c"
	.intel_syntax noprefix
	.text
	.type	mkgmtime, @function
mkgmtime:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, rdi
	mov	edx, DWORD PTR 16[rax]
	mov	r12d, edx
	mov	edx, DWORD PTR 20[rax]
	mov	esi, edx
	movsx	edx, r12w
	imul	edx, edx, 10923
	shr	edx, 16
	sar	dx
	mov	ecx, r12d
	sar	cx, 15
	sub	edx, ecx
	add	edx, esi
	add	dx, 1900
	mov	r13d, edx
	movsx	edx, r12w
	imul	edx, edx, 10923
	shr	edx, 16
	sar	dx
	mov	esi, r12d
	sar	si, 15
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	add	edx, edx
	add	edx, ecx
	sal	edx, 2
	mov	ecx, r12d
	sub	ecx, edx
	mov	r12d, ecx
	test	r12w, r12w
	jns	.L2
	mov	edx, r13d
	sub	edx, 1
	mov	r13d, edx
	mov	edx, r12d
	add	edx, 12
	mov	r12d, edx
.L2:
	movsx	edx, r13w
	sub	edx, 1970
	imul	esi, edx, 365
	movsx	edx, r13w
	sub	edx, 1969
	lea	ecx, 3[rdx]
	test	edx, edx
	cmovs	edx, ecx
	sar	edx, 2
	add	esi, edx
	movsx	edx, r12w
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, m_to_d.0[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, esi
	movsx	edx, r13w
	sub	edx, 1970
	imul	esi, edx, 365
	movsx	edx, r12w
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, m_to_d.0[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, esi
	movsx	rbx, edx
	cmp	r12w, 1
	jg	.L3
	mov	edx, r13d
	sub	edx, 1
	mov	r13d, edx
.L3:
	movsx	edx, r13w
	sub	edx, 1968
	lea	ecx, 3[rdx]
	test	edx, edx
	cmovs	edx, ecx
	sar	edx, 2
	movsx	rdx, edx
	add	rbx, rdx
	movsx	edx, r13w
	sub	edx, 1900
	movsx	rcx, edx
	imul	rcx, rcx, 1374389535
	shr	rcx, 32
	sar	ecx, 5
	mov	esi, edx
	sar	esi, 31
	sub	ecx, esi
	mov	edx, ecx
	movsx	rdx, edx
	sub	rbx, rdx
	movsx	edx, r13w
	sub	edx, 1600
	movsx	rcx, edx
	imul	rcx, rcx, 1374389535
	shr	rcx, 32
	sar	ecx, 7
	mov	esi, edx
	sar	esi, 31
	sub	ecx, esi
	mov	edx, ecx
	movsx	rdx, edx
	add	rbx, rdx
	mov	edx, DWORD PTR 12[rax]
	movsx	rdx, edx
	add	rbx, rdx
	sub	rbx, 1
	mov	rdx, rbx
	add	rdx, rdx
	add	rdx, rbx
	sal	rdx, 3
	mov	rbx, rdx
	mov	edx, DWORD PTR 8[rax]
	movsx	rdx, edx
	add	rbx, rdx
	mov	rdx, rbx
	sal	rdx, 4
	sub	rdx, rbx
	sal	rdx, 2
	mov	rbx, rdx
	mov	edx, DWORD PTR 4[rax]
	movsx	rdx, edx
	add	rbx, rdx
	mov	rdx, rbx
	sal	rdx, 4
	sub	rdx, rbx
	sal	rdx, 2
	mov	rbx, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	add	rbx, rax
	mov	rax, rbx
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mkgmtime, .-mkgmtime
	.globl	mktime
	.type	mktime, @function
mktime:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	tzset@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	mkgmtime
	mov	rdx, QWORD PTR timezone[rip]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	jg	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	jns	.L7
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L7
.L6:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 3600
	mov	QWORD PTR -16[rbp], rax
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mktime, .-mktime
	.data
	.align 32
	.type	m_to_d.0, @object
	.size	m_to_d.0, 48
m_to_d.0:
	.long	0
	.long	31
	.long	59
	.long	90
	.long	120
	.long	151
	.long	181
	.long	212
	.long	243
	.long	273
	.long	304
	.long	334
	.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	"876890.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkgmtime, %function
mkgmtime:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	mov	r2, r0
	ldr	r3, [r2, #16]
	lsl	r3, r3, #16
	asr	r5, r3, #16
	ldr	r3, [r2, #20]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r3, .L5
	smull	r0, r3, r5, r3
	asr	r0, r3, #1
	asr	r3, r5, #31
	sub	r3, r0, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1888
	add	r3, r3, #12
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r6, r3, #16
	ldr	r3, .L5
	smull	r1, r3, r5, r3
	asr	r1, r3, #1
	asr	r3, r5, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r5, r3
	lsl	r3, r3, #16
	asr	r5, r3, #16
	cmp	r5, #0
	bge	.L2
	lsl	r3, r6, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r6, r3, #16
	lsl	r3, r5, #16
	lsr	r3, r3, #16
	add	r3, r3, #12
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r5, r3, #16
.L2:
	mov	r3, r6
	sub	r1, r3, #1968
	sub	r1, r1, #2
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r1, r3, r1
	mov	r3, r6
	sub	r3, r3, #1968
	sub	r3, r3, #1
	add	r0, r3, #3
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #2
	add	r1, r1, r3
	mov	r0, r5
	ldr	r3, .L5+4
	ldr	r3, [r3, r0, lsl #2]
	add	r4, r1, r3
	mov	r3, r6
	sub	r1, r3, #1968
	sub	r1, r1, #2
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r1, r3, r1
	mov	r0, r5
	ldr	r3, .L5+4
	ldr	r3, [r3, r0, lsl #2]
	add	r4, r1, r3
	cmp	r5, #1
	bgt	.L3
	lsl	r3, r6, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r6, r3, #16
.L3:
	mov	r3, r6
	sub	r3, r3, #1968
	add	r1, r3, #3
	cmp	r3, #0
	movlt	r3, r1
	movge	r3, r3
	asr	r3, r3, #2
	add	r4, r4, r3
	mov	r3, r6
	sub	r3, r3, #1888
	sub	r3, r3, #12
	ldr	r1, .L5+8
	smull	r0, r1, r3, r1
	asr	r1, r1, #5
	asr	r3, r3, #31
	sub	r3, r3, r1
	add	r4, r4, r3
	mov	r3, r6
	sub	r3, r3, #1600
	ldr	r1, .L5+8
	smull	r0, r1, r3, r1
	asr	r1, r1, #7
	asr	r3, r3, #31
	sub	r3, r1, r3
	add	r4, r4, r3
	ldr	r3, [r2, #12]
	add	r4, r4, r3
	sub	r4, r4, #1
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r3, r3, #3
	mov	r4, r3
	ldr	r3, [r2, #8]
	add	r4, r4, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	mov	r4, r3
	ldr	r3, [r2, #4]
	add	r4, r4, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	mov	r4, r3
	ldr	r3, [r2]
	add	r4, r4, r3
	mov	r3, r4
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
.L6:
	.align	2
.L5:
	.word	715827883
	.word	m_to_d.4392
	.word	1374389535
	.size	mkgmtime, .-mkgmtime
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mktime
	.syntax unified
	.arm
	.fpu softvfp
	.type	mktime, %function
mktime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	tzset
	ldr	r0, [fp, #-16]
	bl	mkgmtime
	mov	r2, r0
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bgt	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bge	.L9
	sub	r3, fp, #12
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L9
.L8:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #3600
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-12]
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	timezone
	.size	mktime, .-mktime
	.data
	.align	2
	.type	m_to_d.4392, %object
	.size	m_to_d.4392, 48
m_to_d.4392:
	.word	0
	.word	31
	.word	59
	.word	90
	.word	120
	.word	151
	.word	181
	.word	212
	.word	243
	.word	273
	.word	304
	.word	334
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
