	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_FN_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	subl	%edi, %ebx
	addl	$3, %ebx
	movl	$1, %r15d
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	callq	_process_record_dynamic_macro
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_FN_A@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_6
## %bb.2:
	movq	_FN_D@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jl	LBB0_6
## %bb.3:
	movq	_cur_layer_code@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	xorl	%eax, %eax
	btl	%ebx, %edi
	setae	%al
	cmpl	(%r14), %eax
	jne	LBB0_5
## %bb.4:
	movq	_LY_0000@GOTPCREL(%rip), %rbx
	addq	(%rbx), %rdi
	callq	_layer_off
	xorl	(%r15), %r13d
	movl	%r13d, (%r15)
	movslq	%r13d, %rdi
	addq	(%rbx), %rdi
	callq	_layer_on
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FN_A,4,2                       ## @FN_A
	.comm	_FN_D,4,2                       ## @FN_D
	.comm	_cur_layer_code,4,2             ## @cur_layer_code
	.comm	_LY_0000,8,3                    ## @LY_0000
.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _FN_A@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FN_A@GOTPAGEOFF]
	ldr	w21, [x22]
	bl	_process_record_dynamic_macro
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _FN_D@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FN_D@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #8, le
	b.ge	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_6
LBB0_3:
	sub	w8, w21, w20
	add	w9, w8, #3
Lloh5:
	adrp	x20, _cur_layer_code@GOTPAGE
Lloh6:
	ldr	x20, [x20, _cur_layer_code@GOTPAGEOFF]
	ldrsw	x8, [x20]
	mvn	w10, w8
	lsr	w10, w10, w9
	and	w10, w10, #0x1
	ldr	w11, [x19]
	cmp	w10, w11
	b.ne	LBB0_5
; %bb.4:
	mov	w10, #1
	lsl	w19, w10, w9
Lloh7:
	adrp	x21, _LY_0000@GOTPAGE
Lloh8:
	ldr	x21, [x21, _LY_0000@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_layer_off
	ldr	w8, [x20]
	eor	w8, w8, w19
	str	w8, [x20]
	ldr	x9, [x21]
	add	x0, x9, w8, sxtw
	bl	_layer_on
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FN_A,4,2                       ; @FN_A
	.comm	_FN_D,4,2                       ; @FN_D
	.comm	_cur_layer_code,4,2             ; @cur_layer_code
	.comm	_LY_0000,8,3                    ; @LY_0000
.subsections_via_symbols
