	.file	"extr_netlink.c_nfc_genl_device_added.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nfc_genl_device_added
	.type	nfc_genl_device_added, @function
nfc_genl_device_added:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, DWORD PTR NLMSG_DEFAULT_SIZE[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	nlmsg_new@PLT
	test	rax, rax
	je	.L10
	mov	r9d, DWORD PTR NFC_EVENT_DEVICE_ADDED[rip]
	xor	r8d, r8d
	xor	edx, edx
	xor	esi, esi
	lea	rcx, nfc_genl_family[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	genlmsg_put@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rsi, rbp
	mov	rdi, r12
	call	nfc_genl_setup_device_added@PLT
	test	rax, rax
	jne	.L4
	mov	rsi, r13
	mov	rdi, rbp
	call	genlmsg_end@PLT
	mov	r8d, DWORD PTR GFP_KERNEL[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, rbp
	lea	rdi, nfc_genl_family[rip]
	call	genlmsg_multicast@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	call	nlmsg_free@PLT
	mov	eax, DWORD PTR EMSGSIZE[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	nfc_genl_device_added, .-nfc_genl_device_added
	.comm	nfc_genl_family,4,4
	.comm	NLMSG_DEFAULT_SIZE,4,4
	.comm	NFC_EVENT_DEVICE_ADDED,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,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_netlink.c_nfc_genl_device_added.c"
	.text
	.align	2
	.global	nfc_genl_device_added
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfc_genl_device_added, %function
nfc_genl_device_added:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L11
	ldr	r7, .L11+4
	mov	r4, r0
	ldr	r1, [r7]
	ldr	r0, [r2]
	sub	sp, sp, #12
	bl	nlmsg_new
	subs	r5, r0, #0
	beq	.L10
	mov	r2, #0
	ldr	r3, .L11+8
	str	r2, [sp]
	ldr	r3, [r3]
	mov	r1, r2
	str	r3, [sp, #4]
	ldr	r3, .L11+12
	bl	genlmsg_put
	subs	r6, r0, #0
	beq	.L4
	mov	r0, r4
	mov	r1, r5
	bl	nfc_genl_setup_device_added
	subs	r4, r0, #0
	bne	.L4
	mov	r1, r6
	mov	r0, r5
	bl	genlmsg_end
	ldr	r3, [r7]
	mov	r1, r5
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r4
	ldr	r0, .L11+12
	bl	genlmsg_multicast
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r0, r5
	bl	nlmsg_free
	ldr	r3, .L11+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r3, .L11+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	NLMSG_DEFAULT_SIZE
	.word	GFP_KERNEL
	.word	NFC_EVENT_DEVICE_ADDED
	.word	nfc_genl_family
	.word	EMSGSIZE
	.word	ENOMEM
	.size	nfc_genl_device_added, .-nfc_genl_device_added
	.comm	nfc_genl_family,4,4
	.comm	NLMSG_DEFAULT_SIZE,4,4
	.comm	NFC_EVENT_DEVICE_ADDED,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
