	.file	"extr_llcp_commands.c_nfc_llcp_send_dm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Sending DM reason 0x%x\n"
	.text
	.p2align 4
	.globl	nfc_llcp_send_dm
	.type	nfc_llcp_send_dm, @function
nfc_llcp_send_dm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	mov	esi, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	DWORD PTR 12[rsp], ecx
	call	pr_debug@PLT
	test	rbp, rbp
	je	.L4
	mov	rbx, QWORD PTR 8[rbp]
	test	rbx, rbx
	je	.L4
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR NFC_HEADER_SIZE[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	add	eax, DWORD PTR LLCP_HEADER_SIZE[rip]
	lea	edi, 1[rax+rdx]
	add	edi, DWORD PTR 8[rbx]
	call	alloc_skb@PLT
	mov	r14, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	r14, r14
	je	.L1
	mov	rsi, QWORD PTR NFC_HEADER_SIZE[rip]
	mov	rdi, r14
	add	rsi, QWORD PTR [rbx]
	call	skb_reserve@PLT
	mov	esi, r12d
	mov	edx, r13d
	mov	rdi, r14
	mov	ecx, DWORD PTR LLCP_PDU_DM[rip]
	call	llcp_add_header@PLT
	lea	rsi, 12[rsp]
	mov	edx, 1
	mov	r12, rax
	mov	rdi, rax
	call	skb_put_data@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	skb_queue_head@PLT
	xor	eax, eax
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 16
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nfc_llcp_send_dm, .-nfc_llcp_send_dm
	.comm	NFC_HEADER_SIZE,8,8
	.comm	LLCP_PDU_DM,4,4
	.comm	LLCP_HEADER_SIZE,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_commands.c_nfc_llcp_send_dm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sending DM reason 0x%x\012\000"
	.text
	.align	2
	.global	nfc_llcp_send_dm
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfc_llcp_send_dm, %function
nfc_llcp_send_dm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	sub	sp, sp, #12
	mov	r6, r1
	ldr	r0, .L12
	mov	r1, r3
	mov	r5, r2
	str	r3, [sp, #4]
	bl	pr_debug
	cmp	r4, #0
	beq	.L4
	ldr	r7, [r4, #4]
	cmp	r7, #0
	beq	.L4
	ldr	r1, .L12+4
	ldr	r9, .L12+8
	ldr	r2, [r7, #4]
	ldr	r3, [r7]
	ldr	r0, [r1]
	ldr	r1, [r9]
	add	r3, r3, r2
	ldr	r2, .L12+12
	add	r3, r3, r1
	add	r0, r0, #1
	ldr	r1, [r2]
	add	r0, r3, r0
	bl	alloc_skb
	subs	r8, r0, #0
	beq	.L11
	ldr	r3, [r9]
	ldr	r1, [r7]
	add	r1, r1, r3
	bl	skb_reserve
	ldr	r3, .L12+16
	mov	r2, r6
	ldr	r3, [r3]
	mov	r1, r5
	mov	r0, r8
	bl	llcp_add_header
	mov	r5, r0
	mov	r2, #1
	add	r1, sp, #4
	bl	skb_put_data
	mov	r1, r5
	mov	r0, r4
	bl	skb_queue_head
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	ldr	r3, .L12+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	ldr	r3, .L12+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	LLCP_HEADER_SIZE
	.word	NFC_HEADER_SIZE
	.word	GFP_KERNEL
	.word	LLCP_PDU_DM
	.word	ENODEV
	.word	ENOMEM
	.size	nfc_llcp_send_dm, .-nfc_llcp_send_dm
	.comm	NFC_HEADER_SIZE,4,4
	.comm	LLCP_PDU_DM,4,4
	.comm	LLCP_HEADER_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
