	.file	"extr_llcp_core.c_nfc_llcp_recv_agf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Malformed AGF PDU\n"
.LC1:
	.string	"Could not allocate PDU\n"
	.text
	.p2align 4
	.type	nfc_llcp_recv_agf, @function
nfc_llcp_recv_agf:
.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
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR LLCP_HEADER_SIZE[rip]
	cmp	DWORD PTR [rbx], esi
	jle	.L4
	mov	r12, rdi
	mov	rdi, rbx
	call	skb_pull@PLT
	mov	esi, DWORD PTR LLCP_AGF_PDU_HEADER_SIZE[rip]
	cmp	esi, DWORD PTR [rbx]
	jl	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	DWORD PTR [rbx], ebp
	jl	.L4
	mov	rdi, rbx
	call	nfc_llcp_ptype@PLT
	cmp	QWORD PTR LLCP_PDU_SYMM[rip], rax
	je	.L5
	cmp	QWORD PTR LLCP_PDU_AGF[rip], rax
	je	.L5
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, ebp
	call	nfc_alloc_recv_skb@PLT
	mov	r13, rax
	test	rax, rax
	je	.L12
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, ebp
	mov	rdi, rax
	call	skb_put_data@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	nfc_llcp_rx_skb@PLT
	mov	rdi, r13
	call	kfree_skb@PLT
.L5:
	mov	esi, ebp
	mov	rdi, rbx
	call	skb_pull@PLT
	mov	esi, DWORD PTR LLCP_AGF_PDU_HEADER_SIZE[rip]
	cmp	DWORD PTR [rbx], esi
	jle	.L1
.L7:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, rbx
	mov	ebp, DWORD PTR [rax]
	sal	ebp, 8
	or	ebp, DWORD PTR 4[rax]
	call	skb_pull@PLT
	cmp	DWORD PTR LLCP_HEADER_SIZE[rip], ebp
	jle	.L13
.L4:
	lea	rdi, .LC0[rip]
.L10:
	add	rsp, 8
	.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
	jmp	pr_err@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.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
.L12:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	nfc_llcp_recv_agf, .-nfc_llcp_recv_agf
	.comm	LLCP_PDU_SYMM,8,8
	.comm	LLCP_PDU_AGF,8,8
	.comm	LLCP_HEADER_SIZE,4,4
	.comm	LLCP_AGF_PDU_HEADER_SIZE,4,4
	.comm	GFP_KERNEL,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_llcp_core.c_nfc_llcp_recv_agf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Malformed AGF PDU\012\000"
	.align	2
.LC1:
	.ascii	"Could not allocate PDU\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfc_llcp_recv_agf, %function
nfc_llcp_recv_agf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L13
	ldr	r3, [r1]
	mov	r4, r1
	ldr	r1, [r6]
	cmp	r3, r1
	ble	.L4
	ldr	r7, .L13+4
	mov	r9, r0
	mov	r0, r4
	bl	skb_pull
	ldr	r1, [r7]
	ldr	r3, [r4]
	cmp	r1, r3
	popge	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r8, .L13+8
	ldr	r10, .L13+12
	b	.L7
.L12:
	ldr	r3, [r4]
	cmp	r3, r5
	blt	.L4
	mov	r0, r4
	bl	nfc_llcp_ptype
	ldr	r3, [r8]
	cmp	r3, r0
	beq	.L5
	ldr	r3, [r10]
	cmp	r3, r0
	beq	.L5
	ldr	r3, .L13+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	nfc_alloc_recv_skb
	subs	fp, r0, #0
	beq	.L11
	mov	r2, r5
	ldr	r1, [r4, #4]
	bl	skb_put_data
	mov	r1, fp
	mov	r0, r9
	bl	nfc_llcp_rx_skb
	mov	r0, fp
	bl	kfree_skb
.L5:
	mov	r1, r5
	mov	r0, r4
	bl	skb_pull
	ldr	r1, [r7]
	ldr	r3, [r4]
	cmp	r3, r1
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r3, [r4, #4]
	mov	r0, r4
	ldm	r3, {r2, r5}
	orr	r5, r5, r2, lsl #8
	bl	skb_pull
	ldr	r3, [r6]
	cmp	r3, r5
	ble	.L12
.L4:
	ldr	r0, .L13+20
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	pr_err
.L11:
	ldr	r0, .L13+24
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	pr_err
.L14:
	.align	2
.L13:
	.word	LLCP_HEADER_SIZE
	.word	LLCP_AGF_PDU_HEADER_SIZE
	.word	LLCP_PDU_SYMM
	.word	LLCP_PDU_AGF
	.word	GFP_KERNEL
	.word	.LC0
	.word	.LC1
	.size	nfc_llcp_recv_agf, .-nfc_llcp_recv_agf
	.comm	LLCP_PDU_SYMM,4,4
	.comm	LLCP_PDU_AGF,4,4
	.comm	LLCP_HEADER_SIZE,4,4
	.comm	LLCP_AGF_PDU_HEADER_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
