	.file	"extr_drm_stub.c_drm_unplug_dev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	drm_unplug_dev
	.type	drm_unplug_dev, @function
drm_unplug_dev:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR DRIVER_MODESET[rip]
	mov	rbp, rdi
	call	drm_core_check_feature@PLT
	test	rax, rax
	jne	.L9
.L2:
	mov	edi, DWORD PTR 8[rbp]
	call	drm_unplug_minor@PLT
	lea	rdi, drm_global_mutex[rip]
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	drm_device_set_unplugged@PLT
	cmp	QWORD PTR 0[rbp], 0
	je	.L10
	lea	rdi, drm_global_mutex[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbp]
	call	drm_unplug_minor@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	drm_put_dev@PLT
	lea	rdi, drm_global_mutex[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	drm_unplug_dev, .-drm_unplug_dev
	.comm	drm_global_mutex,4,4
	.comm	DRIVER_MODESET,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_drm_stub.c_drm_unplug_dev.c"
	.text
	.align	2
	.global	drm_unplug_dev
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_unplug_dev, %function
drm_unplug_dev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, lr}
	ldr	r1, [r3]
	mov	r4, r0
	bl	drm_core_check_feature
	cmp	r0, #0
	bne	.L9
.L2:
	ldr	r0, [r4, #4]
	bl	drm_unplug_minor
	ldr	r0, .L11+4
	bl	mutex_lock
	mov	r0, r4
	bl	drm_device_set_unplugged
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L10
	pop	{r4, lr}
	ldr	r0, .L11+4
	b	mutex_unlock
.L9:
	ldr	r0, [r4, #8]
	bl	drm_unplug_minor
	b	.L2
.L10:
	mov	r0, r4
	bl	drm_put_dev
	pop	{r4, lr}
	ldr	r0, .L11+4
	b	mutex_unlock
.L12:
	.align	2
.L11:
	.word	DRIVER_MODESET
	.word	drm_global_mutex
	.size	drm_unplug_dev, .-drm_unplug_dev
	.comm	drm_global_mutex,4,4
	.comm	DRIVER_MODESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
