	.file	"extr_DDNS.c_DCThread.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DDNS Thread Triggered by AzureClient.\n"
	.align 8
.LC1:
	.string	"DDNS Thread Triggered by IP Hash Changed.\n"
	.align 8
.LC2:
	.string	"DDNS Internet Condition Changed.\n"
	.text
	.p2align 4
	.globl	DCThread
	.type	DCThread, @function
DCThread:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L1
	mov	rbx, rsi
	test	rsi, rsi
	je	.L1
	call	NewInterruptManager@PLT
	mov	r15, rax
	xor	eax, eax
	call	NewRouteChange@PLT
	mov	rdi, rax
	mov	QWORD PTR -136[rbp], rax
	call	IsRouteChanged@PLT
	lea	rax, -61[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	QWORD PTR -104[rbp], rax
	call	Zero@PLT
	mov	r11d, DWORD PTR [rbx]
	test	r11d, r11d
	jne	.L38
	lea	rax, 104[rbx]
	mov	DWORD PTR -84[rbp], 0
	lea	r13, -60[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	.p2align 4,,10
	.p2align 3
.L46:
	xor	eax, eax
	xor	r14d, r14d
	call	GetHostIPAddressHash32@PLT
	mov	r12, rax
	xor	eax, eax
	call	Tick64@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR 96[rbx]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, QWORD PTR -128[rbp]
	mov	QWORD PTR -96[rbp], rdx
	je	.L6
	lea	rdi, .LC0[rip]
	mov	r14d, 1
	call	Debug@PLT
	mov	rdx, QWORD PTR -96[rbp]
	mov	DWORD PTR -84[rbp], 0
	mov	QWORD PTR -128[rbp], rdx
.L6:
	mov	rsi, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR -104[rbp]
	mov	edx, 1
	call	Cmp@PLT
	xor	edx, edx
	test	rax, rax
	jne	.L106
.L7:
	cmp	r12, QWORD PTR -120[rbp]
	jne	.L107
	mov	rdi, QWORD PTR -136[rbp]
	mov	DWORD PTR -96[rbp], edx
	call	IsRouteChanged@PLT
	test	rax, rax
	jne	.L47
	mov	edx, DWORD PTR -96[rbp]
	or	r14d, edx
	mov	DWORD PTR -96[rbp], r14d
	jne	.L47
	cmp	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	je	.L56
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	je	.L57
	cmp	rax, QWORD PTR -80[rbp]
	jg	.L15
.L57:
	movsx	rax, DWORD PTR MAX_SIZE[rip]
	mov	rcx, rsp
	mov	r14, rsp
	mov	r12, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L18
.L108:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L108
.L18:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L19
	or	QWORD PTR -8[rsp+rdx], 0
.L19:
	mov	esi, r12d
	mov	rdi, rsp
	call	Zero@PLT
	xor	r8d, r8d
	xor	esi, esi
	mov	rdi, rbx
	mov	ecx, r12d
	mov	rdx, rsp
	call	DCGetMyIp@PLT
	cmp	rax, QWORD PTR ERR_NO_ERROR[rip]
	mov	rdi, QWORD PTR 48[rbx]
	mov	QWORD PTR 40[rbx], rax
	je	.L109
	call	IsEmptyStr@PLT
	mov	rdi, QWORD PTR 48[rbx]
	mov	esi, 8
	test	eax, eax
	mov	eax, 1
	cmovne	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -96[rbp], eax
	call	Zero@PLT
	mov	esi, DWORD PTR DDNS_GETMYIP_INTERVAL_NG_MAX[rip]
	mov	edi, DWORD PTR DDNS_GETMYIP_INTERVAL_NG_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
.L22:
	xor	eax, eax
	call	Tick64@PLT
	mov	rdi, r15
	lea	rsi, [rax+r12]
	mov	QWORD PTR 24[rbx], rsi
	call	AddInterrupt@PLT
	mov	rsp, r14
.L15:
	mov	rax, QWORD PTR 32[rbx]
	test	rax, rax
	je	.L58
	cmp	rax, QWORD PTR -80[rbp]
	jg	.L24
.L58:
	movsx	rax, DWORD PTR MAX_SIZE[rip]
	mov	rcx, rsp
	mov	r14, rsp
	mov	r12, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L27
.L110:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L110
.L27:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L28
	or	QWORD PTR -8[rsp+rdx], 0
.L28:
	mov	esi, r12d
	mov	rdi, rsp
	call	Zero@PLT
	xor	r8d, r8d
	mov	rdi, rbx
	mov	ecx, r12d
	mov	rdx, rsp
	mov	esi, 1
	call	DCGetMyIp@PLT
	cmp	rax, QWORD PTR ERR_NO_ERROR[rip]
	mov	rdi, QWORD PTR 64[rbx]
	mov	QWORD PTR 56[rbx], rax
	je	.L111
	call	IsEmptyStr@PLT
	mov	rdi, QWORD PTR 64[rbx]
	mov	esi, 8
	test	eax, eax
	mov	eax, 1
	cmovne	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -96[rbp], eax
	call	Zero@PLT
	mov	esi, DWORD PTR DDNS_GETMYIP_INTERVAL_NG_MAX[rip]
	mov	edi, DWORD PTR DDNS_GETMYIP_INTERVAL_NG_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
.L31:
	xor	eax, eax
	call	Tick64@PLT
	mov	rdi, r15
	lea	rsi, [rax+r12]
	mov	QWORD PTR 32[rbx], rsi
	call	AddInterrupt@PLT
	mov	rsp, r14
.L24:
	mov	r9d, DWORD PTR -96[rbp]
	add	QWORD PTR -72[rbp], 1
	test	r9d, r9d
	je	.L14
.L13:
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 16[rbx], 0
.L33:
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbx
	call	DCRegister@PLT
	cmp	rax, QWORD PTR ERR_NO_ERROR[rip]
	mov	QWORD PTR 72[rbx], rax
	je	.L112
	mov	esi, DWORD PTR DDNS_REGISTER_INTERVAL_NG_MAX[rip]
	mov	edi, DWORD PTR DDNS_REGISTER_INTERVAL_NG_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
.L37:
	xor	eax, eax
	call	Tick64@PLT
	mov	rsi, r13
	mov	rdi, rbx
	add	r12, rax
	mov	QWORD PTR 8[rbx], r12
	call	DCGetStatus@PLT
	mov	rax, QWORD PTR 96[rbx]
	mov	rsi, r13
	mov	rdi, QWORD PTR [rax]
	call	SiApplyAzureConfig@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, r15
	call	AddInterrupt@PLT
.L34:
	mov	r8d, DWORD PTR [rbx]
	test	r8d, r8d
	jne	.L38
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L59
	cmp	rax, QWORD PTR -80[rbp]
	jg	.L39
.L59:
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 1
	mov	rdi, rbx
	call	DCRegister@PLT
	cmp	rax, QWORD PTR ERR_NO_ERROR[rip]
	mov	QWORD PTR 80[rbx], rax
	je	.L113
	mov	esi, DWORD PTR DDNS_REGISTER_INTERVAL_NG_MAX[rip]
	mov	edi, DWORD PTR DDNS_REGISTER_INTERVAL_NG_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
.L42:
	xor	eax, eax
	call	Tick64@PLT
	mov	rsi, r13
	mov	rdi, rbx
	add	r12, rax
	mov	QWORD PTR 16[rbx], r12
	call	DCGetStatus@PLT
	mov	rax, QWORD PTR 96[rbx]
	mov	rsi, r13
	mov	rdi, QWORD PTR [rax]
	call	SiApplyAzureConfig@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, r15
	call	AddInterrupt@PLT
.L39:
	mov	rdi, r15
	call	GetNextIntervalForInterrupt@PLT
	mov	esi, 1234
	mov	rdi, rax
	call	MIN@PLT
	mov	edi, DWORD PTR [rbx]
	cmp	QWORD PTR -72[rbp], 1
	mov	rsi, rax
	mov	eax, 0
	cmove	rsi, rax
	test	edi, edi
	jne	.L38
	mov	ecx, DWORD PTR 88[rbx]
	test	ecx, ecx
	je	.L44
	mov	DWORD PTR 88[rbx], 0
	xor	esi, esi
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
.L44:
	mov	edx, DWORD PTR -84[rbp]
	test	edx, edx
	je	.L45
	mov	rax, QWORD PTR 96[rbx]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L45
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L45
	add	DWORD PTR 8[rax], 1
.L45:
	mov	edi, DWORD PTR 92[rbx]
	call	Wait@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L46
.L38:
	mov	rdi, QWORD PTR -136[rbp]
	call	FreeRouteChange@PLT
	mov	rdi, r15
	call	FreeInterruptManager@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L114
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L56:
	.cfi_restore_state
	mov	QWORD PTR -72[rbp], 1
.L14:
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L33
	cmp	rax, QWORD PTR -80[rbp]
	jg	.L34
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L107:
	lea	rdi, .LC1[rip]
	call	Debug@PLT
.L9:
	mov	QWORD PTR 8[rbx], 0
	lea	rdi, .LC2[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	call	Debug@PLT
	cmp	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -120[rbp], r12
	jne	.L54
	mov	QWORD PTR -72[rbp], 1
	mov	DWORD PTR -84[rbp], 1
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L47:
	mov	r10d, DWORD PTR -84[rbp]
	test	r10d, r10d
	je	.L9
	cmp	QWORD PTR -72[rbp], 0
	je	.L56
	mov	DWORD PTR -96[rbp], 0
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L106:
	mov	rsi, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR -104[rbp]
	mov	edx, 1
	call	Copy@PLT
	mov	DWORD PTR -84[rbp], 0
	mov	edx, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L112:
	mov	esi, DWORD PTR DDNS_REGISTER_INTERVAL_OK_MAX[rip]
	mov	edi, DWORD PTR DDNS_REGISTER_INTERVAL_OK_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L113:
	mov	esi, DWORD PTR DDNS_REGISTER_INTERVAL_OK_MAX[rip]
	mov	edi, DWORD PTR DDNS_REGISTER_INTERVAL_OK_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L54:
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -84[rbp], 1
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L111:
	mov	rsi, rsp
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L115
.L30:
	mov	esi, DWORD PTR DDNS_GETMYIP_INTERVAL_OK_MAX[rip]
	mov	edi, DWORD PTR DDNS_GETMYIP_INTERVAL_OK_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L109:
	mov	rsi, rsp
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L116
.L21:
	mov	esi, DWORD PTR DDNS_GETMYIP_INTERVAL_OK_MAX[rip]
	mov	edi, DWORD PTR DDNS_GETMYIP_INTERVAL_OK_MIN[rip]
	call	GenRandInterval@PLT
	mov	r12, rax
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L115:
	mov	rdi, QWORD PTR 64[rbx]
	mov	rdx, rsp
	mov	esi, 8
	call	StrCpy@PLT
	mov	DWORD PTR -96[rbp], 1
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L116:
	mov	rdi, QWORD PTR 48[rbx]
	mov	rdx, rsp
	mov	esi, 8
	call	StrCpy@PLT
	mov	DWORD PTR -96[rbp], 1
	jmp	.L21
.L114:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	DCThread, .-DCThread
	.comm	MAX_SIZE,4,4
	.comm	ERR_NO_ERROR,8,8
	.comm	DDNS_REGISTER_INTERVAL_OK_MIN,4,4
	.comm	DDNS_REGISTER_INTERVAL_OK_MAX,4,4
	.comm	DDNS_REGISTER_INTERVAL_NG_MIN,4,4
	.comm	DDNS_REGISTER_INTERVAL_NG_MAX,4,4
	.comm	DDNS_GETMYIP_INTERVAL_OK_MIN,4,4
	.comm	DDNS_GETMYIP_INTERVAL_OK_MAX,4,4
	.comm	DDNS_GETMYIP_INTERVAL_NG_MIN,4,4
	.comm	DDNS_GETMYIP_INTERVAL_NG_MAX,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_DDNS.c_DCThread.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DDNS Thread Triggered by AzureClient.\012\000"
	.align	2
.LC1:
	.ascii	"DDNS Thread Triggered by IP Hash Changed.\012\000"
	.align	2
.LC2:
	.ascii	"DDNS Internet Condition Changed.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DCThread
	.syntax unified
	.arm
	.fpu softvfp
	.type	DCThread, %function
DCThread:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	cmp	r1, #0
	cmpne	r0, #0
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bne	.L86
.L1:
	ldr	r3, .L95
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L87
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L86:
	mov	r4, r1
	bl	NewInterruptManager
	mov	r9, r0
	bl	NewRouteChange
	str	r0, [fp, #-80]
	bl	IsRouteChanged
	mov	r1, #1
	sub	r0, fp, #45
	bl	Zero
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L29
	mov	r6, r3
	str	r3, [fp, #-68]
	str	r3, [fp, #-60]
	str	r3, [fp, #-72]
	ldr	r10, .L95+4
	add	r3, r4, #56
	str	r3, [fp, #-64]
.L36:
	bl	GetHostIPAddressHash32
	mov	r8, r0
	bl	Tick64
	ldr	r3, [r4, #52]
	mov	r7, r0
	ldr	r5, [r3]
	cmp	r5, #0
	beq	.L5
	ldr	r5, [r5]
	cmp	r5, #0
	beq	.L5
	ldr	r3, [r5]
	ldr	r2, [fp, #-72]
	cmp	r3, r2
	moveq	r5, #0
	beq	.L5
	ldr	r0, .L95+8
	str	r3, [fp, #-72]
	bl	Debug
	mov	r3, #0
	mov	r5, #1
	str	r3, [fp, #-60]
.L5:
	mov	r2, #1
	ldr	r1, [fp, #-64]
	sub	r0, fp, #45
	bl	Cmp
	subs	r3, r0, #0
	str	r3, [fp, #-56]
	bne	.L88
	ldr	r3, [fp, #-68]
	cmp	r8, r3
	bne	.L7
	ldr	r0, [fp, #-80]
	bl	IsRouteChanged
	orrs	r3, r0, r5
	bne	.L89
	cmp	r6, #0
	beq	.L44
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-60]
.L12:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	cmpne	r3, r7
	bgt	.L15
	ldr	r3, .L95+12
	mov	r8, sp
	ldr	r3, [r3]
	add	r2, r3, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	add	r5, sp, #8
	mov	r1, r3
	mov	r0, r5
	str	r3, [fp, #-76]
	bl	Zero
	mov	r1, #0
	ldr	r3, [fp, #-76]
	mov	r2, r5
	mov	r0, r4
	str	r1, [sp]
	bl	DCGetMyIp
	ldr	r3, [r10]
	str	r0, [r4, #20]
	cmp	r0, r3
	beq	.L90
	ldr	r0, [r4, #24]
	bl	IsEmptyStr
	cmp	r0, #0
	ldr	r3, [fp, #-56]
	moveq	r3, #1
	mov	r1, #4
	ldr	r0, [r4, #24]
	str	r3, [fp, #-56]
	bl	Zero
	ldr	r2, .L95+16
	ldr	r3, .L95+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
.L18:
	bl	Tick64
	add	r1, r0, r5
	str	r1, [r4, #12]
	mov	r0, r9
	bl	AddInterrupt
	mov	sp, r8
.L15:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	cmpne	r3, r7
	bgt	.L20
	ldr	r3, .L95+12
	mov	r8, sp
	ldr	r3, [r3]
	add	r2, r3, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	add	r5, sp, #8
	mov	r1, r3
	mov	r0, r5
	str	r3, [fp, #-76]
	bl	Zero
	mov	r2, #0
	ldr	r3, [fp, #-76]
	mov	r1, #1
	str	r2, [sp]
	mov	r0, r4
	mov	r2, r5
	bl	DCGetMyIp
	ldr	r3, [r10]
	str	r0, [r4, #28]
	cmp	r0, r3
	beq	.L91
	ldr	r0, [r4, #32]
	bl	IsEmptyStr
	cmp	r0, #0
	ldr	r3, [fp, #-56]
	moveq	r3, #1
	mov	r1, #4
	ldr	r0, [r4, #32]
	str	r3, [fp, #-56]
	bl	Zero
	ldr	r2, .L95+16
	ldr	r3, .L95+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
.L23:
	bl	Tick64
	add	r1, r0, r5
	str	r1, [r4, #16]
	mov	r0, r9
	bl	AddInterrupt
	mov	sp, r8
.L20:
	ldr	r3, [fp, #-56]
	add	r6, r6, #1
	cmp	r3, #0
	bne	.L13
	b	.L14
.L88:
	mov	r2, #1
	ldr	r1, [fp, #-64]
	sub	r0, fp, #45
	bl	Copy
	ldr	r3, [fp, #-68]
	cmp	r8, r3
	beq	.L92
.L7:
	ldr	r0, .L95+24
	bl	Debug
.L10:
	mov	r3, #0
	ldr	r0, .L95+28
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	str	r3, [r4, #12]
	str	r3, [r4, #16]
	bl	Debug
	cmp	r6, #0
	bne	.L43
	mov	r6, #1
	str	r8, [fp, #-68]
	str	r6, [fp, #-60]
.L13:
	mov	r3, #0
	str	r3, [r4, #4]
	str	r3, [r4, #8]
.L25:
	mov	r3, #0
	mov	r0, r4
	mov	r1, r3
	mov	r2, r3
	bl	DCRegister
	ldr	r3, [r10]
	str	r0, [r4, #36]
	cmp	r0, r3
	ldreq	r3, .L95+32
	ldrne	r3, .L95+36
	ldreq	r1, [r3]
	ldrne	r1, [r3]
	ldreq	r3, .L95+40
	ldrne	r3, .L95+44
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
	bl	Tick64
	add	r0, r0, r5
	str	r0, [r4, #4]
	sub	r1, fp, #44
	mov	r0, r4
	bl	DCGetStatus
	ldr	r3, [r4, #52]
	sub	r1, fp, #44
	ldr	r0, [r3]
	bl	SiApplyAzureConfig
	mov	r0, r9
	ldr	r1, [r4, #4]
	bl	AddInterrupt
.L26:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L29
	ldr	r2, [r4, #8]
	cmp	r2, #0
	cmpne	r2, r7
	bgt	.L30
	mov	r2, r3
	mov	r1, #1
	mov	r0, r4
	bl	DCRegister
	ldr	r3, [r10]
	str	r0, [r4, #40]
	cmp	r0, r3
	ldreq	r3, .L95+32
	ldrne	r3, .L95+36
	ldreq	r1, [r3]
	ldrne	r1, [r3]
	ldreq	r3, .L95+40
	ldrne	r3, .L95+44
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
	bl	Tick64
	add	r0, r0, r5
	str	r0, [r4, #8]
	sub	r1, fp, #44
	mov	r0, r4
	bl	DCGetStatus
	ldr	r3, [r4, #52]
	sub	r1, fp, #44
	ldr	r0, [r3]
	bl	SiApplyAzureConfig
	mov	r0, r9
	ldr	r1, [r4, #8]
	bl	AddInterrupt
.L30:
	mov	r0, r9
	bl	GetNextIntervalForInterrupt
	ldr	r1, .L95+48
	bl	MIN
	ldr	r3, [r4]
	cmp	r6, #1
	movne	r1, r0
	moveq	r1, #0
	cmp	r3, #0
	bne	.L29
	ldr	r2, [r4, #44]
	cmp	r2, #0
	movne	r1, r3
	strne	r3, [r4, #44]
	strne	r3, [r4, #8]
	strne	r3, [r4, #4]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [r4, #52]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [r3]
	cmp	r3, #0
	ldrne	r2, [r3, #4]
	addne	r2, r2, #1
	strne	r2, [r3, #4]
.L35:
	ldr	r0, [r4, #48]
	bl	Wait
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L36
.L29:
	ldr	r0, [fp, #-80]
	bl	FreeRouteChange
	mov	r0, r9
	bl	FreeInterruptManager
	b	.L1
.L89:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L10
	cmp	r6, #0
	bne	.L12
	ldr	r6, [fp, #-60]
.L14:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	cmpne	r3, r7
	bgt	.L26
	b	.L25
.L92:
	ldr	r0, [fp, #-80]
	bl	IsRouteChanged
	b	.L10
.L43:
	mov	r3, #1
	str	r8, [fp, #-68]
	str	r3, [fp, #-56]
	str	r3, [fp, #-60]
	b	.L12
.L91:
	mov	r1, r5
	ldr	r0, [r4, #32]
	bl	StrCmpi
	cmp	r0, #0
	bne	.L93
.L22:
	ldr	r2, .L95+52
	ldr	r3, .L95+56
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
	b	.L23
.L90:
	mov	r1, r5
	ldr	r0, [r4, #24]
	bl	StrCmpi
	cmp	r0, #0
	bne	.L94
.L17:
	ldr	r2, .L95+52
	ldr	r3, .L95+56
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	GenRandInterval
	mov	r5, r0
	b	.L18
.L44:
	str	r6, [fp, #-60]
	mov	r6, #1
	b	.L14
.L94:
	mov	r2, r5
	mov	r1, #4
	ldr	r0, [r4, #24]
	bl	StrCpy
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L17
.L93:
	mov	r2, r5
	mov	r1, #4
	ldr	r0, [r4, #32]
	bl	StrCpy
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L22
.L87:
	bl	__stack_chk_fail
.L96:
	.align	2
.L95:
	.word	.LC3
	.word	ERR_NO_ERROR
	.word	.LC0
	.word	MAX_SIZE
	.word	DDNS_GETMYIP_INTERVAL_NG_MAX
	.word	DDNS_GETMYIP_INTERVAL_NG_MIN
	.word	.LC1
	.word	.LC2
	.word	DDNS_REGISTER_INTERVAL_OK_MAX
	.word	DDNS_REGISTER_INTERVAL_NG_MAX
	.word	DDNS_REGISTER_INTERVAL_OK_MIN
	.word	DDNS_REGISTER_INTERVAL_NG_MIN
	.word	1234
	.word	DDNS_GETMYIP_INTERVAL_OK_MAX
	.word	DDNS_GETMYIP_INTERVAL_OK_MIN
	.size	DCThread, .-DCThread
	.comm	MAX_SIZE,4,4
	.comm	ERR_NO_ERROR,4,4
	.comm	DDNS_REGISTER_INTERVAL_OK_MIN,4,4
	.comm	DDNS_REGISTER_INTERVAL_OK_MAX,4,4
	.comm	DDNS_REGISTER_INTERVAL_NG_MIN,4,4
	.comm	DDNS_REGISTER_INTERVAL_NG_MAX,4,4
	.comm	DDNS_GETMYIP_INTERVAL_OK_MIN,4,4
	.comm	DDNS_GETMYIP_INTERVAL_OK_MAX,4,4
	.comm	DDNS_GETMYIP_INTERVAL_NG_MIN,4,4
	.comm	DDNS_GETMYIP_INTERVAL_NG_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
