	.file	"extr_DDNS.c_NewDDNSClient.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	NewDDNSClient
	.type	NewDDNSClient, @function
NewDDNSClient:
.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rsi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rdx
	push	r12
	push	rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SHA1_SIZE[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L19:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L19
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L20
.L4:
	mov	r15, rsp
	test	rbx, rbx
	je	.L10
	mov	edi, 40
	call	ZeroMalloc@PLT
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 32[rax], rbx
	mov	r12, rax
	call	AddRef@PLT
	mov	eax, DWORD PTR ERR_TRYING_TO_CONNECT[rip]
	mov	rdi, QWORD PTR 16[r12]
	mov	DWORD PTR 24[r12], eax
	mov	DWORD PTR 28[r12], eax
	test	r14, r14
	je	.L21
	mov	edx, DWORD PTR SHA1_SIZE[rip]
	mov	rsi, r14
	call	Copy@PLT
.L7:
	mov	rsi, QWORD PTR 16[r12]
	mov	edx, 8
	mov	rdi, r15
	call	Sha1@PLT
	test	r13, r13
	je	.L8
	lea	rdi, 12[r12]
	mov	edx, 4
	mov	rsi, r13
	call	Copy@PLT
.L8:
	xor	eax, eax
	call	NewLock@PLT
	mov	DWORD PTR 8[r12], eax
	xor	eax, eax
	call	NewEvent@PLT
	mov	edi, DWORD PTR DCThread[rip]
	mov	rsi, r12
	mov	DWORD PTR 4[r12], eax
	call	NewThread@PLT
	mov	DWORD PTR [r12], eax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	lea	rsp, -40[rbp]
	mov	rax, r12
	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
.L21:
	.cfi_restore_state
	call	DCGenNewKey@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r12d, r12d
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	NewDDNSClient, .-NewDDNSClient
	.comm	SHA1_SIZE,4,4
	.comm	ERR_TRYING_TO_CONNECT,4,4
	.comm	DCThread,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_NewDDNSClient.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	NewDDNSClient
	.syntax unified
	.arm
	.fpu softvfp
	.type	NewDDNSClient, %function
NewDDNSClient:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	ldr	r8, .L15
	subs	r6, r0, #0
	ldr	r3, [r8]
	moveq	r4, r6
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L15+4
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	beq	.L1
	mov	r0, #32
	mov	r7, r1
	mov	r5, r2
	bl	ZeroMalloc
	mov	r4, r0
	str	r6, [r0, #28]
	ldr	r0, [r6]
	bl	AddRef
	ldr	r3, .L15+8
	cmp	r7, #0
	ldr	r3, [r3]
	mov	r9, sp
	str	r3, [r4, #20]
	str	r3, [r4, #24]
	beq	.L13
	mov	r1, r7
	ldr	r2, [r8]
	ldr	r0, [r4, #16]
	bl	Copy
.L4:
	mov	r0, r9
	mov	r2, #4
	ldr	r1, [r4, #16]
	bl	Sha1
	cmp	r5, #0
	beq	.L5
	mov	r1, r5
	mov	r2, #4
	add	r0, r4, #12
	bl	Copy
.L5:
	bl	NewLock
	str	r0, [r4, #8]
	bl	NewEvent
	ldr	r3, .L15+12
	str	r0, [r4, #4]
	mov	r1, r4
	ldr	r0, [r3]
	bl	NewThread
	str	r0, [r4]
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L13:
	ldr	r0, [r4, #16]
	bl	DCGenNewKey
	b	.L4
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	SHA1_SIZE
	.word	.LC0
	.word	ERR_TRYING_TO_CONNECT
	.word	DCThread
	.size	NewDDNSClient, .-NewDDNSClient
	.comm	SHA1_SIZE,4,4
	.comm	ERR_TRYING_TO_CONNECT,4,4
	.comm	DCThread,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
