	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toggle_numlock
_toggle_numlock:                        ## @toggle_numlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_numlock_enabled@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	movl	%edi, (%rax)
	movq	_LED_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lock_led_set
	movq	_NAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_state_is
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$1, %edi
	popq	%rbp
	jmp	_set_nas                        ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numlock_enabled,4,2            ## @numlock_enabled
	.comm	_LED_NUM_LOCK,4,2               ## @LED_NUM_LOCK
	.comm	_NAS,4,2                        ## @NAS
	.no_dead_strip	_toggle_numlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toggle_numlock
_toggle_numlock:                        ; @toggle_numlock
	.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, _numlock_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numlock_enabled@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w0, eq
	str	w0, [x8]
Lloh2:
	adrp	x8, _LED_NUM_LOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LED_NUM_LOCK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_lock_led_set
Lloh5:
	adrp	x8, _NAS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NAS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_layer_state_is
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_set_nas
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_numlock_enabled,4,2            ; @numlock_enabled
	.comm	_LED_NUM_LOCK,4,2               ; @LED_NUM_LOCK
	.comm	_NAS,4,2                        ; @NAS
	.no_dead_strip	_toggle_numlock
.subsections_via_symbols
