	.file	"extr_dt_common.c_DecodeNumber.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DecodeNumber, @function
DecodeNumber:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	mov	rdi, r10
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	mov	edx, 10
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR 112[rsp]
	mov	QWORD PTR 24[rsp], r9
	lea	r15, 32[rsp]
	mov	rsi, r15
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rcx], 0
	mov	QWORD PTR 8[rsp], r10
	call	strtoint@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	r10, QWORD PTR 8[rsp]
	cmp	rdi, r10
	je	.L6
	mov	ebp, eax
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 46
	je	.L53
	test	al, al
	jne	.L6
.L9:
	mov	edi, DWORD PTR YEAR[rip]
	cmp	r13d, 3
	je	.L54
	jle	.L12
	call	DTK_M@PLT
	mov	DWORD PTR [r12], eax
	mov	edi, DWORD PTR YEAR[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L55
.L14:
	mov	DWORD PTR 4[r14], ebp
	xor	r15d, r15d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L56
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L54:
	.cfi_restore_state
	call	DTK_M@PLT
	test	eax, ebx
	je	.L10
	lea	eax, -1[rbp]
	cmp	eax, 365
	jbe	.L11
.L10:
	mov	edi, DWORD PTR YEAR[rip]
.L12:
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L57
.L16:
	mov	eax, DWORD PTR 120[rsp]
	test	eax, eax
	jne	.L20
	mov	edi, DWORD PTR MONTH[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L20
.L19:
	mov	edi, DWORD PTR MONTH[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L21
	test	ebp, ebp
	jle	.L21
	cmp	DWORD PTR MONTHS_PER_YEAR[rip], ebp
	jl	.L21
.L50:
	mov	edi, DWORD PTR MONTH[rip]
	xor	r15d, r15d
	call	DTK_M@PLT
	mov	DWORD PTR [r12], eax
	mov	DWORD PTR 8[r14], ebp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR DAY[rip]
	call	DTK_M@PLT
	and	eax, ebx
	mov	r15d, eax
	jne	.L22
	lea	eax, -1[rbp]
	cmp	eax, 30
	jbe	.L51
.L22:
	mov	edi, DWORD PTR YEAR[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L6
	cmp	r13d, 2
	jne	.L6
	mov	edi, DWORD PTR YEAR[rip]
	xor	r15d, r15d
	call	DTK_M@PLT
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	DWORD PTR 4[r14], ebp
	mov	DWORD PTR [rax], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR YEAR[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L19
	mov	edi, DWORD PTR DAY[rip]
	call	DTK_M@PLT
	and	eax, ebx
	mov	r15d, eax
	jne	.L19
	lea	eax, -1[rbp]
	cmp	eax, 30
	ja	.L19
	.p2align 4,,10
	.p2align 3
.L51:
	mov	edi, DWORD PTR DAY[rip]
	call	DTK_M@PLT
	mov	DWORD PTR [r12], eax
	mov	DWORD PTR 12[r14], ebp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	mov	rax, rdi
	sub	rax, r10
	cmp	rax, 2
	jg	.L58
	mov	rsi, r15
	call	strtod@PLT
	mov	rcx, QWORD PTR 24[rsp]
	mov	DWORD PTR [rcx], eax
	mov	rax, QWORD PTR 32[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r15d, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L55:
	mov	edi, DWORD PTR DAY[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L14
	mov	eax, DWORD PTR 4[r14]
	lea	edx, -1[rax]
	cmp	edx, 30
	ja	.L14
	mov	DWORD PTR 12[r14], eax
	mov	edi, DWORD PTR DAY[rip]
	call	DTK_M@PLT
	mov	DWORD PTR [r12], eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L57:
	mov	edi, DWORD PTR MONTH[rip]
	call	DTK_M@PLT
	test	eax, ebx
	jne	.L16
	test	ebp, ebp
	jle	.L16
	cmp	DWORD PTR MONTHS_PER_YEAR[rip], ebp
	jl	.L16
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L58:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	or	ebx, DWORD PTR DTK_DATE_M[rip]
	mov	rcx, r12
	mov	r8, r14
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 128
	mov	r9, QWORD PTR 40[rsp]
	mov	edx, ebx
	mov	rsi, r10
	mov	edi, r13d
	call	DecodeNumberField@PLT
	pop	rdx
	.cfi_def_cfa_offset 120
	pop	rcx
	.cfi_def_cfa_offset 112
	mov	r15d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR DOY[rip]
	xor	r15d, r15d
	call	DTK_M@PLT
	mov	edi, DWORD PTR MONTH[rip]
	mov	ebx, eax
	call	DTK_M@PLT
	mov	edi, DWORD PTR DAY[rip]
	or	ebx, eax
	call	DTK_M@PLT
	mov	edx, 1
	mov	esi, 1
	or	ebx, eax
	mov	DWORD PTR [r12], ebx
	mov	edi, DWORD PTR 4[r14]
	mov	DWORD PTR [r14], ebp
	call	date2j@PLT
	movsx	rdi, DWORD PTR [r14]
	lea	rcx, 12[r14]
	lea	rdx, 8[r14]
	lea	rsi, 4[r14]
	lea	rdi, -1[rdi+rax]
	call	j2date@PLT
	jmp	.L1
.L56:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	DecodeNumber, .-DecodeNumber
	.comm	YEAR,4,4
	.comm	MONTHS_PER_YEAR,4,4
	.comm	MONTH,4,4
	.comm	DTK_DATE_M,4,4
	.comm	DOY,4,4
	.comm	DAY,4,4
	.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_DecodeNumber.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DecodeNumber, %function
DecodeNumber:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	mov	r3, #0
	mov	r5, r1
	mov	r4, r2
	ldr	r2, .L57
	sub	sp, sp, #28
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r8, r0
	str	r3, [r6]
	mov	r0, r1
	mov	r2, #10
	add	r1, sp, #16
	ldr	r9, [sp, #64]
	ldr	fp, [sp, #68]
	ldr	r10, [sp, #72]
	bl	strtoint
	ldr	r3, [sp, #16]
	cmp	r3, r5
	beq	.L6
	ldrb	r2, [r3]	@ zero_extendqisi2
	mov	r7, r0
	cmp	r2, #46
	beq	.L50
	cmp	r2, #0
	bne	.L6
.L9:
	ldr	fp, .L57+4
	cmp	r8, #3
	ldr	r0, [fp]
	beq	.L51
	ble	.L12
	bl	DTK_M
	str	r0, [r6]
	ldr	r0, [fp]
	bl	DTK_M
	tst	r0, r4
	bne	.L52
.L14:
	mov	r5, #0
	str	r7, [r9, #4]
.L1:
	ldr	r3, .L57
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L53
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L51:
	bl	DTK_M
	tst	r0, r4
	beq	.L10
	ldr	r3, .L57+8
	sub	r2, r7, #1
	cmp	r2, r3
	bls	.L11
.L10:
	ldr	r0, [fp]
.L12:
	bl	DTK_M
	tst	r0, r4
	bne	.L54
.L16:
	ldr	r3, [sp, #76]
	cmp	r3, #0
	bne	.L20
	ldr	r5, .L57+12
	ldr	r0, [r5]
	bl	DTK_M
	tst	r0, r4
	bne	.L20
.L19:
	ldr	r0, [r5]
	bl	DTK_M
	cmp	r7, #0
	and	r0, r0, r4
	movle	r3, #0
	movgt	r3, #1
	cmp	r0, #0
	movne	r3, #0
	cmp	r3, #0
	bne	.L55
.L21:
	ldr	r3, .L57+16
	ldr	r0, [r3]
	bl	DTK_M
	ands	r5, r0, r4
	bne	.L22
	sub	r2, r7, #1
	cmp	r2, #30
	ldr	r3, .L57+16
	bls	.L48
.L22:
	ldr	r0, [fp]
	bl	DTK_M
	and	r4, r4, r0
	cmp	r8, #2
	cmpeq	r4, #0
	bne	.L6
	ldr	r0, [fp]
	bl	DTK_M
	mov	r3, #1
	str	r0, [r6]
	mov	r5, #0
	str	r7, [r9, #4]
	str	r3, [r10]
	b	.L1
.L20:
	ldr	r0, [fp]
	bl	DTK_M
	tst	r0, r4
	beq	.L18
.L46:
	ldr	r5, .L57+12
	b	.L19
.L50:
	sub	r2, r3, r5
	cmp	r2, #2
	bgt	.L56
	mov	r0, r3
	add	r1, sp, #16
	bl	strtod
	ldr	r3, [sp, #16]
	str	r0, [fp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
.L6:
	mvn	r5, #0
	b	.L1
.L18:
	ldr	r3, .L57+16
	ldr	r0, [r3]
	bl	DTK_M
	ands	r5, r0, r4
	ldr	r3, .L57+16
	bne	.L46
	sub	r2, r7, #1
	cmp	r2, #30
	bhi	.L46
.L48:
	ldr	r0, [r3]
	bl	DTK_M
	str	r0, [r6]
	str	r7, [r9, #12]
	b	.L1
.L55:
	ldr	r3, .L57+20
	ldr	r3, [r3]
	cmp	r3, r7
	blt	.L21
.L47:
	ldr	r0, [r5]
	bl	DTK_M
	mov	r5, #0
	str	r0, [r6]
	str	r7, [r9, #8]
	b	.L1
.L54:
	ldr	r5, .L57+12
	ldr	r0, [r5]
	bl	DTK_M
	cmp	r7, #0
	and	r0, r0, r4
	movle	r3, #0
	movgt	r3, #1
	cmp	r0, #0
	movne	r3, #0
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L57+20
	ldr	r3, [r3]
	cmp	r3, r7
	blt	.L16
	b	.L47
.L52:
	ldr	r5, .L57+16
	ldr	r0, [r5]
	bl	DTK_M
	tst	r0, r4
	bne	.L14
	ldr	r3, [r9, #4]
	sub	r2, r3, #1
	cmp	r2, #30
	bhi	.L14
	ldr	r0, [r5]
	str	r3, [r9, #12]
	bl	DTK_M
	str	r0, [r6]
	b	.L14
.L56:
	ldr	r3, .L57+24
	str	r10, [sp, #8]
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r6
	mov	r0, r8
	stm	sp, {r9, fp}
	orr	r2, r4, r2
	bl	DecodeNumberField
	mov	r5, r0
	b	.L1
.L11:
	ldr	r3, .L57+28
	mov	r5, #0
	ldr	r0, [r3]
	bl	DTK_M
	ldr	r3, .L57+12
	mov	r4, r0
	ldr	r0, [r3]
	bl	DTK_M
	ldr	r3, .L57+16
	orr	r4, r4, r0
	ldr	r0, [r3]
	bl	DTK_M
	mov	r2, #1
	orr	r4, r4, r0
	str	r4, [r6]
	mov	r1, r2
	ldr	r0, [r9, #4]
	str	r7, [r9]
	bl	date2j
	mov	r1, r9
	ldr	r2, [r1], #4
	add	r3, r9, #12
	add	r0, r0, r2
	sub	r0, r0, #1
	add	r2, r9, #8
	bl	j2date
	b	.L1
.L53:
	bl	__stack_chk_fail
.L58:
	.align	2
.L57:
	.word	.LC0
	.word	YEAR
	.word	365
	.word	MONTH
	.word	DAY
	.word	MONTHS_PER_YEAR
	.word	DTK_DATE_M
	.word	DOY
	.size	DecodeNumber, .-DecodeNumber
	.comm	YEAR,4,4
	.comm	MONTHS_PER_YEAR,4,4
	.comm	MONTH,4,4
	.comm	DTK_DATE_M,4,4
	.comm	DOY,4,4
	.comm	DAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
