	.file	"extr_drbd_nl.c_notify_device_state.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error %d while broadcasting event. Event seq:%u\n"
	.text
	.p2align 4
	.globl	notify_device_state
	.type	notify_device_state, @function
notify_device_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	test	rdi, rdi
	je	.L22
.L2:
	mov	r9d, DWORD PTR DRBD_DEVICE_STATE[rip]
	xor	r8d, r8d
	mov	edx, r12d
	xor	esi, esi
	mov	r13d, DWORD PTR EMSGSIZE[rip]
	lea	rcx, drbd_genl_family[rip]
	mov	rdi, r14
	call	genlmsg_put@PLT
	neg	r13d
	mov	r15, rax
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	xor	edx, edx
	mov	rcx, rbp
	mov	rdi, r14
	mov	DWORD PTR 4[r15], eax
	mov	eax, DWORD PTR NO_ERROR[rip]
	mov	DWORD PTR [r15], eax
	call	nla_put_drbd_cfg_context@PLT
	test	rax, rax
	je	.L23
.L4:
	mov	rdi, r14
	call	nlmsg_free@PLT
.L3:
	mov	ecx, r12d
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	drbd_err@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 40
	.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
.L23:
	.cfi_restore_state
	mov	esi, ebx
	mov	rdi, r14
	call	nla_put_notification_header@PLT
	test	rax, rax
	jne	.L4
	mov	r8d, DWORD PTR NOTIFY_FLAGS[rip]
	not	r8d
	and	ebx, r8d
	cmp	ebx, DWORD PTR NOTIFY_DESTROY[rip]
	je	.L8
	mov	rsi, QWORD PTR 8[rsp]
	mov	edx, 1
	mov	rdi, r14
	call	device_info_to_skb@PLT
	test	rax, rax
	jne	.L4
.L8:
	lea	r13, 20[rsp]
	mov	rsi, rbp
	mov	rdi, r13
	call	device_to_statistics@PLT
	mov	edi, DWORD PTR CAP_SYS_ADMIN[rip]
	call	capable@PLT
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, r14
	test	eax, eax
	sete	dl
	call	device_statistics_to_skb@PLT
	mov	rsi, r15
	mov	rdi, r14
	call	genlmsg_end@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L1
	mov	esi, DWORD PTR GFP_NOWAIT[rip]
	mov	rdi, r14
	call	drbd_genl_multicast_events@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	add	eax, DWORD PTR ESRCH[rip]
	jne	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rdi, notify_genl_seq[rip]
	call	atomic_inc_return@PLT
	mov	esi, DWORD PTR GFP_NOIO[rip]
	mov	edi, DWORD PTR NLMSG_GOODSIZE[rip]
	mov	r12d, eax
	call	genlmsg_new@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	DWORD PTR 4[rsp], 1
	mov	r14, rax
	neg	r13d
	test	rax, rax
	jne	.L2
	jmp	.L3
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	notify_device_state, .-notify_device_state
	.comm	notify_genl_seq,4,4
	.comm	drbd_genl_family,4,4
	.comm	NO_ERROR,4,4
	.comm	NOTIFY_FLAGS,4,4
	.comm	NOTIFY_DESTROY,4,4
	.comm	NLMSG_GOODSIZE,4,4
	.comm	GFP_NOWAIT,4,4
	.comm	GFP_NOIO,4,4
	.comm	ESRCH,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,4,4
	.comm	DRBD_DEVICE_STATE,4,4
	.comm	CAP_SYS_ADMIN,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_drbd_nl.c_notify_device_state.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error %d while broadcasting event. Event seq:%u\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	notify_device_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	notify_device_state, %function
notify_device_state:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	ldr	r3, .L24
	subs	r4, r0, #0
	sub	sp, sp, #20
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	movne	r6, r1
	movne	r10, #0
	beq	.L21
.L2:
	mov	r7, #0
	ldr	r3, .L24+4
	ldr	r2, .L24+8
	ldr	r3, [r3]
	ldr	r8, [r2]
	mov	r1, r7
	str	r3, [sp, #4]
	mov	r2, r6
	mov	r0, r4
	ldr	r3, .L24+12
	str	r7, [sp]
	bl	genlmsg_put
	subs	fp, r0, #0
	rsb	r8, r8, #0
	beq	.L4
	ldr	r2, .L24+16
	ldr	r3, [r5, #4]
	ldr	r1, [r2]
	mov	r0, r4
	stm	fp, {r1, r3}
	mov	r2, r7
	mov	r3, r5
	ldr	r1, [r5]
	bl	nla_put_drbd_cfg_context
	cmp	r0, r7
	beq	.L22
.L4:
	mov	r0, r4
	bl	nlmsg_free
.L3:
	mov	r3, r6
	mov	r2, r8
	mov	r0, r5
	ldr	r1, .L24+20
	bl	drbd_err
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r0, r4
	ldr	r1, [sp, #56]
	bl	nla_put_notification_header
	cmp	r0, r7
	bne	.L4
	ldr	r3, .L24+24
	ldr	r2, .L24+28
	ldr	r3, [r3]
	ldr	r1, [sp, #56]
	ldr	r2, [r2]
	bic	r3, r1, r3
	cmp	r3, r2
	beq	.L8
	mov	r1, r9
	mov	r2, #1
	mov	r0, r4
	bl	device_info_to_skb
	cmp	r0, #0
	bne	.L4
.L8:
	mov	r1, r5
	add	r0, sp, #8
	bl	device_to_statistics
	ldr	r3, .L24+32
	ldr	r0, [r3]
	bl	capable
	clz	r2, r0
	add	r1, sp, #8
	lsr	r2, r2, #5
	mov	r0, r4
	bl	device_statistics_to_skb
	mov	r1, fp
	mov	r0, r4
	bl	genlmsg_end
	cmp	r10, #0
	beq	.L1
	ldr	r3, .L24+36
	mov	r0, r4
	ldr	r1, [r3]
	bl	drbd_genl_multicast_events
	subs	r8, r0, #0
	beq	.L1
	ldr	r3, .L24+40
	ldr	r3, [r3]
	cmn	r8, r3
	bne	.L3
	b	.L1
.L21:
	ldr	r0, .L24+44
	bl	atomic_inc_return
	ldr	r2, .L24+48
	ldr	r3, .L24+52
	mov	r6, r0
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	genlmsg_new
	subs	r4, r0, #0
	movne	r10, #1
	bne	.L2
	ldr	r3, .L24+56
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L3
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	DRBD_DEVICE_STATE
	.word	EMSGSIZE
	.word	drbd_genl_family
	.word	NO_ERROR
	.word	.LC0
	.word	NOTIFY_FLAGS
	.word	NOTIFY_DESTROY
	.word	CAP_SYS_ADMIN
	.word	GFP_NOWAIT
	.word	ESRCH
	.word	notify_genl_seq
	.word	GFP_NOIO
	.word	NLMSG_GOODSIZE
	.word	ENOMEM
	.size	notify_device_state, .-notify_device_state
	.comm	notify_genl_seq,4,4
	.comm	drbd_genl_family,4,4
	.comm	NO_ERROR,4,4
	.comm	NOTIFY_FLAGS,4,4
	.comm	NOTIFY_DESTROY,4,4
	.comm	NLMSG_GOODSIZE,4,4
	.comm	GFP_NOWAIT,4,4
	.comm	GFP_NOIO,4,4
	.comm	ESRCH,4,4
	.comm	ENOMEM,4,4
	.comm	EMSGSIZE,4,4
	.comm	DRBD_DEVICE_STATE,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
