	.file	"extr_nodemanager.c_o2nm_cluster_attr_idle_timeout_ms_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"o2net: cannot change idle timeout after the first peer has agreed to it.  %d connected peers\n"
	.align 8
.LC1:
	.string	"o2net: idle timeout must be larger than keepalive delay\n"
	.text
	.p2align 4
	.type	o2nm_cluster_attr_idle_timeout_ms_write, @function
o2nm_cluster_attr_idle_timeout_ms_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rsi
	mov	rsi, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	call	o2nm_cluster_attr_write@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L1
	mov	eax, DWORD PTR 4[rsp]
	cmp	DWORD PTR [rbx], eax
	jne	.L9
	cmp	DWORD PTR 4[rbx], eax
	jnb	.L10
.L5:
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	o2net_num_connected_peers@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR 4[rsp]
	cmp	DWORD PTR 4[rbx], eax
	jb	.L5
.L10:
	mov	edi, DWORD PTR ML_NOTICE[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	mlog@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	call	o2net_num_connected_peers@PLT
	mov	edi, DWORD PTR ML_NOTICE[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	mlog@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	o2nm_cluster_attr_idle_timeout_ms_write, .-o2nm_cluster_attr_idle_timeout_ms_write
	.comm	ML_NOTICE,4,4
	.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_nodemanager.c_o2nm_cluster_attr_idle_timeout_ms_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"o2net: cannot change idle timeout after the first p"
	.ascii	"eer has agreed to it.  %d connected peers\012\000"
	.align	2
.LC1:
	.ascii	"o2net: idle timeout must be larger than keepalive d"
	.ascii	"elay\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	o2nm_cluster_attr_idle_timeout_ms_write, %function
o2nm_cluster_attr_idle_timeout_ms_write:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r0, r3
	ldr	r3, .L12
	mov	r1, r2
	mov	r2, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	o2nm_cluster_attr_write
	subs	r4, r0, #0
	ble	.L1
	ldr	r3, [sp]
	ldr	r2, [r5]
	cmp	r2, r3
	bne	.L9
	ldr	r2, [r5, #4]
	cmp	r2, r3
	strcc	r3, [r5]
	bcs	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	bl	o2net_num_connected_peers
	cmp	r0, #0
	bne	.L4
	ldr	r3, [sp]
	ldr	r2, [r5, #4]
	cmp	r2, r3
	strcc	r3, [r5]
	bcc	.L1
.L10:
	ldr	r3, .L12+4
	ldr	r1, .L12+8
	ldr	r0, [r3]
	bl	mlog
	ldr	r3, .L12+12
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L4:
	ldr	r3, .L12+4
	ldr	r4, [r3]
	bl	o2net_num_connected_peers
	ldr	r1, .L12+16
	mov	r2, r0
	mov	r0, r4
	bl	mlog
	ldr	r3, .L12+12
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	ML_NOTICE
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	o2nm_cluster_attr_idle_timeout_ms_write, .-o2nm_cluster_attr_idle_timeout_ms_write
	.comm	ML_NOTICE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
