	.file	"extr_tp_meter.c_batadv_tp_send_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	batadv_tp_send_msg, @function
batadv_tp_send_msg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	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
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rsi, QWORD PTR ETH_HLEN[rip]
	mov	QWORD PTR [rsp], rdi
	xor	edi, edi
	add	rsi, r8
	mov	DWORD PTR 12[rsp], ecx
	call	netdev_alloc_skb_ip_align@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR BATADV_TP_REASON_MEMORY_ERROR[rip]
.L1:
	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
	mov	rsi, QWORD PTR ETH_HLEN[rip]
	mov	rdi, r12
	call	skb_reserve@PLT
	mov	esi, 56
	mov	rdi, r12
	call	skb_put@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 52[rax]
	mov	r13, rax
	call	ether_addr_copy@PLT
	mov	edi, DWORD PTR 48[r13]
	mov	rsi, r15
	call	ether_addr_copy@PLT
	mov	eax, DWORD PTR BATADV_COMPAT_VERSION[rip]
	mov	edi, DWORD PTR 24[r13]
	mov	rsi, r14
	mov	edx, 4
	mov	DWORD PTR 44[r13], eax
	mov	eax, DWORD PTR BATADV_ICMP[rip]
	mov	DWORD PTR 40[r13], eax
	mov	eax, DWORD PTR BATADV_TTL[rip]
	mov	DWORD PTR 36[r13], eax
	mov	eax, DWORD PTR BATADV_TP[rip]
	mov	DWORD PTR 32[r13], eax
	mov	eax, DWORD PTR 80[rsp]
	mov	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR BATADV_TP_MSG[rip]
	mov	DWORD PTR 28[r13], eax
	call	memcpy@PLT
	mov	edi, DWORD PTR 12[rsp]
	call	htonl@PLT
	mov	edi, DWORD PTR 88[rsp]
	mov	QWORD PTR 16[r13], rax
	call	htonl@PLT
	mov	rdi, r12
	mov	QWORD PTR 8[r13], rax
	lea	r13, -56[rbx]
	mov	rsi, r13
	call	skb_put@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, r13
	mov	rsi, rax
	call	batadv_tp_fill_prerandom@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r12
	call	batadv_send_skb_to_orig@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	DWORD PTR NET_XMIT_SUCCESS[rip], r8d
	je	.L1
	mov	eax, DWORD PTR BATADV_TP_REASON_CANT_SEND[rip]
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	batadv_tp_send_msg, .-batadv_tp_send_msg
	.comm	NET_XMIT_SUCCESS,4,4
	.comm	ETH_HLEN,8,8
	.comm	BATADV_TTL,4,4
	.comm	BATADV_TP_REASON_MEMORY_ERROR,4,4
	.comm	BATADV_TP_REASON_CANT_SEND,4,4
	.comm	BATADV_TP_MSG,4,4
	.comm	BATADV_TP,4,4
	.comm	BATADV_ICMP,4,4
	.comm	BATADV_COMPAT_VERSION,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_tp_meter.c_batadv_tp_send_msg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	batadv_tp_send_msg, %function
batadv_tp_send_msg:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, .L6
	ldr	r8, [sp, #40]
	mov	fp, r1
	ldr	r1, [r4]
	mov	r9, r0
	add	r1, r8, r1
	mov	r0, #0
	mov	r7, r2
	mov	r10, r3
	bl	netdev_alloc_skb_ip_align
	mov	r6, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L6+4
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r1, [r4]
	mov	r0, r6
	bl	skb_reserve
	mov	r1, #44
	mov	r0, r6
	bl	skb_put
	mov	r4, r0
	ldr	r1, [r7]
	ldr	r0, [r0, #40]
	bl	ether_addr_copy
	mov	r1, fp
	ldr	r0, [r4, #36]
	bl	ether_addr_copy
	ldr	r2, .L6+8
	ldr	ip, .L6+12
	ldr	r2, [r2]
	ldr	r0, .L6+16
	ldr	r1, .L6+20
	ldr	r3, .L6+24
	ldr	ip, [ip]
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r1, [r1]
	str	r2, [r4, #20]
	ldr	r2, [sp, #48]
	str	ip, [r4, #32]
	str	r3, [r4, #16]
	str	r0, [r4, #28]
	str	r1, [r4, #24]
	str	r2, [r4]
	ldr	r1, [sp, #44]
	mov	r2, #4
	ldr	r0, [r4, #12]
	bl	memcpy
	mov	r0, r10
	bl	htonl
	mov	r3, r0
	ldr	r0, [sp, #52]
	str	r3, [r4, #8]
	bl	htonl
	sub	r8, r8, #44
	mov	r1, r8
	str	r0, [r4, #4]
	mov	r0, r6
	bl	skb_put
	mov	r2, r8
	mov	r1, r0
	mov	r0, r9
	bl	batadv_tp_fill_prerandom
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	bl	batadv_send_skb_to_orig
	ldr	r3, .L6+28
	ldr	r3, [r3]
	cmp	r3, r0
	ldrne	r3, .L6+32
	ldrne	r5, [r3]
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	.align	2
.L6:
	.word	ETH_HLEN
	.word	BATADV_TP_REASON_MEMORY_ERROR
	.word	BATADV_TP
	.word	BATADV_COMPAT_VERSION
	.word	BATADV_ICMP
	.word	BATADV_TTL
	.word	BATADV_TP_MSG
	.word	NET_XMIT_SUCCESS
	.word	BATADV_TP_REASON_CANT_SEND
	.size	batadv_tp_send_msg, .-batadv_tp_send_msg
	.comm	NET_XMIT_SUCCESS,4,4
	.comm	ETH_HLEN,4,4
	.comm	BATADV_TTL,4,4
	.comm	BATADV_TP_REASON_MEMORY_ERROR,4,4
	.comm	BATADV_TP_REASON_CANT_SEND,4,4
	.comm	BATADV_TP_MSG,4,4
	.comm	BATADV_TP,4,4
	.comm	BATADV_ICMP,4,4
	.comm	BATADV_COMPAT_VERSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
