	.file	"26431.c"
	.intel_syntax noprefix
	.text
	.globl	__time_to_tm
	.type	__time_to_tm, @function
__time_to_tm:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	sub	QWORD PTR -72[rbp], 951868800
	cmp	QWORD PTR -72[rbp], 0
	jle	.L2
	mov	rcx, QWORD PTR -72[rbp]
	movabs	rdx, 1749024623285053783
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 13
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	jmp	.L3
.L2:
	mov	eax, 86399
	sub	rax, QWORD PTR -72[rbp]
	mov	rcx, rax
	movabs	rdx, 1749024623285053783
	mov	rax, rcx
	imul	rdx
	sar	rdx, 13
	mov	rax, rcx
	sar	rax, 63
	sub	rax, rdx
.L3:
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	edx, eax, -86400
	mov	rax, QWORD PTR -72[rbp]
	add	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1851608123
	shr	rdx, 32
	add	edx, eax
	sar	edx, 11
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, eax, -3600
	add	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	edx, 4
	sub	eax, edx
	sal	eax, 2
	add	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 3[rax]
	movabs	rdx, 5270498306774157605
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	rdx, rax
	sal	rdx, 3
	sub	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jns	.L4
	add	DWORD PTR -40[rbp], 7
.L4:
	mov	QWORD PTR -72[rbp], -942868800
	cmp	QWORD PTR -8[rbp], 0
	jle	.L5
	mov	rcx, QWORD PTR -8[rbp]
	movabs	rdx, 4137408090565272301
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 15
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	jmp	.L6
.L5:
	mov	eax, 146096
	sub	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	movabs	rdx, 4137408090565272301
	mov	rax, rcx
	imul	rdx
	sar	rdx, 15
	mov	rax, rcx
	sar	rax, 63
	sub	rax, rdx
.L6:
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 146097
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 2
	mov	eax, eax
	imul	rax, rax, 963321983
	shr	rax, 32
	shr	eax, 11
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 4
	jne	.L7
	sub	DWORD PTR -52[rbp], 1
.L7:
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, eax, 36524
	sub	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	eax, eax
	imul	rax, rax, 376287347
	shr	rax, 32
	shr	eax, 7
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 25
	jne	.L8
	sub	DWORD PTR -56[rbp], 1
.L8:
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax, 1461
	sub	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	imul	rdx, rdx, 1729753953
	shr	rdx, 32
	sub	eax, edx
	shr	eax
	add	eax, edx
	shr	eax, 8
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 4
	jne	.L9
	sub	DWORD PTR -48[rbp], 1
.L9:
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, eax, 365
	sub	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jne	.L10
	cmp	DWORD PTR -56[rbp], 0
	jne	.L11
	cmp	DWORD PTR -52[rbp], 0
	jne	.L10
.L11:
	mov	eax, 1
	jmp	.L12
.L10:
	mov	eax, 0
.L12:
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	add	eax, 59
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 364
	cmp	DWORD PTR -36[rbp], eax
	jle	.L13
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 365
	sub	DWORD PTR -36[rbp], eax
