	.file	"extr_ip_output.c_ip_generic_getfrag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ip_generic_getfrag
	.type	ip_generic_getfrag, @function
ip_generic_getfrag:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r10, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR CHECKSUM_PARTIAL[rip]
	cmp	QWORD PTR [r9], rax
	je	.L10
	mov	r12d, r8d
	mov	rsi, r10
	lea	r8, 4[rsp]
	mov	rbx, r9
	mov	DWORD PTR 4[rsp], 0
	call	csum_partial_copy_fromiovecend@PLT
	test	rax, rax
	js	.L8
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 4[rsp]
	mov	edx, r12d
	call	csum_block_add@PLT
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rsi, r10
	call	memcpy_fromiovecend@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jns	.L1
.L8:
	mov	eax, DWORD PTR EFAULT[rip]
	neg	eax
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ip_generic_getfrag, .-ip_generic_getfrag
	.comm	EFAULT,4,4
	.comm	CHECKSUM_PARTIAL,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_ip_output.c_ip_generic_getfrag.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ip_generic_getfrag
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_generic_getfrag, %function
ip_generic_getfrag:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, lr}
	sub	sp, sp, #20
	ldr	r1, .L12
	ldr	r5, [sp, #36]
	ldr	lr, [r1]
	ldr	r4, [r5]
	mov	r1, r0
	mov	r0, ip
	ldr	ip, .L12+4
	cmp	r4, lr
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	beq	.L10
	mov	r4, #0
	add	ip, sp, #8
	str	ip, [sp]
	str	r4, [sp, #8]
	bl	csum_partial_copy_fromiovecend
	cmp	r0, r4
	blt	.L8
	ldr	r2, [sp, #32]
	ldr	r1, [sp, #8]
	ldr	r0, [r5, #4]
	bl	csum_block_add
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5, #4]
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	bl	memcpy_fromiovecend
	cmp	r0, #0
	movge	r0, #0
	bge	.L1
.L8:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	CHECKSUM_PARTIAL
	.word	.LC0
	.word	EFAULT
	.size	ip_generic_getfrag, .-ip_generic_getfrag
	.comm	EFAULT,4,4
	.comm	CHECKSUM_PARTIAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
