	.file	"extr_Proto_IKE.c_NewIkeClient.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"New IKE_CLIENT: %p: %s:%u -> %s:%u\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"LI_NEW_IKE_CLIENT"
	.text
	.p2align 4
	.globl	NewIkeClient
	.type	NewIkeClient, @function
NewIkeClient:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r9, r8
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rdx
	push	r14
	.cfi_offset 14, -32
	mov	r14, rdi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rcx
	push	r12
	push	rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_SIZE[rip]
	mov	rsi, rsp
	mov	r8, rax
	add	rax, 15
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rsi, rcx
	mov	rcx, rsi
	cmp	rsp, rcx
	je	.L3
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L20
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L21
.L4:
	mov	rdx, rax
	mov	rsi, rsp
	and	rax, -4096
	mov	r10, rsp
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L6
.L22:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L22
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L23
.L7:
	mov	QWORD PTR -96[rbp], r10
	mov	DWORD PTR -76[rbp], r8d
	test	r14, r14
	je	.L11
	test	rbx, rbx
	je	.L11
	test	r13, r13
	sete	dl
	test	r15, r15
	sete	al
	or	dl, al
	jne	.L11
	test	r9, r9
	mov	QWORD PTR -72[rbp], r9
	je	.L11
	mov	edi, 56
	call	ZeroMalloc@PLT
	mov	edx, 4
	mov	rsi, rbx
	mov	r12, rax
	mov	rax, QWORD PTR 8[r14]
	lea	rdi, 40[r12]
	add	rax, 1
	mov	QWORD PTR 8[r14], rax
	mov	QWORD PTR 48[r12], rax
	call	Copy@PLT
	mov	QWORD PTR 32[r12], r15
	lea	rdi, 24[r12]
	mov	rsi, r13
	mov	edx, 4
	call	Copy@PLT
	lea	rdi, 20[r12]
	mov	edx, 4
	mov	rsi, r13
	call	Copy@PLT
	lea	rdi, 16[r12]
	mov	edx, 4
	mov	rsi, rbx
	call	Copy@PLT
	mov	r9, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [r14]
	mov	rdx, rbx
	mov	r10, QWORD PTR -96[rbp]
	mov	r8d, DWORD PTR -76[rbp]
	mov	QWORD PTR 8[r12], r9
	mov	DWORD PTR 4[r12], eax
	mov	rdi, r10
	mov	esi, r8d
	mov	DWORD PTR [r12], eax
	mov	QWORD PTR -88[rbp], r9
	mov	QWORD PTR -72[rbp], r10
	call	IPToStr@PLT
	mov	r8d, DWORD PTR -76[rbp]
	mov	rdx, r13
	mov	rdi, rsp
	mov	esi, r8d
	call	IPToStr@PLT
	mov	r10, QWORD PTR -72[rbp]
	mov	r9, QWORD PTR -88[rbp]
	mov	r8, rsp
	mov	rcx, r15
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	mov	rdx, r10
	call	Debug@PLT
	lea	r8, .LC1[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, r14
	call	IPsecLog@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	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
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	NewIkeClient, .-NewIkeClient
	.comm	MAX_SIZE,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_Proto_IKE.c_NewIkeClient.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"New IKE_CLIENT: %p: %s:%u -> %s:%u\012\000"
	.align	2
.LC1:
	.ascii	"LI_NEW_IKE_CLIENT\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	NewIkeClient
	.syntax unified
	.arm
	.fpu softvfp
	.type	NewIkeClient, %function
NewIkeClient:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	clz	r4, r1
	add	fp, sp, #32
	sub	sp, sp, #36
	cmp	r0, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	ldr	ip, .L9
	mov	r8, r2
	ldr	r9, [ip]
	mov	r7, r3
	add	r2, r9, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	ldr	r3, .L9+4
	add	r10, sp, #8
	sub	sp, sp, r2
	cmp	r4, #0
	add	r6, sp, #8
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	movne	r4, #0
	ldr	r3, [fp, #4]
	str	r6, [fp, #-48]
	bne	.L1
	clz	r2, r8
	cmp	r7, #0
	lsr	r2, r2, #5
	moveq	r2, #1
	cmp	r3, #0
	moveq	r2, #1
	cmp	r2, #0
	str	r3, [fp, #-56]
	str	r2, [fp, #-52]
	bne	.L1
	mov	r5, r0
	mov	r0, #36
	mov	r6, r1
	bl	ZeroMalloc
	mov	r4, r0
	ldr	r1, [r5, #4]
	mov	r2, #4
	add	r1, r1, #1
	str	r1, [r5, #4]
	add	r0, r0, #28
	str	r1, [r4, #32]
	mov	r1, r6
	bl	Copy
	mov	r2, #4
	mov	r1, r7
	str	r8, [r4, #24]
	add	r0, r4, #20
	bl	Copy
	mov	r2, #4
	mov	r1, r7
	add	r0, r4, #16
	bl	Copy
	mov	r1, r6
	mov	r2, #4
	add	r0, r4, #12
	bl	Copy
	ldr	r1, [r5]
	ldr	r3, [fp, #-56]
	mov	r2, r6
	str	r3, [r4, #8]
	str	r1, [r4, #4]
	str	r1, [r4]
	mov	r0, r10
	mov	r1, r9
	bl	IPToStr
	ldr	r6, [fp, #-48]
	mov	r2, r7
	mov	r1, r9
	mov	r0, r6
	bl	IPToStr
	ldr	r3, [fp, #-56]
	mov	r2, r10
	mov	r1, r4
	str	r3, [sp, #4]
	ldr	r0, .L9+8
	mov	r3, r8
	str	r6, [sp]
	bl	Debug
	ldr	r3, .L9+12
	mov	r0, r5
	str	r3, [sp]
	ldr	r3, [fp, #-52]
	mov	r1, r4
	mov	r2, r3
	bl	IPsecLog
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	MAX_SIZE
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	NewIkeClient, .-NewIkeClient
	.comm	MAX_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
