	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IS31FL3733_update_led_control_registers ## -- Begin function IS31FL3733_update_led_control_registers
	.p2align	4, 0x90
_IS31FL3733_update_led_control_registers: ## @IS31FL3733_update_led_control_registers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_g_led_control_registers_update_required@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_ISSI_COMMANDREGISTER_WRITELOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$197, %edx
	callq	_IS31FL3733_write_register
	movq	_ISSI_COMMANDREGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISSI_PAGE_LEDCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_IS31FL3733_write_register
	xorl	%ebx, %ebx
	movq	_g_led_control_registers@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_IS31FL3733_write_register
	incq	%rbx
	cmpq	$24, %rbx
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_led_control_registers_update_required,8,3 ## @g_led_control_registers_update_required
	.comm	_ISSI_COMMANDREGISTER_WRITELOCK,4,2 ## @ISSI_COMMANDREGISTER_WRITELOCK
	.comm	_ISSI_COMMANDREGISTER,4,2       ## @ISSI_COMMANDREGISTER
	.comm	_ISSI_PAGE_LEDCONTROL,4,2       ## @ISSI_PAGE_LEDCONTROL
	.comm	_g_led_control_registers,8,3    ## @g_led_control_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IS31FL3733_update_led_control_registers ; -- Begin function IS31FL3733_update_led_control_registers
	.p2align	2
_IS31FL3733_update_led_control_registers: ; @IS31FL3733_update_led_control_registers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _g_led_control_registers_update_required@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_led_control_registers_update_required@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _ISSI_COMMANDREGISTER_WRITELOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISSI_COMMANDREGISTER_WRITELOCK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #197
	bl	_IS31FL3733_write_register
Lloh6:
	adrp	x8, _ISSI_COMMANDREGISTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISSI_COMMANDREGISTER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ISSI_PAGE_LEDCONTROL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISSI_PAGE_LEDCONTROL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IS31FL3733_write_register
	mov	x21, #0
Lloh12:
	adrp	x22, _g_led_control_registers@GOTPAGE
Lloh13:
	ldr	x22, [x22, _g_led_control_registers@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x19, lsl #3]
	ldr	w2, [x8, x21, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_IS31FL3733_write_register
	add	x21, x21, #1
	cmp	x21, #24
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_led_control_registers_update_required,8,3 ; @g_led_control_registers_update_required
	.comm	_ISSI_COMMANDREGISTER_WRITELOCK,4,2 ; @ISSI_COMMANDREGISTER_WRITELOCK
	.comm	_ISSI_COMMANDREGISTER,4,2       ; @ISSI_COMMANDREGISTER
	.comm	_ISSI_PAGE_LEDCONTROL,4,2       ; @ISSI_PAGE_LEDCONTROL
	.comm	_g_led_control_registers,8,3    ; @g_led_control_registers
.subsections_via_symbols
