	.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
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_18
## %bb.4:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_18
LBB0_10:
	cmpl	$0, (%rsi)
	je	LBB0_17
## %bb.11:
	movq	_led_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	movq	_LED_ON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_LED_OFF@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rcx, %rsi
	jne	LBB0_14
## %bb.12:
	cmpq	%rcx, %rdx
	jne	LBB0_14
## %bb.13:
	movq	%rdi, %rcx
	jmp	LBB0_16
LBB0_8:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_18
## %bb.9:
	movq	__DVORAK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_18
## %bb.7:
	movq	__COLEMAK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_set_single_persistent_default_layer
	jmp	LBB0_18
LBB0_14:
	cmpq	%rdi, %rsi
	jne	LBB0_17
## %bb.15:
	cmpq	%rdi, %rdx
	jne	LBB0_17
LBB0_16:
	movq	%rcx, (%rax)
	movq	%rcx, 8(%rax)
LBB0_17:
	movq	_led_config@GOTPCREL(%rip), %rax
	movl	16(%rax), %edi
	callq	_eeconfig_update_user
	xorl	%ebx, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	__QWERTY,4,2                    ## @_QWERTY
	.comm	__COLEMAK,4,2                   ## @_COLEMAK
	.comm	__DVORAK,4,2                    ## @_DVORAK
	.comm	_led_config,24,3                ## @led_config
	.comm	_LED_ON,8,3                     ## @LED_ON
	.comm	_LED_OFF,8,3                    ## @LED_OFF
.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
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.3:
Lloh2:
	adrp	x8, __QWERTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w9, [x1]
Lloh4:
	adrp	x8, _led_config@GOTPAGE
Lloh5:
	ldr	x8, [x8, _led_config@GOTPAGEOFF]
	cbz	w9, LBB0_9
; %bb.6:
Lloh6:
	adrp	x9, _LED_ON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LED_ON@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x9]
	ldp	x12, x11, [x8]
Lloh9:
	adrp	x9, _LED_OFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LED_OFF@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x12, x10
	ccmp	x11, x10, #0, eq
	b.eq	LBB0_8
; %bb.7:
	cmp	x12, x9
	ccmp	x11, x9, #0, eq
	mov	x9, x10
	b.ne	LBB0_9
LBB0_8:
	stp	x9, x9, [x8]
LBB0_9:
	ldr	w0, [x8, #16]
	bl	_eeconfig_update_user
	b	LBB0_15
LBB0_10:
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.11:
Lloh12:
	adrp	x8, __DVORAK@GOTPAGE
Lloh13:
	ldr	x8, [x8, __DVORAK@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.13:
Lloh14:
	adrp	x8, __COLEMAK@GOTPAGE
Lloh15:
	ldr	x8, [x8, __COLEMAK@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	bl	_set_single_persistent_default_layer
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	__QWERTY,4,2                    ; @_QWERTY
	.comm	__COLEMAK,4,2                   ; @_COLEMAK
	.comm	__DVORAK,4,2                    ; @_DVORAK
	.comm	_led_config,24,3                ; @led_config
	.comm	_LED_ON,8,3                     ; @LED_ON
	.comm	_LED_OFF,8,3                    ; @LED_OFF
.subsections_via_symbols
