	.file	"extr_sntp.c_on_long_timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sntp: long timer\n"
	.text
	.p2align 4
	.type	on_long_timeout, @function
on_long_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	sntp_dbg@PLT
	xor	eax, eax
	call	lua_getstate@PLT
	cmp	QWORD PTR state[rip], 0
	je	.L8
.L1:
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rax
	mov	rbp, rax
	call	state_init@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR repeat[rip]
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR 8[rax]
	call	lua_rawgeti@PLT
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rbx, QWORD PTR state[rip]
	mov	rdi, rbp
	call	luaL_ref@PLT
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rdi, rbp
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR repeat[rip]
	mov	edx, DWORD PTR 4[rax]
	call	lua_rawgeti@PLT
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rbx, QWORD PTR state[rip]
	mov	rdi, rbp
	call	luaL_ref@PLT
	cmp	QWORD PTR server_count[rip], 0
	mov	QWORD PTR 16[rbx], rax
	je	.L9
.L5:
	mov	rax, QWORD PTR state[rip]
	mov	rdi, rbp
	mov	DWORD PTR [rax], 1
	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
	jmp	sntp_dolookups@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR repeat[rip]
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax]
	call	lua_rawgeti@PLT
	mov	esi, DWORD PTR LUA_REGISTRYINDEX[rip]
	mov	rbx, QWORD PTR state[rip]
	mov	rdi, rbp
	call	luaL_ref@PLT
	mov	QWORD PTR 8[rbx], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	on_long_timeout, .-on_long_timeout
	.comm	state,8,8
	.comm	server_count,8,8
	.comm	repeat,8,8
	.comm	LUA_REGISTRYINDEX,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_sntp.c_on_long_timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sntp: long timer\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	on_long_timeout, %function
on_long_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L9
	ldr	r0, .L9+4
	bl	sntp_dbg
	bl	lua_getstate
	ldr	r3, [r5]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r4, r0
	bl	state_init
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L9+8
	ldr	r6, .L9+12
	ldr	r3, [r7]
	ldr	r1, [r6]
	ldr	r2, [r3, #8]
	mov	r0, r4
	bl	lua_rawgeti
	ldr	r1, [r6]
	mov	r0, r4
	ldr	r8, [r5]
	bl	luaL_ref
	ldr	r3, [r7]
	str	r0, [r8, #12]
	ldr	r2, [r3, #4]
	ldr	r1, [r6]
	mov	r0, r4
	bl	lua_rawgeti
	mov	r0, r4
	ldr	r1, [r6]
	ldr	r8, [r5]
	bl	luaL_ref
	ldr	r3, .L9+16
	str	r0, [r8, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
.L5:
	mov	r2, #1
	ldr	r3, [r5]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	str	r2, [r3]
	b	sntp_dolookups
.L8:
	ldr	r3, [r7]
	ldr	r1, [r6]
	ldr	r2, [r3]
	mov	r0, r4
	bl	lua_rawgeti
	ldr	r1, [r6]
	mov	r0, r4
	ldr	r6, [r5]
	bl	luaL_ref
	str	r0, [r6, #4]
	b	.L5
.L10:
	.align	2
.L9:
	.word	state
	.word	.LC0
	.word	repeat
	.word	LUA_REGISTRYINDEX
	.word	server_count
	.size	on_long_timeout, .-on_long_timeout
	.comm	state,4,4
	.comm	server_count,4,4
	.comm	repeat,4,4
	.comm	LUA_REGISTRYINDEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
