	.file	"extr_tcp_ipv6.c_tcp_v6_send_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_v6_send_reset, @function
tcp_v6_send_reset:
.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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	tcp_hdr@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	ipv6_hdr@PLT
	mov	r13, QWORD PTR 48[rbx]
	mov	QWORD PTR [rsp], rax
	test	r13, r13
	jne	.L1
	test	rbp, rbp
	je	.L25
	mov	rdi, rbp
	call	sock_net@PLT
	mov	r14, QWORD PTR 32[rbx]
	mov	r15, rax
	test	r14, r14
	jne	.L26
.L7:
	mov	edi, DWORD PTR 24[rbx]
	call	ntohl@PLT
	mov	rcx, QWORD PTR 8[rbx]
	add	rax, QWORD PTR 16[rbx]
	add	rcx, rax
	mov	eax, DWORD PTR [rbx]
	add	rcx, QWORD PTR [r12]
	sal	eax, 2
	cdqe
	sub	rcx, rax
	mov	rbx, rcx
	test	rbp, rbp
	je	.L9
.L29:
	mov	rdi, rbp
	mov	r15d, DWORD PTR 0[rbp]
	call	sk_fullsock@PLT
	xor	ecx, ecx
	mov	r13, rax
	test	rax, rax
	jne	.L27
.L10:
	mov	rax, QWORD PTR TCP_TIME_WAIT[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L28
.L12:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rdx, r14
	push	r13
	.cfi_def_cfa_offset 96
	mov	rsi, r12
	mov	rdi, rbp
	push	rcx
	.cfi_def_cfa_offset 104
	mov	rcx, rbx
	push	0
	.cfi_def_cfa_offset 112
	push	1
	.cfi_def_cfa_offset 120
	push	0
	.cfi_def_cfa_offset 128
	push	r15
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	call	tcp_v6_send_response@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 80
.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
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	xor	ebx, ebx
	call	ntohl@PLT
	mov	r14, rax
	test	rbp, rbp
	jne	.L29
.L9:
	mov	ecx, DWORD PTR [r15]
	xor	r15d, r15d
	and	ecx, DWORD PTR FLOWLABEL_REFLECT_TCP_RESET[rip]
	je	.L12
	mov	rdi, QWORD PTR [rsp]
	call	ip6_flowlabel@PLT
	mov	ecx, eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, r12
	call	ipv6_unicast_destination@PLT
	test	eax, eax
	je	.L1
	mov	rdi, r12
	call	skb_dst@PLT
	mov	edi, DWORD PTR [rax]
	call	dev_net@PLT
	mov	r14, QWORD PTR 32[rbx]
	mov	r15, rax
	test	r14, r14
	je	.L7
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], ecx
	call	tcp_inet6_sk@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	r13, rax
	call	trace_tcp_send_reset@PLT
	cmp	QWORD PTR 0[r13], 0
	mov	ecx, DWORD PTR 12[rsp]
	jne	.L30
.L11:
	mov	r13, QWORD PTR 16[rbp]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, rbp
	call	inet_twsk@PLT
	mov	edi, DWORD PTR 8[rax]
	call	cpu_to_be32@PLT
	mov	rdi, rbp
	mov	DWORD PTR [rsp], eax
	call	inet_twsk@PLT
	mov	ecx, DWORD PTR [rsp]
	mov	r13, QWORD PTR [rax]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rdi, QWORD PTR [rsp]
	call	ip6_flowlabel@PLT
	mov	ecx, eax
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	tcp_v6_send_reset, .-tcp_v6_send_reset
	.comm	tcp_hashinfo,4,4
	.comm	TCP_TIME_WAIT,8,8
	.comm	FLOWLABEL_REFLECT_TCP_RESET,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_tcp_ipv6.c_tcp_v6_send_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_v6_send_reset, %function
tcp_v6_send_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #44
	mov	r0, r1
	mov	r5, r1
	bl	tcp_hdr
	mov	r6, r0
	mov	r0, r5
	bl	ipv6_hdr
	ldr	r10, [r6, #28]
	cmp	r10, #0
	bne	.L1
	cmp	r4, #0
	mov	r7, r0
	beq	.L25
	mov	r0, r4
	bl	sock_net
	ldr	r8, [r6, #20]
	mov	r9, r0
	cmp	r8, #0
	bne	.L26
.L7:
	ldr	r0, [r6, #12]
	bl	ntohl
	ldmib	r6, {r1, r3}
	ldr	r2, [r5]
	add	r3, r0, r3
	ldr	fp, [r6]
	add	r3, r3, r1
	add	r3, r3, r2
	cmp	r4, #0
	sub	fp, r3, fp, lsl #2
	beq	.L9
.L29:
	mov	r0, r4
	ldr	r9, [r4]
	bl	sk_fullsock
	subs	r6, r0, #0
	moveq	r10, r6
	bne	.L27
.L10:
	ldr	r3, .L31
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L28
.L12:
	mov	ip, #0
	mov	lr, #1
	mov	r3, fp
	mov	r2, r8
	mov	r1, r5
	mov	r0, r4
	str	r10, [sp, #32]
	str	r6, [sp, #28]
	str	r9, [sp, #12]
	str	ip, [sp, #24]
	str	ip, [sp, #16]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	ip, [sp]
	str	lr, [sp, #20]
	bl	tcp_v6_send_response
.L1:
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	ldr	r0, [r6, #16]
	bl	ntohl
	cmp	r4, #0
	mov	fp, #0
	mov	r8, r0
	bne	.L29
.L9:
	ldr	r3, .L31+4
	ldr	r6, [r9]
	ldr	r0, [r3]
	ands	r6, r6, r0
	moveq	r9, r4
	moveq	r10, r4
	beq	.L12
	mov	r0, r7
	bl	ip6_flowlabel
	mov	r9, r4
	mov	r6, r0
	b	.L12
.L25:
	mov	r0, r5
	bl	ipv6_unicast_destination
	cmp	r0, #0
	beq	.L1
	mov	r0, r5
	bl	skb_dst
	ldr	r0, [r0]
	bl	dev_net
	ldr	r8, [r6, #20]
	mov	r9, r0
	cmp	r8, #0
	beq	.L7
	b	.L26
.L27:
	mov	r0, r4
	bl	tcp_inet6_sk
	mov	r6, r0
	mov	r1, r5
	mov	r0, r4
	bl	trace_tcp_send_reset
	ldr	r6, [r6]
	cmp	r6, #0
	bne	.L30
.L11:
	ldr	r10, [r4, #8]
	b	.L10
.L28:
	mov	r0, r4
	bl	inet_twsk
	ldr	r0, [r0, #4]
	bl	cpu_to_be32
	mov	r6, r0
	mov	r0, r4
	bl	inet_twsk
	ldr	r10, [r0]
	b	.L12
.L30:
	mov	r0, r7
	bl	ip6_flowlabel
	mov	r6, r0
	b	.L11
.L32:
	.align	2
.L31:
	.word	TCP_TIME_WAIT
	.word	FLOWLABEL_REFLECT_TCP_RESET
	.size	tcp_v6_send_reset, .-tcp_v6_send_reset
	.comm	tcp_hashinfo,4,4
	.comm	TCP_TIME_WAIT,4,4
	.comm	FLOWLABEL_REFLECT_TCP_RESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
