	.file	"extr_tx.c_lowpan_header.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lowpan_header, @function
lowpan_header:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rcx
	lea	r15, 16[rsp]
	lea	r14, 24[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	lowpan_802154_dev@PLT
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	call	mac_cb_init@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	lowpan_skb_priv@PLT
	mov	edx, 24
	mov	rdi, r15
	mov	esi, eax
	call	memcpy@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	call	lowpan_header_compress@PLT
	mov	rdi, rbp
	mov	rbx, QWORD PTR [rbx]
	sub	rbx, QWORD PTR 0[rbp]
	call	skb_network_header_len@PLT
	mov	r8, QWORD PTR [rsp]
	add	rbx, rax
	mov	eax, DWORD PTR IEEE802154_FC_TYPE_DATA[rip]
	mov	QWORD PTR [r8], rbx
	mov	DWORD PTR 4[r13], eax
	mov	rax, QWORD PTR IEEE802154_ADDR_SHORT[rip]
	cmp	QWORD PTR 24[rsp], rax
	je	.L2
.L4:
	mov	rax, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rax]
.L3:
	mov	DWORD PTR 0[r13], eax
	mov	rdi, r12
	call	lowpan_802154_dev@PLT
	xor	r8d, r8d
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, QWORD PTR [rax]
	mov	rdi, rbp
	call	wpan_dev_hard_header@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.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	edi, DWORD PTR 32[rsp]
	call	ieee802154_is_broadcast_short_addr@PLT
	test	rax, rax
	je	.L4
	xor	eax, eax
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lowpan_header, .-lowpan_header
	.comm	IEEE802154_FC_TYPE_DATA,4,4
	.comm	IEEE802154_ADDR_SHORT,8,8
	.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_tx.c_lowpan_header.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lowpan_header, %function
lowpan_header:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r8, r3
	ldr	r3, .L12
	sub	sp, sp, #28
	mov	r4, r0
	mov	r0, r1
	mov	r6, r2
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	lowpan_802154_dev
	ldr	r3, [r0]
	mov	r0, r4
	ldr	r9, [r3]
	bl	mac_cb_init
	mov	r7, r0
	mov	r0, r4
	bl	lowpan_skb_priv
	mov	r2, #12
	mov	r1, r0
	add	r0, sp, #8
	bl	memcpy
	ldr	r3, [r4]
	mov	r1, r5
	str	r3, [r6]
	add	r2, sp, #12
	add	r3, sp, #8
	mov	r0, r4
	bl	lowpan_header_compress
	ldr	r3, [r4]
	ldr	r6, [r6]
	mov	r0, r4
	sub	r6, r6, r3
	bl	skb_network_header_len
	ldr	r2, .L12+4
	add	r6, r6, r0
	str	r6, [r8]
	ldr	r3, .L12+8
	ldr	r1, [sp, #12]
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r1, r2
	str	r3, [r7, #4]
	beq	.L2
.L4:
	ldr	r3, [r9]
.L3:
	str	r3, [r7]
	mov	r0, r5
	bl	lowpan_802154_dev
	mov	ip, #0
	ldr	r1, [r0]
	add	r3, sp, #8
	add	r2, sp, #12
	mov	r0, r4
	str	ip, [sp]
	bl	wpan_dev_hard_header
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r0, [sp, #16]
	bl	ieee802154_is_broadcast_short_addr
	cmp	r0, #0
	beq	.L4
	mov	r3, #0
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	IEEE802154_ADDR_SHORT
	.word	IEEE802154_FC_TYPE_DATA
	.size	lowpan_header, .-lowpan_header
	.comm	IEEE802154_FC_TYPE_DATA,4,4
	.comm	IEEE802154_ADDR_SHORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
