	.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	$128, %edi
	je	LBB0_7
## %bb.1:
	movl	$1, %ebx
	cmpl	$129, %edi
	jne	LBB0_12
## %bb.2:
	cmpl	$0, (%rsi)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read
	movq	_lt12_timer@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	__FN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	cmpl	$0, (%rsi)
	je	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read
	movq	_lt12_timer@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	__FS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_layer_on
	xorl	%eax, %eax
	callq	_gp100_led_on
	jmp	LBB0_12
LBB0_5:
	movq	_lt12_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_timer_elapsed
	xorl	%ebx, %ebx
	cmpl	$201, %eax
	jl	LBB0_12
## %bb.6:
	movq	__FN@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_lt12_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_timer_elapsed
	xorl	%ebx, %ebx
	cmpl	$201, %eax
	jl	LBB0_12
## %bb.10:
	movq	__FS@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edi
	callq	_layer_off
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_gp100_led_off
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lt12_timer,4,2                 ## @lt12_timer
	.comm	__FN,4,2                        ## @_FN
	.comm	__FS,4,2                        ## @_FS
.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, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x1]
	cbz	w8, LBB0_8
; %bb.3:
	bl	_timer_read
Lloh0:
	adrp	x8, _lt12_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lt12_timer@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, __FN@GOTPAGE
Lloh4:
	ldr	x8, [x8, __FN@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x1]
	cbz	w8, LBB0_10
; %bb.5:
	bl	_timer_read
Lloh5:
	adrp	x8, _lt12_timer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lt12_timer@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, __FS@GOTPAGE
Lloh9:
	ldr	x8, [x8, __FS@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_layer_on
	bl	_gp100_led_on
	b	LBB0_13
LBB0_7:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh10:
	adrp	x8, _lt12_timer@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lt12_timer@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_timer_elapsed
	cmp	w0, #201
	b.lt	LBB0_13
; %bb.9:
Lloh13:
	adrp	x8, __FN@GOTPAGE
Lloh14:
	ldr	x8, [x8, __FN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _lt12_timer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _lt12_timer@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_timer_elapsed
	cmp	w0, #201
	b.lt	LBB0_13
; %bb.11:
Lloh18:
	adrp	x8, __FS@GOTPAGE
Lloh19:
	ldr	x8, [x8, __FS@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	bl	_layer_off
	bl	_gp100_led_off
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_lt12_timer,4,2                 ; @lt12_timer
	.comm	__FN,4,2                        ; @_FN
	.comm	__FS,4,2                        ; @_FS
.subsections_via_symbols
