	.file	"extr_panel-samsung-ld9040.c_ld9040_brightness_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ld9040_brightness_set, @function
ld9040_brightness_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR ld9040_gammas[rip]
	mov	rbp, rdi
	mov	rdx, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	ARRAY_SIZE@PLT
	mov	rcx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	edx, eax
	mov	rax, QWORD PTR ld9040_gammas[rip]
	mov	esi, DWORD PTR [rax+rcx*4]
	call	ld9040_dcs_write@PLT
	mov	esi, DWORD PTR MCS_GAMMA_CTRL[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	ecx, 90
	mov	edx, 2
	jmp	ld9040_dcs_write_seq_static@PLT
	.cfi_endproc
.LFE0:
	.size	ld9040_brightness_set, .-ld9040_brightness_set
	.comm	ld9040_gammas,8,8
	.comm	MCS_GAMMA_CTRL,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_panel-samsung-ld9040.c_ld9040_brightness_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ld9040_brightness_set, %function
ld9040_brightness_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	ldr	r5, [r3, r2, lsl #2]
	mov	r4, r0
	mov	r0, r5
	bl	ARRAY_SIZE
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	ld9040_dcs_write
	ldr	r3, .L4+4
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r2, #2
	mov	r3, #90
	b	ld9040_dcs_write_seq_static
.L5:
	.align	2
.L4:
	.word	ld9040_gammas
	.word	MCS_GAMMA_CTRL
	.size	ld9040_brightness_set, .-ld9040_brightness_set
	.comm	ld9040_gammas,4,4
	.comm	MCS_GAMMA_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
