	.file	"extr_util.c___ieee80211_amsdu_copy_frag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__ieee80211_amsdu_copy_frag, @function
__ieee80211_amsdu_copy_frag:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], ecx
	call	skb_shinfo@PLT
	mov	edi, DWORD PTR 16[r15]
	mov	ebp, DWORD PTR [r15]
	sub	ebp, DWORD PTR 4[r15]
	mov	rbx, QWORD PTR [rax]
	call	virt_to_head_page@PLT
	cmp	ebp, r14d
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	sub	r14d, ebp
	call	skb_frag_page@PLT
	mov	rdi, rbx
	mov	r12, rax
	call	skb_frag_address@PLT
	mov	rdi, rbx
	add	rbx, 4
	mov	r15, rax
	call	skb_frag_size@PLT
	mov	ebp, eax
	cmp	r14d, eax
	jge	.L3
.L4:
	mov	esi, ebp
	movsx	rdx, r14d
	sub	esi, r14d
	mov	r14d, DWORD PTR 12[rsp]
	add	r15, rdx
	mov	edi, r14d
	call	min@PLT
	mov	r8d, ebp
	mov	rdx, r15
	mov	rsi, r12
	mov	ecx, eax
	mov	rdi, r13
	mov	DWORD PTR 12[rsp], eax
	call	__frame_add_frag@PLT
	mov	ecx, DWORD PTR 12[rsp]
	sub	r14d, ecx
	test	r14d, r14d
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbx
	call	skb_frag_size@PLT
	mov	edi, r14d
	mov	esi, eax
	mov	r12d, eax
	call	min@PLT
	mov	rdi, rbx
	mov	ebp, eax
	call	skb_frag_address@PLT
	mov	rdi, rbx
	sub	r14d, ebp
	add	rbx, 4
	mov	r15, rax
	call	skb_frag_page@PLT
	mov	r8d, r12d
	mov	ecx, ebp
	mov	rdx, r15
	mov	rsi, rax
	mov	rdi, r13
	call	__frame_add_frag@PLT
	test	r14d, r14d
	jg	.L6
.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
.L2:
	.cfi_restore_state
	mov	r15, QWORD PTR 8[r15]
	mov	r12, rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	__ieee80211_amsdu_copy_frag, .-__ieee80211_amsdu_copy_frag
	.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_util.c___ieee80211_amsdu_copy_frag.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ieee80211_amsdu_copy_frag, %function
__ieee80211_amsdu_copy_frag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #8
	mov	r10, r0
	mov	r6, r2
	mov	r9, r1
	mov	r7, r3
	bl	skb_shinfo
	mov	r2, r0
	ldr	r5, [r10]
	ldr	r3, [r10, #4]
	ldr	r0, [r10, #12]
	sub	r5, r5, r3
	ldr	r4, [r2]
	bl	virt_to_head_page
	cmp	r5, r6
	bgt	.L2
.L3:
	mov	r0, r4
	bl	skb_frag_page
	mov	r8, r0
	mov	r0, r4
	bl	skb_frag_address
	mov	r10, r0
	mov	r0, r4
	bl	skb_frag_size
	sub	r6, r6, r5
	cmp	r6, r0
	mov	r5, r0
	add	r4, r4, #4
	bge	.L3
.L4:
	mov	r0, r7
	sub	r1, r5, r6
	bl	min
	mov	r1, r8
	mov	r3, r0
	sub	r7, r7, r0
	add	r2, r10, r6
	mov	r0, r9
	str	r5, [sp]
	bl	__frame_add_frag
	cmp	r7, #0
	ble	.L1
.L6:
	mov	r0, r4
	bl	skb_frag_size
	mov	r6, r0
	mov	r0, r7
	mov	r1, r6
	bl	min
	mov	r5, r0
	mov	r0, r4
	bl	skb_frag_page
	mov	r8, r0
	mov	r0, r4
	bl	skb_frag_address
	sub	r7, r7, r5
	mov	r2, r0
	mov	r3, r5
	mov	r1, r8
	mov	r0, r9
	str	r6, [sp]
	bl	__frame_add_frag
	cmp	r7, #0
	add	r4, r4, #4
	bgt	.L6
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r8, r0
	ldr	r10, [r10, #8]
	b	.L4
	.size	__ieee80211_amsdu_copy_frag, .-__ieee80211_amsdu_copy_frag
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
