	.file	"extr_intel_panel.c_vlv_set_backlight.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vlv_set_backlight, @function
vlv_set_backlight:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR 4[rdi]
	call	to_intel_connector@PLT
	mov	edi, DWORD PTR [rax]
	call	to_i915@PLT
	mov	edi, DWORD PTR [rbx]
	call	to_intel_crtc@PLT
	mov	r12d, DWORD PTR [rax]
	mov	edi, r12d
	call	VLV_BLC_PWM_CTL@PLT
	mov	edi, eax
	call	I915_READ@PLT
	mov	edi, r12d
	mov	r8d, eax
	mov	eax, DWORD PTR BACKLIGHT_DUTY_CYCLE_MASK[rip]
	not	eax
	and	eax, r8d
	or	ebp, eax
	call	VLV_BLC_PWM_CTL@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	I915_WRITE@PLT
	.cfi_endproc
.LFE0:
	.size	vlv_set_backlight, .-vlv_set_backlight
	.comm	BACKLIGHT_DUTY_CYCLE_MASK,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_intel_panel.c_vlv_set_backlight.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlv_set_backlight, %function
vlv_set_backlight:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	mov	r5, r1
	bl	to_intel_connector
	ldr	r0, [r0]
	bl	to_i915
	ldr	r0, [r4]
	bl	to_intel_crtc
	ldr	r6, [r0]
	mov	r0, r6
	bl	VLV_BLC_PWM_CTL
	bl	I915_READ
	mov	r4, r0
	ldr	r3, .L4
	mov	r0, r6
	ldr	r1, [r3]
	bic	r4, r4, r1
	bl	VLV_BLC_PWM_CTL
	orr	r1, r4, r5
	pop	{r4, r5, r6, lr}
	b	I915_WRITE
.L5:
	.align	2
.L4:
	.word	BACKLIGHT_DUTY_CYCLE_MASK
	.size	vlv_set_backlight, .-vlv_set_backlight
	.comm	BACKLIGHT_DUTY_CYCLE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
