	.file	"extr_arp_tables.c_arp_packet_match.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	arp_packet_match, @function
arp_packet_match:
.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
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR ARPT_INV_ARPOP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	and	eax, DWORD PTR [r8]
	mov	rdi, r8
	cmp	eax, DWORD PTR 4[r8]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	je	.L2
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	xor	edx, edx
	mov	eax, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR ARPT_INV_ARPHRD[rip]
	mov	rdi, rbp
	and	eax, DWORD PTR 8[rbp]
	cmp	eax, DWORD PTR 12[rbp]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	xor	edx, edx
	mov	eax, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR ARPT_INV_ARPPRO[rip]
	mov	rdi, rbp
	and	eax, DWORD PTR 16[rbp]
	cmp	eax, DWORD PTR 20[rbp]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	xor	edx, edx
	mov	eax, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR ARPT_INV_ARPHLN[rip]
	mov	rdi, rbp
	and	eax, DWORD PTR 24[rbp]
	cmp	eax, DWORD PTR 28[rbp]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	movsx	r15, DWORD PTR [r12]
	add	rbx, 16
	mov	rdi, rsp
	mov	edx, 4
	add	r15, rbx
	mov	rsi, r15
	add	r15, 4
	call	memcpy@PLT
	movsx	rsi, DWORD PTR [r12]
	lea	rdi, 4[rsp]
	mov	edx, 4
	add	rsi, r15
	call	memcpy@PLT
	mov	edx, DWORD PTR [r12]
	lea	rdi, 68[rbp]
	mov	rsi, rbx
	call	arp_devaddr_compare@PLT
	mov	esi, DWORD PTR ARPT_INV_SRCDEVADDR[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR [r12]
	lea	rdi, 64[rbp]
	mov	rsi, r15
	call	arp_devaddr_compare@PLT
	mov	esi, DWORD PTR ARPT_INV_TGTDEVADDR[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	xor	edx, edx
	mov	eax, DWORD PTR 60[rbp]
	mov	esi, DWORD PTR ARPT_INV_SRCIP[rip]
	mov	rdi, rbp
	and	eax, DWORD PTR [rsp]
	cmp	eax, DWORD PTR 56[rbp]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	xor	edx, edx
	mov	eax, DWORD PTR 52[rbp]
	mov	esi, DWORD PTR ARPT_INV_TGTIP[rip]
	mov	rdi, rbp
	and	eax, DWORD PTR 4[rsp]
	cmp	eax, DWORD PTR 48[rbp]
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR 40[rbp]
	mov	esi, DWORD PTR 44[rbp]
	mov	rdi, r13
	call	ifname_compare@PLT
	xor	edx, edx
	mov	esi, DWORD PTR ARPT_INV_VIA_IN[rip]
	mov	rdi, rbp
	test	rax, rax
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR 32[rbp]
	mov	esi, DWORD PTR 36[rbp]
	mov	rdi, r14
	call	ifname_compare@PLT
	xor	edx, edx
	mov	esi, DWORD PTR ARPT_INV_VIA_OUT[rip]
	mov	rdi, rbp
	test	rax, rax
	setne	dl
	call	NF_INVF@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	arp_packet_match, .-arp_packet_match
	.comm	ARPT_INV_VIA_OUT,4,4
	.comm	ARPT_INV_VIA_IN,4,4
	.comm	ARPT_INV_TGTIP,4,4
	.comm	ARPT_INV_TGTDEVADDR,4,4
	.comm	ARPT_INV_SRCIP,4,4
	.comm	ARPT_INV_SRCDEVADDR,4,4
	.comm	ARPT_INV_ARPPRO,4,4
	.comm	ARPT_INV_ARPOP,4,4
	.comm	ARPT_INV_ARPHRD,4,4
	.comm	ARPT_INV_ARPHLN,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_arp_tables.c_arp_packet_match.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arp_packet_match, %function
arp_packet_match:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #16
	ldr	r4, [sp, #48]
	ldr	r1, [r0]
	mov	r7, r2
	ldr	r2, [r4]
	mov	r5, r0
	ldr	r0, [r4, #4]
	ldr	r6, .L9
	and	r2, r2, r1
	subs	r2, r2, r0
	mov	r8, r3
	ldr	r3, .L9+4
	movne	r2, #1
	ldr	r1, [r6]
	mov	r0, r4
	mov	r6, ip
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	NF_INVF
	cmp	r0, #0
	beq	.L2
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r0, [r4, #8]
	ldr	r3, [r5, #4]
	ldr	r2, [r4, #12]
	and	r3, r3, r0
	ldr	r1, .L9+8
	subs	r2, r3, r2
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r1]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r0, [r4, #16]
	ldr	r3, [r5, #8]
	ldr	r2, [r4, #20]
	and	r3, r3, r0
	ldr	r1, .L9+12
	subs	r2, r3, r2
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r1]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r0, [r4, #24]
	ldr	r3, [r5, #12]
	ldr	r2, [r4, #28]
	and	r3, r3, r0
	ldr	r1, .L9+16
	subs	r2, r3, r2
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r1]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	mov	r2, #4
	ldr	r9, [r6]
	add	r5, r5, #16
	add	r1, r5, r9
	add	r10, r1, #4
	add	r0, sp, r2
	bl	memcpy
	mov	r2, #4
	add	r1, r10, r9
	add	r0, sp, #8
	bl	memcpy
	ldr	r3, .L9+20
	mov	r1, r5
	mov	r2, r9
	add	r0, r4, #68
	ldr	r5, [r3]
	bl	arp_devaddr_compare
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L9+24
	mov	r1, r10
	ldr	r2, [r6]
	add	r0, r4, #64
	ldr	r5, [r3]
	bl	arp_devaddr_compare
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r0, [sp, #4]
	ldr	r3, [r4, #60]
	ldr	r2, [r4, #56]
	and	r3, r3, r0
	ldr	r1, .L9+28
	subs	r2, r3, r2
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r1]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r0, [sp, #8]
	ldr	r3, [r4, #52]
	ldr	r2, [r4, #48]
	and	r3, r3, r0
	ldr	r1, .L9+32
	subs	r2, r3, r2
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r1]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r2, [r4, #40]
	ldr	r1, [r4, #44]
	mov	r0, r7
	bl	ifname_compare
	ldr	r3, .L9+36
	subs	r2, r0, #0
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r3]
	bl	NF_INVF
	cmp	r0, #0
	bne	.L4
	ldr	r2, [r4, #32]
	ldr	r1, [r4, #36]
	mov	r0, r8
	bl	ifname_compare
	ldr	r3, .L9+40
	subs	r2, r0, #0
	movne	r2, #1
	mov	r0, r4
	ldr	r1, [r3]
	bl	NF_INVF
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	ARPT_INV_ARPOP
	.word	.LC0
	.word	ARPT_INV_ARPHRD
	.word	ARPT_INV_ARPPRO
	.word	ARPT_INV_ARPHLN
	.word	ARPT_INV_SRCDEVADDR
	.word	ARPT_INV_TGTDEVADDR
	.word	ARPT_INV_SRCIP
	.word	ARPT_INV_TGTIP
	.word	ARPT_INV_VIA_IN
	.word	ARPT_INV_VIA_OUT
	.size	arp_packet_match, .-arp_packet_match
	.comm	ARPT_INV_VIA_OUT,4,4
	.comm	ARPT_INV_VIA_IN,4,4
	.comm	ARPT_INV_TGTIP,4,4
	.comm	ARPT_INV_TGTDEVADDR,4,4
	.comm	ARPT_INV_SRCIP,4,4
	.comm	ARPT_INV_SRCDEVADDR,4,4
	.comm	ARPT_INV_ARPPRO,4,4
	.comm	ARPT_INV_ARPOP,4,4
	.comm	ARPT_INV_ARPHRD,4,4
	.comm	ARPT_INV_ARPHLN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
