	.file	"extr_is31fl3737.c_IS31FL3737_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	IS31FL3737_init
	.type	IS31FL3737_init, @function
IS31FL3737_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 197
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER_WRITELOCK[rip]
	call	IS31FL3737_write_register@PLT
	mov	edx, DWORD PTR ISSI_PAGE_LEDCONTROL[rip]
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER[rip]
	mov	edi, ebp
	call	IS31FL3737_write_register@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, ebx
	xor	edx, edx
	mov	edi, ebp
	add	ebx, 1
	call	IS31FL3737_write_register@PLT
	cmp	ebx, 24
	jne	.L2
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER_WRITELOCK[rip]
	mov	edx, 197
	mov	edi, ebp
	xor	ebx, ebx
	call	IS31FL3737_write_register@PLT
	mov	edx, DWORD PTR ISSI_PAGE_PWM[rip]
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER[rip]
	mov	edi, ebp
	call	IS31FL3737_write_register@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, ebx
	xor	edx, edx
	mov	edi, ebp
	add	ebx, 1
	call	IS31FL3737_write_register@PLT
	cmp	ebx, 192
	jne	.L3
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER_WRITELOCK[rip]
	mov	edi, ebp
	mov	edx, 197
	call	IS31FL3737_write_register@PLT
	mov	edx, DWORD PTR ISSI_PAGE_FUNCTION[rip]
	mov	esi, DWORD PTR ISSI_COMMANDREGISTER[rip]
	mov	edi, ebp
	call	IS31FL3737_write_register@PLT
	mov	esi, DWORD PTR ISSI_REG_GLOBALCURRENT[rip]
	mov	edi, ebp
	mov	edx, 255
	call	IS31FL3737_write_register@PLT
	mov	esi, DWORD PTR ISSI_REG_CONFIGURATION[rip]
	mov	edi, ebp
	mov	edx, 1
	call	IS31FL3737_write_register@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, 10
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	wait_ms@PLT
	.cfi_endproc
.LFE0:
	.size	IS31FL3737_init, .-IS31FL3737_init
	.comm	ISSI_REG_GLOBALCURRENT,4,4
	.comm	ISSI_REG_CONFIGURATION,4,4
	.comm	ISSI_PAGE_PWM,4,4
	.comm	ISSI_PAGE_LEDCONTROL,4,4
	.comm	ISSI_PAGE_FUNCTION,4,4
	.comm	ISSI_COMMANDREGISTER_WRITELOCK,4,4
	.comm	ISSI_COMMANDREGISTER,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_is31fl3737.c_IS31FL3737_init.c"
	.text
	.align	2
	.global	IS31FL3737_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	IS31FL3737_init, %function
IS31FL3737_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r7, .L8
	mov	r2, #197
	ldr	r1, [r7]
	bl	IS31FL3737_write_register
	ldr	r6, .L8+4
	ldr	r3, .L8+8
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, [r6]
	bl	IS31FL3737_write_register
	mov	r4, #0
.L2:
	mov	r1, r4
	mov	r2, #0
	mov	r0, r5
	add	r4, r4, #1
	bl	IS31FL3737_write_register
	cmp	r4, #24
	bne	.L2
	mov	r2, #197
	ldr	r1, [r7]
	mov	r0, r5
	bl	IS31FL3737_write_register
	ldr	r3, .L8+12
	mov	r0, r5
	ldr	r1, [r6]
	ldr	r2, [r3]
	bl	IS31FL3737_write_register
	mov	r4, #0
.L3:
	mov	r1, r4
	mov	r2, #0
	mov	r0, r5
	add	r4, r4, #1
	bl	IS31FL3737_write_register
	cmp	r4, #192
	bne	.L3
	ldr	r1, [r7]
	mov	r2, #197
	mov	r0, r5
	bl	IS31FL3737_write_register
	ldr	r3, .L8+16
	ldr	r1, [r6]
	ldr	r2, [r3]
	mov	r0, r5
	bl	IS31FL3737_write_register
	ldr	r3, .L8+20
	mov	r2, #255
	ldr	r1, [r3]
	mov	r0, r5
	bl	IS31FL3737_write_register
	ldr	r3, .L8+24
	mov	r0, r5
	mov	r2, #1
	ldr	r1, [r3]
	bl	IS31FL3737_write_register
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #10
	b	wait_ms
.L9:
	.align	2
.L8:
	.word	ISSI_COMMANDREGISTER_WRITELOCK
	.word	ISSI_COMMANDREGISTER
	.word	ISSI_PAGE_LEDCONTROL
	.word	ISSI_PAGE_PWM
	.word	ISSI_PAGE_FUNCTION
	.word	ISSI_REG_GLOBALCURRENT
	.word	ISSI_REG_CONFIGURATION
	.size	IS31FL3737_init, .-IS31FL3737_init
	.comm	ISSI_REG_GLOBALCURRENT,4,4
	.comm	ISSI_REG_CONFIGURATION,4,4
	.comm	ISSI_PAGE_PWM,4,4
	.comm	ISSI_PAGE_LEDCONTROL,4,4
	.comm	ISSI_PAGE_FUNCTION,4,4
	.comm	ISSI_COMMANDREGISTER_WRITELOCK,4,4
	.comm	ISSI_COMMANDREGISTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
