	.file	"extr_IPC.c_IPCSendIPv4.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	IPCSendIPv4
	.type	IPCSendIPv4, @function
IPCSendIPv4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L1
	mov	rbp, rsi
	test	rsi, rsi
	je	.L1
	lea	eax, -20[rdx]
	mov	r12d, edx
	cmp	eax, 1480
	ja	.L1
	mov	eax, DWORD PTR [rsi]
	sar	eax, 4
	and	eax, 15
	cmp	eax, 4
	je	.L19
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	esi, DWORD PTR 48[rsi]
	lea	r15, 8[rsp]
	mov	r13, rdi
	lea	r14, 16[rsp]
	mov	rdi, r15
	lea	rbx, 24[r13]
	call	UINTToIP@PLT
	mov	esi, DWORD PTR 64[rbp]
	mov	rdi, r14
	call	UINTToIP@PLT
	mov	rsi, rbx
	mov	rdi, r15
	call	CmpIpAddr@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, r14
	call	IsZeroIP@PLT
	test	rax, rax
	jne	.L1
	mov	rsi, rbx
	mov	rdi, r14
	call	CmpIpAddr@PLT
	test	rax, rax
	je	.L1
	lea	r15, 24[rsp]
	mov	edx, 8
	mov	rsi, r14
	mov	rdi, r15
	call	Copy@PLT
	lea	rdx, 20[r13]
	mov	rsi, rbx
	mov	rdi, r14
	call	IsInSameNetwork4@PLT
	test	eax, eax
	je	.L21
.L3:
	mov	rsi, r14
	mov	rdi, r13
	call	CmpIpAddr@PLT
	test	rax, rax
	je	.L5
	mov	rdx, QWORD PTR 16[rsp]
	mov	eax, DWORD PTR [rdx]
	cmp	eax, 255
	je	.L6
	sub	eax, 224
	cmp	eax, 15
	jbe	.L5
.L7:
	mov	rdi, r15
	call	IsZeroIP@PLT
	test	rax, rax
	jne	.L1
	mov	rcx, r15
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	call	IPCSendIPv4Unicast@PLT
	jmp	.L1
.L6:
	cmp	DWORD PTR 4[rdx], 255
	jne	.L7
	cmp	DWORD PTR 8[rdx], 255
	jne	.L7
	cmp	DWORD PTR 12[rdx], 255
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rcx, 32[rsp]
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	movabs	rax, 1095216660735
	mov	QWORD PTR 32[rsp], rax
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR 48[rsp], rax
	call	IPCSendIPv4WithDestMacAddr@PLT
	jmp	.L1
.L21:
	mov	rsi, r14
	lea	rdi, 16[r13]
	call	GetBestClasslessRoute@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L22
	mov	edx, 8
	mov	rdi, r15
	call	Copy@PLT
	jmp	.L3
.L22:
	lea	rsi, 8[r13]
	mov	edx, 8
	mov	rdi, r15
	call	Copy@PLT
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	IPCSendIPv4, .-IPCSendIPv4
	.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_IPC.c_IPCSendIPv4.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	IPCSendIPv4
	.syntax unified
	.arm
	.fpu softvfp
	.type	IPCSendIPv4, %function
IPCSendIPv4:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L25
	sub	sp, sp, #40
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	beq	.L1
	ldr	r3, .L25+4
	mov	r7, r2
	sub	r2, r2, #20
	cmp	r2, r3
	bhi	.L1
	ldr	r6, [r1]
	mov	r4, r1
	asr	r6, r6, #4
	and	r6, r6, #15
	cmp	r6, #4
	beq	.L22
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	mov	r5, r0
	ldr	r1, [r1, #48]
	mov	r0, sp
	bl	UINTToIP
	add	r8, r5, #16
	ldr	r1, [r4, #64]
	add	r0, sp, #4
	bl	UINTToIP
	mov	r0, sp
	mov	r1, r8
	bl	CmpIpAddr
	cmp	r0, #0
	bne	.L1
	add	r0, sp, #4
	bl	IsZeroIP
	cmp	r0, #0
	bne	.L1
	mov	r1, r8
	add	r0, sp, #4
	bl	CmpIpAddr
	cmp	r0, #0
	beq	.L1
	mov	r2, r6
	add	r1, sp, #4
	add	r0, sp, #8
	bl	Copy
	mov	r1, r8
	add	r2, r5, #12
	add	r0, sp, #4
	bl	IsInSameNetwork4
	cmp	r0, #0
	beq	.L24
.L3:
	mov	r0, r5
	add	r1, sp, #4
	bl	CmpIpAddr
	cmp	r0, #0
	beq	.L5
	ldr	r2, [sp, #4]
	ldr	r3, [r2]
	cmp	r3, #255
	beq	.L6
	sub	r3, r3, #224
	cmp	r3, #15
	bls	.L5
.L7:
	add	r0, sp, #8
	bl	IsZeroIP
	cmp	r0, #0
	bne	.L1
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	add	r3, sp, #8
	bl	IPCSendIPv4Unicast
	b	.L1
.L6:
	ldr	r3, [r2, #4]
	cmp	r3, #255
	bne	.L7
	ldr	r3, [r2, #8]
	cmp	r3, #255
	bne	.L7
	ldr	r3, [r2, #12]
	cmp	r3, #255
	bne	.L7
.L5:
	mov	ip, #255
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	add	r3, sp, #12
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	str	ip, [sp, #28]
	str	ip, [sp, #32]
	bl	IPCSendIPv4WithDestMacAddr
	b	.L1
.L24:
	add	r1, sp, #4
	add	r0, r5, #8
	bl	GetBestClasslessRoute
	subs	r1, r0, #0
	mov	r2, r6
	addeq	r1, r5, #4
	add	r0, sp, #8
	bl	Copy
	b	.L3
.L23:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	1480
	.size	IPCSendIPv4, .-IPCSendIPv4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
