	.file	"extr_drm_mode_object.c_drm_mode_obj_set_property_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	drm_mode_obj_set_property_ioctl
	.type	drm_mode_obj_set_property_ioctl, @function
drm_mode_obj_set_property_ioctl:
.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	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR EINVAL[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	esi, DWORD PTR DRIVER_MODESET[rip]
	neg	r12d
	call	drm_core_check_feature@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	rdi, rbp
	mov	rsi, r13
	call	drm_mode_object_find@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L13
.L5:
	mov	rdi, rbp
	call	drm_mode_object_put@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	drm_mode_obj_find_prop_id@PLT
	mov	r14, rax
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR [rax]
	call	drm_drv_uses_atomic_modeset@PLT
	test	rax, rax
	je	.L6
	mov	ecx, DWORD PTR [rbx]
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, rbp
	call	set_property_atomic@PLT
	mov	r12d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r14
	mov	rdi, rbp
	call	set_property_legacy@PLT
	mov	r12d, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	drm_mode_obj_set_property_ioctl, .-drm_mode_obj_set_property_ioctl
	.comm	EOPNOTSUPP,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,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_mode_object.c_drm_mode_obj_set_property_ioctl.c"
	.text
	.align	2
	.global	drm_mode_obj_set_property_ioctl
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_mode_obj_set_property_ioctl, %function
drm_mode_obj_set_property_ioctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L17
	mov	r6, r1
	ldr	r1, .L17+4
	mov	r7, r2
	ldr	r4, [r1]
	ldr	r1, [r3]
	mov	r5, r0
	bl	drm_core_check_feature
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L17+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r5
	mov	r1, r7
	ldr	r3, [r6, #8]
	ldr	r2, [r6, #12]
	bl	drm_mode_object_find
	subs	r5, r0, #0
	beq	.L15
	ldr	r3, [r5]
	rsb	r4, r4, #0
	cmp	r3, #0
	bne	.L16
.L5:
	mov	r0, r5
	bl	drm_mode_object_put
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r1, [r6, #4]
	bl	drm_mode_obj_find_prop_id
	subs	r8, r0, #0
	beq	.L5
	ldr	r0, [r8]
	bl	drm_drv_uses_atomic_modeset
	cmp	r0, #0
	beq	.L6
	mov	r2, r8
	mov	r1, r7
	mov	r0, r5
	ldr	r3, [r6]
	bl	set_property_atomic
	mov	r4, r0
	b	.L5
.L15:
	ldr	r3, .L17+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L6:
	mov	r1, r8
	mov	r0, r5
	ldr	r2, [r6]
	bl	set_property_legacy
	mov	r4, r0
	b	.L5
.L18:
	.align	2
.L17:
	.word	DRIVER_MODESET
	.word	EINVAL
	.word	EOPNOTSUPP
	.word	ENOENT
	.size	drm_mode_obj_set_property_ioctl, .-drm_mode_obj_set_property_ioctl
	.comm	EOPNOTSUPP,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,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