.L13:
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	edx, 0[0+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 400
	add	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	add	eax, 100
	mov	DWORD PTR -48[rbp], eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L14
.L15:
	add	DWORD PTR -44[rbp], 1
.L14:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, days_thru_month.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -60[rbp], eax
	jnb	.L15
	cmp	DWORD PTR -44[rbp], 0
	je	.L16
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, days_thru_month.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	DWORD PTR -60[rbp], eax
.L16:
	add	DWORD PTR -44[rbp], 2
	cmp	DWORD PTR -44[rbp], 11
	jle	.L17
	sub	DWORD PTR -44[rbp], 12
	add	DWORD PTR -48[rbp], 1
.L17:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 28[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__time_to_tm, .-__time_to_tm
	.section	.rodata
	.align 32
	.type	days_thru_month.0, @object
	.size	days_thru_month.0, 48
days_thru_month.0:
	.long	31
	.long	61
	.long	92
	.long	122
	.long	153
	.long	184
	.long	214
	.long	245
	.long	275
	.long	306
	.long	337
	.long	366
	.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	"26431.c"
	.text
	.global	__aeabi_ldivmod
	.align	2
	.global	__time_to_tm
	.syntax unified
	.arm
	.fpu softvfp
	.type	__time_to_tm, %function
__time_to_tm:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #72
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r3, .L19+8
	add	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-88]
	ldr	r2, .L19+12
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #16
	asr	r3, r3, #31
	sub	r3, r2, r3
	b	.L3
.L2:
	ldr	r2, [fp, #-88]
	ldr	r3, .L19+16
	sub	r3, r3, r2
	ldr	r2, .L19+12
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #16
	asr	r3, r3, #31
	sub	r3, r3, r2
.L3:
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #7
	rsb	r2, r3, #0
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r2, .L19+20
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #11
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #20
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r2, .L19+24
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r2, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	str	r3, [fp, #-52]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r6, r2, #3
	adc	r7, r3, #0
	mov	r2, #7
	mov	r3, #0
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ldivmod
	mov	r3, r2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-60]
	add	r3, r3, #7
	str	r3, [fp, #-60]
.L4:
	ldr	r3, .L19+28
	str	r3, [fp, #-88]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	blt	.L5
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	adr	r3, .L19
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	b	.L6
.L5:
	ldr	r0, .L19+32
	mov	r1, #0
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	ldr	r2, .L19+36
	mvn	r3, #0
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
.L6:
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #6
	sub	r3, r2, r3
	sub	r3, r1, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	lsr	r3, r3, #2
	ldr	r2, .L19+40
	umull	r1, r3, r2, r3
	lsr	r3, r3, #11
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #4
	bne	.L7
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
.L7:
	ldr	r3, [fp, #-72]
	ldr	r2, .L19+44
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	ldr	r2, .L19+48
	umull	r1, r3, r2, r3
	lsr	r3, r3, #7
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #25
	bne	.L8
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	str	r3, [fp, #-76]
.L8:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #2
	sub	r3, r2, r3
	ldr	r2, [fp, #-80]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-80]
	ldr	r3, .L19+52
	umull	r1, r3, r2, r3
	sub	r2, r2, r3
	lsr	r2, r2, #1
	add	r3, r3, r2
	lsr	r3, r3, #8
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #4
	bne	.L9
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
.L9:
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-80]
	sub	r3, r3, r2
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L10
.L11:
	mov	r3, #1
	b	.L12
.L10:
	mov	r3, #0
.L12:
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	add	r3, r3, #59
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-36]
	add	r3, r3, #364
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-36]
	add	r3, r3, #364
	add	r3, r3, #1
	ldr	r2, [fp, #-56]
	sub	r3, r2, r3
	str	r3, [fp, #-56]
.L13:
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r2, r3, r2
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	lsl	r1, r3, #2
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r2, r1, r3
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	add	r3, r3, #100
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L14
.L15:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L14:
	ldr	r2, .L19+56
	ldr	r3, [fp, #-64]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	bcs	.L15
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	ldr	r2, .L19+56
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r3, [fp, #-80]
	sub	r3, r3, r2
	str	r3, [fp, #-80]
.L16:
	ldr	r3, [fp, #-64]
	add	r3, r3, #2
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #11
	ble	.L17
	ldr	r3, [fp, #-64]
	sub	r3, r3, #12
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L17:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-44]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-48]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-68]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-60]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L20:
	.align	3
.L19:
	.word	146097
	.word	0
	.word	-951868800
	.word	-1037155065
	.word	86399
	.word	-1851608123
	.word	-2004318071
	.word	-942868800
	.word	146096
	.word	-146097
	.word	963321983
	.word	36524
	.word	376287347
	.word	1729753953
	.word	days_thru_month.4390
	.size	__time_to_tm, .-__time_to_tm
	.section	.rodata
	.align	2
	.type	days_thru_month.4390, %object
	.size	days_thru_month.4390, 48
days_thru_month.4390:
	.word	31
	.word	61
	.word	92
	.word	122
	.word	153
	.word	184
	.word	214
	.word	245
	.word	275
	.word	306
	.word	337
	.word	366
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
