	.file	"108640.c"
	.intel_syntax noprefix
	.text
	.globl	S_BOUND
	.bss
	.align 8
	.type	S_BOUND, @object
	.size	S_BOUND, 8
S_BOUND:
	.zero	8
	.globl	S_INIT
	.align 8
	.type	S_INIT, @object
	.size	S_INIT, 8
S_INIT:
	.zero	8
	.globl	cur_time
	.align 8
	.type	cur_time, @object
	.size	cur_time, 8
cur_time:
	.zero	8
	.section	.rodata
.LC0:
	.string	"No DHCPOFFERS received."
.LC1:
	.string	"Trying recorded lease %s"
.LC2:
	.string	"TIMEOUT"
.LC3:
	.string	"new_"
.LC4:
	.string	"alias_"
.LC5:
	.string	"bound: renewal in %d seconds."
.LC6:
	.string	"bound: immediate renewal."
	.align 8
.LC7:
	.string	"No working leases in persistent database - sleeping.\n"
.LC8:
	.string	"FAIL"
	.text
	.globl	state_panic
	.type	state_panic, @function
state_panic:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	note@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L17
	jmp	.L3
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR cur_time[rip]
	cmp	rdx, rax
	jle	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 32[rax]
	mov	edi, eax
	call	piaddr@PLT
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	note@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	script_init@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	script_write_params@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	script_write_params@PLT
.L6:
	mov	eax, 0
	call	script_go@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR cur_time[rip]
	cmp	rdx, rax
	jle	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR S_BOUND[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, eax
	mov	rax, QWORD PTR cur_time[rip]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	note@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR state_bound@GOTPCREL[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	add_timeout@PLT
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR S_BOUND[rip]
	mov	QWORD PTR 8[rax], rdx
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	note@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	state_bound@PLT
.L8:
	mov	eax, 0
	call	reinitialize_interfaces@PLT
	mov	eax, 0
	call	go_daemon@PLT
	jmp	.L1
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 24[rdx]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[rax], 0
	jmp	.L10
.L18:
	nop
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR 16[rax], 0
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 32[rdx]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 16[rdx]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -24[rbp], rax
	je	.L19
	cmp	QWORD PTR -24[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L4
.L17:
	nop
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L15
	jmp	.L10
.L19:
	nop
.L10:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	note@PLT
	mov	esi, 0
	lea	rdi, .LC8[rip]
	call	script_init@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	script_write_params@PLT
.L16:
	mov	eax, 0
	call	script_go@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR S_INIT[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR cur_time[rip]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR state_init@GOTPCREL[rip]
	mov	rsi, rax
	mov	rdi, rcx
	call	add_timeout@PLT
	mov	eax, 0
	call	go_daemon@PLT
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	state_panic, .-state_panic
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"108640.c"
	.text
	.comm	S_BOUND,4,4
	.comm	S_INIT,4,4
	.comm	cur_time,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"No DHCPOFFERS received.\000"
	.align	2
.LC1:
	.ascii	"Trying recorded lease %s\000"
	.align	2
.LC2:
	.ascii	"TIMEOUT\000"
	.align	2
.LC3:
	.ascii	"new_\000"
	.align	2
.LC4:
	.ascii	"alias_\000"
	.align	2
.LC5:
	.ascii	"bound: renewal in %d seconds.\000"
	.align	2
.LC6:
	.ascii	"bound: immediate renewal.\000"
	.align	2
.LC7:
	.ascii	"No working leases in persistent database - sleeping"
	.ascii	".\012\000"
	.align	2
.LC8:
	.ascii	"FAIL\000"
	.text
	.align	2
	.global	state_panic
	.syntax unified
	.arm
	.fpu softvfp
	.type	state_panic, %function
state_panic:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
	ldr	r0, .L20
	bl	note
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L17
	b	.L3
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, [r3]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	piaddr
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L20+8
	bl	note
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L20+12
	bl	script_init
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L20+16
	bl	script_write_params
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L20+20
	bl	script_write_params
.L6:
	bl	script_go
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #4]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L20+24
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #4]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L20+28
	bl	note
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	ldr	r1, .L20+32
	mov	r0, r3
	bl	add_timeout
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L20+24
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r0, .L20+36
	bl	note
	ldr	r0, [fp, #-8]
	bl	state_bound
.L8:
	bl	reinitialize_interfaces
	bl	go_daemon
	b	.L1
.L5:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r2, #12]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #12]
	b	.L10
.L18:
	nop
.L3:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r2, #0
	str	r2, [r3, #8]
.L13:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r2, #16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r2, #8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L19
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
	b	.L4
.L17:
	nop
.L4:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L15
	b	.L10
.L19:
	nop
.L10:
	ldr	r0, .L20+40
	bl	note
	mov	r1, #0
	ldr	r0, .L20+44
	bl	script_init
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L20+20
	bl	script_write_params
.L16:
	bl	script_go
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L20+48
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r1, .L20+52
	mov	r0, r3
	bl	add_timeout
	bl	go_daemon
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	cur_time
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	S_BOUND
	.word	.LC5
	.word	state_bound
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	S_INIT
	.word	state_init
	.size	state_panic, .-state_panic
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
