	.file	"extr_bsm_control.c_au_timetosec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	au_timetosec, @function
au_timetosec:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L8
	cmp	dl, 115
	je	.L9
	jg	.L4
	cmp	dl, 100
	je	.L5
	cmp	dl, 104
	jne	.L8
	imul	esi, esi, 3600
	xor	eax, eax
	mov	DWORD PTR [rdi], esi
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	dl, 121
	jne	.L8
	test	esi, esi
	lea	eax, 3[rsi]
	cmovns	eax, esi
	imul	esi, esi, 31449600
	sar	eax, 2
	imul	eax, eax, 86400
	add	esi, eax
.L9:
	mov	DWORD PTR [rdi], esi
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, -1
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	imul	esi, esi, 86400
	xor	eax, eax
	mov	DWORD PTR [rdi], esi
	ret
	.cfi_endproc
.LFE0:
	.size	au_timetosec, .-au_timetosec
	.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_bsm_control.c_au_timetosec.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	au_timetosec, %function
au_timetosec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #0
	beq	.L9
	sub	r2, r2, #100
	cmp	r2, #21
	ldrls	pc, [pc, r2, asl #2]
	b	.L9
.L4:
	.word	.L7
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L6
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L10
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L3
.L9:
	mvn	r0, #0
	bx	lr
.L6:
	rsb	r1, r1, r1, lsl #4
	rsb	r1, r1, r1, lsl #4
	lsl	r1, r1, #4
.L10:
	str	r1, [r0]
	mov	r0, #0
	bx	lr
.L3:
	cmp	r1, #0
	add	r3, r1, #3
	movge	r3, r1
	asr	r3, r3, #2
	add	r3, r3, r3, lsl #1
	rsb	r1, r1, r1, lsl #4
	rsb	r3, r3, r3, lsl #4
	rsb	r1, r1, r1, lsl #12
	rsb	r3, r3, r3, lsl #4
	lsl	r1, r1, #9
	add	r1, r1, r3, lsl #7
	str	r1, [r0]
	mov	r0, #0
	bx	lr
.L7:
	add	r1, r1, r1, lsl #1
	rsb	r1, r1, r1, lsl #4
	rsb	r1, r1, r1, lsl #4
	lsl	r1, r1, #7
	str	r1, [r0]
	mov	r0, #0
	bx	lr
	.size	au_timetosec, .-au_timetosec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
