	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ## -- Begin function process_record_user
	.p2align	4, 0x90
_process_record_user:                   ## @process_record_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$129, %edi
	je	LBB0_7
## %bb.1:
	movl	$1, %ebx
	cmpl	$128, %edi
	jne	LBB0_9
## %bb.2:
	cmpl	$0, (%rsi)
	je	LBB0_3
## %bb.4:
	movq	__NP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__FC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__PL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_eeconfig_is_enabled
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_eeconfig_init
LBB0_6:
	xorl	%eax, %eax
	callq	_eeconfig_read_keymap
	movq	_keymap_config@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, (%rcx)
	movl	%eax, %edi
	callq	_eeconfig_update_keymap
	jmp	LBB0_9
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_9
## %bb.8:
	movq	__NP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__PL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__FC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	jmp	LBB0_9
LBB0_3:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__NP,4,2                        ## @_NP
	.comm	__FC,4,2                        ## @_FC
	.comm	__PL,4,2                        ## @_PL
	.comm	_keymap_config,8,2              ## @keymap_config
	.comm	_plover_off,4,2                 ## @plover_off
	.comm	_plover_on,4,2                  ## @plover_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ; -- Begin function process_record_user
	.p2align	2
_process_record_user:                   ; @process_record_user
	.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, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x1]
	cbz	w8, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, __NP@GOTPAGE
Lloh1:
	ldr	x8, [x8, __NP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_layer_off
Lloh3:
	adrp	x8, __FC@GOTPAGE
Lloh4:
	ldr	x8, [x8, __FC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_layer_off
Lloh6:
	adrp	x8, __PL@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_layer_on
	bl	_eeconfig_is_enabled
	cbnz	w0, LBB0_5
; %bb.4:
	bl	_eeconfig_init
LBB0_5:
	bl	_eeconfig_read_keymap
Lloh9:
	adrp	x8, _keymap_config@GOTPAGE
Lloh10:
	ldr	x8, [x8, _keymap_config@GOTPAGEOFF]
	mov	w9, #1
	stp	w9, w0, [x8]
	bl	_eeconfig_update_keymap
	b	LBB0_8
LBB0_6:
	ldr	w8, [x1]
	cbz	w8, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, __NP@GOTPAGE
Lloh12:
	ldr	x8, [x8, __NP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_layer_off
Lloh14:
	adrp	x8, __PL@GOTPAGE
Lloh15:
	ldr	x8, [x8, __PL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_layer_off
Lloh17:
	adrp	x8, __FC@GOTPAGE
Lloh18:
	ldr	x8, [x8, __FC@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_layer_off
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	__NP,4,2                        ; @_NP
	.comm	__FC,4,2                        ; @_FC
	.comm	__PL,4,2                        ; @_PL
	.comm	_keymap_config,8,2              ; @keymap_config
	.comm	_plover_off,4,2                 ; @plover_off
	.comm	_plover_on,4,2                  ; @plover_on
.subsections_via_symbols
