	.file	"extr_raw.c_raw_send_hdrinc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	raw_send_hdrinc, @function
raw_send_hdrinc:
.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	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	inet_sk@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	sock_net@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r8, QWORD PTR [rdi]
	cmp	r8, r12
	jb	.L19
	test	DWORD PTR MSG_PROBE[rip], r14d
	je	.L4
.L14:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 40
	.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
.L4:
	.cfi_restore_state
	and	r14d, DWORD PTR MSG_DONTWAIT[rip]
	mov	r13, rax
	call	LL_ALLOCATED_SPACE@PLT
	mov	edx, r14d
	lea	rcx, 20[rsp]
	mov	rdi, rbp
	lea	rsi, 15[r12+rax]
	call	sock_alloc_send_skb@PLT
	mov	r14, rax
	test	rax, rax
	je	.L6
	mov	rdi, QWORD PTR [rbx]
	call	LL_RESERVED_SPACE@PLT
	mov	rdi, r14
	mov	esi, eax
	call	skb_reserve@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	rdi, rbx
	mov	DWORD PTR 16[r14], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 12[r14], eax
	call	dst_clone@PLT
	mov	rdi, r14
	mov	esi, eax
	call	skb_dst_set@PLT
	mov	rdi, r14
	call	skb_reset_network_header@PLT
	mov	rdi, r14
	call	ip_hdr@PLT
	mov	rsi, r12
	mov	rdi, r14
	mov	rbp, rax
	call	skb_put@PLT
	mov	eax, DWORD PTR CHECKSUM_NONE[rip]
	xor	edx, edx
	mov	rcx, r12
	mov	rsi, r15
	mov	rdi, rbp
	mov	DWORD PTR 8[r14], eax
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR 4[r14], eax
	mov	eax, DWORD PTR EFAULT[rip]
	neg	eax
	mov	DWORD PTR 20[rsp], eax
	call	memcpy_fromiovecend@PLT
	test	rax, rax
	jne	.L7
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR EINVAL[rip]
	sal	eax, 2
	neg	edx
	mov	DWORD PTR 20[rsp], edx
	mov	edx, eax
	cmp	rdx, r12
	ja	.L7
	cmp	eax, 39
	jbe	.L8
	cmp	QWORD PTR 32[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 32[rbp], rax
.L9:
	mov	QWORD PTR 16[rbp], 0
	mov	rdi, r12
	call	htons@PLT
	mov	ecx, DWORD PTR 24[rbp]
	mov	DWORD PTR 28[rbp], eax
	test	ecx, ecx
	je	.L21
.L10:
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	call	ip_fast_csum@PLT
	mov	QWORD PTR 16[rbp], rax
.L8:
	mov	rax, QWORD PTR IPPROTO_ICMP[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L22
.L11:
	mov	r9d, DWORD PTR dst_output[rip]
	mov	r8, QWORD PTR [rbx]
	xor	ecx, ecx
	mov	rdx, r14
	mov	esi, DWORD PTR NF_INET_LOCAL_OUT[rip]
	mov	edi, DWORD PTR PF_INET[rip]
	call	NF_HOOK@PLT
	mov	DWORD PTR 20[rsp], eax
	test	eax, eax
	jle	.L12
	mov	edi, eax
	call	net_xmit_errno@PLT
	mov	DWORD PTR 20[rsp], eax
.L12:
	test	eax, eax
	je	.L14
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR IPSTATS_MIB_OUTDISCARDS[rip]
	mov	rdi, r13
	call	IP_INC_STATS@PLT
	mov	eax, DWORD PTR 20[rsp]
	mov	ebx, eax
	add	ebx, DWORD PTR ENOBUFS[rip]
	jne	.L1
	mov	rbx, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	mov	edx, 0
	cmove	eax, edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR EMSGSIZE[rip]
	mov	ecx, DWORD PTR 4[rax]
	call	ip_local_error@PLT
	mov	eax, DWORD PTR EMSGSIZE[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r14
	call	kfree_skb@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	xor	edx, edx
	mov	rsi, rbx
	mov	rdi, rbp
	call	ip_select_ident@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r14
	call	skb_transport_header@PLT
	mov	rdi, r13
	mov	esi, DWORD PTR [rax]
	call	icmp_out_count@PLT
	jmp	.L11
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	raw_send_hdrinc, .-raw_send_hdrinc
	.comm	dst_output,4,4
	.comm	PF_INET,4,4
	.comm	NF_INET_LOCAL_OUT,4,4
	.comm	MSG_PROBE,4,4
	.comm	MSG_DONTWAIT,4,4
	.comm	IPSTATS_MIB_OUTDISCARDS,4,4
	.comm	IPPROTO_ICMP,8,8
	.comm	ENOBUFS,4,4
	.comm	EMSGSIZE,4,4
	.comm	EINVAL,4,4
	.comm	EFAULT,4,4
	.comm	CHECKSUM_NONE,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_raw.c_raw_send_hdrinc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_send_hdrinc, %function
raw_send_hdrinc:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	ldr	r3, .L23
	sub	sp, sp, #20
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	mov	fp, r1
	ldr	r7, [sp, #56]
	bl	inet_sk
	mov	r10, r0
	mov	r0, r5
	bl	sock_net
	ldr	r3, [r6]
	ldr	r2, [r3]
	cmp	r2, r4
	bcc	.L19
	ldr	r2, .L23+4
	ldr	r8, [r2]
	ands	r8, r7, r8
	beq	.L4
.L14:
	mov	r0, #0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r9, r0
	mov	r0, r3
	bl	LL_ALLOCATED_SPACE
	ldr	r3, .L23+8
	add	r1, r4, #15
	ldr	r2, [r3]
	add	r1, r1, r0
	and	r2, r2, r7
	mov	r0, r5
	add	r3, sp, #8
	bl	sock_alloc_send_skb
	subs	r7, r0, #0
	beq	.L6
	ldr	r0, [r6]
	bl	LL_RESERVED_SPACE
	mov	r1, r0
	mov	r0, r7
	bl	skb_reserve
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	mov	r0, r6
	str	r2, [r7, #16]
	str	r3, [r7, #12]
	bl	dst_clone
	mov	r1, r0
	mov	r0, r7
	bl	skb_dst_set
	mov	r0, r7
	bl	skb_reset_network_header
	mov	r0, r7
	bl	ip_hdr
	mov	r5, r0
	mov	r1, r4
	mov	r0, r7
	bl	skb_put
	ldr	r2, .L23+12
	ldr	r3, .L23+16
	ldr	r0, [r7]
	ldr	ip, [r2]
	ldr	r3, [r3]
	rsb	ip, ip, #0
	stmib	r7, {r0, r3}
	mov	r2, r8
	mov	r1, fp
	mov	r0, r5
	mov	r3, r4
	str	ip, [sp, #8]
	bl	memcpy_fromiovecend
	cmp	r0, #0
	bne	.L7
	ldr	r2, .L23+20
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r4, r3, lsl #2
	rsb	r2, r2, #0
	str	r2, [sp, #8]
	lsl	r3, r3, #2
	bcc	.L7
	cmp	r3, #23
	bls	.L8
	ldr	r3, [r5, #20]
	mov	r0, r4
	cmp	r3, #0
	ldreq	r3, [r6, #4]
	streq	r3, [r5, #20]
	mov	r3, #0
	str	r3, [r5, #8]
	bl	htons
	ldr	r2, [r5, #12]
	str	r0, [r5, #16]
	cmp	r2, #0
	beq	.L21
.L10:
	mov	r0, r5
	ldr	r1, [r5]
	bl	ip_fast_csum
	str	r0, [r5, #8]
.L8:
	ldr	r3, .L23+24
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L22
.L11:
	ldr	r3, .L23+28
	ldr	r2, [r6]
	ldr	r0, [r3]
	ldr	r1, .L23+32
	ldr	r3, .L23+36
	str	r2, [sp]
	str	r0, [sp, #4]
	ldr	r0, [r3]
	mov	r2, r7
	mov	r3, #0
	ldr	r1, [r1]
	bl	NF_HOOK
	cmp	r0, #0
	mov	r3, r0
	str	r0, [sp, #8]
	ble	.L12
	bl	net_xmit_errno
	mov	r3, r0
	str	r0, [sp, #8]
.L12:
	cmp	r3, #0
	beq	.L14
.L6:
	ldr	r3, .L23+40
	mov	r0, r9
	ldr	r1, [r3]
	bl	IP_INC_STATS
	ldr	r3, .L23+44
	ldr	r0, [sp, #8]
	ldr	r3, [r3]
	cmn	r0, r3
	bne	.L1
	ldr	r3, [r10]
	cmp	r3, #0
	moveq	r0, #0
	b	.L1
.L19:
	ldr	r4, .L23+48
	ldr	r3, [r10, #4]
	str	r2, [sp]
	mov	r0, r5
	ldr	r2, [r6, #8]
	ldr	r1, [r4]
	bl	ip_local_error
	ldr	r0, [r4]
	rsb	r0, r0, #0
	b	.L1
.L7:
	mov	r0, r7
	bl	kfree_skb
	b	.L6
.L21:
	mov	r1, r6
	mov	r0, r5
	bl	ip_select_ident
	b	.L10
.L22:
	mov	r0, r7
	bl	skb_transport_header
	mov	r3, r0
	mov	r0, r9
	ldr	r1, [r3]
	bl	icmp_out_count
	b	.L11
.L20:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	MSG_PROBE
	.word	MSG_DONTWAIT
	.word	EFAULT
	.word	CHECKSUM_NONE
	.word	EINVAL
	.word	IPPROTO_ICMP
	.word	dst_output
	.word	NF_INET_LOCAL_OUT
	.word	PF_INET
	.word	IPSTATS_MIB_OUTDISCARDS
	.word	ENOBUFS
	.word	EMSGSIZE
	.size	raw_send_hdrinc, .-raw_send_hdrinc
	.comm	dst_output,4,4
	.comm	PF_INET,4,4
	.comm	NF_INET_LOCAL_OUT,4,4
	.comm	MSG_PROBE,4,4
	.comm	MSG_DONTWAIT,4,4
	.comm	IPSTATS_MIB_OUTDISCARDS,4,4
	.comm	IPPROTO_ICMP,4,4
	.comm	ENOBUFS,4,4
	.comm	EMSGSIZE,4,4
	.comm	EINVAL,4,4
	.comm	EFAULT,4,4
	.comm	CHECKSUM_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
