	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_kb              ## -- Begin function process_record_kb
	.p2align	4, 0x90
_process_record_kb:                     ## @process_record_kb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %edi
	jne	LBB0_7
## %bb.2:
	cmpq	$0, (%rsi)
	je	LBB0_8
## %bb.3:
	movl	$1, %edi
	jmp	LBB0_6
LBB0_4:
	cmpq	$0, (%rsi)
	je	LBB0_9
## %bb.5:
	movl	$2, %edi
LBB0_6:
	callq	_layer_on
	jmp	LBB0_11
LBB0_7:
	popq	%rbp
	jmp	_process_record_user            ## TAILCALL
LBB0_8:
	movl	$1, %edi
	jmp	LBB0_10
LBB0_9:
	movl	$2, %edi
LBB0_10:
	callq	_layer_off
LBB0_11:
	movl	$1, %edi
	movl	$2, %esi
	movl	$3, %edx
	callq	_update_tri_layer
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MACRO00,4,2                    ## @MACRO00
	.comm	_MACRO15,4,2                    ## @MACRO15
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_kb              ; -- Begin function process_record_kb
	.p2align	2
_process_record_kb:                     ; @process_record_kb
	.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	x8, [x1]
	cbz	x8, LBB0_8
; %bb.3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	ldr	x8, [x1]
	cbz	x8, LBB0_9
; %bb.5:
	mov	w0, #2
LBB0_6:
	bl	_layer_on
	b	LBB0_11
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_process_record_user
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #2
LBB0_10:
	bl	_layer_off
LBB0_11:
	mov	w0, #1
	mov	w1, #2
	mov	w2, #3
	bl	_update_tri_layer
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_MACRO00,4,2                    ; @MACRO00
	.comm	_MACRO15,4,2                    ; @MACRO15
.subsections_via_symbols
