	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_layout          ## -- Begin function process_record_layout
	.p2align	4, 0x90
_process_record_layout:                 ## @process_record_layout
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_KC_LAYO@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	%rdi, (%rax)
	jne	LBB0_16
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_16
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_get_mods
	movl	%eax, %r14d
	movq	_KC_LSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %r15d
	movq	_KC_RSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	orl	%r15d, %eax
	movq	_default_layer_state@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%r14d, %eax
	je	LBB0_4
## %bb.3:
	callq	_eeconfig_update_default_layer
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	_biton32
	movq	%rax, %r8
	movq	_defaultlayers_n@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$1, %ecx
	cmpq	$2, %rdi
	jb	LBB0_11
## %bb.5:
	movq	_defaultlayers@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$1, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r8,%rcx), %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	divq	%rdi
	cmpq	$0, (%rsi,%rdx,8)
	je	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
	cmpq	$0, (%rsi,%rdx,8)
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_6
	jmp	LBB0_16
LBB0_11:
	movl	$0, %ebx
	cmpq	%rdi, %rcx
	je	LBB0_16
## %bb.12:
	addq	%r8, %rcx
	movq	%rcx, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_13
## %bb.14:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_15
LBB0_13:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_15:
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	callq	_default_layer_set
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movl	%eax, %edi
	callq	_led_set
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_LAYO,8,3                    ## @KC_LAYO
	.comm	_KC_LSHIFT,4,2                  ## @KC_LSHIFT
	.comm	_KC_RSHIFT,4,2                  ## @KC_RSHIFT
	.comm	_default_layer_state,4,2        ## @default_layer_state
	.comm	_defaultlayers_n,8,3            ## @defaultlayers_n
	.comm	_defaultlayers,8,3              ## @defaultlayers
	.comm	_COIN_SOUND,4,2                 ## @COIN_SOUND
	.comm	_default_layer_songs,8,3        ## @default_layer_songs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_layout          ; -- Begin function process_record_layout
	.p2align	2
_process_record_layout:                 ; @process_record_layout
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _KC_LAYO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KC_LAYO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_get_mods
	mov	x19, x0
Lloh3:
	adrp	x8, _KC_LSHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_LSHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MOD_BIT
	mov	x20, x0
Lloh6:
	adrp	x8, _KC_RSHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_RSHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MOD_BIT
	orr	w8, w0, w20
Lloh9:
	adrp	x9, _default_layer_state@GOTPAGE
Lloh10:
	ldr	x9, [x9, _default_layer_state@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.3:
	bl	_eeconfig_update_default_layer
LBB0_4:
	mov	w8, #0
	b	LBB0_6
LBB0_5:
	mov	w8, #1
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_biton32
Lloh12:
	adrp	x8, _defaultlayers_n@GOTPAGE
Lloh13:
	ldr	x8, [x8, _defaultlayers_n@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x8]
	cmp	x9, #2
	b.lo	LBB0_11
; %bb.8:
Lloh15:
	adrp	x8, _defaultlayers@GOTPAGE
Lloh16:
	ldr	x8, [x8, _defaultlayers@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x8]
	mov	w10, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x10
	udiv	x12, x8, x9
	msub	x8, x12, x9, x8
	ldr	x8, [x11, x8, lsl #3]
	cbnz	x8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_9
	b	LBB0_6
LBB0_11:
	mov	w10, #1
LBB0_12:
	cmp	x10, x9
	b.eq	LBB0_4
; %bb.13:
	add	x8, x10, x0
	udiv	x10, x8, x9
	msub	w8, w10, w9, w8
	mov	w9, #1
	lsl	w0, w9, w8
	bl	_default_layer_set
	bl	_host_keyboard_leds
	bl	_led_set
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_LAYO,8,3                    ; @KC_LAYO
	.comm	_KC_LSHIFT,4,2                  ; @KC_LSHIFT
	.comm	_KC_RSHIFT,4,2                  ; @KC_RSHIFT
	.comm	_default_layer_state,4,2        ; @default_layer_state
	.comm	_defaultlayers_n,8,3            ; @defaultlayers_n
	.comm	_defaultlayers,8,3              ; @defaultlayers
	.comm	_COIN_SOUND,4,2                 ; @COIN_SOUND
	.comm	_default_layer_songs,8,3        ; @default_layer_songs
.subsections_via_symbols
