	.file	"extr_bitmap.c_timeout_store.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	timeout_store, @function
timeout_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	mov	edx, 4
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	strict_strtoul_scaled@PLT
	test	eax, eax
	jne	.L1
	mov	rcx, QWORD PTR HZ[rip]
	mov	rax, QWORD PTR LONG_MAX[rip]
	xor	edx, edx
	mov	rsi, QWORD PTR [rsp]
	div	rcx
	cmp	rax, rsi
	jbe	.L13
	movabs	rdx, 3777893186295716171
	imul	rcx, rsi
	mov	rax, rcx
	mul	rdx
	mov	rax, QWORD PTR MAX_SCHEDULE_TIMEOUT[rip]
	shr	rdx, 11
	mov	QWORD PTR [rsp], rdx
	cmp	rdx, rax
	jb	.L4
	lea	rdx, -1[rax]
	mov	QWORD PTR [rsp], rdx
.L4:
	test	rdx, rdx
	jne	.L5
	mov	QWORD PTR [rsp], 1
	mov	edx, 1
.L5:
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbx], rdx
	test	rdi, rdi
	je	.L6
	cmp	rax, QWORD PTR [rdi]
	ja	.L14
.L6:
	mov	eax, ebp
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	QWORD PTR [rdi], rdx
	call	md_wakeup_thread@PLT
	mov	eax, ebp
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	timeout_store, .-timeout_store
	.comm	MAX_SCHEDULE_TIMEOUT,8,8
	.comm	LONG_MAX,8,8
	.comm	HZ,8,8
	.comm	EINVAL,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_bitmap.c_timeout_store.c"
	.text
	.global	__aeabi_uidiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	timeout_store, %function
timeout_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L16
	sub	sp, sp, #8
	mov	r5, r0
	mov	r6, r2
	mov	r0, r1
	mov	r2, #4
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	strict_strtoul_scaled
	cmp	r0, #0
	bne	.L1
	ldr	r2, .L16+4
	ldr	r3, .L16+8
	ldr	r4, [r2]
	ldr	r0, [r3]
	mov	r1, r4
	bl	__aeabi_uidiv
	ldr	r1, [sp]
	cmp	r0, r1
	bls	.L13
	mul	r1, r4, r1
	ldr	r4, .L16+12
	ldr	r3, .L16+16
	umull	r2, r1, r4, r1
	ldr	r3, [r3]
	lsr	r1, r1, #13
	cmp	r1, r3
	str	r1, [sp]
	subcs	r1, r3, #1
	strcs	r1, [sp]
	cmp	r1, #0
	moveq	r2, #1
	moveq	r1, r2
	ldr	r0, [r5]
	streq	r2, [sp]
	cmp	r0, #0
	str	r1, [r5, #4]
	beq	.L6
	ldr	r2, [r0]
	cmp	r3, r2
	bhi	.L14
.L6:
	mov	r0, r6
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	str	r1, [r0]
	bl	md_wakeup_thread
	b	.L6
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	HZ
	.word	LONG_MAX
	.word	-776530087
	.word	MAX_SCHEDULE_TIMEOUT
	.word	EINVAL
	.size	timeout_store, .-timeout_store
	.comm	MAX_SCHEDULE_TIMEOUT,4,4
	.comm	LONG_MAX,4,4
	.comm	HZ,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
