	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lesc_reset                     ## -- Begin function lesc_reset
	.p2align	4, 0x90
_lesc_reset:                            ## @lesc_reset
	.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	_td_state@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	__FN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	_sstate@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_register_code16
LBB0_4:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unregister_code16
LBB0_5:
	movl	$130, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_update_led_state_c             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_td_state,4,2                   ## @td_state
	.comm	_KC_ESC,4,2                     ## @KC_ESC
	.comm	__FN,4,2                        ## @_FN
	.comm	_sstate,4,2                     ## @sstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lesc_reset                     ; -- Begin function lesc_reset
	.p2align	2
_lesc_reset:                            ; @lesc_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _td_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _td_state@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, __FN@GOTPAGE
Lloh3:
	ldr	x8, [x8, __FN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_layer_off
Lloh5:
	adrp	x8, _sstate@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sstate@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_register_code16
LBB0_4:
Lloh11:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_unregister_code16
LBB0_5:
	mov	w8, #130
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_update_led_state_c
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_td_state,4,2                   ; @td_state
	.comm	_KC_ESC,4,2                     ; @KC_ESC
	.comm	__FN,4,2                        ; @_FN
	.comm	_sstate,4,2                     ; @sstate
.subsections_via_symbols
