	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_nas
_set_nas:                               ## @set_nas
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_NAS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_set
	testl	%ebx, %ebx
	setne	%bl
	movq	_numlock_enabled@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	setne	%al
	andb	%bl, %al
	movzbl	%al, %edi
	movq	_NAS_NUMLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_set
	movq	_tenkey_enabled@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	setne	%al
	andb	%bl, %al
	movzbl	%al, %edi
	movq	_NAS_TENKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_set
	cmpq	$0, (%r15)
	setne	%al
	andb	%bl, %al
	cmpq	$0, (%r14)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	movq	_NAS_TENKEY_NUMLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_layer_set                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NAS,4,2                        ## @NAS
	.comm	_numlock_enabled,8,3            ## @numlock_enabled
	.comm	_NAS_NUMLOCK,4,2                ## @NAS_NUMLOCK
	.comm	_tenkey_enabled,8,3             ## @tenkey_enabled
	.comm	_NAS_TENKEY,4,2                 ## @NAS_TENKEY
	.comm	_NAS_TENKEY_NUMLOCK,4,2         ## @NAS_TENKEY_NUMLOCK
	.no_dead_strip	_set_nas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_nas
_set_nas:                               ; @set_nas
	.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, x0
Lloh0:
	adrp	x8, _NAS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_layer_set
	cmp	w19, #0
	cset	w19, ne
Lloh3:
	adrp	x20, _numlock_enabled@GOTPAGE
Lloh4:
	ldr	x20, [x20, _numlock_enabled@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w8, ne
	and	w0, w19, w8
Lloh5:
	adrp	x8, _NAS_NUMLOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NAS_NUMLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_layer_set
Lloh8:
	adrp	x21, _tenkey_enabled@GOTPAGE
Lloh9:
	ldr	x21, [x21, _tenkey_enabled@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w8, ne
	and	w0, w19, w8
Lloh10:
	adrp	x8, _NAS_TENKEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NAS_TENKEY@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_layer_set
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w8, ne
	and	w8, w19, w8
	ldr	x9, [x20]
	cmp	x9, #0
	cset	w9, ne
	and	w0, w8, w9
Lloh13:
	adrp	x8, _NAS_TENKEY_NUMLOCK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NAS_TENKEY_NUMLOCK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	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
	b	_layer_set
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAS,4,2                        ; @NAS
	.comm	_numlock_enabled,8,3            ; @numlock_enabled
	.comm	_NAS_NUMLOCK,4,2                ; @NAS_NUMLOCK
	.comm	_tenkey_enabled,8,3             ; @tenkey_enabled
	.comm	_NAS_TENKEY,4,2                 ; @NAS_TENKEY
	.comm	_NAS_TENKEY_NUMLOCK,4,2         ; @NAS_TENKEY_NUMLOCK
	.no_dead_strip	_set_nas
.subsections_via_symbols
