	.file	"extr_nf_conntrack_proto_tcp.c_tcp_sack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_sack, @function
tcp_sack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdx]
	lea	ebx, -4[0+rax*4]
	test	ebx, ebx
	jne	.L35
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L36
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	add	esi, 4
	mov	edx, ebx
	mov	r12, rcx
	lea	rcx, 16[rsp]
	call	skb_header_pointer@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	BUG_ON@PLT
	cmp	DWORD PTR TCPOLEN_TSTAMP_ALIGNED[rip], ebx
	je	.L3
.L6:
	test	ebx, ebx
	jle	.L1
	mov	edi, DWORD PTR TCPOLEN_SACK_BASE[rip]
	mov	esi, DWORD PTR TCPOLEN_SACK_PERBLOCK[rip]
	movzx	eax, BYTE PTR 0[rbp]
	mov	r8d, DWORD PTR TCPOPT_SACK[rip]
	lea	r9d, [rdi+rsi]
	cmp	al, -128
	je	.L7
.L38:
	cmp	al, -127
	je	.L1
	cmp	ebx, 1
	je	.L1
	movzx	r13d, BYTE PTR 1[rbp]
	mov	rcx, r13
	cmp	r13d, 1
	jle	.L1
	cmp	r13d, ebx
	jg	.L1
	cmp	r8d, eax
	je	.L37
.L11:
	add	rbp, rcx
	sub	ebx, r13d
.L10:
	test	ebx, ebx
	jle	.L1
	movzx	eax, BYTE PTR 0[rbp]
	cmp	al, -128
	jne	.L38
.L7:
	add	rbp, 1
	sub	ebx, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L37:
	cmp	r9d, r13d
	jg	.L11
	mov	r10d, r13d
	sub	r10d, edi
	mov	eax, r10d
	cdq
	idiv	esi
	test	edx, edx
	jne	.L11
	test	r10d, r10d
	jle	.L1
.L13:
	movsx	rax, edx
	mov	DWORD PTR 12[rsp], edx
	lea	rdi, 10[rbp+rax]
	call	get_unaligned_be32@PLT
	mov	esi, DWORD PTR [r12]
	mov	edi, eax
	mov	ebx, eax
	call	after@PLT
	mov	edx, DWORD PTR 12[rsp]
	test	eax, eax
	je	.L12
	mov	DWORD PTR [r12], ebx
.L12:
	mov	eax, r13d
	add	edx, DWORD PTR TCPOLEN_SACK_PERBLOCK[rip]
	sub	eax, DWORD PTR TCPOLEN_SACK_BASE[rip]
	cmp	eax, edx
	jg	.L13
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR TCPOPT_TIMESTAMP[rip]
	mov	r13, QWORD PTR 0[rbp]
	sal	edi, 8
	or	edi, DWORD PTR TCPOLEN_TIMESTAMP[rip]
	or	edi, -2139095040
	call	htonl@PLT
	cmp	r13, rax
	jne	.L6
	jmp	.L1
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcp_sack, .-tcp_sack
	.comm	TCPOPT_TIMESTAMP,4,4
	.comm	TCPOPT_SACK,4,4
	.comm	TCPOLEN_TSTAMP_ALIGNED,4,4
	.comm	TCPOLEN_TIMESTAMP,4,4
	.comm	TCPOLEN_SACK_PERBLOCK,4,4
	.comm	TCPOLEN_SACK_BASE,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_nf_conntrack_proto_tcp.c_tcp_sack.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_sack, %function
tcp_sack:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r2]
	mov	r6, r3
	lsl	r4, r4, #2
	ldr	r3, .L39
	sub	sp, sp, #84
	subs	r4, r4, #4
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	bne	.L35
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L36
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	add	r3, sp, #20
	mov	r2, r4
	add	r1, r1, #4
	bl	skb_header_pointer
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, .L39+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L3
.L6:
	cmp	r4, #0
	ble	.L1
	ldr	r10, .L39+8
	ldr	fp, .L39+12
	ldrb	r1, [r5]	@ zero_extendqisi2
	ldr	r3, .L39+16
	ldr	r9, [r10]
	ldr	r8, [fp]
	cmp	r1, #128
	ldr	r3, [r3]
	add	r2, r9, r8
	beq	.L7
.L38:
	cmp	r1, #129
	beq	.L1
	cmp	r4, #1
	beq	.L1
	ldrb	r7, [r5, #1]	@ zero_extendqisi2
	cmp	r7, r4
	movle	r0, #0
	movgt	r0, #1
	cmp	r7, #1
	orrle	r0, r0, #1
	cmp	r0, #0
	bne	.L1
	cmp	r3, r1
	beq	.L37
.L11:
	add	r5, r5, r7
	sub	r4, r4, r7
.L10:
	cmp	r4, #0
	ble	.L1
	ldrb	r1, [r5]	@ zero_extendqisi2
	cmp	r1, #128
	bne	.L38
.L7:
	add	r5, r5, #1
	sub	r4, r4, #1
	b	.L10
.L37:
	cmp	r2, r7
	bgt	.L11
	str	r3, [sp, #4]
	sub	r3, r7, r9
	mov	r0, r3
	mov	r1, r8
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	bl	__aeabi_idivmod
	cmp	r1, #0
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #8]
	bne	.L11
	ldr	r3, [sp, #12]
	cmp	r3, #0
	ble	.L1
	mov	r4, r1
.L13:
	add	r0, r4, #6
	add	r0, r5, r0
	bl	get_unaligned_be32
	ldr	r1, [r6]
	mov	r8, r0
	bl	after
	cmp	r0, #0
	strne	r8, [r6]
	ldr	r2, [fp]
	ldr	r3, [r10]
	add	r4, r4, r2
	sub	r3, r7, r3
	cmp	r3, r4
	bgt	.L13
	b	.L1
.L3:
	ldr	r2, .L39+20
	ldr	r3, .L39+24
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r7, [r5]
	orr	r0, r0, r3, lsl #8
	orr	r0, r0, #-2147483648
	orr	r0, r0, #8388608
	bl	htonl
	cmp	r7, r0
	bne	.L6
	b	.L1
.L36:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	TCPOLEN_TSTAMP_ALIGNED
	.word	TCPOLEN_SACK_BASE
	.word	TCPOLEN_SACK_PERBLOCK
	.word	TCPOPT_SACK
	.word	TCPOLEN_TIMESTAMP
	.word	TCPOPT_TIMESTAMP
	.size	tcp_sack, .-tcp_sack
	.comm	TCPOPT_TIMESTAMP,4,4
	.comm	TCPOPT_SACK,4,4
	.comm	TCPOLEN_TSTAMP_ALIGNED,4,4
	.comm	TCPOLEN_TIMESTAMP,4,4
	.comm	TCPOLEN_SACK_PERBLOCK,4,4
	.comm	TCPOLEN_SACK_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
