	.file	"extr_qcom_sysmon.c_qcom_remove_sysmon_subdev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qcom_remove_sysmon_subdev
	.type	qcom_remove_sysmon_subdev, @function
qcom_remove_sysmon_subdev:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, sysmon_lock[rip]
	call	mutex_lock@PLT
	lea	rdi, 16[rbp]
	call	list_del@PLT
	lea	rdi, sysmon_lock[rip]
	call	mutex_unlock@PLT
	lea	rsi, 12[rbp]
	lea	rdi, sysmon_notifiers[rip]
	call	blocking_notifier_chain_unregister@PLT
	mov	edi, DWORD PTR 8[rbp]
	lea	rsi, 4[rbp]
	call	rproc_remove_subdev@PLT
	mov	rdi, rbp
	call	qmi_handle_release@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	qcom_remove_sysmon_subdev, .-qcom_remove_sysmon_subdev
	.comm	sysmon_notifiers,4,4
	.comm	sysmon_lock,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_qcom_sysmon.c_qcom_remove_sysmon_subdev.c"
	.text
	.align	2
	.global	qcom_remove_sysmon_subdev
	.syntax unified
	.arm
	.fpu softvfp
	.type	qcom_remove_sysmon_subdev, %function
qcom_remove_sysmon_subdev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	ldr	r0, .L5
	bl	mutex_lock
	add	r0, r4, #16
	bl	list_del
	ldr	r0, .L5
	bl	mutex_unlock
	add	r1, r4, #12
	ldr	r0, .L5+4
	bl	blocking_notifier_chain_unregister
	add	r1, r4, #4
	ldr	r0, [r4, #8]
	bl	rproc_remove_subdev
	mov	r0, r4
	bl	qmi_handle_release
	mov	r0, r4
	pop	{r4, lr}
	b	kfree
.L6:
	.align	2
.L5:
	.word	sysmon_lock
	.word	sysmon_notifiers
	.size	qcom_remove_sysmon_subdev, .-qcom_remove_sysmon_subdev
	.comm	sysmon_notifiers,4,4
	.comm	sysmon_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
