	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_keymap          ## -- Begin function process_record_keymap
	.p2align	4, 0x90
_process_record_keymap:                 ## @process_record_keymap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %edi
	jne	LBB0_6
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movq	_cidx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	incq	%rax
	movq	_cnum@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	%rdx, (%rcx)
	movq	_colors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rax
	movl	8(%rax), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_rgblight_sethsv
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cidx,8,3                       ## @cidx
	.comm	_cnum,8,3                       ## @cnum
	.comm	_colors,8,3                     ## @colors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_keymap          ; -- Begin function process_record_keymap
	.p2align	2
_process_record_keymap:                 ; @process_record_keymap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _cidx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cidx@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
Lloh2:
	adrp	x10, _cnum@GOTPAGE
Lloh3:
	ldr	x10, [x10, _cnum@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	str	x9, [x8]
Lloh5:
	adrp	x8, _colors@GOTPAGE
Lloh6:
	ldr	x8, [x8, _colors@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8, x9, lsl #3]
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8]
	bl	_rgblight_sethsv
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cidx,8,3                       ; @cidx
	.comm	_cnum,8,3                       ; @cnum
	.comm	_colors,8,3                     ; @colors
.subsections_via_symbols
