	.file	"extr_drm_connector.c_drm_connector_attach_max_bpc_property.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"max bpc"
	.text
	.p2align 4
	.globl	drm_connector_attach_max_bpc_property
	.type	drm_connector_attach_max_bpc_property, @function
drm_connector_attach_max_bpc_property:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ecx, esi
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR 16[rdi]
	test	rsi, rsi
	je	.L7
.L2:
	lea	rdi, 8[rbx]
	mov	edx, ebp
	call	drm_object_attach_property@PLT
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR [rax], ebp
	mov	DWORD PTR 4[rax], ebp
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rdi]
	mov	r8d, edx
	lea	rdx, .LC0[rip]
	call	drm_property_create_range@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rsi, rsi
	je	.L1
	mov	QWORD PTR 16[rbx], rsi
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	drm_connector_attach_max_bpc_property, .-drm_connector_attach_max_bpc_property
	.comm	ENOMEM,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_connector.c_drm_connector_attach_max_bpc_property.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"max bpc\000"
	.text
	.align	2
	.global	drm_connector_attach_max_bpc_property
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_connector_attach_max_bpc_property, %function
drm_connector_attach_max_bpc_property:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r3, r1
	ldr	r1, [r0, #8]
	mov	r4, r0
	cmp	r1, #0
	mov	r5, r2
	sub	sp, sp, #12
	beq	.L7
.L2:
	mov	r2, r5
	add	r0, r4, #4
	bl	drm_object_attach_property
	mov	r0, #0
	ldr	r3, [r4]
	str	r5, [r3]
	str	r5, [r3, #4]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	str	r2, [sp]
	ldr	r0, [r0, #12]
	ldr	r2, .L8
	bl	drm_property_create_range
	subs	r1, r0, #0
	strne	r1, [r4, #8]
	bne	.L2
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	ENOMEM
	.size	drm_connector_attach_max_bpc_property, .-drm_connector_attach_max_bpc_property
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
