	.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
	movq	_KC_LSHIFT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_KC_RSHIFT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_2
## %bb.4:
	movq	_MAGIC@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_9
## %bb.5:
	movl	(%rsi), %ecx
	movl	%ecx, _process_record_user.magic(%rip)
	jmp	LBB0_6
LBB0_2:
	movl	(%rsi), %eax
	movl	%eax, _process_record_user.shifted(%rip)
	jmp	LBB0_3
LBB0_9:
	movq	_RESET@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_3
## %bb.10:
	cmpl	$0, (%rsi)
	setne	%al
	cmpl	$0, _process_record_user.shifted(%rip)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %ebx
	jmp	LBB0_15
LBB0_3:
	movl	_process_record_user.magic(%rip), %ecx
LBB0_6:
	movq	_layer_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LAYER_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	andl	%eax, %edi
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.7:
	cmpl	$0, _process_record_user.shifted(%rip)
	jne	LBB0_8
## %bb.11:
	movq	_MAGIC_LAYER@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	_SHIFTMAGIC_LAYER@GOTPCREL(%rip), %rcx
LBB0_12:
	orl	(%rcx), %edi
LBB0_13:
	movl	$1, %ebx
	cmpl	%edi, %eax
	je	LBB0_15
## %bb.14:
	callq	_layer_state_set
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_process_record_user.shifted,4,2 ## @process_record_user.shifted
.zerofill __DATA,__bss,_process_record_user.magic,4,2 ## @process_record_user.magic
	.comm	_KC_LSHIFT,8,3                  ## @KC_LSHIFT
	.comm	_KC_RSHIFT,8,3                  ## @KC_RSHIFT
	.comm	_MAGIC,8,3                      ## @MAGIC
	.comm	_RESET,8,3                      ## @RESET
	.comm	_layer_state,4,2                ## @layer_state
	.comm	_LAYER_MASK,4,2                 ## @LAYER_MASK
	.comm	_SHIFTMAGIC_LAYER,4,2           ## @SHIFTMAGIC_LAYER
	.comm	_MAGIC_LAYER,4,2                ## @MAGIC_LAYER
.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
Lloh0:
	adrp	x8, _KC_LSHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KC_LSHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _KC_RSHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KC_RSHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x1]
	adrp	x9, _process_record_user.shifted@PAGE
	str	w8, [x9, _process_record_user.shifted@PAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh6:
	adrp	x8, _MAGIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAGIC@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x1]
	adrp	x8, _process_record_user.magic@PAGE
	str	w9, [x8, _process_record_user.magic@PAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RESET@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x1]
	cmp	w8, #0
Lloh12:
	adrp	x8, _process_record_user.shifted@PAGE
Lloh13:
	ldr	w8, [x8, _process_record_user.shifted@PAGEOFF]
	ccmp	w8, #0, #4, ne
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh14:
	adrp	x8, _process_record_user.magic@PAGE
Lloh15:
	ldr	w9, [x8, _process_record_user.magic@PAGEOFF]
LBB0_7:
Lloh16:
	adrp	x8, _layer_state@GOTPAGE
Lloh17:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x10, _LAYER_MASK@GOTPAGE
Lloh20:
	ldr	x10, [x10, _LAYER_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	and	w0, w10, w8
	cbz	w9, LBB0_9
; %bb.8:
Lloh22:
	adrp	x9, _process_record_user.shifted@PAGE
Lloh23:
	ldr	w9, [x9, _process_record_user.shifted@PAGEOFF]
Lloh24:
	adrp	x10, _SHIFTMAGIC_LAYER@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SHIFTMAGIC_LAYER@GOTPAGEOFF]
Lloh26:
	adrp	x11, _MAGIC_LAYER@GOTPAGE
Lloh27:
	ldr	x11, [x11, _MAGIC_LAYER@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	orr	w0, w9, w0
LBB0_9:
	cmp	w8, w0
	b.eq	LBB0_11
; %bb.10:
	bl	_layer_state_set
LBB0_11:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdr	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_process_record_user.shifted,4,2 ; @process_record_user.shifted
.zerofill __DATA,__bss,_process_record_user.magic,4,2 ; @process_record_user.magic
	.comm	_KC_LSHIFT,8,3                  ; @KC_LSHIFT
	.comm	_KC_RSHIFT,8,3                  ; @KC_RSHIFT
	.comm	_MAGIC,8,3                      ; @MAGIC
	.comm	_RESET,8,3                      ; @RESET
	.comm	_layer_state,4,2                ; @layer_state
	.comm	_LAYER_MASK,4,2                 ; @LAYER_MASK
	.comm	_SHIFTMAGIC_LAYER,4,2           ; @SHIFTMAGIC_LAYER
	.comm	_MAGIC_LAYER,4,2                ; @MAGIC_LAYER
.subsections_via_symbols
