	.file	"extr_time.c_stp_online_store.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stp_online_store, @function
stp_online_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdi, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	xor	edx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	simple_strtoul@PLT
	cmp	eax, 1
	jbe	.L2
	mov	rax, QWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	rax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR CLOCK_SYNC_HAS_STP[rip]
	lea	rsi, clock_sync_flags[rip]
	mov	ebp, eax
	call	test_bit@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	rax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rdi, clock_sync_mutex[rip]
	call	mutex_lock@PLT
	mov	DWORD PTR stp_online[rip], ebp
	mov	edi, DWORD PTR CLOCK_SYNC_STP[rip]
	lea	rsi, clock_sync_flags[rip]
	test	ebp, ebp
	je	.L5
	call	set_bit@PLT
.L6:
	mov	edi, DWORD PTR time_sync_wq[rip]
	lea	rsi, stp_work[rip]
	call	queue_work@PLT
	lea	rdi, clock_sync_mutex[rip]
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, rbx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	clear_bit@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	stp_online_store, .-stp_online_store
	.comm	time_sync_wq,4,4
	.comm	stp_work,4,4
	.comm	stp_online,4,4
	.comm	clock_sync_mutex,4,4
	.comm	clock_sync_flags,4,4
	.comm	EOPNOTSUPP,8,8
	.comm	EINVAL,8,8
	.comm	CLOCK_SYNC_STP,4,4
	.comm	CLOCK_SYNC_HAS_STP,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_time.c_stp_online_store.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stp_online_store, %function
stp_online_store:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r2, #0
	mov	r0, r1
	mov	r1, r2
	bl	simple_strtoul
	cmp	r0, #1
	bls	.L2
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L9+4
	mov	r4, r0
	ldr	r1, .L9+8
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r0, .L9+16
	bl	mutex_lock
	ldr	r3, .L9+20
	cmp	r4, #0
	str	r4, [r3]
	ldr	r3, .L9+24
	ldr	r1, .L9+8
	ldr	r0, [r3]
	beq	.L5
	bl	set_bit
.L6:
	ldr	r3, .L9+28
	ldr	r1, .L9+32
	ldr	r0, [r3]
	bl	queue_work
	ldr	r0, .L9+16
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	bl	clear_bit
	b	.L6
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	CLOCK_SYNC_HAS_STP
	.word	clock_sync_flags
	.word	EOPNOTSUPP
	.word	clock_sync_mutex
	.word	stp_online
	.word	CLOCK_SYNC_STP
	.word	time_sync_wq
	.word	stp_work
	.size	stp_online_store, .-stp_online_store
	.comm	time_sync_wq,4,4
	.comm	stp_work,4,4
	.comm	stp_online,4,4
	.comm	clock_sync_mutex,4,4
	.comm	clock_sync_flags,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.comm	CLOCK_SYNC_STP,4,4
	.comm	CLOCK_SYNC_HAS_STP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
