	.file	"extr_is31fl3731-simple.c_IS31FL3731_set_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	IS31FL3731_set_value
	.type	IS31FL3731_set_value, @function
IS31FL3731_set_value:
.LFB0:
	.cfi_startproc
	endbr64
	test	edi, edi
	js	.L1
	cmp	DWORD PTR LED_DRIVER_LED_COUNT[rip], edi
	jle	.L1
	movsx	rdi, edi
	mov	rax, QWORD PTR g_pwm_buffer[rip]
	sal	rdi, 4
	add	rdi, QWORD PTR g_is31_leds[rip]
	mov	rcx, QWORD PTR [rdi]
	movsx	rdx, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	DWORD PTR -144[rax+rdx*4], esi
	mov	DWORD PTR g_pwm_buffer_update_required[rip], 1
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	IS31FL3731_set_value, .-IS31FL3731_set_value
	.comm	g_pwm_buffer_update_required,4,4
	.comm	g_pwm_buffer,8,8
	.comm	g_is31_leds,8,8
	.comm	LED_DRIVER_LED_COUNT,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_is31fl3731-simple.c_IS31FL3731_set_value.c"
	.text
	.align	2
	.global	IS31FL3731_set_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	IS31FL3731_set_value, %function
IS31FL3731_set_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	bxlt	lr
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, r0
	bxle	lr
	mov	ip, #1
	ldr	r3, .L8+4
	ldr	r2, .L8+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	lr, [sp, #-4]!
	add	lr, r3, r0, lsl #3
	ldr	r0, [r3, r0, lsl #3]
	ldr	r3, [lr, #4]
	ldr	r0, [r2, r0, lsl #2]
	ldr	r2, .L8+12
	sub	r3, r3, #-1073741788
	str	r1, [r0, r3, lsl #2]
	str	ip, [r2]
	ldr	pc, [sp], #4
.L9:
	.align	2
.L8:
	.word	LED_DRIVER_LED_COUNT
	.word	g_is31_leds
	.word	g_pwm_buffer
	.word	g_pwm_buffer_update_required
	.size	IS31FL3731_set_value, .-IS31FL3731_set_value
	.comm	g_pwm_buffer_update_required,4,4
	.comm	g_pwm_buffer,4,4
	.comm	g_is31_leds,4,4
	.comm	LED_DRIVER_LED_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
